Browse documentation
Create API keys and authenticate requests. API and MCP access is open to everyone.
Availability
API and MCP access is open to every Citera account. For hosted MCP, browser sign-in grants read-only access to the brands you select. For REST requests or the optional manual MCP route, create a key under Settings → API & MCP and choose the required surface, brands and scopes. No invitation or separate access request is needed.
Key-authenticated requests require an active, unexpired key, the required scopes and an owned brand bound to the key. OAuth connections use the access approved during browser sign-in. Operation-specific permissions, feature settings and usage limits still apply; a connection does not grant every operation in the API reference.
Browser sign-in for hosted MCP
Open Settings → API & MCP → MCP and select Connect another assistant. Copy https://mcp.citeralabs.ai/mcp into a remote HTTP MCP client. Choose OAuth or browser sign-in, sign in to Citera and select the brands it may read. Leave static request headers empty when using this flow.
The hosted sign-in flow is read-only. Disconnect the assistant from the AI assistants list to revoke its connection. Creating a manual API key is optional for clients that need fixed Authorization headers; never paste an app session token into an MCP configuration.
API keys
Property | Value |
|---|---|
Format |
|
Display prefix |
|
Storage | Only a cryptographic verifier is stored; the raw key is never stored |
Shown | Once, in the create/rotate response ( |
Transport | Only |
Binding | A set of surfaces ( |
Create API keys in Settings → API & MCP → API or via POST /v1/api-keys. Manual MCP keys are also available from the MCP connection dialog. The key format and lifecycle reference below applies to those manually managed credentials.
A 401 response includes WWW-Authenticate: Bearer realm="rankad", error="invalid_token".
Session tokens (key management and usage only)
The routes /v1/api-keys* and /v1/usage also accept a Citera (Supabase) session JWT. This is how the Settings page works. A session principal:
is verified by the service;
receives only the
keys:managescope and no brands;is accepted on the API surface only (never on MCP);
must still satisfy
api.enabledand the account security checks.
Browser key-management calls are restricted to approved application origins.
Optional client headers
Header | Purpose |
|---|---|
| Telemetry only (≤ 64 printable chars); never affect authorization |
| Your own correlation ID (8–64 |