Endpoint
to, or target saved contacts through contact, contacts, group, or groups.
Headers
| Header | Value |
|---|---|
Accept | application/json |
Authorization | Bearer {API_TOKEN} |
Content-Type | application/json |
Body parameters
Approved email Sender ID (the
from address registered for your account).Email subject line.
Plain-text email body.
HTML email body. When provided, recipients see the HTML version where supported.
Sender ID route. Accepted values:
transactional, promotional, otp. Defaults to transactional.Public HTTPS URL that receives delivery updates.
Custom message ID.
ISO datetime to schedule the message.
Label applied to multi-recipient campaigns.
Recipient (provide exactly one)
Recipient email address.
Saved contact ID. The contact must have an
email set.Array of saved contact IDs.
Single group ID.
Array of group IDs.
Response fields
"success" when the message is accepted.Unique message ID. Use it with Message Status.
Sender used for delivery.
Recipient email address.
Credits deducted for this message.
Error responses
| Status | Meaning |
|---|---|
400 | Missing or invalid request fields |
400 | Insufficient credit |
400 | Sender not approved for Email |
400 | Contact has no email address |
