Authentication
All API requests require an API key passed in the request header.
API Key Format
API keys are prefixed with fk_ followed by 64 hexadecimal characters:
text
fk_a1b2c3d4e5f6...64 hex charactersRequest Header
Include your API key in the X-API-Key header on every request.
javascript
const response = await fetch('https://api.formfav.com/v1/form?...', {
headers: {
'X-API-Key': 'your_api_key_here'
}
});Rate Limit Headers
Every authenticated GET response includes rate limit information in the headers:
| Header | Description |
|---|---|
X-RateLimit-Limit-Day | Your request limit per rolling 24 hours, or unlimited |
X-RateLimit-Remaining-Day | Requests left in the last 24 hours, shared by all your keys and connected apps. Refreshed about once a minute; not sent on unlimited plans. GET /v1/usage returns the same number without using a request. |
Retry-After | Seconds until requests are accepted again (only on 429 responses). See Rate Limiting. |
Keep your keys secret
Never expose API keys in client-side code, public repositories, or browser requests. Always make API calls from your server or backend.