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: "endpoint.challenge"
occurred_at
string<date-time>
required
data
EndpointChallengePayload · object
required

Response

200 - application/json

Echo { "challenge": "<value>" }. Any 2xx is accepted; the BODY is what we check.

challenge
string
required

An opaque, single-use, unguessable string. Echo it back verbatim in a 2xx JSON response to activate the endpoint.