Skip to main content
PATCH
Update webhook endpoint

Authorizations

Authorization
string
header
required

API key with the vk_ prefix. Create one from the dashboard.

Path Parameters

webhook_id
string
required

Webhook endpoint ID

Body

application/json
url
string | null
description
string | null
event_types
string[] | null
enabled
boolean | null

true re-enables an auto-disabled endpoint (clears disabled_at and the consecutive-failure counter); false disables it.

Response

The updated endpoint (secret masked)

object
string
required
id
string
required
url
string
required
secret
string
required

Full "whsec_..." signing secret on create ONLY; masked on every other read (use GET /v1/webhooks/{id}/secret to retrieve it again).

event_types
string[]
required

Empty = subscribed to all event types.

consecutive_failures
integer<int32>
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
description
string | null
disabled_at
string<date-time> | null

Set when the endpoint is disabled (manually or automatically after 50 consecutive delivery failures). Disabled endpoints receive no events.