YOWO7 API
Transactional Email

POST

/api/v1/workspaces/{workspaceId}/messaging/transactional-emails/{emailId}/publish

Scope messaging:write

Publish a transactional email template so it can be sent.

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.
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.
400ApiProblemThe request is invalid.
401ApiProblemThe private app token is missing or invalid.
403ApiProblemThe token is missing the required scope, or this action is not allowed.
404ApiProblemThe workspace or resource was not found.
defaultApiProblemError response.
Publish a transactional email · YOWO7 API