Create a new template for a notification
POST /notifications/{notificationId}/{channel}/templates
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Notification ID
Channel type
Request Body required
Section titled “Request Body required ”Request body for creating a template. Include templateId (required) plus any channel-specific fields for the channel in the path. Which fields apply depends on the channel (EMAIL, INAPP_WEB, SMS, PUSH, etc.).
object
Unique ID for this template within the notification and channel. Required.
HTML body of the email.
Preview text (e.g. for inbox).
Internal editor representation of the email content (e.g. Bee or Redactor JSON). Used for editing and component embedding; the actual email sent to recipients uses the html field.
Email subject line.
Sender display name.
Sender email address.
Notification title (in-app).
URL to open when the user taps the notification.
Image URL shown in the in-app notification.
Copy for instant (real-time) delivery.
object
Copy for batch delivery.
object
Message text (SMS or call).
Push notification body text. (title is shared with INAPP_WEB above.)
Web push: icon URL. Slack: bot icon (emoji or URL).
Web push: URL to open when the notification is clicked.
Slack message blocks (optional).
object
Slack bot username.
Responses
Section titled “ Responses ”Successful response
object
object
Bad Request
Unauthorized
Internal Server Error