Skip to main content
GET
This endpoint allows you to retrieve the complete call history for a specific contact, including incoming and outgoing calls, call duration, timestamps, and call status information. This data is useful for tracking communications, analyzing engagement patterns, and maintaining a complete interaction record.

Use Cases

  • Review all previous calls with a contact
  • Track frequency and duration of communications
  • Analyze communication patterns for customer engagement
  • Provide customer service representatives with historical context
  • Generate reports on communication frequency and outcomes

Path Parameters

string
requerido
The unique identifier of the contact whose call history you want to retrieve. This is a UUID string that was generated when the contact was created.

Headers

string
requerido
Your API key for authentication. You can find this in your dashboard under API settings.

Query Parameters

string
Filter calls that occurred on or after this date (ISO 8601 format, e.g., 2023-01-01). If not specified, returns all calls from the beginning.
string
Filter calls that occurred on or before this date (ISO 8601 format, e.g., 2023-12-31). If not specified, returns all calls up to the current date.
string
Filter calls by direction. Possible values: inbound, outbound. If not specified, returns both inbound and outbound calls.
string
Filter calls by status. Possible values: answered, missed, rejected, busy, failed. If not specified, returns calls with any status.

Response

number
200 on success
array
Array of call records for the contact

Error Codes

  • 400 Bad Request - Invalid query parameters
  • 401 Unauthorized - Invalid or missing API key
  • 404 Not Found - Contact not found
  • 500 Internal Server Error - Server-side error

Code Examples

Notes and Best Practices

  • Use date filtering to narrow down results for contacts with extensive call histories
  • Store call IDs if you need to reference specific calls in the future
  • Consider implementing caching for frequently accessed call histories
  • Use the call history data to identify patterns in customer communication
  • Monitor call durations and frequencies to optimize customer engagement strategies