API keys
Generate a key in account settings and store it asRAINBRAND_API_KEY in your environment or secret manager. Keep it on the server and rotate it if exposed. Keys start with bloom_sk_.
x-api-key takes precedence.
OAuth
Send a Rainbrand OAuth access token asAuthorization: Bearer, stored here as RAINBRAND_ACCESS_TOKEN:
The authorization-server metadata publishes the current endpoints and supported scopes.
Register a public client
Use Authorization Code with PKCE S256. Public clients register without a client secret:redirect_uri during authorization; wildcards are not supported.