Send email
Send email through API
Name
Value
Name
Type
Required
Comment
{
"layout_identifier": "string", // The identifier of the layout used for generating the email (e.g., "welcome-email")
"language": "string", // ISO language code, e.g., "en", "fr"
"variables": {
"name": "John Doe"
// Any dynamic variables used in the template (e.g., { "order_id": "12345" })
},
"code": null, // Always null when using layout_identifier; can contain raw HTML if no layout is used (Tailwind compatible)
"from": "string", // Sender email address
"to": "string", // Recipient email address
"subject": "string" // Email subject line
}
Last updated