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

# webhook_create

> Create a webhook. Scope it to one team with `team_id` or to every public team with `all_public_teams`, and name the resource types it should fire for, such as 'Issue' or 'Comment'.

<div className="tool-route"><span className="tool-row-method" data-method="POST">POST</span><code>{"https://api.linear.app/graphql"}</code></div>

```python linear_webhook_create.py theme={null}
from charter.packs import linear

result = await linear.webhook_create.ainvoke({"variables": ...})
```

<Note>
  Posts a GraphQL document to `POST /graphql`, as every tool in this pack does.
</Note>

## Body

<div className="reference-table">
  | Field                                                             | Type                                                                                    | Description            |
  | ----------------------------------------------------------------- | --------------------------------------------------------------------------------------- | ---------------------- |
  | `variables` <span className="required" title="required">\*</span> | [WebhookCreateVariables](/charter/charter/packs/linear/webhooks/objects#webhookcreatevariables) | The webhook to create. |
</div>
