Message
POST
/api/v0/messages
Submission of email through API.
from
Email address for From
header. If not present, default will be used.
Optional
to
Recipient email address. Use commas to separate multiple recipients.
Required
reply_to
Email address for recipient reply. Also used for return path for bounced email.
Optional
unsubscribe_link
Unsubscribe link is a link within your email campaign, often placed in the footer.
Optional (Recommended)
subject
Email subject.
Required
as_html
By default we use plain text as email content. However you may set as_html=1
for sending HTML content.
Required
content
Plain text or HTML content.
Required
headers
Additional mail header.
Optional
Example of JSON body to be prepared during email submission via API.
Sending via command line using cURL.
JSON structured response.
Last updated