Xero OAuth 2 Identity Service API
These endpoints are related to managing authentication tokens and identity for Xero API
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
These endpoints are related to managing authentication tokens and identity for Xero API
Endpoints 2
identity
- GETRetrieves the connections for this user
/Connections?authEventId=00000000-0000-0000-0000-000000000000Override the base server url that include version - DELETEDeletes a connection for this user (i.e. disconnect a tenant)
/Connections/:idOverride the base server url that include version
API details
- Base URL
https://api.xero.com- Authentication
- HTTP Basic authentication (username and password)
OAuth 2.0 (authorization code flow) with 3 scopes - Operations
- 2 operations on 2 pathsGET 1DELETE 1
- Main resources
- identity 2
- Response formats
application/json- Description format
- OpenAPI 3.0.0, API version
20.1.0 - Links
- OpenAPI document · Terms of service · Support
- Listed from
- Xero's published OpenAPI description (XeroAPI/Xero-OpenAPI) (MIT)
How to test the Xero OAuth 2 Identity Service API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Xero OAuth 2 Identity Service API collection, without the publisher's secrets.
- Add your credentialsThis API uses HTTP Basic authentication (username and password). Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Retrieves the connections for this user” (GET /Connections?authEventId=00000000-0000-0000-0000-000000000000), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Xero OAuth 2 Identity Service API?
These endpoints are related to managing authentication tokens and identity for Xero API It is listed under Finance & banking and has 2 endpoints.
Who publishes the Xero OAuth 2 Identity Service API?
It is listed from Xero's public API description (an OpenAPI document), not published by Xero on Swastik Codes. Anyone who controls xero.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Xero OAuth 2 Identity Service API?
Requests go to https://api.xero.com. Endpoint paths are added to this base URL.
How do I authenticate with the Xero OAuth 2 Identity Service API?
It accepts 2 methods: HTTP Basic authentication (username and password); OAuth 2.0 (authorization code flow) with 3 scopes.
How many endpoints does the Xero OAuth 2 Identity Service API have?
2 operations on 2 paths (1 GET, 1 DELETE). The largest groups are identity.
Is forking the Xero OAuth 2 Identity Service API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.