- 39 typed API operations
- 9 synced entities (
accounts,bankTransactions,contacts,creditNotes,invoices,items, and 3 more) for fast.search()/.list()
Setup
1
Install
2
Add the plugin
corsair.ts
multiTenancy: true, scope calls with corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.3
Choose authentication
- OAuth 2.0 (Recommended)
- API Key
Open hub.corsair.dev, navigate to your project, and enter the client ID and client secret from your Xero OAuth app.More: OAuth 2.0
4
Connect a tenant
Mint a connect link and send the tenant to it. Hub hosts the page and delivers the result to your app — see Connect / OAuth.
Example API calls
List contactsQuery synced data
Search synced contacts without hitting Xero.accounts, bankTransactions, contacts, creditNotes, invoices, items, payments, purchaseOrders, quotes. See Database for filters and operators.
What’s next
API reference
Every
xero.api.* operation with input and output types.Database
Synced entities, search filters, and operators.
Connect / OAuth
createLink, Hub delivery, and tenant connect flows.
Use with agents
Expose this plugin’s operations as MCP tools.