Calls & Campaigns
List Calls
Retrieve a list of all calls with filtering and pagination options
GET
List Calls
Retrieve a list of all calls for the authenticated environment with various filtering options and pagination support.Endpoint
Request headers
string
required
Bearer token for authentication. Format:
Bearer talq_your_environment_token_hereQuery parameters
string
Filter by call status. Options:
initiated, ringing, answered, completed, failed, busy, no-answerstring
Filter by call direction. Options:
inbound, outboundstring
Filter by agent ID
string
Filter calls from date (YYYY-MM-DD)
string
Filter calls to date (YYYY-MM-DD)
string
Search in phone numbers or call SID
integer
Number of items per page (default: 20, max: 100)
integer
Page number (default: 1)
Example requests
Response
Success Response (200 OK)
Response fields
boolean
required
Indicates if the operation was successful.
array
required
Array of call objects.
object
required
Pagination metadata.
Error responses
401 Unauthorized
422 Validation Error
500 Server Error
Error codes
Important notes
Pagination support. All list endpoints support pagination with
page and per_page parameters.Date filtering. Use
date_from and date_to to filter calls by date range.Search functionality. The search parameter searches in phone numbers and call SIDs.
Related endpoints
- Get Agent Calls:
GET /api/v1/agents/{agent_id}/calls - List Campaigns:
GET /api/v1/campaigns - Make a Call:
POST /api/v1/calls