Webhooks

Update a webhook

Changed on

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

patch/webhooks/{id}

Request

  • Base URL
    https://api.letsdeel.com/rest
  • Auth
    HTTP bearer

Path parameters

id, string required

Unique identifier of the webhook subscription.

Request body

object required
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

successful operation

WebhooksUpdateWebhookResponse200 required
data, WebhooksIdPatchResponsesContentApplicationJsonSchemaData required

The webhook subscription.

Changes

    • info

      added the new optional request property description

    • info

      added the new optional request property events

    • info

      added the new optional request property name

    1 more change in this revision