Skip to main content

Session.ChangePermissions

For Session permission changes, events of this type are only sent to your webhook receiver when the permissions are directly modified by a parent in k-ID Family Connect. If a player has a birthday that would put them in a different age category, or greater than an age threshold for their jurisdiction which would allow them access to more features, the game must call the /session/get API to receive the changed permissions for the Session.

Fields

FieldTypeRequiredDescription
eventTypestringyesAlways "Session.ChangePermissions"
dataobjectyesSession change permissions data
data.idstring (UUID)yesSession ID
data.productIdnumberyesProduct ID

Example

{
"eventType": "Session.ChangePermissions",
"data": {
"id": "78c299b2-5c33-4bde-84fe-8fc950fc7a96",
"productId": 42
}
}