> ## Documentation Index
> Fetch the complete documentation index at: https://cometchat-013b37f0.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Managing Webhook Triggers

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](https://app.cometchat.com/login) 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.

<Frame>
  <img src="https://mintcdn.com/cometchat-013b37f0/VPrNRnkEXz1B-4gC/images/00aeb60f-add-webhook-details-4e19ec2ec326166185750734d9f60117.png?fit=max&auto=format&n=VPrNRnkEXz1B-4gC&q=85&s=48183ea5f4d23ce44a2e7fcb0b2688b3" width="1202" height="607" data-path="images/00aeb60f-add-webhook-details-4e19ec2ec326166185750734d9f60117.png" />
</Frame>

***

## 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

| Operation                  | API Reference                                                                     |
| -------------------------- | --------------------------------------------------------------------------------- |
| Create a new webhook       | [Create Webhook](https://api-explorer.cometchat.com/reference/create-webhook-api) |
| Update an existing webhook | [Update Webhook](https://api-explorer.cometchat.com/reference/update-webhook-api) |
| List all webhooks          | [List Webhooks](https://api-explorer.cometchat.com/reference/list-webhooks-api)   |
| Get webhook by ID          | [Get Webhook](https://api-explorer.cometchat.com/reference/get-webhook-api)       |
| Delete a webhook           | [Delete Webhook](https://api-explorer.cometchat.com/reference/delete-webhook-api) |

### Trigger Operations

| Operation                      | API Reference                                                                       |
| ------------------------------ | ----------------------------------------------------------------------------------- |
| Add triggers to a webhook      | [Add Triggers](https://api-explorer.cometchat.com/reference/add-triggers-api)       |
| List triggers for a webhook    | [List Triggers](https://api-explorer.cometchat.com/reference/list-triggers-api)     |
| Remove triggers from a webhook | [Remove Triggers](https://api-explorer.cometchat.com/reference/remove-triggers-api) |

***

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