Skip to main content
GET
/
v1
/
stats
/
tag-repartition
Get tag distribution
curl --request GET \
  --url https://api-public.skipcall.app/v1/stats/tag-repartition \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "tagId": "<string>",
      "label": "<string>",
      "count": 123,
      "isSuccess": true,
      "date": "2023-10-01T00:00:00.000Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Enter your API Key (sk_live_xxx or sk_test_xxx)

Query Parameters

sequenceId
string

Filter by sequence ID

userMembershipId
string

Filter by user membership ID

callType
enum<string>
default:all

Filter by call type. "all" includes sequence + direct calls.

Available options:
all,
sequence,
direct,
inbound,
outbound
granularity
enum<string>
default:none

Time granularity for grouping results

Available options:
hour,
day,
week,
month,
none
startDate
string

Start date (ISO format)

endDate
string

End date (ISO format)

workspaceId
string

Filter stats by a single workspace ID (must be within the API key scope). Stats endpoints accept exactly one workspace, unlike list endpoints which support a comma-separated workspaceIds filter. Replaces the deprecated teamId.

teamId
string

Deprecated — use workspaceId instead. When set, the response includes a Deprecation: true header.

Response

Tag distribution statistics

data
object[]
required