Update a push notification content template
PUT {{baseUrl}}/v3/applications/push/message_templates/:template_name
Update a push notification content template
Updates a specific push notification content template of an application. The name of a content template is either default
or alternative
.
https://sendbird.com/docs/chat/v3/platform-api/guides/application#2-update-a-push-notification-content-template
Request Body
{"template_name"=>"<string>", "template"=>"<string>", "template.MESG"=>"<string>", "template.FILE"=>"<string>", "template.ADMN"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Api-Token | string | (Required) | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"push_message_templates":[{"template_name":"\u003cstring\u003e","template":{"MESG":"\u003cstring\u003e","FILE":"\u003cstring\u003e","ADMM":"\u003cstring\u003e"},"push_message_preview":{"MESG":"\u003cstring\u003e","FILE":"\u003cstring\u003e","ADMM":"\u003cstring\u003e"}},{"template_name":"\u003cstring\u003e","template":{"MESG":"\u003cstring\u003e","FILE":"\u003cstring\u003e","ADMM":"\u003cstring\u003e"},"push_message_preview":{"MESG":"\u003cstring\u003e","FILE":"\u003cstring\u003e","ADMM":"\u003cstring\u003e"}}]}