All integrations
Xero
Invoices, contacts, accounts and bank transactions in Xero.
Payments and finance
How an agent reaches it
MCPREST APICLI
How you authenticate
OAuth
Connection details
- Base URL
- https://api.xero.com/api.xro/2.0
- Pagination
- page
Common endpoints
| discover tenants | GET https://api.xero.com/connections |
| list invoices | GET /Invoices |
| list contacts | GET /Contacts |
Worth knowing
- The xero-tenant-id header is mandatory on every request and is not part of the URL.
- Access tokens live 30 minutes; refresh tokens rotate on every use.