Sends an email using a predefined template with variable substitution. Requires valid recipient email addresses, a future expiration timestamp (within 7 days), a template identifier, and template variables. The idempotency key is combined with the requestor’s identity to prevent duplicate sends.
access token
Expiration time for the email. Must be in the future and within 7 days.
"2025-08-11T15:04:05Z"
At least one recipient is required.
1Required template identifier to use for the email.
"welcome-email"
Required key-value pairs of variables to be used in the template.
{
"username": "johndoe",
"activation_link": "https://example.com/activate/abc123"
}Required unique key to ensure idempotent email sending. Combined with requestor identity (user:org or service ID) to prevent duplicate sends.
"user-signup-12345"
Email successfully queued for delivery.
Confirmation message that the email was queued.
"email queued for delivery"