Skip to content

Authentication & API keys

Connect your application with an account-owned Router API key.

Send a bearer token

Pass your Router API key in the Authorization header. OpenAI clients set this header when you provide their api_key or apiKey option.

bash
Authorization: Bearer $ROUTER_API_KEY

Create and store a key

Create a key in API keys. The secret is shown once. Store it in your server environment and give each application a recognizable key name.

Revoke access

Revoke a key from the dashboard when an application no longer needs it or a secret has been exposed. Create a replacement and update your server configuration. Revoked credentials cannot authorize new requests.

Dashboard and application access

The Playground uses your signed-in account. Application requests use API keys. Playground requests are not included in the API-key usage history.

Continue with your first request.