Generate age gate URL
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.
Authorization
api-key In: header
Request Body
application/json
Generate age gate URL request
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/widget/generate-age-gate-url" \ -H "Content-Type: application/json" \ -d '{ "jurisdiction": "US-CA" }'{ "url": "https://family.k-id.com/widget", "shortUrl": "https://family.k-id.com/s/12345678-1234-1234-1234-123456789012?pid=42&s=qr", "widgetId": "12345678-1234-1234-1234-123456789012"}Set challenge status POST
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.
Generate direct notices URL POST
Returns a URL for the hosted direct notices widget, to display in an iframe. The widget presents the legal documents a jurisdiction requires you to show directly to a player, without collecting consent.