Transactional Email
POST
/api/v1/workspaces/{workspaceId}/messaging/transactional-emails
Scope messaging:write
Create a transactional email template. Placeholders such as {{code}} are replaced when the template is sent.
Pfad
workspaceIdPflicht
string
Workspace that owns the resource.
Request
application/json · CreateTransactionalEmailRequestDto
name
string
senderIdentityId
string (uuid)
subject
string
previewText
string
contentJson
string
htmlBody
string
builderVersion
string
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.