Documentation Index
Fetch the complete documentation index at: https://docs.unpod.dev/llms.txt
Use this file to discover all available pages before exploring further.
Analytics API
The Analytics API lets you fetch call analytics and task status for your organization. It provides insights into call outcomes, success rates, and task execution summaries.Prerequisites: Make sure you have your API Token and Org-Handle ready. See Authentication for details.
What You Can Do
| Endpoint | Description |
|---|---|
GET /api/v2/platform/organisation/analytics/ | Retrieve call analytics and task status for the organization |
Base URL
Authentication
All Analytics API requests require a valid token and Org-Handle in the headers:Behavior
- If
space_tokenis provided → fetches analytics for that specific space - If
space_tokenis not provided → fetches analytics for all contact spaces in the organization - Automatically filters for contact content type only
For billing/invoice data, use the separate Billing endpoint.
Common Error Codes
| Status Code | Description |
|---|---|
| 200 | Success - Analytics fetched successfully |
| 400 | Bad Request - Missing required headers |
| 401 | Unauthorized - Invalid or missing token |
| 404 | Not Found - Organization not found |