> For the complete documentation index, see [llms.txt](https://firstoken.gitbook.io/api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://firstoken.gitbook.io/api-docs/how-to/create-a-webhook.md).

# Create a Webhook

Webhooks allow Firstoken to send event-driven notifications to your endpoint. Notifications are triggered only when a subscribed event occurs.

#### Steps

1. Log in to the Firstoken Console.
2. Navigate to **Webhooks** and click **+ New Webhook**.
3. Complete the following fields:

| Field       | Required | Description                                                                                                                     |
| ----------- | -------- | ------------------------------------------------------------------------------------------------------------------------------- |
| Name        | Yes      | Identifies the webhook.                                                                                                         |
| Description | No       | Optional context for the webhook.                                                                                               |
| URL         | Yes      | Destination endpoint where notifications will be delivered.                                                                     |
| Events      | Yes      | One or more events that will trigger a notification. See [Webhook Events](/api-docs/how-to/create-a-webhook/webhook-events.md). |

4. Click **Create**. A modal displays the **Webhook Key** used to validate incoming notifications.

> **Important:** Store the Webhook Key immediately. Validate all incoming notifications using this key to confirm they originate from Firstoken.
