Developers
Connect your own software
Use API keys to pull reports and connect storefronts and other tools to your controlbiz workspace.
Get an API key
Create keys in your workspace under Settings, then API keys. Each key belongs to the user who created it, can have an expiry date and can be limited to specific permissions. Revoke it at any time and it stops working immediately.
Keys start with crm_. Treat them like passwords: keep them on a server, never in browser code or a public repository.
Authenticate
Send the key in the X-API-Key header, or as a bearer token.
curl https://YOUR-API-HOST/api/external/reports \
-H "X-API-Key: crm_your_key_here"curl https://YOUR-API-HOST/api/external/reports \
-H "Authorization: Bearer crm_your_key_here"Your API host is shown in your workspace settings. A missing or invalid key returns 401, and a key without the needed permission returns 403.
Reports API
Keys with the reports.read permission can list available reports, preview a report and download it.
GET /api/external/reports # list reports
GET /api/external/reports/:reportType/preview # preview a report
GET /api/external/reports/:reportType/:format # download a reportRequests made with API keys are rate limited.
Good to know
Scoped keys
Give each integration only the permissions it needs, and one key per integration so you can revoke it alone.
Storefront integrations
Orders, customers and payments from your online store can be synced with keys set up for that purpose. Ask us and we will scope it with you.
Webhooks and alerts
Slack, Telegram and WhatsApp connections are configured in the workspace, with secrets kept on the server.
Need something the API does not cover?
Tell us what you want to connect and we will tell you what is possible today.