---
title: "Update a webhook"
method: PATCH
path: "/webhooks/{id}"
tags: ["Webhooks"]
---

# Update a webhook

`PATCH /webhooks/{id}`

## Request

- Base URL: `https://api.letsdeel.com/rest`
- URL: `https://api.letsdeel.com/rest/webhooks/{id}`
- Auth: HTTP bearer

Updates one or more fields of an existing webhook subscription without recreating it — for example, enabling or disabling delivery, changing the events it is subscribed to, or opting it in to also receive events from child organizations. Use this after creating a webhook via POST /rest/webhooks whenever its configuration needs to change.

 **Token scopes**: `webhooks:write`

## Path parameters

- `id` string, required

## Request body

- object
  - `url` string: Endpoint to receive webhook. Must use https.
  - `name` string: Webhook subscription name.
  - `events` string[]: Replaces the list of events enabled for this subscription. Retries scheduled for removed events are cancelled.
  - `status` 'enabled' | 'disabled': Status of webhook.
  - `description` string, nullable: Webhook subscription description.
  - `include_child_orgs` boolean, nullable: When true, the webhook will also receive events from child organizations.

## Response `200`

successful operation

- WebhooksUpdateWebhookResponse200
  - `data` WebhooksIdPatchResponsesContentApplicationJsonSchemaData, required: The webhook subscription.
    - `id` string, required: Unique identifier of this resource.
    - `url` string, required: Endpoint to receive webhook.
    - `name` string, nullable, required: Webhook subscription name.
    - `events` string[], required: The list of events to enable for this subscription.
    - `hidden` boolean, nullable: Whether to hide the webhook from the frontend view (commonly used by Deel third-party apps).
    - `status` 'enabled' | 'disabled', required: Status of webhook.
    - `internal` boolean: Indicates whether the webhook is internal to Deel.
    - `created_at` string, required: Time at which the webhook was created.
    - `deleted_at` string, nullable: Time at which the webhook was deleted.
    - `updated_at` string, required: Time at which the webhook was updated.
    - `api_version` string, required: Deel API version. Currently Deel accepts v1 or v2.
    - `description` string, nullable, required: Webhook subscription description.
    - `signing_key` string, nullable, required: The webhook's signing key, used to generate webhook signatures.
    - `include_child_orgs` boolean, nullable: When true, the webhook will also receive events from child organizations.

## Other responses

- `400`: Bad Request. The request could not be understood or was missing required parameters.
- `401`: Unauthorized. Authentication credentials were missing or invalid.
- `403`: Forbidden. You do not have permission to access this resource.
- `404`: Not Found. The requested resource could not be found.
- `405`: Method Not Allowed. The HTTP method is not supported for this resource.
- `429`: Too Many Requests. The rate limit has been exceeded.
- `500`: Internal Server Error. An unexpected error occurred.

## Changes

- **2026-10-16** `ac658a36f223`: 4 info
  - added the new optional request property `description`
  - added the new optional request property `events`
  - added the new optional request property `name`
  - added the new optional request property `url`

[Operation history](https://skmtc.dev/deel/apis/endpoints/changes/webhooks/:id/patch.md)

---

[API](https://skmtc.dev/deel/apis/endpoints.md) - [All operations](https://skmtc.dev/deel/apis/endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/deel/apis/endpoints/revisions/0c7142fd9f93?raw)
