Skip to main content
Every request to the ShuttleAI API requires a valid API key. Keys are prefixed with shuttle- and sent as a Bearer token in the Authorization header.

Getting your API key

  1. Log in to the ShuttleAI Dashboard
  2. Navigate to API Keys
  3. Copy your master key, or create a sub-key for specific use cases
Never share your API key or commit it to version control. Treat it like a password.

Using your key

Include your API key in the Authorization header of every request:

With the OpenAI SDK

With cURL

Environment variables

Store your key in an environment variable to keep it out of your code:
Then reference it in your code:

Sub-keys

Sub-keys let you create scoped API keys for different applications or team members. You can create up to 10 sub-keys per account. Manage sub-keys from the API Keys page in the dashboard. Each sub-key can be individually renamed or revoked without affecting your master key.
See API Keys for a full guide on managing your keys.