Skip to main content

Webhook

A registered webhook endpoint.

idstringrequired

Server-allocated public id, prefixed with wh_.

Example: wh_1f0c3c2e-2b6a-4a1e-9f3a-6f9b2c1d4e5f
urlstring<uri>required

The HTTPS endpoint that receives deliveries.

Example: https://example.com/hooks/iguide
enabledbooleanrequired

Whether deliveries are dispatched to this webhook.

eventsstring[]required

The event keys this webhook is subscribed to, in subscription order. The same set the listeners operation returns; manage it through the listener operations.

Example: ["view.published"]
hasActiveSigningKeybooleanrequired

Whether at least one non-revoked signing key exists for this webhook. A webhook cannot be enabled while this is false, and revoking its last active key disables it.

verifiedAtstring<date-time>nullable

When the endpoint last passed the verification handshake. Null until it does, and cleared when the URL changes or the last signing key is revoked. Nothing is delivered while it is null.

createdAtstring<date-time>required
updatedAtstring<date-time>required
Webhook
{
"id": "wh_1f0c3c2e-2b6a-4a1e-9f3a-6f9b2c1d4e5f",
"url": "https://example.com/hooks/iguide",
"enabled": true,
"events": [
"view.published"
],
"hasActiveSigningKey": true,
"verifiedAt": "2024-07-29T15:51:28.071Z",
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z"
}