conversationCounts
Aggregated conversation counts for dashboard/sidebar statistics, using the
same filters as conversations.
Pass only to get a single breakdown (e.g. byTags); omit it to get all
per-status counters (open, new, pending, snoozed, resolved,
bot, spam, all, unAssigned, participating, starred,
awaitingResponse, mine) in one response.
Auth · x-app-token · required permission showConversations
Related: conversations
conversationCounts(ids: [String], departmentId: String, status: ConversationStatus, unAssigned: Boolean, tag: String, integrationType: String, integrationId: String, participating: String, awaitingResponse: String, starred: String, startDate: String, endDate: String, segment: String, assignedUserId: String, sortField: String, sortDirection: SortDirection, only: String): JSONArguments
Filter by specific conversation IDs
Filter by department id.
Filter by ConversationStatus.
true returns unassigned conversations only, false returns assigned only, omit for no filter.
Filter by tag id or name.
Filter by integration kind (e.g. messenger, email, facebook, whatsapp).
Filter by a specific Integration id.
"true"/"false" — filter conversations where the current user is participating.
"true"/"false" — filter conversations currently awaiting a customer's response.
"true"/"false" — filter starred/favorited conversations.
Filter by start date (ISO date string).
Filter by end date (ISO date string).
Filter by customer segment id.
Filter by assigned user/agent id.
Field to sort by (e.g. createdAt, updatedAt). Default: updatedAt.
Sort direction. Default: desc.
Return a single breakdown instead of all counters: byChannels, byIntegrationTypes, byWorkspaces, byTags, or omit for all per-status counts.