curl --request GET \
--url https://api-public.skipcall.app/v1/stats/tag-repartition \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-public.skipcall.app/v1/stats/tag-repartition"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-public.skipcall.app/v1/stats/tag-repartition', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-public.skipcall.app/v1/stats/tag-repartition",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-public.skipcall.app/v1/stats/tag-repartition"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-public.skipcall.app/v1/stats/tag-repartition")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-public.skipcall.app/v1/stats/tag-repartition")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"tagId": "<string>",
"label": "<string>",
"count": 123,
"isSuccess": true,
"date": "2023-10-01T00:00:00.000Z"
}
]
}{
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or revoked API key",
"status": 401
}
}Get tag distribution
Returns the distribution of contacts by tags applied after calls. Pass workspaceId to narrow to a single workspace within the API key scope. The legacy teamId parameter is still accepted but adds a Deprecation: true response header.
curl --request GET \
--url https://api-public.skipcall.app/v1/stats/tag-repartition \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-public.skipcall.app/v1/stats/tag-repartition"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-public.skipcall.app/v1/stats/tag-repartition', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-public.skipcall.app/v1/stats/tag-repartition",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-public.skipcall.app/v1/stats/tag-repartition"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-public.skipcall.app/v1/stats/tag-repartition")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-public.skipcall.app/v1/stats/tag-repartition")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"tagId": "<string>",
"label": "<string>",
"count": 123,
"isSuccess": true,
"date": "2023-10-01T00:00:00.000Z"
}
]
}{
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or revoked API key",
"status": 401
}
}Authorizations
Enter your API Key (sk_live_xxx or sk_test_xxx)
Query Parameters
Filter by sequence ID
Filter by user membership ID
Filter by call type. "all" includes sequence + direct calls.
all, sequence, direct, inbound, outbound Time granularity for grouping results
hour, day, week, month, none Start date (ISO format)
End date (ISO format)
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.
Deprecated — use workspaceId instead. When set, the response includes a Deprecation: true header.
Response
Tag distribution statistics
Show child attributes
Show child attributes