Get calling list with transaction (call cost)
Call Logs
Call Cost
GET
Get calling list with transaction (call cost)
Retrieve call execution records joined with transaction/cost metadata. This global API mirrors the internal
/api/agent/agent-executions/list behavior and returns a transactions array with headers and pagination metadata.
API Endpoint
GET/api/v1/global/transactions/calling-list-with-transaction
Content-Type: application/json
Authentication: Required (API token validated by middleware apiauth.verifyToken). Provide token via header token or api_access_token.
Query Parameters / Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
agent_id | string | No | Comma-separated agent IDs to filter (e.g., 962 or 962,963). |
call_status | string | No | Comma-separated call statuses to filter (mapped to CALL_STATUS). |
fromdate | string | No | Start date/time (e.g., 2025-01-01 or ISO datetime). |
todate | string | No | End date/time. |
search | string | No | Search string applied to TRACK_ID and CALLING_NUMBER. |
page | integer | No | Page number (default 1). |
limit | integer | No | Page size (default 10). |
Example Requests
Basic - get first page for an agent
Filter by call status and date range
Search by calling number or track id
POST example (if you prefer JSON body)
Successful Response (200)
The response containsheaders, transactions (array), and pagination metadata:
Notes
agent_idaccepts comma-separated values and is applied as anINfilter.call_statusaccepts comma-separated values and is applied as anINfilter againstCALL_STATUS.searchperforms a LIKE search onTRACK_IDandCALLING_NUMBER.total_durationis returned as raw seconds; controller does not format this field here (use UI to format as needed).- The endpoint returns
headersto help front-end table rendering andtransactionsarray for rows.
Error Responses
400 Bad Requestfor invalid params.401 Unauthorizedfor auth failures.500 Internal Server Errorfor server errors.

