SautiDesk
SautiDesk API
Tickets

Count tickets by tab

GET
/v1/desk/tickets/counts

Returns how many tickets are in each tab for the key's person: their own, the unassigned pile and, for supervisors, all open tickets. Use it for badges or summaries without loading the lists.

Requires: desk.read scope, Converse licence.

Authorization

bearerAuth
AuthorizationBearer <token>

A SautiDesk API key. An owner or admin makes it under Settings in SautiDesk for a named person and picks the scopes. The key is shown once. Send it as Authorization: Bearer <key>. It acts as that person and as nobody else.

In: header

Response

OK

Example

{  "all": 1,  "unassigned": 1,  "mine": 1,  "queues": {    "example": 1  },  "closed": 1}
FieldTypeDescription
allrequiredinteger
unassignedrequiredinteger
minerequiredinteger
queuesrequiredobject
closedinteger
curl -X GET "https://api.sautidesk.com/v1/desk/tickets/counts"