Generate direct notices URL
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.
Authorization
api-key In: header
Request Body
application/json
Generate direct notices URL request
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/widget/generate-direct-notices-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"}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.
Generate e2e URL POST
Returns a URL for the hosted end-to-end widget, to display in an iframe. The widget carries a player through the whole flow — age gate, then any consent challenge it triggers — in one hosted experience, so a single embed replaces orchestrating the individual endpoints. Supply whichever age signal you already hold (`kuid`, `age`, or `dateOfBirth`) to skip the widget's own age collection step.