v1

latestOpenAPI 3.0.32026-07-264955102.7 KB
Analytics

Team metrics

Returns team-wide KPIs with period-over-period comparison and a per-user breakdown. Covers all calls (inbound + outbound).

post/v2/api/analytics/overview

Request body

user_idsstring[]

Filter by user IDs. Cannot be combined with allo_numbers.

allo_numbersstring[]

Filter by Allo numbers (E.164). Cannot be combined with user_ids.

Example request

{
  "date": {
    "from": "2026-03-25",
    "to": "2026-04-21"
  },
  "compare_date": {
    "from": "2026-03-25",
    "to": "2026-04-21"
  }
}

Response

Team summary

Example response

{
  "data": {
    "date": {
      "from": "2026-03-25",
      "to": "2026-04-21"
    },
    "compare_date": {
      "from": "2026-03-25",
      "to": "2026-04-21"
    },
    "breakdown": [
      {
        "user": {
          "id": "usr-abc123",
          "name": "John",
          "email": "john@acme.com"
        }
      }
    ]
  }
}