{
"id": "<string>",
"name": "<string>",
"subject": "<string>",
"status": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"preheader": "<string>"
}{
"success": false,
"message": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": null
}
}Developer API
Create a transactional template
Creates a new template from raw subject and body content. Variables are
auto-detected from the content. The returned id is the workspace slug ID
used by the send, update, delete, and get-by-id endpoints.
POST
/
v1
/
transactional
/
create
{
"id": "<string>",
"name": "<string>",
"subject": "<string>",
"status": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"preheader": "<string>"
}{
"success": false,
"message": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": null
}
}Authorizations
Workspace-scoped API key from the credentials table
Body
application/json
Template name; used to derive the slug ID
Email subject line (supports {{variable}} placeholders)
Preheader / preview text