Skip to main content
Every request to Anyone must include an API key to identify your account and authorize access. You create tokens in the dashboard, and the same API key works across all endpoint formats — OpenAI, Anthropic Claude, and Google Gemini. The only difference is which header you use to send it.

Get your API key

1

Open the dashboard

Navigate to Anyone in a browser, for example https://anyone.ai.
2

Go to API Keys

Click API Keys in the sidebar.
3

Create an API key

Click Add API Key, give it a name, configure any model restrictions or quota limits, then click Submit.
4

Copy the API key

Copy the API key value shown. Anyone only displays the full API key once, so save it somewhere secure.

Authentication styles

Anyone supports three authentication styles to match the native format of each API family. All three use the same API key value — only the header name changes.

OpenAI-compatible (most endpoints)

Pass your API key as a Bearer API key in the Authorization header. Use this style with all standard endpoints. Applies to: POST /v1/chat/completions, POST /v1/completions, POST /v1/responses, POST /v1/embeddings, POST /v1/audio/*, POST /v1/images/*, POST /v1/rerank, GET /v1/realtime, GET /v1/models

Anthropic Claude

Pass your API key in the x-api-key header and include the anthropic-version header. Anyone uses these headers to identify requests that should be handled in Claude Messages format. Applies to: POST /v1/messages

Google Gemini

Pass your API key in the x-goog-api-key header, or as a key query parameter. Both are equivalent. Applies to: POST /v1beta/models/{model}:generateContent

Authentication errors

Security

Never include your API key in client-side code, browser JavaScript, or public repositories. If an API key is exposed, delete it immediately in the dashboard and create a new one.
Store API keys in environment variables or a secrets manager, and pass them to your application at runtime. On the server side, treat your Anyone API key with the same care as any other API credential.