Authentication
Rightbrain supports two authentication methods - API Keys and OAuth 2.0 Clients.
You can create and manage both under Settings → API Clients
Which Method to Use
Creating an API Key
Use API Keys for simple, persistent authentication in server environments.
Never expose API Keys in browser or client-side code.
For user-facing apps, always use OAuth 2.0.
Creating an OAuth 2.0 Client
OAuth 2.0 is recommended when you need short-lived, revocable tokens, ideal for distributed systems or multi-user applications.
2. Choose a grant type
- Client Credentials for server-to-server integrations
- Authorization Code or PKCE for user login or delegated access
OAuth tokens are short-lived by design. Refresh or regenerate them periodically depending on your integration.




