Send Email Template
Email
Send Email Template
Send an email using a predefined template
POST
Send Email Template
Description
This endpoint allows you to send an email using a predefined template. Templates can include variables that are replaced with actual values when the email is sent.Headers
Your API key for authentication.
Your workspace ID for authentication.
Body
The email address of the recipient.
The name of the email template to use.
Key-value pairs for template variables. Keys should match the variable names in the template, and values will replace the placeholders.
The email address of the sender. If not provided, the default sender email will be used.
The display name of the sender.
The subject line of the email. If not provided, the template’s default subject will be used.
Optional pre-header text that appears in the email preview.
The email address where replies should be sent.
The display name for the reply-to address.
Array of attachment URLs to include with the email.
Whether to track email opens. Default: false
Whether to track link clicks in the email. Default: false
(Optional) To receive post-back notifications about the sent message as it is delivered or failed. When a message status changes (delivered, failed, etc.), a notification will be sent to this URL. See Postback Notifications for the payload format and field descriptions.
(Optional) The data that will be sent back on the post_back_url with the notification. This can be used as an identifier for the sent message if the client wants to track or correlate messages with their own system. See Postback Notifications for how it appears in the notification.
Response
Indicates whether the request was successful. true if the request was accepted and queued, false otherwise.
Success message when the request succeeded, or error message when it failed.
Present only when success is true. Unique identifier for this request; use it for tracking and for correlating with postback notifications.