EndpointsChallenges

Get challenge status

Returns the outcome of a challenge, and is the endpoint to poll while waiting for a guardian to act. Call it after `/age-gate/check` returns `CHALLENGE`. Once it reports `PASS`, follow with `/session/get` to read the now-`ACTIVE` session and the permissions it grants. `FAIL` means the challenge is settled and will not progress.

GET
/challenge/get-status
AuthorizationBearer <token>

In: header

Query Parameters

challengeId*string

The ID of the challenge

Match^[A-z0-9]{8}-[A-z0-9]{4}-[A-z0-9]{4}-[A-z0-9]{4}-[A-z0-9]{12}$
Formatuuid

Response Body

application/json

application/json

curl -X GET "https://example.com/challenge/get-status?challengeId=ae6d4729-af32-42ea-8ef2-ff46c7664802"

{  "status": "PASS",  "sessionId": "b1a6482d-5242-4b4a-aa88-3fa52595a672",  "approverEmail": "user@example.com"}