Tags are universal, but this endpoint is contact-specific.
curl --location '/tags/contacts/count' \
--header 'Authorization: Bearer <token>'{
"categories": [
{
"categoryId": 1,
"categoryName": "Marketing",
"tags": [
{
"tagId": 10,
"tagName": "VIP",
"count": 123
},
{
"tagId": 11,
"tagName": "Returning",
"count": 0
}
]
},
{
"categoryId": 2,
"categoryName": "Internal",
"tags": [
{
"tagId": 12,
"tagName": "AbandonedCart",
"count": 45
}
]
}
],
"uncategorized": {
"tags": [
{
"tagId": 13,
"tagName": "NoCategoryTag",
"count": 7
}
]
}
}