Chat API
Looking for a way to send notifications via Chat API? This step-by-step tutorial will show you how to integrate Chat API the easy way.
Profile Requirements
To deliver a message to a recipient over Chat API, Courier must be provided a phone number or chat id.
This value should be included in the recipient profile as chat_api
.
Template
In the notification’s integration settings, a quoted message id and mentioned phone numbers can be provided
Override
Overrides can be used to change the request body that Courier uses to send a push message. Overrides are useful when a field is not yet supported by Courier or you would like to override the value that Courier generates. You can override any of the fields supported by Chat APIs /sendMessage
endpoint (see all send request body fields here). Below is an example of overriding the token and the chat API instance for the configuration: