Explore the API with Postman
Import one file and call every endpoint of your own install: customers, invoices, stock, payments, reports, PDFs and more.
Download the collection (version 1.0.10) openapi.json
Postman SHA-256 c6b18c5d41fe25aea5886d58fda5c79b5f08688b8698338cd7e2f4a3b613c752
1. Import it
In Postman, choose Import and drop the downloaded file in. It appears as SQL Flow API 1.0.10, with a v2 folder (the current API) and a v1 (PHP-compatible) folder, one sub-folder per resource. Importing a newer release replaces nothing you made yourself; each version is its own collection.
2. Set three variables
Open the collection, then Variables. Better still, put them in a Postman environment so the token never sits in a shared collection.
baseUrl: where the API answers.http://localhost:5080on the machine itself; its LAN address (for examplehttp://192.168.1.20:5080) from another PC; or your Cloudflare tunnel'shttps://address.token: an API token from the console's Tokens page. A read-only token is the safe start.company: a company code from the Companies page, sent as theX-Companyheader. Leave it empty to use the token's default company.
3. Send a request
Start with GET /v2/api/version (needs no company), then GET /v2/api/customer. Lists take offset and limit; the ticked query parameters are the sample, the others are there to switch on.
Writes change your accounts
Every POST, PUT and DELETE says so in its description and needs a token with write scope. The samples use codes starting ZZT- so they are easy to find and delete. Try them on a test company first.
Always in step with your install
The collection is built from the same code as the release and published with it, so its version matches the setup on the download page. Your own install's console has the same list in its API explorer. After an update, download the collection again to get new endpoints.
See also the API overview for tokens, paging, PDFs, errors and limits.