Skip to content

Categories

GET v3/categories returns all account categories.
[
  {
    "id": 65707070,
    "name": "Marketing Projects",
    "default": false
  },
  {
    "id": 65707071,
    "name": "Uncategorized",
    "default": true
  }
]
GET v3/categories/65707070 returns the specified category.
{
  "id": 65707070,
  "name": "Marketing Projects",
  "default": false
}
POST v3/categories creates a new category.
{
  "name": "Rockwall Phase I"
}
201 Created is returned along with the category JSON if the record is created successfully.
PUT v3/categories/65707070 updates an existing category.
{
  "name": "Rockwall Phase II"
}
200 OK is returned along with the updated category JSON. 403 Forbidden is returned if access is denied.
DELETE v3/categories/65707070 deletes the specified category.
204 No Content is returned if the category is deleted successfully. 403 Forbidden is returned if access is denied.