Skip to main content
GET
/
categories
List categories
curl --request GET \
  --url https://apigcp.trynia.ai/v2/categories \
  --header 'Authorization: Bearer <token>'
{
  "categories": [
    {
      "id": "<string>",
      "name": "<string>",
      "user_id": "<string>",
      "organization_id": "<string>",
      "color": "<string>",
      "order": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "total": 123
}

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Response

Categories retrieved successfully

categories
object[]
total
integer

Total number of categories