# Webhook

> Interface in domain **Webhooks**

- HTML: [Webhook.html](Webhook.html)
- Raw SDL: [Webhook.sdl](Webhook.sdl)
- Covered by: [llms.txt](../llms.txt)

`WebhookInterface` for `Webhook` returnable types.

## Fields

- `id`: `ID!` — `Workspace` Id.
- `creator`: `User!` — The `creator` is the `User` who created the asset on Frontify.
- `createdAt`: `DateTime!` — `DateTime` of the `Asset` creation.
- `name`: `String!` — The name of the current `Webhook`.
- `notificationUrl`: `Url!` — The `Url` which will be called by the `Webhook`.
- `secret`: `String!` — The randomly generated secret of the current `Webhook`.

## Related mutations

- [`configureProjectWebhook`](../mutation/configureProjectWebhook.md)
- [`installProjectWebhook`](../mutation/installProjectWebhook.md)
- [`uninstallWebhook`](../mutation/uninstallWebhook.md)

## Reach via

Example queries that can return this type from the root `Query`.

### `webhooks`

```graphql
query Webhooks {
  webhooks(limit: 25, page: 1) {
    items {
      __typename
      createdAt
      creator {
        __typename
        name
        id
      }
      id
      name
      notificationUrl
      secret
      ... on ProjectWebhook {
        version
      }
    }
  }
}
```

Raw: [`Webhooks-Webhook.sdl`](../examples/Webhooks-Webhook.sdl)
