> For the complete documentation index, see [llms.txt](https://docs.tnid.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tnid.com/api-reference/002_company/014_webhooks/001__list_company_webhooks.md).

# List Company Webhooks

GraphQL endpoint: `/company`

Lists the current company's webhooks, including each webhook's URL, authentication settings and the event types it is enabled for.

## Query

```graphql
query
  {
  companyWebhooks
    {
    id
    url
    bearerToken
    customHeaders
    name
    receiveSubscriptionEvents
    receiveOptOutEvents
    b2bConnectionRequestReceivedWebhook
    b2bConnectionRequestResponseWebhook
    b2cConnectionRequestResponseWebhook
    c2bConnectionRequestReceivedWebhook
    b2cSubscriptionRequestResponseWebhook
    companySocialNetworkStatusChangeWebhook
    b2bFormInstanceSubmissionRequestReceivedWebhook
  }
}

```

## Variables

```json
{}
```

## Response

```json
{
  "data": {
    "companyWebhooks": [
      {
        "b2bConnectionRequestReceivedWebhook": true,
        "b2bConnectionRequestResponseWebhook": true,
        "b2bFormInstanceSubmissionRequestReceivedWebhook": true,
        "b2cConnectionRequestResponseWebhook": true,
        "b2cSubscriptionRequestResponseWebhook": true,
        "bearerToken": "TestBearerToken",
        "c2bConnectionRequestReceivedWebhook": true,
        "companySocialNetworkStatusChangeWebhook": true,
        "customHeaders": {
          "X-Custom-Header": "CustomValue"
        },
        "id": "00000000-0000-4000-8000-000000000001",
        "name": "webhook",
        "receiveOptOutEvents": true,
        "receiveSubscriptionEvents": true,
        "url": "https://localhost:54321/webhook"
      },
      {
        "b2bConnectionRequestReceivedWebhook": true,
        "b2bConnectionRequestResponseWebhook": true,
        "b2bFormInstanceSubmissionRequestReceivedWebhook": true,
        "b2cConnectionRequestResponseWebhook": true,
        "b2cSubscriptionRequestResponseWebhook": true,
        "bearerToken": "TestBearerToken",
        "c2bConnectionRequestReceivedWebhook": true,
        "companySocialNetworkStatusChangeWebhook": true,
        "customHeaders": {
          "X-Custom-Header": "CustomValue"
        },
        "id": "00000000-0000-4000-8000-000000000002",
        "name": "webhook",
        "receiveOptOutEvents": true,
        "receiveSubscriptionEvents": true,
        "url": "https://localhost:54321/webhook"
      },
      {
        "b2bConnectionRequestReceivedWebhook": true,
        "b2bConnectionRequestResponseWebhook": true,
        "b2bFormInstanceSubmissionRequestReceivedWebhook": true,
        "b2cConnectionRequestResponseWebhook": true,
        "b2cSubscriptionRequestResponseWebhook": true,
        "bearerToken": "TestBearerToken",
        "c2bConnectionRequestReceivedWebhook": true,
        "companySocialNetworkStatusChangeWebhook": true,
        "customHeaders": {
          "X-Custom-Header": "CustomValue"
        },
        "id": "00000000-0000-4000-8000-000000000003",
        "name": "webhook",
        "receiveOptOutEvents": true,
        "receiveSubscriptionEvents": true,
        "url": "https://localhost:54321/webhook"
      },
      {
        "b2bConnectionRequestReceivedWebhook": true,
        "b2bConnectionRequestResponseWebhook": true,
        "b2bFormInstanceSubmissionRequestReceivedWebhook": true,
        "b2cConnectionRequestResponseWebhook": true,
        "b2cSubscriptionRequestResponseWebhook": true,
        "bearerToken": "TestBearerToken",
        "c2bConnectionRequestReceivedWebhook": true,
        "companySocialNetworkStatusChangeWebhook": true,
        "customHeaders": {
          "X-Custom-Header": "CustomValue"
        },
        "id": "00000000-0000-4000-8000-000000000004",
        "name": "webhook",
        "receiveOptOutEvents": true,
        "receiveSubscriptionEvents": true,
        "url": "https://localhost:54321/webhook"
      },
      {
        "b2bConnectionRequestReceivedWebhook": true,
        "b2bConnectionRequestResponseWebhook": true,
        "b2bFormInstanceSubmissionRequestReceivedWebhook": true,
        "b2cConnectionRequestResponseWebhook": true,
        "b2cSubscriptionRequestResponseWebhook": true,
        "bearerToken": "TestBearerToken",
        "c2bConnectionRequestReceivedWebhook": true,
        "companySocialNetworkStatusChangeWebhook": true,
        "customHeaders": {
          "X-Custom-Header": "CustomValue"
        },
        "id": "00000000-0000-4000-8000-000000000005",
        "name": "webhook",
        "receiveOptOutEvents": true,
        "receiveSubscriptionEvents": true,
        "url": "https://localhost:54321/webhook"
      },
      {
        "b2bConnectionRequestReceivedWebhook": true,
        "b2bConnectionRequestResponseWebhook": true,
        "b2bFormInstanceSubmissionRequestReceivedWebhook": true,
        "b2cConnectionRequestResponseWebhook": true,
        "b2cSubscriptionRequestResponseWebhook": true,
        "bearerToken": "TestBearerToken",
        "c2bConnectionRequestReceivedWebhook": true,
        "companySocialNetworkStatusChangeWebhook": true,
        "customHeaders": {
          "X-Custom-Header": "CustomValue"
        },
        "id": "00000000-0000-4000-8000-000000000006",
        "name": "webhook",
        "receiveOptOutEvents": true,
        "receiveSubscriptionEvents": true,
        "url": "https://localhost:54321/webhook"
      }
    ]
  }
}
```
