Getting Started
Authentication
To start using the ShuttleAI API, register for an account at ShuttleAI and obtain a FREE API key from your dashboard.
API Key Requirement
Every API request must include your API key, provided in the Authorization HTTP header as illustrated below:
Secure your API key at all times! Avoid sharing it, and if you suspect it’s been compromised, regenerate it immediately from your dashboard.
Environment Variables
Setting your API key as an environment variable simplifies authorization by not having to explicitly include the key in your code.
When
SHUTTLEAI_API_KEY
is set as an environment variable, the API will automatically utilize it, eliminating the need for manual entry in your code.