Integrating React Box
An integration acts either for your organization or as you — with the rights you give it, and nothing else.
Updated on October 24, 2026
Four rules
They hold for any integration, whatever technology sits on the other side.
- Two possible identities. An organization key acts for the organization, with its scopes and never with the rights of the person who created it; it stops working if that person leaves the organization. A personal key or an MCP connection acts as you, in the organizations you choose, never beyond your own role.
- A key carries only the scopes ticked when it was created, picked from the same permission catalogue as roles. An MCP connection carries read access, plus draft writing if you grant it.
- A key reaches only the endpoints open to integrations: managing members, roles, the subscription and the account stays reserved to a human session.
- Any access is disabled or revoked from the screen that created it; administrators can also cut the personal access that reaches their organization. It takes effect immediately: every call is checked again.
Going further
OpenAPI specifications
The interactive references are hosted on our own infrastructure. They list endpoints, parameters and responses, and let you try requests from the browser.
Product API
Public API contract for the vault, invoicing, third parties, treasury, accounting, organizations and realtime.
Open the product APIhttps://app.react-box.com/api/v1/openapiAuthentication API
Authentication contract for sessions, the user account, organizations and the auth plugins.
Open the auth APIhttps://app.react-box.com/api/auth/referenceThe MCP server's OAuth flow
The MCP server exposes a full OAuth 2.1 flow, which MCP clients follow on their own. The tokens it issues are only valid for the MCP server: for the REST API, use an API key.
Register the client
The client registers itself, through the dynamic registration endpoint named in the authorization server metadata. It receives a client id and declares its redirect URLs; there is no manual step and no review on our side.
Redirect the user
The client redirects to the React Box authorization URL using the authorization code flow with PKCE (S256), asking for mcp:read, optionally mcp:write, and offline_access to get a refresh token.
Consent
The user signs in to React Box, ticks the organizations the client may reach, and grants read-only access or writing as well. The screen appears at every authorization, names the redirect URL, and warns that the application is not vetted by us.
Back to the client
React Box redirects to the declared URL with a single-use authorization code.
Exchange the code
The client exchanges that code, with its PKCE verifier, for a 15-minute access token bound to the MCP server and a 30-day refresh token, rotated on every use.
The protected resource metadata (RFC 9728) and the authorization server metadata (RFC 8414) are published under the site's .well-known path: any recent OAuth 2.1 library knows how to use them.
Versions
This documentation covers v1. Breaking changes will ship under a new major version, with reasonable notice before the previous one is retired.
Get in touch