Skip to main content
WEBHOOK

Authorizations

Authorization
string
header
required

A short-lived partner token, obtained by exchanging your API key at POST /token. Send it as Authorization: Bearer <access_token>.

Tokens live for fifteen minutes by default and never for more than an hour. Mint one per batch of work, not one per request.

The token carries the workspace and the environment its key was issued for. You cannot change either by asking: the exchange ignores everything in the request body for exactly that reason.

Never send it as a cookie or in a query string, and never store it — store the API key, mint tokens from it.

Body

application/json
event_id
string<uuid>
required
event_type
string
required
Allowed value: "user.erased"
occurred_at
string<date-time>
required
data
UserErasedPayload · object
required

Response

200

Return any 2xx to acknowledge receipt of the request.