List tag groups
GET
/partners/tags/groupsReturns all tag groups and tags not assigned to any group.
HMAC signature + Bearer access token
Try this requestQuery parameters
searchstringoptionalPartial match on group or ungrouped tag names.
pageintegeroptionalPage number for pagination. The first page is 1.
limitintegeroptionalRecords to return per page.
updatedSincestringoptionalIncremental sync. Returns only records created or changed at or after this ISO 8601 date-time (read as UTC when it has no offset), oldest change first, with `nextUpdatedSince` and `hasMore` beside the rows. Pass `nextUpdatedSince` back as `updatedSince` to read the next page; once `hasMore` is false, keep it for the next poll. Cannot be combined with `page` above 1 or a sort parameter (400).
Responses
200Tag groups and ungrouped tags.401Missing or invalid HMAC signature, expired timestamp, or invalid Bearer token. Troubleshoot403The credential does not have access to this workspace or resource. Troubleshoot429Rate limit exceeded (100 requests per minute per user of each app, or 10,000 per minute per app). Retry after the Retry-After header. TroubleshootGET
https://api.getcount.com/partners/tags/groupsRequest
import crypto from 'node:crypto';
const BASE_URL = 'https://api.getcount.com';
const CLIENT_ID = process.env.COUNT_CLIENT_ID;
const CLIENT_SECRET = process.env.COUNT_CLIENT_SECRET;
const ACCESS_TOKEN = process.env.COUNT_ACCESS_TOKEN;
const method = 'GET';
const signingPath = '/tags/groups';
const timestamp = Math.floor(Date.now() / 1000).toString();
const bodyString = '';
const bodyHash = '';
const baseString = `${method}:${signingPath}:${timestamp}:${bodyHash}`;
const signature = crypto.createHmac('sha256', CLIENT_SECRET).update(baseString).digest('hex');
const response = await fetch(`${BASE_URL}/partners/tags/groups`, {
method,
headers: {
'x-client-id': CLIENT_ID,
'x-timestamp': timestamp,
'x-signature': signature,
Authorization: `Bearer ${ACCESS_TOKEN}`,
},
});
console.log(await response.json());Response · 200
{
"tagGroups": [
{
"id": "f6a7b8c9-d0e1-2345-fabc-456789012346",
"name": "Department",
"color": "#4A90D9",
"tags": [
{
"id": "e5f6a7b8-c9d0-1234-efab-345678901234",
"name": "Office"
},
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567891",
"name": "Marketing"
}
],
"createdAt": "2026-01-15T10:30:00.000Z",
"updatedAt": "2026-01-28T14:22:30.000Z"
}
],
"unGroupedTags": [
{
"id": "b2c3d4e5-f6a7-8901-bcde-f23456789012",
"name": "Travel"
}
]
}