Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Xero Accounting Accounts API

The Accounts API from Xero Accounting — 3 operation(s) for accounts.

Xero Accounting Accounts API is one of 7 APIs that Xero Accounting publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Accounts. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 6 operations across 3 paths. It is described by OpenAPI 3.1.0, at version 2.0.

Requests are made against a single base URL, https://api.xero.com/api.xro/2.0.

6 operations 3 paths 0 schemas 1 DELETE3 GET1 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2.0
Base URL
https://api.xero.com/api.xro/2.0
Authentication
OAuth 2.0
Resource Areas
1

Authentication & Security 1

Xero Accounting Accounts API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (OAuth2) using the authorizationCode flow, exposing 6 scopes. By default, every request must be authenticated.

Paths & Operations 6

Across 3 paths, the API surfaces 6 operations — 1 DELETE, 3 GET, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Accounts 6
GET
/Accounts
Retrieve the chart of accounts
getAccounts 1 param → 200
PUT
/Accounts
Create a new chart of accounts entry
createAccount 1 param → 200
GET
/Accounts/{AccountID}
Retrieve a single chart of accounts entry
getAccount 2 params → 200
POST
/Accounts/{AccountID}
Update a chart of accounts entry
updateAccount 2 params → 200
DELETE
/Accounts/{AccountID}
Delete a chart of accounts entry
deleteAccount 2 params → 200
GET
/Accounts/{AccountID}/Attachments
Retrieve attachments for an account
getAccountAttachments 2 params → 200

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

xero-accounting-accounts-api-openapi.yml Raw ↑

Other APIs Xero Accounting publishes across the network.

Xero Connections API
Xero Accounting BankTransactions API
Xero Accounting BankTransfers API
Xero Accounting BatchPayments API
Xero Accounting Contacts API
Xero Accounting Invoices API