Skip to main content
Returns call logs for Voice AI agents scoped to a account. Supports filtering by agent, contact, call type, action types, and date range (interpreted in the provided IANA timezone). Also supports sorting and 1-based pagination.

Autorización

string
required
Bearer token generado desde el portal Leadway. Ver Autenticación.
string
default:"2021-07-28"
required
Versión de la API.

Query parameters

string
required
Account identifier. Filters results to this account.
string
default:"507f1f77bcf86cd799439011"
Agent identifier. When provided, returns logs for this agent only.
string
default:"contact123,contact456"
Contact IDs (comma-separated) to filter by.
string
Call type filter.
number
default:"1679308800000"
Start date filter (Unix timestamp). Must be less than endDate. Both startDate and endDate must be provided together.
number
default:"1679395199000"
End date filter (Unix timestamp). Must be greater than startDate. Both startDate and endDate must be provided together.
string
default:"SMS,CALL_TRANSFER,WORKFLOW_TRIGGER"
Action type filter for call logs (comma-separated ACTION_TYPE values)
string
Field to sort by. Defaults to newest if omitted.
string
Sort direction. Applies only when sortBy is provided.
number
Page number (1-based).
number
Page size (max 50).

Respuestas

number
default:"150"
required
Total number of items
number
default:"2"
required
Page number starting from 1
number
default:"10"
required
Number of items per page
object[]
required
Array of call logs

Ejemplo