Skip to main content

Base URL

All API requests go to a single base URL — there is no version path prefix:
Endpoints sit directly under it, for example:
  • POST /companies
  • POST /expenses/{connectionId}
  • GET /sync/batches/{syncBatchId}
Older examples that used https://api.sync2books.com/v1/... are incorrect — the API is not versioned with a /v1 segment. Drop the /v1.

Development vs Production

Each application is issued two independent credential sets. The environment is encoded in the key prefix, so you can tell them apart at a glance: Switch environments simply by swapping the API key (and client secret, if you sign requests). Nothing else in the request changes.
This page covers the Accounting API. The eTIMS API has its own keys and environments: a test key reaches the KRA sandbox and a live key reaches production, from one base URL. See Authentication & API keys.

Interactive API explorer

Try endpoints directly from these docs, with your own API key, under the Accounting API and eTIMS API tabs — see Which API do I need? if you’re unsure which one to open. The raw, always-current OpenAPI schema behind both is also published with the running API at https://api.sync2books.com/api-json.