> ## Documentation Index
> Fetch the complete documentation index at: https://plain-docs-orca-916-agent-docs-restructure.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a webhook target

> Register an HTTP endpoint to receive webhook events, and choose which events it gets.

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)

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

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" />
