AISARAISAR
All webhooks

Users & team

User created

user.created

Fires 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

FieldTypeDescription
user.idintegerUser ID
user.namestringFull name (first + last combined)
user.emailstringEmail address
user.availabilitystring|null`online`, `offline`, or `busy`