Transactional Email
POST
/api/v1/workspaces/{workspaceId}/messaging/transactional-emails/{emailId}/unpublish
Scope messaging:write
Move a transactional email template back to draft. It can no longer be sent until you publish it again.
Pfad
emailIdPflicht
string (uuid)
Transactional email template identifier.
workspaceIdPflicht
string
Workspace that owns the resource.
Antworten
200TransactionalEmailDetailDtoThe request succeeded. The JSON body contains url, data, and meta. The linked schema is data.
Transactional email detail.
id
string (uuid)
Identifier.
name
string
Display name.
status
senderIdentityId
string (uuid)
Identifier of the sender identity.
subject
string
Subject.
createdAt
string (date-time)
When this was created.
updatedAt
string (date-time)
When this was last updated.
availableVariables
string[]
Available variables.
previewText
string
Preview text.
contentJson
string
JSON for the content.
htmlBody
string
Html body.
builderVersion
string
Builder version.
attachments
MessagingEmailAttachmentDto[]
Attachments.