Skip to main content

Widget.AgeGate.Result

Emitted when the Age Gate flow completes with a result. A session is created when the flow completes successfully, and a challenge is created whenever the flow needs one, either for Verifiable Parental Consent or for Automatic age assurance when the player claims an age old enough to skip parental consent.

Fields

FieldTypeRequiredDescription
eventTypestringyesAlways "Widget.AgeGate.Result"
dataobjectyesResult details
data.statusstringyesResult status (for example, "PASS")
data.sessionIdstring (UUID)noSession ID when the flow completes successfully. Always present when status is "PASS".
data.challengeIdstring (UUID)noChallenge ID when a challenge was resolved during the flow (for example, parental consent or auto age-assurance). Only present when a challenge was created.

Examples

When a challenge was resolved during the flow

{
"eventType": "Widget.AgeGate.Result",
"data": {
"status": "PASS",
"sessionId": "f1af4704-74b4-4966-b13a-18eb16bccf9c",
"challengeId": "a04467a0-83de-40ca-8572-8cc761e896aa"
}
}

When no challenge was required

{
"eventType": "Widget.AgeGate.Result",
"data": {
"status": "PASS",
"sessionId": "f1af4704-74b4-4966-b13a-18eb16bccf9c"
}
}