MedListIQ uses Bearer API keys. Every request toDocumentation Index
Fetch the complete documentation index at: https://docs.medlistiq.com/llms.txt
Use this file to discover all available pages before exploring further.
/v1/* must include one:
Creating a key
- Sign in to the portal
- Go to Dashboard → API Keys
- Click Create key, give it a name (e.g.
Production 2026) - Copy the key immediately — it’s shown exactly once. Store it in a password manager or environment variable.
Rotating keys
Best practice for production: rotate keys quarterly or on any suspected leak.- Create a new key
- Deploy the new key to your production environment
- Verify traffic is flowing using the new key (check the old key’s Last used timestamp — should stop updating)
- Revoke the old key from the portal
Error responses
Security notes
- Never commit keys to source control. Use environment variables or a secret manager (Vercel envs, Doppler, 1Password, AWS Secrets Manager, etc).
- Never expose secret keys to the browser. Our keys are server-side only — don’t ship them in a bundle or load them client-side.
- One key per environment is a reasonable minimum; one key per deployed service is even better (so you can isolate blast radius on a rotation).