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

# CreateWebhookInput

> Holds the settings of a new webhook.



**Kind**: `input`

## Fields

**`endpoint`**: `String!` (required)

URL to POST events to. Must use HTTPS, have no credentials or fragment, and resolve to a public address.

---

**`filter`**: `String!` (required)

Which events to deliver. Compares event fields with `eq`, joined by `and`, `or` and parentheses, values in double quotes, e.g. `type eq "source.updated" and sourceId eq "products"`. Every `or` branch must name a `type`; the Events API's `GET /v1/event-types` lists the types and the fields each one can be filtered on.

---

**`name`**: `String!` (required)

Name of the webhook, 1 to 200 characters. Spaces at the ends are trimmed.



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