Authentication
7/28/26Less than 1 minute
Authentication — QuickAPI_快快API网络商店
QuickAPI uses API Keys for authentication. Each request must include your API Key in the HTTP Header.
Getting an API Key
- Log in to QuickAPI Console
- Go to the API Keys page
- Click Create New API Key
- Name your key (optional, for identification)
- Copy and securely store your API Key
Using the API Key
Include your API Key in the request header using Bearer Token:
Authorization: Bearer YOUR_API_KEYExample
curl https://api.quickapi.store/v1/chat/completions \
-H "Authorization: Bearer sk-xxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"model": "gpt-4o-mini", "messages": [{"role": "user", "content": "Hello"}]}'API Key Management
Creating Multiple Keys
You can create multiple API Keys for different scenarios:
- Different keys for development environments
- Different keys for different projects
- Set different access permissions and quotas
Key Security
⚠️ Security Tips
- Never hardcode API Keys in client-side code
- Never commit API Keys to Git repositories
- Use environment variables or config files
- Rotate API Keys regularly
- Regenerate immediately if compromised

