Skip to main content
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

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 contains headers, transactions (array), and pagination metadata:

Notes

  • agent_id accepts comma-separated values and is applied as an IN filter.
  • call_status accepts comma-separated values and is applied as an IN filter against CALL_STATUS.
  • search performs a LIKE search on TRACK_ID and CALLING_NUMBER.
  • total_duration is returned as raw seconds; controller does not format this field here (use UI to format as needed).
  • The endpoint returns headers to help front-end table rendering and transactions array for rows.

Error Responses

  • 400 Bad Request for invalid params.
  • 401 Unauthorized for auth failures.
  • 500 Internal Server Error for server errors.

Headers

token
string
required

API token for authentication

Query Parameters

agent_id
string
call_status
string
fromdate
string
todate
string
page
integer
limit
integer

Response

Transactions retrieved

headers
object[]
transactions
object[]
pagination
object