> ## Documentation Index
> Fetch the complete documentation index at: https://storekit.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Setting Up Webhooks

> Configure webhook endpoints in the storekit dashboard, choose which event types to subscribe to, and start receiving real-time event notifications.

## Adding an Endpoint

To start receiving webhooks, you need to register an endpoint URL where storekit will send events.

1. Go to your storekit Dashboard
2. Navigate to **Settings > Webhooks**
3. Click **Add Endpoint**
4. Enter your endpoint URL (e.g., `https://example.com/webhooks/storekit`)
5. Select the event types you want to receive
6. Save your endpoint

## Endpoint Requirements

Your endpoint must:

* Be publicly accessible via HTTPS
* Accept POST requests
* Return a `2xx` status code within 15 seconds
* Have CSRF protection disabled for this route

## Choosing Event Types

You can subscribe to specific event types or receive all events. We recommend only subscribing to the events you need to minimize unnecessary traffic.

See the [Webhook Events](/developers/webhooks/webhook-events) page for a complete list of available events.

## Testing Your Endpoint

Before going live, test your endpoint to ensure it's working correctly:

1. Use the **Send Test Event** button in your dashboard
2. Check that your endpoint receives the test webhook
3. Verify your endpoint returns a `2xx` response

<Tip>
  During development, you can use tools like [webhook.site](https://webhook.site) or [ngrok](https://ngrok.com) to inspect incoming webhooks.
</Tip>
