CallHistoryResponseDTO
A single call history record returned inside the paginated result.
Unique identifier of the call record.
a1b2c3d4-e5f6-7890-abcd-ef1234567890Caller display name (as provided by the PBX).
John DoeCaller phone number.
+998901234567Called (destination) phone number.
+998712345678Call start time (epoch seconds).
1719734400Call end time (epoch seconds).
1719734520Total call duration in seconds (from ring to hangup).
180Actual talk time in seconds (excludes ringing time).
155Reason the call ended (e.g. NORMAL_CLEARING, NO_ANSWER).
NORMAL_CLEARINGtrue if the call was actually answered and a conversation took place.
trueQuality score assigned to the call (0–100).
85Name of the linked CRM contact (if matched).
Alice JohnsonPhone number of the linked CRM contact.
+998901234567Linked lead ID — matches the filter's leadIds.
1001The linked lead's name, as stored at the time of the call.
New apartment buyeremployee objectnullable
Employee who made/received the call — matches the filter's employeeIds.
Employee ID
201Employee full name
David WilsonLinked CRM contact ID.
501Operator / employee extension number that handled the call.
101Telephony provider that produced this record.
Possible values: [ONLINEPBX, SIPUNI, MOIZVONKI, ASTERISK, UTEL, YEASTAR, OFFLINEMEET, OPEN_API]
ASTERISKKind of conversation. Never null: records written before the column existed are
reported as CALL.
Possible values: [CALL, OFFLINE_MEET, ONLINE_MEET]
CALLDirection of the call relative to the operator.
Possible values: [INBOUND, OUTBOUND]
INBOUNDtrue when the net talk time is zero — nobody actually spoke.
falsePre-signed URL to the call recording file, or null if no recording exists.
https://storage.example.com/recordings/a1b2c3d4.mp3Whether an analysis has been stored for this conversation (see
POST /v1/open-api/call-history/{uuid}/analysis). Always present.
false{
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"callerIdName": "John Doe",
"callerIdNumber": "+998901234567",
"destinationNumber": "+998712345678",
"startStamp": 1719734400,
"endStamp": 1719734520,
"duration": 180,
"userTalkTime": 155,
"hangupCause": "NORMAL_CLEARING",
"contacted": true,
"qualityScore": 85,
"contactName": "Alice Johnson",
"contactNumber": "+998901234567",
"leadId": 1001,
"leadName": "New apartment buyer",
"employee": {
"id": 201,
"fullName": "David Wilson"
},
"contactId": 501,
"employeeNum": "101",
"callHistoryType": "ASTERISK",
"kind": "CALL",
"callDirection": "INBOUND",
"missed": false,
"recordingUrl": "https://storage.example.com/recordings/a1b2c3d4.mp3",
"conversionAnalysis": false
}