v9
OpenAPI 3.1.02026-08-043703845.2 MBUpdate Webhook
Updates a webhook endpoint's URL, subscribed events, API version, pinned payload version, or enabled state.
Request body
The API version for this webhook.
The dated API version (Api-Version-Date) to pin this webhook's payloads to. Only valid for v1 webhooks. Omit to leave the current pin unchanged, or pass null to unpin and track the current payload shape.
Whether or not to send events for child resources.
Whether or not the webhook is enabled.
The events to send the webhook for, in dot form (for example payment.succeeded).
The URL to send the webhook to.
Response
webhook updated
The API version used to format payloads sent to this webhook endpoint.
The dated API version (Api-Version-Date) that v1 payloads for this endpoint are pinned to: events serialize exactly like a REST read at this version (the native serializer where the resource has one). Null when unpinned — legacy (v2/v5) webhooks, and v1 webhooks on the legacy payload shape.
Whether events are sent for child resources. For example, if the webhook is on an account, enabling this sends events only from its connected accounts.
When the webhook was created, as an ISO 8601 timestamp.
When Whop automatically disabled this webhook, as an ISO 8601 timestamp. null unless the webhook was disabled by Whop; a webhook you disabled yourself has enabled: false and a null disabled_at.
Why Whop disabled this webhook. delivery_failures means every delivery failed for 3 days straight. null when disabled_at is null.
Whether this webhook endpoint is currently active and receiving events.
Webhook ID, prefixed hook_.
When a delivery to this endpoint most recently failed after exhausting retries, as an ISO 8601 timestamp. null if no delivery has ever failed.
ID of the resource (account or app) this webhook is attached to.
Destination URL where webhook payloads are delivered via HTTP POST.
Secret key used to sign webhook payloads for verification. Include this in your HMAC validation logic. Returned on the create response and to interactive dashboard sessions; null for API-key and OAuth callers on later reads.
Example response
{
"api_version": "v1",
"disabled_reason": "delivery_failures",
"events": [
"invoice.created"
],
"testable_events": [
"invoice.created"
]
}