DocsAuthentication
SecurityAuthentication
Learn how to authenticate your API requests securely.
API Keys
AI Blog Studio uses API keys to authenticate requests. Include your API key in the Authorization header of every request.
Example Request
curl https://api.aiblogstudio.com/v1/blogs \
-H "Authorization: Bearer sk_live_abc123..." \
-H "Content-Type: application/json"Managing API Keys
You can create and manage API keys from your dashboard:
- 1Go to Settings → API Keys
- 2Click "Create New Key"
- 3Give your key a descriptive name
- 4Copy and securely store your key
Security Best Practices
- Never expose API keys in client-side code
- Use environment variables to store keys
- Rotate keys periodically
- Use separate keys for development and production
Key Types
Live Keys
Prefix: sk_live_
Use in production environments.
Test Keys
Prefix: sk_test_
Use for development and testing.