All webhooks
Users & team
User created
user.createdFires when a new user is added to the company — useful for keeping an external staff directory in sync.
HTTP request
AISAR sends a signed POST request to your webhook_url:
http
POST {webhook_url}
Content-Type: application/json
X-AISAR-Signature: sha256=...
{
"event": "user.created",
"event_id": "evt_01JXXXXXXXXXXXXXXXXXXXXX",
"timestamp": "2026-03-26T12:00:00.000000Z",
"company_id": 1,
"data": {
"user": {
"id": 55,
"name": "Aliya Seitova",
"email": "aliya@company.kz",
"availability": "online"
}
}
}The X-AISAR-Signature header carries an HMAC-SHA256 signature of the request body — use it to verify the request came from AISAR.
Example payload
json
{
"event": "user.created",
"event_id": "evt_01JXXXXXXXXXXXXXXXXXXXXX",
"timestamp": "2026-03-26T12:00:00.000000Z",
"company_id": 1,
"data": {
"user": {
"id": 55,
"name": "Aliya Seitova",
"email": "aliya@company.kz",
"availability": "online"
}
}
}Payload fields
| Field | Type | Description |
|---|---|---|
user.id | integer | User ID |
user.name | string | Full name (first + last combined) |
user.email | string | Email address |
user.availability | string|null | `online`, `offline`, or `busy` |