Skip to main content
GET
/
categories
List categories
curl --request GET \
  --url https://apigcp.trynia.ai/v2/categories
{
  "pagination": {
    "total": 123,
    "limit": 123,
    "offset": 123,
    "has_more": true
  },
  "total": 123,
  "items": [
    {}
  ],
  "categories": [
    {}
  ]
}

Query Parameters

limit
integer
default:50

Number of categories to return

Required range: 1 <= x <= 200
offset
integer
default:0

Number of categories to skip

Required range: x >= 0

Response

Successful Response

Backwards-compatible category list response.

pagination
PaginationInfo · object
required

Pagination metadata

total
integer
required

Legacy total count

items
Items · object[]

List of categories

categories
Categories · object[]

Legacy categories list