Skip to content

Set a template as default for specific delivery modes

PATCH
/notifications/{notificationId}/{channel}/templates/default-selection
notificationId
required
string

Notification ID

channel
required
string

Channel type

object
templateId
required
string
modes
required
Array<string>
Allowed values: instant hourly daily weekly monthly

Successful response

object
envId
required
string
notificationId
required
string
templateId
required
string
channel
required
string
Allowed values: EMAIL INAPP_WEB SMS CALL PUSH WEB_PUSH SLACK
default
required
boolean
isDefaultFor
object
key
additional properties
boolean

Bad Request

Unauthorized

Internal Server Error