Base URL
All API requests go to a single base URL — there is no version path prefix:POST /companiesPOST /expenses/{connectionId}GET /sync/batches/{syncBatchId}
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 athttps://api.sync2books.com/api-json.