Read accounts

GET /accounts

Read a list of accounts, including their details.

Headers

Query parameters

  • query string

    Filters accounts containing the specified keyword(-s) within their name or number properties. For example, a GET request /accounts/?query=salary would return accounts with "salary" in their name or number.

Responses

GET /accounts
curl \
 -X GET https://rest.api.24sevenoffice.com/v1/accounts \
 -H "Authorization: string"
Response examples (200)
[
  {
    "id": 1000001,
    "name": "Cash, NOK",
    "number": 1900
  },
  {
    "id": 1000002,
    "name": "Bank Account",
    "number": 1920
  },
  {
    "id": 2000001,
    "name": "Accounts Receivable",
    "number": 1500
  }
]