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

# List Registered Webhooks

> Return the webhook URLs registered for your account. Set allWebhooks to true to list the webhooks for every User Profile, including the Primary Profile.

## Header Parameters

**Authorization** `string` *required*

[API Key](https://www.ayrshare.com/docs/apis/overview.md#authorization) of the Primary Profile.

Format: `Authorization: Bearer API_KEY`
**Profile-Key** `string`

[Profile Key](https://www.ayrshare.com/docs/apis/overview.md#profile-key-format) of a User Profile.

Format: `Profile-Key: PROFILE_KEY`

## Query Parameters

**allWebhooks** `boolean` (default: false)

Return all registered webhooks for every User Profile associated with your account, including the Primary Profile.
You only need to provide the Primary Profile's API Key in the request header.

```json 200: Response theme={"system"}
{
    "batch": "https://mywebsite.com/hook",
    "batchUpdated": "2024-01-11T20:05:18Z",
    "feedUpdated": "2024-01-11T18:20:50Z",
    "refId": "1c72bd62e59807fdfdc5cc083",
    "scheduled": "https://mywebsite.com/hook",
    "scheduledUpdated": "2023-12-06T01:54:08Z",
    "social": "https://mywebsite.com/hook",
    "socialUpdated": "2023-10-26T03:20:46Z",
    "status": "success",
    "updated": "2024-01-11T18:20:51Z"
}
```

```json 200: Using allWebhooks theme={"system"}
{
    "webhooks": [
        {
            "messages": "https://mywebsite.com/hook",
            "messagesUpdated": "2024-12-11T09:58:22Z",
            "refId": "d0b8bf39805ae442094137f09f2417bf2s82",
            "scheduled": "https://mywebsite.com/hook",
            "scheduledUpdated": "2024-02-19T12:17:12Z",
            "status": "success",
            "updated": "2023-08-22T11:55:06Z"
        }
    ]
}
```


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