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

# WebhookDefinition

> Response type in the GraphQL API.

| Field | Type | Description |
| - | - | - |
| `id` | [`ID!`](/docs/cloud/graphql/types/id) | |
| `projectId` | [`ID!`](/docs/cloud/graphql/types/id) | |
| `name` | [`String!`](/docs/cloud/graphql/types/string) | |
| `source` | [`String!`](/docs/cloud/graphql/types/string) | |
| `target` | [`WebhookTarget!`](/docs/cloud/graphql/types/webhooktarget) | |
| `promptTemplate` | [`String`](/docs/cloud/graphql/types/string) | |
| `eventFilter` | [`WebhookEventFilter`](/docs/cloud/graphql/types/webhookeventfilter) | |
| `status` | [`WebhookStatus!`](/docs/cloud/graphql/types/webhookstatus) | |
| `runtimeTargetKind` | [`String!`](/docs/cloud/graphql/types/string) | Runtime target the webhook fires against: main\_branch, environment or preview\_branch. |
| `runtimeTargetEnvironmentId` | [`ID`](/docs/cloud/graphql/types/id) | |
| `runtimeTargetBranchId` | [`ID`](/docs/cloud/graphql/types/id) | |
| `definitionSource` | [`String!`](/docs/cloud/graphql/types/string) | manual for a webhook created through the API, source for one reconciled from a source trigger. |
| `sourceTriggerId` | [`String`](/docs/cloud/graphql/types/string) | |
| `sourcePath` | [`String`](/docs/cloud/graphql/types/string) | |
| `sourceHash` | [`String`](/docs/cloud/graphql/types/string) | |
| `webhookId` | [`String!`](/docs/cloud/graphql/types/string) | |
| `webhookUrl` | [`String!`](/docs/cloud/graphql/types/string) | |
| `createdByUserId` | [`ID!`](/docs/cloud/graphql/types/id) | |
| `enabledAt` | [`String`](/docs/cloud/graphql/types/string) | |
| `disabledAt` | [`String`](/docs/cloud/graphql/types/string) | |
| `disabledReason` | [`String`](/docs/cloud/graphql/types/string) | |
| `createdAt` | [`String!`](/docs/cloud/graphql/types/string) | |
| `updatedAt` | [`String!`](/docs/cloud/graphql/types/string) | |

[All GraphQL types](/docs/cloud/graphql/schema) · [Operations](/docs/cloud/graphql)


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