Skip to content
AISARAISAR
Calls

Calls

Supervisor call action

call.supervised

Fires when a supervisor performs an action on a live call from the "Пульт супервайзера" (supervisor console): silently listening in (listen), whispering to the operator (whisper — the customer cannot hear), joining the call audibly (barge — both sides can hear), or transferring the call to another operator (transfer). This is an audit-trail event for the supervisor's action, not a status transition of the call itself — the call keeps emitting its normal call.* events (call.answered, call.completed, etc.) independently.

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": "call.supervised",
  "event_id": "evt_01JXXXXXXXXXXXXXXXXXXXXX",
  "timestamp": "2026-08-13T14:32:10.000000Z",
  "company_id": 1,
  "data": {
    "call_id": 5001,
    "action": "transfer",
    "supervisor_user_id": 501,
    "target_user_id": 502
  }
}

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": "call.supervised",
  "event_id": "evt_01JXXXXXXXXXXXXXXXXXXXXX",
  "timestamp": "2026-08-13T14:32:10.000000Z",
  "company_id": 1,
  "data": {
    "call_id": 5001,
    "action": "transfer",
    "supervisor_user_id": 501,
    "target_user_id": 502
  }
}

Payload fields

FieldTypeDescription
call_idintegerID of the call the action was performed on
actionstringAction type: listen, whisper, barge, or transfer
supervisor_user_idintegerID of the supervisor user who performed the action
target_user_idintegerID of the operator the call was transferred to. Present only when action = "transfer"; for listen/whisper/barge this key is omitted from the payload entirely (not sent as null — the key is simply absent).