GET
/
statuses
curl --request GET \
  --url https://core.api.ravennahq.com/api/statuses \
  --header 'x-ravenna-api-token: <api-key>'
{
  "items": [
    {
      "id": "<string>",
      "label": "<string>",
      "order": 123,
      "system": true,
      "requestTypes": [
        {
          "id": "<string>",
          "requestTypeId": "<string>"
        }
      ],
      "statusGroupId": "<string>",
      "statusGroup": {
        "id": "<string>",
        "label": "<string>"
      },
      "_count": {
        "tickets": 123
      },
      "createdAt": "<string>",
      "updatedAt": "<string>"
    }
  ],
  "nextCursor": "<string>",
  "totalCount": 123
}

Authorizations

x-ravenna-api-token
string
header
required

Query Parameters

statusGroupId
string
requestTypeId
string
skip
number | null
Required range: x >= 1
offset
number | null
Required range: x >= 0
cursor
string | null
limit
number | null
default:100
Required range: 1 <= x <= 10000
set
string | null
sortBy
string | null
sortDirection
enum<string> | null
Available options:
asc,
desc
groupBy
string | null
groupDirection
enum<string> | null
Available options:
asc,
desc

Response

200
application/json

Successful response

The response is of type object.