The new school member trigger returns information about a user’s membership in a school.
{
"event": {
"type": "student.membership.created",
"sent_time": "2019-11-05T21:31:00.988297+00:00"
},
"id": 57361,
"user": {
"id": 52047,
"username": "john_doe",
"first_name": "John",
"last_name": "Doe",
"email": "[email protected]",
"membership": {
"membership_type": "Student",
"is_school_admin": false,
"can_manage_school": false,
"can_create_course": false,
"consent_dtime": "2019-11-05T21:31:00.762135+00:00",
"consent_snapshot": "Email me feature updates, examples, and interesting news."
}
},
"school": {
"id": 28421,
"name": "Online Academy"
},
"meta": {}
}