CometChat allows you to configure and manage webhook triggers either through the CometChat Dashboard or by using the Management APIs. This guide walks you through both methods.

Option 1: Managing Webhooks via Dashboard

You can easily configure webhook triggers through the CometChat dashboard.

Steps to Configure:

  1. Log in to the CometChat Dashboard and select your app.
  2. Navigate to Settings > Webhooks in the left-hand menu.
  3. Click Add Webhook to create a new webhook.
  4. Provide the following details:
    • Webhook ID – A unique identifier.
    • URL – Your server endpoint where event payloads will be sent.
    • Triggers – Enable events you wish to listen to.
    • Security – Enable authentication for enhanced security.
  5. Enable the webhook.
  6. Click Save to apply your configuration.

Option 2: Managing Webhooks via Management APIs

If you prefer automation or need to manage webhooks programmatically, you can use our REST APIs.

Webhook Operations

OperationAPI Reference
Create a new webhookCreate Webhook
Update an existing webhookUpdate Webhook
List all webhooksList Webhooks
Get webhook by IDGet Webhook
Delete a webhookDelete Webhook

Trigger Operations

OperationAPI Reference
Add triggers to a webhookAdd Triggers
List triggers for a webhookList Triggers
Remove triggers from a webhookRemove Triggers

Choose the method that best fits your use case—Dashboard for quick setup, or APIs for advanced and automated configurations.