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:

  1. Sign in to your account
  2. Navigate to API Keys
  3. Click "Create API Key"
  4. 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.