Publish a transactional email
Transactional emails
Publish a transactional email
Publish a transactional’s current draft email message.
POST
Publish a transactional email
The transactional email’s current draft email message is published. The draft becomes
the published version and the draft is cleared.
After publishing, use the returned
id as transactionalId with
Send a transactional email to send
the email.
Request
Path parameters
The ID of the transactional email.
Body
No request body.Response
Success
The transactional email ID.
The transactional email’s name.
The ID of the draft email message. This is
null after a successful publish.The ID of the published email message.
ISO 8601 timestamp for when the transactional email was created.
ISO 8601 timestamp for when the transactional email was last updated.
Data variable names used by the published email. Empty for unpublished
transactionals.
Error
IftransactionalId is invalid, a 400 Bad Request is returned.
A 404 Not Found is returned if the transactional email does not exist.
A 409 Conflict is returned if there is no draft to publish.
A 422 Unprocessable Entity is returned if the draft failed validation, the
sending domain is not verified, or content was flagged as unsafe.
If the API key is invalid (or content API is not enabled for your team), a
401 Unauthorized is returned.
An error message describing what went wrong.
Last modified on June 8, 2026

