v29

latestOpenAPI 3.1.2raw.githubusercontent.com2026-08-014117755.2 KB
Webhooks

Update Webhook

Updates the configuration of an existing webhook, including its name, event subscriptions, or target URL.

patch/hooks/{hookId}

Path parameters

hookIdstring required

The unique identifier of the webhook to update.

Request body

namestring

A new display name for the webhook.

eventsstring[]

Updated list of event types to subscribe to.

urlstring uri

A new target URL to receive webhook payloads.

Response

Response for status 200

idstring required

A unique identifier for the webhook.

createdAtstring date-time required

The ISO timestamp representing when the chat was created.

namestring required

A user-defined name to label the webhook.

eventsstring[] required

List of event types this webhook is subscribed to.

urlstring required

Target URL that receives event payloads for this webhook.

chatIdstring nullable required

Optional ID of the chat that this webhook is scoped to.