Overview
The Categories API lets you manage the colour-coded category labels that group your documents and tasks. Each category has a name, an emoji, and a colour, and is scoped to a single user. All endpoints are authenticated. Include a valid Auth0 access token in theAuthorization header:
The Category object
Example
The
emoji and color fields are new in V2. Categories created before V2 may return null for both — clients should treat that as “use the default neutral tint” and “no emoji”.Endpoints
List categories
documentCount and taskCount.
200 OK
Create a category
name is required; emoji and color are optional.
Request body
201 Created
Update a category
200 OK
System categories (created automatically when you signed up) can be renamed, recoloured, and re-emojied via this endpoint, but cannot be deleted.
Delete a category
200 OK
Suggest categories for a document
200 OK
AI-suggested categories are not enabled for every account yet. When the feature is off, this endpoint returns an empty array.
Field validation reference
color
Adminest validates the colour as a hex string in the #RRGGBB form. Both uppercase and lowercase digits are accepted.
null (or omit the field on create), Adminest uses a neutral grey tint when rendering the category.
emoji
The emoji field accepts a single emoji grapheme, including emoji that are technically multiple codepoints (e.g. "👨👩👧"). Plain text is rejected.
null (or omit on create) for “no emoji”.
Related
Documents
Apply categories from the UI
Categories guide
User-facing guide to managing categories
