API keys
Two kinds of keys: the organization key, for an integration that works for the organization, and the personal key, which acts as you in the organizations you choose.
Updated on October 24, 2026
Two keys, two uses
Pick by asking “on whose behalf is this call made?”. An accounting sync works for the organization; a script or an agent you run yourself works for you.
| Criterion | Organization key | Personal key |
|---|---|---|
| Who creates it | An administrator, in Organization settings → Organization API keys. | Any member, for themselves, in Account → Personal API keys. |
| Reach | One organization, the one that issued it. For an accounting firm, all its client files or a selection. | The organizations you tick among those you belong to. |
| Identity | The organization: the key has no role, only scopes. | You: never beyond your own role in each organization, narrowed to the key's scopes. |
| Two-factor authentication | Not affected by the organization's requirement. | Subject to each organization's requirement: without a second factor on your account, the call is refused. |
| Expiry | From 1 to 730 days, or none. | Mandatory: 7, 30, 90, 180 or 365 days. |
| Headers | x-api-key only. | x-api-key and x-organization-id on every request. |
| Secret prefix | rbx_ | rbx_pat_ |
| MCP server | Refused. | Accepted. |
Create an organization key
Restricted to the organization's administrators: an organization key is an identity, not a setting.
Open Organization settings → Organization API keys
The screen lists existing keys, their status, their scopes and their last call.
Name the key
One name per use — “accounting sync”, “collection bot” — so you know what to revoke on the day it matters.
Pick scopes and expiry
Tick only what the integration needs. The default expiry is a year; a key with no expiry is possible, and easy to forget. An accounting firm also picks the client files the key reaches.
Copy the secret
It is shown once, right after creation. It is stored nowhere: if it is lost, replace it with a new key.
Create a personal key
Open to every member, without going through an administrator — as long as the organization has not turned personal access off.
Open Account → Personal API keys
The screen lists your keys, their expiry, the organizations they reach and their last call.
Choose the organizations
Tick the ones the key may reach. An organization that requires two-factor authentication can only be chosen once you have enabled it on your account, and an organization that has turned personal access off cannot be chosen at all.
Pick scopes and expiry
Scopes narrow what the key can do, never beyond your role. Expiry is mandatory: 90 days by default, one year at most.
Copy the secret
It is shown once. You can later change the key's name, scopes and organizations without changing its secret.
Scopes
What the key is allowed to do, and nothing more.
- Scopes are the product's permissions — the same ones a custom role grants.
- A missing scope cannot be worked around: the call is refused with a 403, even where the endpoint exists.
- On a personal key, scopes are intersected with your current role in the target organization: if your role loses a permission, the key loses it on the next call.
- Capabilities an organization cannot hold are stripped on every call, not only at creation.
- A scope that depends on a module you do not hold stays closed until the module is active.
- An organization key carries scopes but no role, so a vault folder restricted to specific roles stays invisible to it: its documents are silently absent from the lists, without an error. A personal key sees those folders if your role does.
- No key opens the Atlas assistant, member and role management, the subscription or account security: those are acts of a signed-in person, not integration surface.
Using the key
Send the secret in the x-api-key header. A personal key also names the target organization in the x-organization-id header: there is no default organization, and a request without that header is refused with a 400.
Organization key
curl https://app.react-box.com/api/v1/invoices \
-H "x-api-key: rbx_…"Personal key
curl https://app.react-box.com/api/v1/invoices \
-H "x-api-key: rbx_pat_…" \
-H "x-organization-id: <organization-id>"The endpoint below, reserved for personal keys, lists the organizations the key reaches, with whether each one is available and, when it is not, why.
curl https://app.react-box.com/api/v1/personal-access/organizations \
-H "x-api-key: rbx_pat_…"Limits
Keys are included in the subscription; these limits protect the platform, not your bill.
Lifecycle
What cuts a key. Everything is checked on every call: the effect is immediate, with no waiting for expiry.
- Disabling suspends the key without deleting it: the integration stops, the history stays readable.
- Revoking deletes the key for good, effective on the next call.
- An organization key is disabled when the person who created it loses access to the organization; a personal key immediately stops reaching an organization you are no longer an active member of.
- A personal key is refused by an organization that has turned personal access off, or that requires two-factor authentication while your account has not enabled it. An administrator can also remove their organization from one specific personal key.
- A suspended or deleted organization closes its keys along with its sessions.
What administrators see
A personal key is yours, but it opens a door onto the organization's data: its administrators stay in control.
Treat the secret like a password