Keys and permissions
Every call (except /health and /v1/openapi.json) carries an API key:
Authorization: Bearer rs_live_...
A key belongs to one connection, and a connection belongs to one company. A key can only ever see that company's books.
Getting a key
- Sign in at office.reconsmith.com.
- Open Connected systems.
- Choose what you are connecting. The kind sets its permissions and the webhook events it can receive:
| Kind | Permissions |
|---|---|
| Online shop | read, write |
| Point of sale | write |
| Job or field system | read, write |
| Payment provider | write, money |
| Bank feed | write, money |
| Something else | read |
- Copy the key. It is shown once. ReconSmiths keeps only a fingerprint of it.
Exploring safely
A key with only the read permission can call every GET and change nothing. Connect Something else to get one, and learn the API against real data before you use a key that writes.
Permissions (scopes)
| Scope | Allows |
|---|---|
read | Every GET. |
write | Every POST, PUT and DELETE that does not move money. |
money | Writes that move money: receipts (/v1/payments), allocations, gateway confirmations and settlements, refunds, accepting a bank match. |
A call outside the key's permissions answers 403 and says which scope is missing. Give each system only what it needs: a point of sale that only issues invoices needs write, not money.
Rotating a key
In Connected systems, Rotate key issues a new key and keeps the old one working for an overlap (48 hours by default), so you can change your configuration without a gap. The page shows when the old key was last used and when it stops working.
Usage
Connected systems shows, for each connection: calls today, the last call, the last error, and the health of its webhooks. There is no daily call limit.
Keeping keys safe
- Keep the key on your server. Never put it in a mobile app or a web page.
- One key per system, so you can switch one off without touching the others.
- If a key may have leaked, rotate it with a zero overlap.
This page as plain text: keys-and-permissions.md