Webhooks
Webhooks can notify teams when a certain event takes place in regard to templates and notifications. Set Notification webhooks on Sendbird Dashboard for your server to receive HTTP POST requests from the Sendbird server in JSON format, which contain information on all events within your Sendbird application.
Set up webhooks
- Log in the Sendbird Dashboard.
- Navigate to Settings > Business Messaging > Webhooks and turn on the feature.
- Enter the webhook URL for the Sendbird server to send a request and choose the events you wish to subscribe to.
Settings | Description |
---|---|
URL | Specifies the URL that Sendbird can send the the payload to. |
Events | Selects webhook events to listen to. |
List of webhook events
The following table lists the webhook events that you can subscribe to.
Event | Description |
---|---|
notification:send_realtime | Notifies you when a request is made for a real-time notification. |
notification:send_batch | Notifies you when a request is made for a batch notification. |
notification:template_create | Notifies you when a template is created. |
notification:template_archive | Notifies you when a template is archived. |
notification:template_unarchive | Notifies you when a template is unarchived. |
notification:template_edit | Notifies you when a template is edited. |
notification:template_approval_update | Notifies you when the approval status of a channel’s template has changed. |
Note: To learn more about how to set up the environment for webhook subscription and sample payload, see our server-side guide on Webhooks.