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

# SourceWebhook

> Response type in the GraphQL API.

A webhook declared in a project source file that is not stored yet.

| Field | Type | Description |
| - | - | - |
| `id` | [`ID!`](https://veryfront.com/docs/cloud/graphql/types/id) | |
| `sourceTriggerId` | [`String!`](https://veryfront.com/docs/cloud/graphql/types/string) | The id of the source declaration; the stored webhook carries it as sourceTriggerId. |
| `name` | [`String!`](https://veryfront.com/docs/cloud/graphql/types/string) | |
| `description` | [`String`](https://veryfront.com/docs/cloud/graphql/types/string) | |
| `target` | [`WebhookTarget!`](https://veryfront.com/docs/cloud/graphql/types/webhooktarget) | |
| `promptTemplate` | [`String`](https://veryfront.com/docs/cloud/graphql/types/string) | |
| `eventFilter` | [`JSON`](https://veryfront.com/docs/cloud/graphql/types/json) | The declared event filter, or null. |
| `definitionSource` | [`WebhookDefinitionSource!`](https://veryfront.com/docs/cloud/graphql/types/webhookdefinitionsource) | Always source. |
| `sourcePath` | [`String!`](https://veryfront.com/docs/cloud/graphql/types/string) | |
| `sourceHash` | [`String!`](https://veryfront.com/docs/cloud/graphql/types/string) | |
| `editMode` | [`SourceWebhookEditMode!`](https://veryfront.com/docs/cloud/graphql/types/sourcewebhookeditmode) | structured when the declaration can be edited through the API, source\_only otherwise. |

[All GraphQL types](https://veryfront.com/docs/cloud/graphql/schema.md) · [Operations](https://veryfront.com/docs/cloud/graphql.md)


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