Categories
The Categories API provides CRUD access to categories, plus ancillary actions for assigning team members to a category and migrating a category’s resources into another category.New to the API? Start with Getting started (base URL, response envelope, errors, pagination) and Authentication (API keys). Those conventions apply to every endpoint below and are not repeated here.
Identifier note: categories are addressed by their numericcategory_id. Wherever{id}appears below it is thecategory_id.
The category object
All endpoints that return a category use this shape:List / search categories
Query parameters
Example request
Example response — 200 OK
Get a category
Example request
200) with message “Category retrieved successfully.”
Create a category
Body parameters
Example request
Example response — 201 Created
Update a category
category_name is required and must be unique within the category’s type. category_type
cannot be changed.
Body parameters
Example request
Example response — 200 OK
Delete a category
count is 0) and is not a
system-default category. Otherwise a 409 is returned. To empty a non-empty category first,
use the migrate action below. Deleting also removes the category’s team assignments.
Example request
Example response — 200 OK
Set team members
users array is the full set — it
replaces any existing assignment; an empty array clears all. Category-based project permissions
are re-synced automatically.
200) with message “Category team updated successfully.”
Migrate resources
200) with message “Category resources migrated successfully.”
