API Key Authentication
The Huntd API uses API keys for authentication. All requests must include your API key in theX-API-Key header.
API Key Format
hntd_abc12345_xK9mN2pQ4rS7tU0vW3xY
Making Requests
Obtaining an API Key
Contact your organization administrator to get an API key.API keys are shown only once when created. If you lose your key, request a new one.
Security Best Practices
- Store API keys in environment variables
- Never commit keys to version control
- Only make API calls from server-side code
- Monitor usage for unexpected activity
Authentication Errors
| Error Code | HTTP Status | Description |
|---|---|---|
INVALID_API_KEY | 401 | API key is missing, invalid, malformed, or disabled |