Access by credential
Each kind of credential can reach a different part of the API. Within what it can reach, a token still needs the endpoint's scope (listed on each endpoint page as Required Permission), and an OAuth token is also limited by the user's role.
| Workspace token (Integrations API) | Connect | OAuth | API key | |
|---|---|---|---|---|
| Integrations, syncs | Read, write | Read | Read, write | Read |
| CSV uploads, credentials | Read, write | Read | Read, write | — |
| Portfolios | Read | Read | Read, write | Read |
| Transactions, ledgers | Read, write | Read | Read, write | Read, write |
| Labels, asset search | Read | Read | Read | — |
| Holdings, liabilities, DeFi, NFTs (as reported by the exchange or chain) | Read | Read | Read | Read |
| Calculated balances, dashboard, graphs, reconciliation (computed from transaction and price history) | — | Read | Read | Read |
| Spam, counterparties | — | Read | Read, write | Read, write |
| Contacts | — | Read | Read, write | — |
| Accounting, reports | — | Read | Read, write (incl. generating reports) | Read, write (not generating reports) |
| Chart of accounts, recalculation | — | — | Read, write | Read, write |
| The workspace and its tax settings | — | Read | Read; write tax settings | Read, write |
| List the user's workspaces | — | — | Read | — |
| Staking, swaps, quotes | — | — | — | Read, write |
| Background tasks | Read, cancel | Read | Read, cancel | Read, write |
| Invites, members, roles, organizations | — | — | — | — |
| Create, delete or reset workspaces | — | — | — | — |
| Notifications, billing | — | — | — | — |
— means the credential is refused with 403 (MACHINE_ROUTE_NOT_ALLOWED for tokens,
This endpoint does not accept API keys for keys). The API Reference
documents the workspace-token endpoints you build on; this table is the full picture.
Rolling out
Workspace tokens, API keys and billing are enforced today. For OAuth and Connect tokens, the limits in
this table are being rolled out service by service. Build against them now: an endpoint marked — will
refuse those tokens.
Why the differences
- Workspace tokens belong to workspaces your app created. They get the data endpoints the Integrations API needs and nothing else, so a leaked token can't reach accounts or billing.
- Connect tokens are read-only: a user shared their data with you, they didn't hand you their account.
- OAuth tokens act as the user, within the scopes they approved and their role, but account management (who has access, billing) always needs the user in the Kryptos app.
- API keys automate your own paid workspace, so they reach most of it, but never who has access to it.