Accounting

Retrieves the full chart of accounts

get/Accounts

Request

  • Base URL
    https://api.xero.com/api.xro/2.0
  • URL
    https://api.xero.com/api.xro/2.0/Accounts
  • Auth
    OAuth 2
    Authorization code: https://login.xero.com/identity/connect/authorize
    Token URL: https://identity.xero.com/connect/token scopes: accounting.settings, accounting.settings.read

Query parameters

wherestring

Filter by an any element

orderstring

Order by an any element

Headers

If-Modified-Sincestring date-time

Only records created or modified since this timestamp will be returned

Response

Success - return response of type Accounts array with 0 to n Account

Example response

{
  "Accounts": [
    {
      "Name": "Food Sales",
      "AccountID": "00000000-0000-0000-0000-000000000000",
      "UpdatedDateUTC": "/Date(1573755038314)/"
    }
  ]
}

Changes

No recorded changes to this operation across all 62 revisions of this API.