Skip to main content

Create template

POST 

/api/v1/notifications/templates

Create a new message template with variable support.

Request Body

Template creation data including name, subject, content, and supported channel types.

Variable Syntax: {{variableName}}

Responses

  • 201 OK: Template created successfully.
  • 400 Bad Request: Validation error or invalid template variable syntax.
  • 409 Conflict: Template with same name exists.
  • 404 Not Found: Channel type not found.

Request

Responses

Template created successfully