Create message template

Create a new message template in the oldest active workspace that the token has access to. If you need to specify the workspace, we recommend using the Create team message template endpoint instead.

Required scope: message_templates:write

Body Params

Message template to create

string
required

Name of the message template

string

Subject of the message template.

string
required

Body of the message template. You can supply HTML with inline CSS to structure and style your template.

string

ID of the message template folder to place this message template in

inbox_ids
array of strings

The specific inboxes this template is available in. If unspecified or null, then it will be available in all inboxes. Array should be non-empty.

inbox_ids
attachments
array of files

Binary data of attached files. Must use Content-Type: multipart/form-data if specified. See example. Max 25 MB.

attachments
Response

Language
Credentials
Bearer
JWT
Response
Choose an example:
application/json