Skip to content

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

On this page
Developers: API keys and webhooks
Developers: API keys and webhooks. Demo data.

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

  1. Open Settings and, under Developers, choose API & webhooks.
  2. On the API keys tab, click New API key.
  3. Give it a Name so you can tell keys apart, such as "Zapier" or "Website booking form".
  4. Choose Read only (read every resource), Custom (pick resource by resource) or Full access (read and write everything).
  5. Click Create key, then Copy the key and store it somewhere safe, such as a password manager or your server's secrets.
  6. 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.

ResourceReadWrite
Customers, contacts & sitesYesYes
EnquiriesYesYes
Quotes (drafts)YesYes
Jobs & visitsYesYes
Invoices (drafts)YesYes
Price listYesYes
PaymentsYesNo
Staff (no pay data)YesNo
TimesheetsYesNo
Stock levelsYesNo
Accounting exports (Xero, QuickBooks, Sage, FreeAgent CSV)YesNo

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

  1. On the API keys tab, find the key. The list shows its scopes, when it was last used and when it was created.
  2. 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.

Was this article helpful?

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.

    Type to search every help article. Use the arrow keys and Enter to open one.