Set challenge status
Forces an existing challenge to `PASS` or `FAIL`. **Testing only.** It simulates a completed challenge so you can exercise the post-challenge path without running a real verifiable parental consent flow.
Authorization
api-key In: header
Request Body
application/json
Set challenge status request
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/test/set-challenge-status" \ -H "Content-Type: application/json" \ -d '{ "challengeId": "ae6d4729-af32-42ea-8ef2-ff46c7664802", "status": "PASS", "age": 13, "jurisdiction": "US-CA" }'{}{ "error": "NOT_FOUND", "errorMessage": "Challenge not found"}Set age verification status POST
This API can only be used in test mode. It is used in order to assist with testing age verifications without needing to actually complete the age verification via the web flow.
Generate age gate URL POST
Returns a URL for the hosted age gate widget, to display in an iframe. Use this when you want k-ID to render the age gate rather than building your own against `/age-gate/check`. The widget collects the player's age and runs the check itself.