Overview
These endpoints are related to managing authentication tokens and identity for Xero API
Xero OAuth 2 Identity Service API is a finance API from xero.com. Requests are authenticated with HTTP Basic auth. It is served over HTTPS. Its OpenAPI description documents 2 endpoints.
At a glance
- Authentication
- HTTP Basic
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Finance
- Base URL
https://api.xero.com- Version
- 2.9.4
- Endpoints
- 2
- OpenAPI
- Specification ↗
- Spec updated
- 2021-02-25
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://api.xero.com/Connections" \
-H "Accept: application/json" \
-H "Authorization: Basic BASE64_USER_PASSWORD"const response = await fetch("https://api.xero.com/Connections", {
method: "GET",
headers: {
"Accept": "application/json",
"Authorization": "Basic BASE64_USER_PASSWORD",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://api.xero.com/Connections",
headers={
"Accept": "application/json",
"Authorization": "Basic BASE64_USER_PASSWORD",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | /Connections | Retrieves the connections for this user |
| DELETE | /Connections/{id} | Deletes a connection for this user (i.e. disconnect a tenant) |
Questions
Does the Xero OAuth 2 Identity Service API API need an API key?
Yes. The Xero OAuth 2 Identity Service API API uses HTTP Basic authentication; the documentation explains how to get credentials.
Does the Xero OAuth 2 Identity Service API API support HTTPS?
Yes, the Xero OAuth 2 Identity Service API API is served over HTTPS.
How many endpoints does the Xero OAuth 2 Identity Service API API have?
Its OpenAPI description lists 2 endpoints in version 2.9.4. All of them are shown on this page.
What are alternatives to the Xero OAuth 2 Identity Service API API?
Other Finance APIs include Stripe, SEC EDGAR Data, Plaid, Fed Treasury, Razorpay IFSC.
Similar finance APIs
Compare alternatives →Stripe
FinancePayment processing, subscriptions, and financial management
SEC EDGAR Data
FinanceAPI to access annual reports of public US companies
Plaid
FinanceConnect with user's bank accounts and access transaction data
Fed Treasury
FinanceU.S. Department of the Treasury Data
Razorpay IFSC
FinanceIndian Financial Systems Code (Bank Branch Codes)
Klarna
FinanceKlarna payment and shopping service
Listed from APIs.guru (CC0).