Email

Send emails using multiple email providers like Resend. Supports HTML and plain text content, attachments, and delivery tracking.

Send an email

Send an email using multiple email providers like Resend. Supports HTML and plain text content.

GET
/ email

Parameters

Name Type Description Required
to string The recipient email address Required
from string The sender email address (defaults to noreply@apikiss.com) Optional
subject string The email subject line Required
body string The plain text body of the email (required if html is not provided) Optional
html string The HTML body of the email (required if body is not provided) Optional

Response

{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "description": "Whether the email was successfully sent",
      "example": true
    },
    "provider": {
      "type": "string",
      "description": "The email provider used to send the email",
      "example": "resend"
    },
    "message_id": {
      "type": "string",
      "description": "The unique identifier for the sent email",
      "example": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
    }
  },
  "required": [
    "success"
  ]
}
curl --request GET \
  --url "https://www.apikiss.com/api/v1/email?to=recipient%40example.com&from=sender%40example.com&subject=Hello+from+API+KISS&body=This+is+the+email+content.&html=%3Ch1%3EHello%3C%2Fh1%3E%3Cp%3EThis+is+the+email+content.%3C%2Fp%3E" \
  --header 'Authorization: Bearer <token>'
{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "description": "Whether the email was successfully sent",
      "example": true
    },
    "provider": {
      "type": "string",
      "description": "The email provider used to send the email",
      "example": "resend"
    },
    "message_id": {
      "type": "string",
      "description": "The unique identifier for the sent email",
      "example": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
    }
  },
  "required": [
    "success"
  ]
}

Authorizations

Authorization
header
required

Authentication token in the format "Bearer <token>"

Path Parameters

to
string
required

The recipient email address

from
string

The sender email address (defaults to noreply@apikiss.com)

subject
string
required

The email subject line

body
string

The plain text body of the email (required if html is not provided)

html
string

The HTML body of the email (required if body is not provided)

Response

200 - application/json
success
boolean
required

Whether the email was successfully sent

Example: true

provider
string

The email provider used to send the email

Example: resend

message_id
string

The unique identifier for the sent email

Example: a1b2c3d4-e5f6-7890-abcd-ef1234567890

Try it out

Don't have a key? Sign up to get one for free.

The recipient email address

The sender email address (defaults to noreply@apikiss.com)

The email subject line

The plain text body of the email (required if html is not provided)

The HTML body of the email (required if body is not provided)

Response

Click "Send Request" to see the response...