Authentication
All API requests require authentication using an API key. Include your API key in the Authorization header.
Getting an API key
Generate an API key from your dashboard:
- Sign in to your account
- Navigate to API Keys
- Click "Create API Key"
- Copy and store your key securely
Using the API key
bash
curl -X POST https://api.autoglot.app/v1/translate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"github_repo": "owner/repo", "files": [...], "target_languages": ["de", "fr"]}'Security Tip: Never commit your API key to version control. Use environment variables or a secrets manager.