/v1/accounting/categories/{identifier}Save a transaction category
Create or update a workspace category. Use a stable lowercase identifier; renaming the display name preserves that identity. Guidance and keywords explain how Neo should classify expenses and income. active=false archives a category without erasing prior classifications. Changes support undo. Takes the brokerage's books: an owner or admin, or a seat holding an accounting grant (get_accounting_me_access); anyone else is refused with 403.
Access class: workspace:books.
Send request
Use the documented inputs to call this endpoint directly.
Parameters
Values are applied to the request and the example on the right.
Request body
application/jsonrequiredResponses
the action's answer
{
"data": {
"active": true,
"color": "string",
"guidance": "string",
"icon": "string",
"identifier": "string",
"keywords": [
"string"
],
"kind": "string",
"name": "string",
"position": 1.5,
"tags": [
"string"
],
"uses": 1.5
}
}a refusal: {"error": "<what a person needs to read>"}. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.
{
"error": "string"
}