> ## Documentation Index
> Fetch the complete documentation index at: https://redo-44af351d-docs-v3-graphql-api-reference.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Webhooks

> Webhook endpoints and the events they subscribe to.

## Queries

* [`webhookEndpoint`](/docs/api-reference/v3/reference/webhooks/queries/webhook-endpoint)
  — Fetch a single webhook endpoint by its id.
* [`webhookEndpoints`](/docs/api-reference/v3/reference/webhooks/queries/webhook-endpoints)
  — List webhook endpoints.

## Mutations

* [`activateWebhookEndpointSecret`](/docs/api-reference/v3/reference/webhooks/mutations/activate-webhook-endpoint-secret)
  — Promote the staged pending secret to active. Subsequent deliveries are
  signed with it.
* [`createWebhookEndpoint`](/docs/api-reference/v3/reference/webhooks/mutations/create-webhook-endpoint)
  — Create a webhook endpoint. Returns the signing secret once. Errors if an
  endpoint with the same URL already exists.
* [`deleteWebhookEndpoint`](/docs/api-reference/v3/reference/webhooks/mutations/delete-webhook-endpoint)
  — Delete a webhook endpoint. Returns true if an owned endpoint was deleted,
  false if none matched.
* [`rotateWebhookEndpointSecret`](/docs/api-reference/v3/reference/webhooks/mutations/rotate-webhook-endpoint-secret)
  — Stage a new (pending) signing secret. Returns it once; add it to your
  receiver, then call activateWebhookEndpointSecret.
* [`updateWebhookEndpoint`](/docs/api-reference/v3/reference/webhooks/mutations/update-webhook-endpoint)
  — Update a webhook endpoint. Returns null if no endpoint with that id is owned
  by the caller.

## Objects

* [WebhookEndpoint](/docs/api-reference/v3/reference/webhooks/webhook-endpoint)
  — A destination the merchant has registered to receive webhook deliveries.
  `disabledAt` is null while active.

## Input objects

* [CreateWebhookEndpointInput](/docs/api-reference/v3/reference/webhooks/create-webhook-endpoint-input)
  — Input for creating a webhook endpoint.
* [UpdateWebhookEndpointInput](/docs/api-reference/v3/reference/webhooks/update-webhook-endpoint-input)
  — Input for updating a webhook endpoint. Omitted fields are left unchanged.

## Enums

* [ApiVersion](/docs/api-reference/v3/reference/webhooks/api-version) — A
  version of the Redo public API.
* [WebhookEndpointSortKey](/docs/api-reference/v3/reference/webhooks/webhook-endpoint-sort-key)
  — A field this list can be ordered by; pass to the list's `orderBy` argument
  and pair with `reverse` to flip direction.
* [WebhookTopic](/docs/api-reference/v3/reference/webhooks/webhook-topic) — An
  event a webhook endpoint can subscribe to.
