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
string
required
Your API key for authentication.
string
required
Your workspace ID for authentication.
Body
string
required
The email address of the recipient.
string
required
The name of the email template to use.
object
Key-value pairs for template variables. Keys should match the variable names in the template, and values will replace the placeholders.
string
The email address of the sender. If not provided, the default sender email will be used.
string
The display name of the sender.
string
The subject line of the email. If not provided, the template’s default subject will be used.
string
Optional pre-header text that appears in the email preview.
string
The email address where replies should be sent.
string
The display name for the reply-to address.
array
Array of attachment URLs to include with the email.
boolean
Whether to track email opens. Default: false
boolean
Whether to track link clicks in the email. Default: false
string
(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.
string
(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
boolean
Indicates whether the request was successful. true if the request was accepted and queued, false otherwise.
string
Success message when the request succeeded, or error message when it failed.
string
Present only when success is true. Unique identifier for this request; use it for tracking and for correlating with postback notifications.