SautiDesk
SautiDesk API
Workspace configuration

List ticket categories

GET
/v1/desk/categories

Lists the categories a ticket can be filed under, in the order set in Settings, 100 at a time. Use a category's name when setting one on a ticket or wrapping up a call.

Requires: desk.read scope.

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

Query Parameters

limit?integer

Page size: 100 by default, and 100 at most. A larger value is treated as 100.

cursor?string

next_cursor from the previous page. Leave it out for the first page.

Response

OK

Example

{  "data": [    {      "id": "3f2b8c1e-5a4d-4e7b-9c10-2d6a8e4f1b37",      "name": "Amina Wanjiru",      "position": 1    }  ],  "next_cursor": "eyJvIjoyNX0",  "has_more": false}
FieldTypeDescription
datarequiredobject[]
idrequiredstring (uuid)
namerequiredstringA name for it.
positionrequiredintegerWhere it sits in the list, starting at 0.
next_cursorrequiredstring | null
has_morerequiredboolean
curl -X GET "https://api.sautidesk.com/v1/desk/categories"