GET/category/

List Categories

List categories

Implementation Notes

This API retrieves the list of available Categories used in the system.

  • Categories help classify different entities such as hotels, events, or services.
  • The endpoint requires Bearer Token Authentication.
GET/category/

Responses

StatusMeaningDescriptionSchema
200OKOK
400Bad RequestBad RequestNone
401UnauthorizedUnauthorizedNone
429Too Many RequestsToo Many RequestsNone
500Internal Server ErrorInternal Server ErrorNone

Example Request

# You can also use wget
curl -X GET https://api.events.example.com/api/v1/category/ \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

Example responses

200 Response
[
  {
    "categoryCode": 1,
    "category": "Luxury Hotels"
  }
]

Need Support?

Our team is here to help you integrate and make the most of our APIs. Get in touch for technical support, custom solutions, or any questions.