Skip to main content
WEBHOOK

Headers

webhook-id
string
required

The event id (the id member of the body), the same on every delivery attempt; dedupe on it.

webhook-timestamp
string
required

The whole Unix seconds when this attempt was signed. Refuse one more than five minutes from your clock.

webhook-signature
string
required

"v1," and the base64 HMAC-SHA256 of "..", over the exact bytes of the body, under the key your secret carries in base64 after its whsec_ prefix. Compare in constant time.

Body

application/json
type
string
required
Allowed value: "grant.revoked"
id
string
required

The event id, sent again as webhook-id on every delivery attempt; dedupe on it.

Pattern: ^evt_[0-9a-f]{32}$
created_at
string<date-time>
required

When the grant was revoked.

data
object
required

Response

2XX

Acknowledged; the event is not sent again.