Skip to main content
GET
/
v1
/
teams
/
stats
Get stats aggregated by team
curl --request GET \
  --url https://api.example.com/v1/teams/stats \
  --header 'Authorization: Bearer <token>'
{
  "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
    }
  ]
}

Authorizations

Authorization
string
header
required

Enter your API Key (sk_live_xxx or sk_test_xxx)

Query Parameters

period
enum<string>
required
Available options:
day,
week,
month,
custom
Example:

"week"

startDate
string
Example:

"2026-01-01"

endDate
string
Example:

"2026-01-31"

teamId
string

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

Response

Team stats response

aggregate
object
required
teams
object[]
required