Transactional Email
POST
/api/v1/workspaces/{workspaceId}/messaging/transactional-emails/{emailId}/attachments/upload/initiate
Scope messaging:write
Start a file attachment upload for a transactional email template. PUT the file bytes to the returned upload URL, then complete the upload.
Pfad
emailIdPflicht
string (uuid)
Transactional email template identifier.
workspaceIdPflicht
string
Workspace that owns the resource.
Request
application/json · MessagingEmailAttachmentUploadInitiateRequestDto
fileName
string
Name of the file.
contentType
string
Content type.
sizeBytes
integer (int64)
Size bytes.
Antworten
200MessagingEmailAttachmentUploadInitiateResponseDtoThe request succeeded. The JSON body contains url, data, and meta. The linked schema is data.
Messaging email attachment upload initiate response.
attachmentId
string (uuid)
Identifier of the attachment.
fileId
string (uuid)
Identifier of the file.
uploadSessionId
string (uuid)
Identifier of the upload session.
uploadUrl
string
URL of the upload.
uploadUrlExpiresAt
string (date-time)
When the upload url expires was recorded.