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

# Create a webhook target

<Snippet file="graphql/sdk-note.mdx" />

Creating a webhook target registers a new HTTP endpoint that Plain will deliver events to. You must pass:

* `url` — the endpoint Plain should POST to
* `description` — a short human-readable label (shown in the Plain app)
* `isEnabled` — whether deliveries should start immediately
* `eventSubscriptions` — the list of event types this target should receive
* `version` — the webhook schema version to pin to (we recommend always pinning to a specific version)

The full list of subscribable event types is available via the `subscriptionEventTypes` query, or in the [webhooks reference](/webhooks).

<Snippet file="graphql/create-webhook-target.mdx" />
