Skip to main content

Call Logs API

The Call Logs API allows you to retrieve call history logs for your organization. It provides comprehensive call details including duration, status, timestamps, and source/destination numbers.
Prerequisites: Make sure you have your API Token and Org-Handle ready. See Authentication for details.

What You Can Do

EndpointDescription
GET /api/v2/platform/call-logs/Retrieve all call logs with filtering & pagination

Base URL

https://unpod.dev/api/v2/platform/

Authentication

All Call Logs API requests require a valid API token and Org-Handle in the headers:
Authorization: Token your-api-token
Org-Handle: your-org-handle

Available Filters

FilterDescription
pagePage number for pagination
page_sizeNumber of records per page
start_dateFilter calls from this date (ISO 8601)
end_dateFilter calls until this date (ISO 8601)
call_typeFilter by inbound or outbound
call_statusFilter by completed, missed, or failed

Common Error Codes

Status CodeDescription
200Success - Request completed successfully
400Bad Request - Invalid parameters provided
401Unauthorized - Invalid or missing API token
403Forbidden - Invalid organization handle
500Internal Server Error - Server-side error