Send an email notification directly without templates
POST /email
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”Request body for POST /email (send email without a template).
object
The notification type to send.
The email address of the recipient.
The subject of the email.
The HTML body of the email.
The display name of the sender.
The email address of the sender.
The preview text of the email.
The reply-to addresses of the email.
The CC addresses of the email.
The BCC addresses of the email.
The attachments of the email.
object
The ISO 8601 datetime to schedule the email.
Responses
Section titled “ Responses ”Successful response
Success response for POST /email.
object
Error response for POST /email.
object
Error details for email send failures.
object
Machine-readable error code.
Human-readable error message.
Actionable hint for fixing the error.
Provider that rejected the message (e.g. ‘ses’).
Provider-specific error code.
Bad Request - validation errors, invalid input
Standard error response for API errors.
object
Unique tracking ID for the request.
Structured error details for API error responses.
object
Machine-readable error code.
Human-readable error message.
Actionable hint for fixing the error.
Provider that caused the error (e.g. telnyx, ses).
Provider-specific error code.
Unauthorized
Payment Required - usage limits exceeded
Standard error response for API errors.
object
Unique tracking ID for the request.
Structured error details for API error responses.
object
Machine-readable error code.
Human-readable error message.
Actionable hint for fixing the error.
Provider that caused the error (e.g. telnyx, ses).
Provider-specific error code.
Internal Server Error
Bad Gateway - provider error
Standard error response for API errors.
object
Unique tracking ID for the request.
Structured error details for API error responses.
object
Machine-readable error code.
Human-readable error message.
Actionable hint for fixing the error.
Provider that caused the error (e.g. telnyx, ses).
Provider-specific error code.