Skip to main content
GET
/
categories
Fetch all event categories
curl --request GET \
  --url https://sandbox.api.btdx.io/categories \
  --header 'authorization: <authorization>'
{
  "_meta": {
    "_count": 123,
    "_page": {
      "_pageNumber": 123,
      "_pageSize": 123,
      "_totalElements": 123,
      "_totalPages": 123
    }
  },
  "categories": [
    {
      "id": "<string>",
      "name": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "modifiedAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Headers

authorization
string
required

Header with the accessToken for the current session

Response

OK

_meta
object
categories
object[]