Toshl Developer

Get category

Get a category.

GET /categories/{id}

Required scope:

Request

$ curl https://api.toshl.com/categories/42 \
  -H "Authorization: Bearer T9cE5asGnuyYCCqIZFoWjFHvNbvVqHjl"

Response

HTTP/1.1 200 OK
Content-Type: application/json

{
  "id": "42",
  "name": "Entertainment",
  "modified": "2012-09-04T13:55:15Z",
  "type": "expense",
  "deleted": false,
  "counts": {
    "entries": 21,
    "tags": 5
  }
}