Categories

Retrieve all configured categories.

GEThttps://tracket.dev/api/2.0/categories
Authorization
Response
Body
categories*array of object
_links*object
Request
const response = await fetch('https://tracket.dev/api/2.0/categories', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "categories": [
    {
      "is_billable": false,
      "label": "text",
      "id": "text"
    }
  ],
  "_links": {
    "self": {
      "href": "text"
    }
  }
}

Last updated