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 Schema
{
"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"
]
}
Response
Click "Send Request" to see the response...
Authorizations
Authorization
header
required
Authentication token in the format "Bearer <token>"