Send
Send an email
POST
https://api.smtpd.dev/api/v1/email/send
This endpoint allows you to send an email where all the content is supplied. The domain from from_email_address
is used to match a sending profile, If no active sending profile is found the email will be rejected.
Headers
Authentication
string
Bearer {access_token}
Request Body
content_text
string
The text content for the email body.
content_html
string
The HTML content for the email body.
subject
string
The email subject line.
from_name
string
The friendly from name
from_email_address
string
The from email address, this is used to match the send to an `active` sending_profile.
recipient_name
string
The name of the recipient.
recipient_email_address
string
The desination email address.
tags
array
Tags that should be applied to this email for send reporting. You are limited to 256 tags per send with each tag no longer than 256 characters.
click_tracking
boolean
open_tracking
boolean
If open tracking is enabled.
Get your last email sends (1000 limit)
GET
https://api.smtpd.dev/api/v1/email/send
Query Parameters
limit
number
Limits the number of rows returned.
Headers
Authentication
string
Bearer {access_token}
Search sends by recipient email address
GET
https://api.smtpd.dev/api/v1/email/send/search
Query Parameters
q
string
Email search term (min 2 characters)
Headers
Authentication
string
Bearer {access_token}
Get send by ID
GET
https://api.smtpd.dev/api/v1/email/send/:id
This endpoint allows you to get the send status details.
Path Parameters
id
string
ID of the email send.
Headers
Authentication
string
Bearer {access_token}
Get send events by ID
GET
https://api.smtpd.dev/api/v1/email/send/:id/events
Path Parameters
id
string
ID of the email Send
Headers
Authentication
string
Bearer {access_token}
Get send HTML content by ID
GET
https://api.smtpd.dev/api/v1/email/send/:id/content/html
Path Parameters
id
string
ID of the email Send
Headers
Authentication
string
Bearer {access_token}
Get send text content by ID
GET
https://api.smtpd.dev/api/v1/email/send/:id/content/text
Path Parameters
id
string
ID of email send
Headers
Authentication
string
Bearer {access_token}
Last updated