Returns how many messages in the case carry each tag, for the given filters.
POST
/conversation/{caseId}/tags-count
curl \
--request POST 'http://api.example.com/conversation/{caseId}/tags-count' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--header "organization: string" \
--data '{
"page": 1,
"perPage": 10,
"skip": 42.0,
"limit": 42.0,
"conversationIds": [
"string"
],
"devices": [
"string"
],
"sources": [
"message"
]
}'
Request examples
# Headers
organization: string
# Payload
{
"page": 1,
"perPage": 10,
"skip": 42.0,
"limit": 42.0,
"conversationIds": [
"string"
],
"devices": [
"string"
],
"sources": [
"message"
]
}
Response examples (200)
{
"data": {
"total": 42,
"page": 1,
"perPage": 20,
"skip": 0,
"limit": 20,
"totalPages": 3,
"nextPage": 2,
"previousPage": 42.0,
"data": [
{
"tag": "Important",
"count": 12
}
]
},
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}