Sudo uses Bearer token authentication. Every request must include your secret API key in theDocumentation Index
Fetch the complete documentation index at: https://docs.sudoapp.dev/llms.txt
Use this file to discover all available pages before exploring further.
Authorization header:
Using an API key
Rotating or revoking keys
If a key is ever exposed you can disable or delete it from the portal and generate a new one immediately. Requests bearing a revoked key will receive a401 error.
Minimum headers
Only two headers are required:| Header | Example | Notes |
|---|---|---|
Authorization | Bearer sk-abc123 | Required |
Content-Type | application/json | Required |