Skip to main content

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

EndpointDescription
GET /api/v2/platform/organisation/analytics/Retrieve call analytics and task status for the organization

Base URL

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

Authentication

All Analytics API requests require a valid token and Org-Handle in the headers:
Authorization: jwt <token>
Org-Handle: your-org-handle

Behavior

  • If space_token is provided → fetches analytics for that specific space
  • If space_token is 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 CodeDescription
200Success - Analytics fetched successfully
400Bad Request - Missing required headers
401Unauthorized - Invalid or missing token
404Not Found - Organization not found