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 (Legacy) 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 |
Update an existing webhook | https://api-explorer.cometchat.com/reference/update-webhook |
List webhooks | https://api-explorer.cometchat.com/reference/list-webhooks |
Get a webhook using its ID | https://api-explorer.cometchat.com/reference/get-webhook |
Delete a webhook | https://api-explorer.cometchat.com/reference/delete-webhook |
Triggers management
Operation | Description |
---|---|
Add triggers to a webhook | https://api-explorer.cometchat.com/reference/add-triggers |
List triggers of a webhook | https://api-explorer.cometchat.com/reference/list-triggers |
Remove triggers from a webhook | https://api-explorer.cometchat.com/reference/remove-triggers |