Create a marketing template
POST/v1/templates
Create a marketing template.
name, channel and content are required; category defaults to other
and status to draft. Merge variables are extracted from the content and
subject automatically, so you do not declare them yourself — write
placeholders in the body and they become the template's variable list.
Campaigns reference templates by id, so create the template first, then point
a campaign at it. Requires the templates:write scope.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 422
- 429
Successful Response
Error
Error
Error
Error
Validation Error
Error