v1

latestOpenAPI 3.0.02026-07-2412592575.3 KB
categories

Add a new custom category for a user

Requires categories:write scope.

post/categories

Request body

groupstring required

The id of the category group that the custom category should be part of

namestring required

The name of the custom category

Example request

{
  "group": "group:1",
  "name": "Bus travel"
}

Response

Successful Category Response

metaobject

Example response

{
  "data": {
    "categoryId": "std:338d2636-7f88-491d-8129-255c98da1eb8",
    "name": "Days Out",
    "key": "wages",
    "group": "group:2"
  }
}