Applications
An application lets your software — an ERP, a CRM, an internal tool — call the React Box API for every organization whose administrator installed it. Each application is reviewed by our team before it exists.
Updated on October 24, 2026
Application, organization key or personal key
Pick by asking “who will use this integration?”. A script for your own organization is an organization key; a script that acts as you is a personal key; software you offer to several organizations, each one granting it access, is an application.
| Criterion | Organization key | Personal key | Application |
|---|---|---|---|
| Who creates it | An administrator of the organization. | Any member, for themselves. | Any React Box account, with or without an organization, from the developer space — then our team reviews it. |
| Identity | The organization: scopes, no role. | You, never beyond your own role. | The organization that installed it: scopes, no role. The application authenticates as itself. |
| How access is granted | The administrator creates the key and hands over the secret. | You tick the organizations in your account. | An administrator of each organization installs the application on an approval screen, one organization at a time. |
| Reach | One organization; for an accounting firm, all its client files or a selection. | The organizations you tick. | The organizations that installed it; a firm can restrict an installation to some of its client files. |
| What you send | x-api-key with an rbx_ secret. | x-api-key with an rbx_pat_ secret, and x-organization-id. | A 15-minute token obtained with your client id and secret, as Authorization: Bearer, and x-organization-id. |
| How it is cut | The administrator revokes or disables the key. | You revoke it; administrators can remove their organization from it. | The organization uninstalls it at any time; React Box can suspend or withdraw it; you can rotate its secret. |
| MCP server | Refused. | Accepted. | Refused. |
Request an application
Anyone with a React Box account can file a request. Nothing is created until our team has approved it.
Open the developer space
Sign in to the app and open the developer space from the Developers entry of the user menu. It is available to every account, with or without an organization.
File the dossier
Fill in what is listed below. You can edit the dossier freely while it waits for review.
Wait for the review
Our team reads each dossier one by one: who is behind the application, who it is for, and what it does with the data customers will entrust to it. You are told by email, with the reason when it is refused.
Come back to the developer space
The approval email links to your application. No credential is ever sent by email: you generate the secret in the developer space, after signing in.
What to prepare
The first five fields are what customers read on the approval screen; the others are for our review.
Where your application stands
The developer space shows the status and, when relevant, the reason given by our team.
- Under review
The dossier is filed. No credential and no sandbox exist yet.
- Production
Administrators of real organizations can install the application.
- Production requested
You asked to go live. The application keeps working in its sandbox while our team reviews the request.
- Rejected
The dossier was refused; the reason is shown and emailed. This is final: file a new request if the situation changes.
- Sandbox
Approved. The client id exists, you can generate a secret, and a sandbox is created. The application reaches its own sandbox organizations only.
- Suspended
Our team cut the application: every token and every installation is refused until it is resumed, then it returns to the status it had.
- Withdrawn
Retired by you or by our team: the client is disabled and the sandbox deleted. This is final.
What you can change
Customers trust an application by what the approval screen tells them, so those fields cannot change behind their back.
- Free, at any time: the contact email, the audience and the purpose. While the dossier is under review, every field.
- Through review: the name, the description, the website, the publisher, the scopes and the redirect URIs. Saving them opens a change request, one at a time, that our team approves or rejects with a reason. Until then the current values stay in force; you can cancel the request.
- Free, at any time: rotating the secret, resetting or recreating the sandbox, withdrawing the application.
- Approved scopes are the ceiling: a scope removed from the application stops working for every installation on the next request.
Credentials
They exist from the moment the application is approved.
- The client id starts with rbx_app_ and is shown on the application page. It is not secret.
- The client secret starts with rbx_ocs_. You generate it on the application page; it is shown once, never sent by email, and stored in a form we cannot read back. If you lose it, generate another.
- Generating a new secret replaces the previous one immediately: the old secret is refused and the tokens issued before the rotation stop working on the next request. A token requested in the same second as the rotation may live out its 15 minutes. Rotation is limited to 10 per hour. In the sandbox it asks for nothing more; once production is requested, it requires two-factor authentication on your account.
- The application authenticates with HTTP Basic (client id and secret). Sending the secret in the request body is refused.
Connect an organization
An administrator installs the application with the OAuth authorization code flow, with PKCE. The example below has line breaks for reading only: send a single URL, with encoded values.
Send the administrator to React Box
Redirect the browser to the authorization address below, with the parameters of the table.
The administrator approves
The approval screen always appears, even to an administrator who already installed the application. It shows the application's name, description, publisher and website, the address the code will be sent to, and the scopes in plain words. The administrator picks exactly one organization among those where they are an active administrator, and, for an accounting firm, may restrict the installation to some of its client files.
React Box redirects back
The browser returns to your redirect URI with code, state and iss as query parameters. Check state, then use the code once.
Exchange the code
Send the code with its PKCE verifier to the token endpoint, authenticating with HTTP Basic. Do not send a resource parameter.
https://app.react-box.com/api/auth/oauth2/authorize
?response_type=code
&client_id=rbx_app_…
&redirect_uri=https%3A%2F%2Ferp.example.com%2Fcallback
&scope=openid
&state=<random-state>
&code_challenge=<pkce-challenge>
&code_challenge_method=S256| Parameter | Value |
|---|---|
| response_type | code |
| client_id | Your client id. |
| redirect_uri | One of the redirect URIs registered for the application, exactly. |
| scope | openid. It is the only scope accepted here: the installation's scopes are those of the approval screen. |
| state | A random value you generate. It comes back unchanged. |
| code_challenge | The PKCE challenge: the SHA-256 of your verifier, base64url-encoded. |
| code_challenge_method | S256. PKCE is required. |
Exchange the code
curl -X POST https://app.react-box.com/api/auth/oauth2/token \
-u "$RBX_CLIENT_ID:$RBX_CLIENT_SECRET" \
-d grant_type=authorization_code \
-d code=<code> \
--data-urlencode redirect_uri=https://erp.example.com/callback \
-d code_verifier=<pkce-verifier>What the exchange returns
- An id_token whose subject (sub) is the person who installed the application, and an access token with the openid scope. No refresh token is issued.
- That token does not open the REST API: it only completes the flow and tells you who installed the application. To call the API, use the client credentials below.
- To learn which organization installed the application, list the installations.
Get an API token
The application authenticates as itself, with the client credentials grant. Do it from your server: the secret never reaches a browser or a mobile app.
Token request
curl -X POST https://app.react-box.com/api/auth/oauth2/token \
-u "$RBX_CLIENT_ID:$RBX_CLIENT_SECRET" \
-d grant_type=client_credentials \
--data-urlencode resource=https://app.react-box.com/api/v1- Authentication: HTTP Basic with the client id and secret. The body carries grant_type=client_credentials and resource set to the REST API address shown in the example.
- Do not send a scope: the token carries the api scope by itself. Another resource or another scope is refused with a 400.
- The token is valid for 15 minutes (expires_in is 900) and there is no refresh token: request a new one when it expires, or on the first 401.
- A wrong secret or a disabled client is answered with a 401 and the error invalid_client.
Call the API
Send the token as a bearer and name the organization on every request: there is no default organization.
Request for an organization
curl https://app.react-box.com/api/v1/invoices \
-H "Authorization: Bearer $RBX_ACCESS_TOKEN" \
-H "x-organization-id: <organization-id>"Installations of your application
curl https://app.react-box.com/api/v1/application/installations \
-H "Authorization: Bearer $RBX_ACCESS_TOKEN"- GET /api/v1/application/installations lists the organizations that installed the application, without the x-organization-id header: id, organization (id, name, type), whether it is a sandbox, whether it is reachable, scopes, the client files an accounting firm restricted it to, and the installation date.
- The reachable surface is the one of an organization key: the same default-deny endpoints, the same scope catalogue, never member, role, subscription or account management, never the MCP server. The API reference lists the endpoints and the API keys page describes the surface.
- What the application may do in an organization is the intersection of the scopes granted at installation, the scopes the application is still approved for, and what the organization's type can carry. It is recomputed on every call.
- When an accounting firm restricted the installation to some client files, a call on another client file is refused.
- A document or a draft the application creates is attributed to the administrator who installed it while they are an active member, otherwise to the longest-standing active administrator. The activity log names the application.
- 120 requests per minute per installation. Beyond that, the API answers 429 with a retry-after header.
Error codes
The response body carries a code. Handle the code, not the message.
| Status | Code | What it means and what to do |
|---|---|---|
| 401 | UNAUTHENTICATED | The token is invalid, expired or belongs to a person, the client is disabled, the application is not or no longer approved, or the secret was rotated since the token was issued. Request a new token; if it fails too, check the application status. |
| 403 | APPLICATION_SUSPENDED | Our team suspended the application. Nothing to retry: contact us or wait for it to be resumed. |
| 400 | APPLICATION_ORGANIZATION_ID_REQUIRED | The x-organization-id header is missing. Name the organization on every request. |
| 403 | APPLICATION_NOT_ALLOWED | The endpoint is outside what integrations may reach. Do not retry. |
| 403 | APPLICATION_NOT_INSTALLED | No live installation links the application to this organization: it was never installed, or an administrator uninstalled it. Send an administrator through the installation again. |
| 403 | APPLICATION_SANDBOX_ONLY | The application is not in production yet and this is a real organization. Use its sandbox organizations, or request production. |
| 403 | APPLICATION_SANDBOX_RESERVED | This is the sandbox of another application. |
| 403 | APPLICATION_NO_ACTING_MEMBER | The organization has no active administrator left to attribute your writes to. The organization must name one. |
| 403 | APPLICATION_CLIENT_NOT_ALLOWED | The accounting firm restricted the installation and this client file is not part of it. The firm can widen the restriction. |
| 403 | PERMISSION_DENIED | The installation does not hold the scope the endpoint requires. Request the scope through a change request, then have the administrator install again. |
| 429 | RATE_LIMITED | More than 120 requests in a minute for this installation. Wait the number of seconds given by retry-after. |
Lifecycle seen from your integration
Everything is checked on every request, with no cache: each of these takes effect on the next call.
- An administrator uninstalls the application from the organization settings, in the Applications screen. The next call for that organization answers 403 APPLICATION_NOT_INSTALLED.
- An installation belongs to the organization, not to the person who installed it: it keeps working when that person leaves. A firm can change the client files it covers at any time.
- Suspension answers 403 APPLICATION_SUSPENDED to calls made with a token, and token requests are refused. Resuming restores the application and its installations, but tokens issued before the suspension stay invalid: request a new one.
- Withdrawal disables the client: tokens and token requests answer 401, and the sandbox is deleted. It also happens when the account of the developer is deleted or deactivated.
- Rotating the secret cuts the previous secret and the tokens issued before the rotation.
- A scope removed through a change request stops working for every installation.
Going to production
Until then the application reaches its sandbox organizations only. Build and demonstrate there.
- Request production from the application page. It is a second review, after the first one that opened the sandbox. The request requires two-factor authentication on your account.
- Every redirect URI must use https: the request is refused while one uses http or a loopback address. Change the URIs through a change request first.
- While the request is pending the application stays in the sandbox. If it is refused, it returns to the sandbox with the reason, and you can ask again.
- Once approved, administrators of real organizations can install the application and it can call them, within the scopes they accepted.
Going further
Developer space
File your request, follow its review, generate your secret.
Open the developer spacehttps://app.react-box.com/developersSandbox
The test organizations of your application: what they are, what is closed, how they reset.
Read the pageAPI keys
The surface open to integrations, the scopes and the limits an application shares with organization keys.
Read the pageProduct API
Every endpoint, parameter and response of the REST API.
Open the product APIhttps://app.react-box.com/api/v1/openapiTreat the secret like a password