Get Call Logs

This API endpoint allows you to retrieve call logs for your organization. It provides flexible filtering options and pagination to help you access the specific data you need.

Endpoint

GET https://www.tabbly.io/dashboard/agents/endpoints/call-logs-v2

Authentication

All requests require a valid API key associated with your organization.

Required Parameters

Parameter
Type
Description

api_key

string

Your organization's API key for authentication

organization_id

string

The ID of your organization

Optional Parameters

Parameter
Type
Description

date_from

string

Start date for filtering records (format: YYYY-MM-DD)

date_to

string

End date for filtering records (format: YYYY-MM-DD)

call_status

string

Filter by call status (e.g., "call answered", "voicemail")

campaign_id

string

Filter by specific campaign ID

use_agent_id

string

Filter by agent ID

limit

integer

Maximum number of records to return (default: 100)

offset

integer

Number of records to skip for pagination (default: 0)

Response Format

The API returns data in JSON format.

Success Response

Error Responses

Missing Required Parameters

Invalid API Key

Invalid Date Format

Database Connection Error

Example Requests

Basic Request (Latest 100 Call Logs)

Filtered Request (Date Range and Status)

Paginated Request (50 Records, Page 2)

Notes

  • Results are sorted by ID in descending order (newest first)

  • For large datasets, use the pagination parameters to improve performance

Last updated