List all (or one) categories.

Endpoint URL

Authentication and rate limits

Authentication methodOAuth 2.0 Bearer token
Rate limitRate Limit

Requests Example

curl --request GET \
  --url '' \
  --header 'Authorization: Bearer $BEARER_TOKEN'
curl --request GET \
  --url '$id/?company=1' \
  --header 'Authorization: Bearer $BEARER_TOKEN'

Query Parameters

  • company (integer) --

    The ID of the specific company your API is calling. For accounts with only one company, the default value is 1.
    To lookup a specific company ID, see the List Company API.

  • id (integer) --

    Optional if you want to list a category ID. The id parameter is passed as part of the request url /category/$id/.

Response Syntax

  "id": integer,
  "category": "string",
  "subcategories": ["string",...]

Response Fields

  • id (integer) --

    The ID of the category.

  • category (string) --

    The name of the category.

  • subcategories (list) --

    The list of subcategory names.