When it fires
After AcceptInvite succeeds, the pending member is activated and the user is added to the workspace.
The actor on this event is the invitee (the user who just joined), not the inviter.
Payload
ts
{
type: 'member.accepted',
data: {
member: {
id: string
userId: string
email: string
}
}
}Example
json
{
"type": "member.accepted",
"actor": {
"userId": "0192a1b2-c3d4-7000-8000-000000000080",
"name": "Alice Smith",
"email": "alice@example.com"
},
"data": {
"member": {
"id": "0192a1b2-c3d4-7000-8000-000000000060",
"userId": "0192a1b2-c3d4-7000-8000-000000000080",
"email": "alice@example.com"
}
}
}