Webhook: tokens revoked
Sent to your website’s webhook address (set it in the console) when agent tokens for your site stop working: the
person revoked the agent, its company disabled it or rotated its key, or you cut it off. End every session you
made from one of token_ids (the tokenId the site SDK gives you). Expired tokens are included, since a session
can outlive its token.
Signed in the Standard Webhooks format: webhook-id (the event id, the same on every retry), webhook-timestamp
(Unix seconds) and webhook-signature (v1, then base64 HMAC-SHA256 of id.timestamp.body, keyed with the
base64 bytes after whsec_ in your secret). Refuse timestamps more than 5 minutes off. The site SDK’s
receiveWebhook does all of this. Answer 2xx; anything else is retried after 30 s, 2 min, 10 min, 1 h, 6 h and 24 h.
Request Bodyrequired
Section titled “Request Bodyrequired”object
object
Your origin (the tokens’ audience).
object
The tokens’ sub.
object
Responses
Section titled “Responses”Received.