> ## 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.

# Webhook

> Shows an event destination of type `WEBHOOK`. Occtoo POSTs each matching event to its HTTPS endpoint as CloudEvents JSON, signed with its secret. `eventDestinations` lists the same webhooks next to the other destination types.



**Kind**: `object`

## Fields

**`createdAt`**: `DateTime!`

When the webhook was created (UTC).

---

**`destinationType`**: `EventDestinationType!`

Kind of event destination; `WEBHOOK` for a webhook.

---

**`endpoint`**: `String!`

HTTPS URL the events are POSTed to.

---

**`filter`**: `String!`

Which events are delivered, in the syntax `CreateWebhookInput.filter` describes. Stored normalized, e.g. `(type eq "source.updated" and sourceId eq "products")`.

---

**`filterDialectVersion`**: `Int!`

Version of the filter syntax. Currently always 1.

---

**`id`**: `UUID!`

Raw id of the webhook (UUID). `webhook` and the webhook mutations take its global form, base64 of `Webhook:<id>`; `rotateWebhookSecret` takes base64 of `EventDestination:<id>`.

---

**`name`**: `String!`

Name of the webhook, 1 to 200 characters.

---

**`startsAfterSequence`**: `String`

Position in the tenant's event stream that delivery started after: only later events are delivered. Same format as the CloudEvent `sequence` (e.g. `001.00000000000000012345`). Null while the webhook waits for verification.

---

**`status`**: `WebhookStatus!`

Lifecycle state of the webhook. See `WebhookStatus`.

---

**`updatedAt`**: `DateTime!`

When the webhook last changed (UTC), status changes Occtoo makes itself included.



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