v2

latestOpenAPI 3.0.02026-07-26365590.3 KB
Teams (deprecated — use /workspaces)

Get stats aggregated by team

Deprecated — Use GET /workspaces/stats instead.

get/v1/teams/stats

Query parameters

period'day' | 'week' | 'month' | 'custom' required
Example:week
startDatestring
Example:2026-01-01
endDatestring
Example:2026-01-31
teamIdstring

Filter by team ID (must be within API key scope)

Response

Team stats response

Example response

{
  "aggregate": {
    "totalCalls": 1250,
    "totalCallDuration": 45000,
    "totalContacts": 3400,
    "activeSequences": 12
  },
  "teams": [
    {
      "teamId": "123e4567-e89b-12d3-a456-426614174000",
      "teamName": "Sales",
      "calls": 450,
      "callDuration": 15000,
      "contacts": 1200,
      "activeSequences": 4,
      "members": 5
    }
  ]
}