Base URL
/oauth/token; ledger resources live under /ledger/v1.
Looking for
/control/v1/agent/*? Those belong to the other API on this host. See the spend control
API reference.Authentication
Every call carries a Bearer access token from theclient_credentials grant. Reads need
ledger:read; writes need ledger:write; period-close mutations need ledger:period_close.
Scopes do not imply each other. See Authentication.
Response envelope
Single-resource responses wrap the object indata alongside livemode and request_id:
object tag, and request_id is also returned as the X-Request-Id
header. Quote it when contacting support.
Lists are flat, with data, has_more and next_cursor. A total is present on some lists and
absent on others, so treat it as optional. See Pagination.
Failures carry error.{code,message,hint,docs_url}; see the errors reference.
CSV output
Report endpoints also return CSV, via?format=csv or an Accept: text/csv header. If both are
present, the header wins. Only read endpoints offer CSV.
Discover before you hardcode
GET /v1/_meta/capabilities reports the feature flags, hard limits, plan, tenant status and
organization model in force for your tenant. Negotiate against it rather than baking limits into
your client.
Not on this API
Some surfaces are deliberately dashboard-only, so that a leaked machine credential cannot use them: inviting members, changing roles, transferring ownership, and the 1-click connector onboarding flow. Connector sync history is readable atGET /v1/sources/{id}/syncs, but
connecting, syncing and disconnecting are console operations.
Next steps
Post your first transaction
The shortest path through these endpoints.
Kordio Control API reference
The other API on this host.