Create and revoke API keys
Short answer
Owners and admins create API keys in Settings, Developers. Pick read only, custom or full access scopes, copy the key once, and revoke it any time.
Updated · 1 min read
An API key lets another system read or add records in your account through the REST API. Each key belongs to one company. Only owners and admins can manage keys.
Create a key
- Open Settings and, under Developers, choose API & webhooks.
- On the API keys tab, click New API key.
- Give it a Name so you can tell keys apart, such as "Zapier" or "Website booking form".
- Choose Read only (read every resource), Custom (pick resource by resource) or Full access (read and write everything).
- Click Create key, then Copy the key and store it somewhere safe, such as a password manager or your server's secrets.
- Click I've saved it.
Important
The full key is shown only once. It is stored as a hash, so nobody, including us, can show it to you again. If you lose it, create a new key and revoke the old one.
Scopes
With Custom you tick Read or Write for each resource. Write includes read.
| Resource | Read | Write |
|---|---|---|
| Customers, contacts & sites | Yes | Yes |
| Enquiries | Yes | Yes |
| Quotes (drafts) | Yes | Yes |
| Jobs & visits | Yes | Yes |
| Invoices (drafts) | Yes | Yes |
| Price list | Yes | Yes |
| Payments | Yes | No |
| Staff (no pay data) | Yes | No |
| Timesheets | Yes | No |
| Stock levels | Yes | No |
| Accounting exports (Xero, QuickBooks, Sage, FreeAgent CSV) | Yes | No |
The API can create draft quotes and invoices but never sends them or takes payments. Those stay in the app, where someone can check them first.
Revoke a key
- On the API keys tab, find the key. The list shows its scopes, when it was last used and when it was created.
- Click Revoke, then Revoke key to confirm.
Anything using that key stops working straight away. Revoking can't be undone. Give each integration its own key so you can revoke one without breaking the others.
Good to know
Keep keys on a server. Don't put them in a web page or mobile app, where anyone can read them.
Common questions
- How many keys can I have?
- Up to 25 active keys per company.
- Can staff create keys?
- No. Only owners and admins can see the Developers page.
Related articles
Still stuck?
Tell us what you were trying to do and which screen you were on, and we’ll walk you through it. Email hello@thebusinessapp.co.uk or contact support.