Ensure a transactional email has a draft
Ensure a transactional email has a draft email message ready for editing, creating one from the published version if no draft currently exists.
draftEmailMessageId and draftEmailMessageContentRevisionId when calling Update an email message to edit the draft’s content.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the transactional email.
Response
Draft ready.
The ID of the transactional email.
The name of the transactional email.
The ID of the draft email message.
The contentRevisionId of the draft email message. Pass this as expectedRevisionId on your first update via POST /v1/email-messages/{emailMessageId}.
The ID of the published email message. null if there is no published version.
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 transactional emails.
The ID of the group this transactional email belongs to. Returned when creating a transactional email.
Related topics
API IntroductionDouble opt-inTransactional emailPublish a transactional emailCreate a transactional email
