5 min read
Company Webhook Events
Webhook events for company and team changes
Company Webhook Events
Receive notifications when team members are added or removed from your company.
Events
| Event | Description |
|---|---|
company.member_added |
A team member was added |
company.member_removed |
A team member was removed |
company.member_added
Triggered when a new team member is added to the company.
Payload
{
"event": "company.member_added",
"timestamp": "2024-01-15T08:30:00Z",
"data": {
"company_id": 1,
"company_name": "AutoCare Shop",
"member": {
"id": 45,
"name": "Jane Smith",
"email": "[email protected]",
"role": "technician"
},
"added_by": {
"id": 1,
"name": "John Owner"
},
"added_at": "2024-01-15T08:30:00Z"
}
}
company.member_removed
Triggered when a team member is removed from the company.
Payload
{
"event": "company.member_removed",
"timestamp": "2024-01-20T16:00:00Z",
"data": {
"company_id": 1,
"company_name": "AutoCare Shop",
"member": {
"id": 45,
"name": "Jane Smith",
"email": "[email protected]"
},
"removed_by": {
"id": 1,
"name": "John Owner"
},
"removed_at": "2024-01-20T16:00:00Z"
}
}
Member Roles
| Role | Description |
|---|---|
owner |
Company owner with full access |
manager |
Can manage staff and operations |
service_advisor |
Handles customer interactions |
technician |
Performs service work |
staff |
Basic access |
Use Cases
Access Control Sync
Use these events to sync team membership with external systems like HR software or access control systems.
Audit Trail
Log all membership changes for compliance and security auditing.
Onboarding Workflows
Trigger onboarding automation when company.member_added is received.
Back to Webhooks
Was this helpful?