Managing triggers
Webhook management and configuration of triggers can be handled via CometChat's dashboard or by utilizing the Management APIs.
Manage from the dashboard

- Login to CometChat dashboard and select your app.
- Go to the Webhooks section in the left navigation.
- Add a new webhook.
- Configure the webhook by saving the following details:
- Webhook ID: A unique identifier for your webhook.
- URL: The Webhook URL where you will receive the payloads for the event.
- Triggers: Enable the triggers for events that you are interested in.
- Security: It is recommended to enable authentication for your webhook.
- Enable the webhook.
- Save the configuration.
Manage using our Management APIs
Webhook managment
| Operation | Description |
|---|---|
| Create a new webhook | https://api-explorer.cometchat.com/reference/create-webhook-api |
| Update an existing webhook | https://api-explorer.cometchat.com/reference/update-webhook-api |
| List webhooks | https://api-explorer.cometchat.com/reference/list-webhooks-api |
| Get a webhook using its ID | https://api-explorer.cometchat.com/reference/get-webhook-api |
| Delete a webhook | https://api-explorer.cometchat.com/reference/delete-webhook-api |
Triggers management
| Operation | Description |
|---|---|
| Add triggers to a webhook | https://api-explorer.cometchat.com/reference/add-triggers-api |
| List triggers of a webhook | https://api-explorer.cometchat.com/reference/list-triggers-api |
| Remove triggers from a webhook | https://api-explorer.cometchat.com/reference/remove-triggers-api |