Skip to main content
POST
Get ticket stats
Get ticket status counts for a customer in the authenticated workspace.

Required access

Body

string
required
Customer UUID to calculate ticket counts for. Open a customer in the Customer module and use the last UUID in the URL: /dashboard/[workspace_id]/customers/[customer_id]. See Resource IDs.
string
Optional workspace UUID. The authenticated workspace is used by default. Find the current workspace ID in Settings > API Details > Channels. See Resource IDs.
boolean
default:"false"
Include tickets from linked contacts.

Response

integer
Count of tickets for each returned status key.