Skip to main content

Widget.AgeGate.Result

Emitted when the Age Gate flow completes with a result. A session is always created when the flow completes successfully, but a challenge is only created when parental consent is required.

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 parental consent was required. Only present when a challenge was created.

Examples

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