CallHistoryFilterDTO
Request body for POST /v1/open-api/call-history/filter. All fields are optional
except pagination; an omitted or empty-array filter matches everything. Calls carry
no custom fields — fields/customFields intentionally don't exist here.
Page number, 1-based (min 1).
Possible values: >= 1
11Page size (min 1, max 100).
Possible values: >= 1 and <= 100
1010orders object
Sort order. Each key is a sort field (see CallHistoryOrderField) and each value a
direction. Keys are applied in the order they appear in the JSON object.
Unless UUID is one of the keys, a trailing UUID DESC tie-breaker is appended so
paging stays stable. Omit (or send {}) to keep the default — newest call first
(START_STAMP DESC).
Possible values: [ASC, DESC]
Exact call UUIDs (bulk re-sync).
["a1b2c3d4-e5f6-7890-abcd-ef1234567890"]Free-text substring search applied to the caller number (callerIdNumber) and the destination number (destinationNumber).
+998901234567Lower bound (inclusive) of the call start time (startStamp), epoch seconds.
1735689600Upper bound (inclusive) of the call start time.
1767207599Lower bound (inclusive) for total duration, seconds.
30Upper bound (inclusive) for total duration, seconds.
600Lower bound (inclusive) for net talk time, seconds.
10Upper bound (inclusive) for net talk time, seconds.
500Lower bound (inclusive) for quality score.
60Upper bound (inclusive) for quality score.
100Filter by operator (employee) PBX extension numbers — matches employeeNum. Omit or pass null to include all.
["101","102"]Filter by employee IDs — matches the response's employee.id.
[201]Filter by linked lead IDs — matches the response's leadId.
[1001]Filter by PBX / telephony provider type. Omit or pass null to include all.
Possible values: [ONLINEPBX, SIPUNI, MOIZVONKI, ASTERISK, UTEL, YEASTAR, OFFLINEMEET, OPEN_API]
["ONLINEPBX","ASTERISK"]Filter by call direction — INBOUND or OUTBOUND. Omit or pass null to include both.
Possible values: [INBOUND, OUTBOUND]
["INBOUND"]Filter by conversation kind — call, offline or online meeting.
Possible values: [CALL, OFFLINE_MEET, ONLINE_MEET]
true — only calls that were actually answered. null (omit) — don't filter.
truetrue — only calls with zero talk time (userTalkTime = 0); false — only calls that had talk time. null (omit) — don't filter.
falsetrue — only calls with a stored recording; false — only calls without one. null (omit) — don't filter.
trueDeprecated — use callTimestampFrom instead. Lower bound for the call start time (epoch seconds). Defaults to 0 (no lower bound). Combined with callTimestampFrom via the larger of the two.
01700000000Deprecated — use callTimestampTo instead. Upper bound for the call start time (epoch seconds). Defaults to Long.MAX_VALUE (no upper bound). Combined with callTimestampTo via the smaller of the two.
1750000000Deprecated — use callDirections instead. Combines with it via union.
Possible values: [INBOUND, OUTBOUND]
INBOUND{
"page": 1,
"size": 10,
"orders": {
"START_STAMP": "DESC"
},
"uuids": [
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
],
"phoneSearch": "+998901234567",
"callTimestampFrom": 1735689600,
"callTimestampTo": 1767207599,
"durationFrom": 30,
"durationTo": 600,
"userTalkTimeFrom": 10,
"userTalkTimeTo": 500,
"qualityScoreFrom": 60,
"qualityScoreTo": 100,
"operatorNums": [
"101",
"102"
],
"employeeIds": [
201
],
"leadIds": [
1001
],
"callHistoryTypes": [
"ONLINEPBX",
"ASTERISK"
],
"callDirections": [
"INBOUND"
],
"kinds": [
"CALL"
],
"contacted": true,
"missed": false,
"hasRecording": true
}