Skip to main content
Get Logs

Headers

string
required
Bearer token for authentication (e.g., Bearer <your_token>).

Query Parameters

string
Filter by communication type.
string
Filter by log status (e.g., No Contact, Completed, Failed).
string
Filter by call disposition (e.g., Voicemail, Promise to Pay, Not Interested).
string
Filter by caller/sender phone number (e.g., +918035450808).
string
Filter by customer phone number (e.g., 8888889956).
string
Filter by campaign ID.
string
Filter by agent ID.
string
Filter logs from this datetime (inclusive). Format: ISO 8601 (e.g., 2026-01-17T00:00:00).
string
Filter logs until this datetime (inclusive). Format: ISO 8601 (e.g., 2026-01-17T23:59:59).
integer
default:1
Page number (1-indexed). Each page returns 10 logs.
string
default:"false"
If true, returns only the total count of matching logs without fetching log data.

Response

Standard Response (count_only=false)

boolean
Indicates whether the request was successful.
array
Array of log entries. Fields vary slightly based on type.
object
Pagination metadata.

Count-Only Response (count_only=true)

boolean
Indicates whether the request was successful.
integer
Total number of logs matching the filters.

Usage Examples

Get all logs (page 1):
Get only call logs:
Get WhatsApp logs for a specific campaign:
Get logs within a date range:
Get failed WhatsApp messages:
Filter by customer phone and disposition:
Get logs from a specific caller number:
Get page 3 of call logs:
Count total failed logs:
Combine multiple filters: