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
Bearer token for authentication. Format:
Bearer talq_your_environment_token_hereQuery parameters
Filter by call status. Options:
initiated, ringing, answered, completed, failed, busy, no-answerFilter by call direction. Options:
inbound, outboundFilter by agent ID
Filter calls from date (YYYY-MM-DD)
Filter calls to date (YYYY-MM-DD)
Search in phone numbers or call SID
Number of items per page (default: 20, max: 100)
Page number (default: 1)
Example requests
Response
Success Response (200 OK)
Response fields
Indicates if the operation was successful.
Array of call objects.
Pagination metadata.
Error responses
401 Unauthorized
422 Validation Error
500 Server Error
Error codes
| Code | Description | HTTP Status |
|---|---|---|
INVALID_TOKEN | Authentication token is invalid or missing | 401 |
VALIDATION_ERROR | Query parameter validation failed | 422 |
SERVER_ERROR | Internal server error occurred | 500 |
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