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

# Objects

> Every object and enum the Webhooks tools accept.

## Model tree

<div className="model-tree"><div className="model-tree-scroll"><div className="tree-node"><a href="#webhookslistvariables">WebhooksListVariables</a></div><div className="tree-node"><a href="#webhookgetvariables">WebhookGetVariables</a></div><div className="tree-node"><a href="#webhookcreatevariables">WebhookCreateVariables</a><div className="tree-children"><div className="tree-node"><a href="#webhookcreateinput">WebhookCreateInput</a></div></div></div><div className="tree-node"><a href="#webhookupdatevariables">WebhookUpdateVariables</a><div className="tree-children"><div className="tree-node"><a href="#webhookupdateinput">WebhookUpdateInput</a></div></div></div><div className="tree-node"><a href="#webhookdeletevariables">WebhookDeleteVariables</a></div></div></div>

## WebhooksListVariables

Variables for the `webhooks` connection.

<div className="reference-table">
  | Field             | Type                                                                           | Description                                                                                                                       |
  | ----------------- | ------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |
  | `first`           | `integer`                                                                      | How many results to return. Linear returns 50 by default. <span className="field-constraints">≥ 1; ≤ 250; defaults to `50`</span> |
  | `after`           | `string`                                                                       | The `endCursor` from the previous page's `pageInfo`, to fetch the next page.                                                      |
  | `includeArchived` | `boolean`                                                                      | Include archived webhooks in the results.                                                                                         |
  | `orderBy`         | [PaginationOrderBy](/charter/charter/packs/linear/workspace/objects#paginationorderby) | Sort by 'createdAt' or 'updatedAt'.                                                                                               |
</div>

## WebhookGetVariables

Variables for the `webhook` query.

<div className="reference-table">
  | Field                                                      | Type     | Description         |
  | ---------------------------------------------------------- | -------- | ------------------- |
  | `id` <span className="required" title="required">\*</span> | `string` | The webhook's UUID. |
</div>

## WebhookCreateVariables

Variables for the `webhookCreate` mutation.

<div className="reference-table">
  | Field                                                         | Type                                      | Description            |
  | ------------------------------------------------------------- | ----------------------------------------- | ---------------------- |
  | `input` <span className="required" title="required">\*</span> | [WebhookCreateInput](#webhookcreateinput) | The webhook to create. |
</div>

## WebhookCreateInput

The input to `webhookCreate`.

<div className="reference-table">
  | Field                                                                 | Type        | Description                                                                                                                                                 |
  | --------------------------------------------------------------------- | ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `url` <span className="required" title="required">\*</span>           | `string`    | The URL that will be called on data change.                                                                                                                 |
  | `resourceTypes` <span className="required" title="required">\*</span> | `string`\[] | List of resources the webhook should subscribe to, such as 'Issue', 'Comment', 'Project' or 'Cycle'. <span className="field-constraints">min 1 items</span> |
  | `teamId`                                                              | `string`    | The identifier or key of the team associated with the webhook.                                                                                              |
  | `allPublicTeams`                                                      | `boolean`   | Whether to subscribe to all public teams.                                                                                                                   |
  | `label`                                                               | `string`    | A label for the webhook.                                                                                                                                    |
  | `secret`                                                              | `string`    | A secret token used to sign the webhook payload.                                                                                                            |
  | `enabled`                                                             | `boolean`   | Whether this webhook is enabled. Absent, Linear enables it.                                                                                                 |
  | `id`                                                                  | `string`    | The identifier in UUID v4 format. If none is provided, the backend will generate one.                                                                       |
</div>

## WebhookUpdateVariables

Variables for the `webhookUpdate` mutation.

<div className="reference-table">
  | Field                                                         | Type                                      | Description           |
  | ------------------------------------------------------------- | ----------------------------------------- | --------------------- |
  | `id` <span className="required" title="required">\*</span>    | `string`                                  | The webhook's UUID.   |
  | `input` <span className="required" title="required">\*</span> | [WebhookUpdateInput](#webhookupdateinput) | The fields to change. |
</div>

## WebhookUpdateInput

The fields `webhookUpdate` changes. All optional.

<div className="reference-table">
  | Field           | Type        | Description                                        |
  | --------------- | ----------- | -------------------------------------------------- |
  | `url`           | `string`    | The URL that will be called on data change.        |
  | `resourceTypes` | `string`\[] | List of resources the webhook should subscribe to. |
  | `label`         | `string`    | A label for the webhook.                           |
  | `secret`        | `string`    | A secret token used to sign the webhook payload.   |
  | `enabled`       | `boolean`   | Whether this webhook is enabled.                   |
</div>

## WebhookDeleteVariables

Variables for the `webhookDelete` mutation.

<div className="reference-table">
  | Field                                                      | Type     | Description         |
  | ---------------------------------------------------------- | -------- | ------------------- |
  | `id` <span className="required" title="required">\*</span> | `string` | The webhook's UUID. |
</div>
