Authentication
API Keys
Generate API keys from Settings > API Keys in the OutPilot dashboard.
Using your key
Include the key as a Bearer token in the Authorization header:
curl -X GET https://app.outpilot.in/api/v1/leads \
-H "Authorization: Bearer op_live_xxxxxxxxxxxxxxxx"
Key types
| Type | Prefix | Access |
|---|---|---|
| Live | op_live_ | Full production access |
| Test | op_test_ | Sandbox / test data |
Security best practices
- Never expose API keys in client-side code
- Rotate keys regularly from the dashboard
- Use test keys during development