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

# verifyWebhook

> Checks the webhook's endpoint and makes the webhook `ACTIVE`; delivery starts with events after this point. Occtoo sends an `OPTIONS` request with a `WebHook-Request-Origin` header, and the endpoint must answer 2xx within 10 seconds with `WebHook-Allowed-Origin` set to that origin or `*`. Fails with a top-level `ValidationError` if the check fails, or `ConflictError` if the webhook isn't `PENDING_VERIFICATION`.



**mutation** `verifyWebhook(input: VerifyWebhookInput!): VerifyWebhookPayload!`

## Arguments

**`input`**: `VerifyWebhookInput!` (required)

## Returns

`VerifyWebhookPayload!`

**`webhook`**: `Webhook`

## Examples

```graphql Mutation
mutation VerifyWebhook($input: VerifyWebhookInput!) {
  verifyWebhook(input: $input) {
    webhook {
      createdAt
      destinationType
      endpoint
      filter
      filterDialectVersion
      id
    }
  }
}
```

```json Variables
{
  "input": {
    "id": "id"
  }
}
```

```json Response
{
  "data": {
    "verifyWebhook": {
      "webhook": {
        "createdAt": "value",
        "destinationType": "WEBHOOK",
        "endpoint": "string",
        "filter": "string",
        "filterDialectVersion": 1,
        "id": "value"
      }
    }
  }
}
```


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