Skip to content

Team Member Event
Webhook

Request

Sent when a team member is created, updated, or deleted. The data field matches the response from GET /company/{company_id}/staff/{staff_id}.

Bodyapplication/jsonrequired
company_idintegerrequired

Location ID where the event occurred.

resourcestringrequired

Resource type.

Value:"staff"
resource_idintegerrequired

ID of the resource that was created, updated, or deleted.

statusstringrequired

Type of change that occurred.

Enum:"create""update""delete"
dataobject(Webhook Staff Data)required

Team member data sent in webhook notifications. Matches the output of the team member detail API.

Payload
{ "company_id": 123456, "resource": "staff", "resource_id": 101, "status": "create", "data": { "id": 101, "name": "John Smith", "specialization": "Hairdresser", "avatar": "https://cdn.example.com/avatar.jpg", "rating": 4.8, "fired": 0, "hidden": 0 } }

Responses

Your server should return any 2xx status code to acknowledge receipt.