Toshl Developer

Get account

Get a specific account.

GET /accounts/{id}

Required scope:

Parameters

id
required
string

Account id.

Request

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

Response

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

{
  "id": "42",
  "name": "Tesla model S",
  "balance": 3000,
  "initial_balance": 3000,
  "currency": {
    "code": "USD",
    "rate": 1,
    "fixed": false
  },
  "status": "active",
  "order": 0,
  "modified": "2012-09-04T13:55:15Z",
  "goal": {
    "amount": 63570,
    "start": "2013-07-01",
    "end": "2015-07-01"
  }
}