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

# Create a webhook subscription

## Create webhooks

There are two ways to create webhooks: through the Loop Admin and the API.

### Using the Loop Admin

To set up webhooks, navigate to the [Developer tools](https://admin.loopreturns.com/settings/developers) page in the Loop Admin. From there, you can create a webhook by selecting a topic and trigger, and specifying the URL where the payload should be sent.

Webhooks can have one of the following statuses:

* **Inactive**: The webhook has been manually deactivated by a user and will no longer send payloads.
* **Active**: The webhook is enabled and functioning as expected, sending payloads to the specified URL when triggered.

### Using the API

Use the [Programmatic Webhook API](https://docs.loopreturns.com/api-reference/latest/programmatic-webhooks/create-webhook.md) to create a new webhook. A valid API key with the `Developer Tools` scope is required.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.