Overview
The Stover API supports two authentication modes:| Mode | Use Case | Authentication |
|---|---|---|
| Authenticated | Server-to-server integrations | API Key (Bearer token) |
| Public | Lead capture forms | None (rate limited) |
Authenticated Mode
Use authenticated mode for server-side integrations.API Key Format
Making Requests
Include your API key in theAuthorization header:
Getting an API Key
- Log in to your Stover Dashboard
- Navigate to Settings > API Keys
- Click Generate New Key
- Copy and securely store your API key
Public Mode
Public mode allows contact creation from websites without exposing API keys.When to Use
- Contact forms on your website
- Landing page lead capture
- Newsletter signup forms
Limits
| Limit | Value |
|---|---|
| Rate limit | 20 requests/min per IP |
| Payload size | 50KB max |
Making Requests
Omit theAuthorization header:
Error Codes
| Status | Description |
|---|---|
| 401 | Missing or invalid API key |
| 403 | Insufficient permissions |
| 429 | Rate limit exceeded |
Best Practices
Never expose API keys
Use public mode for browser requests.
Use environment variables
Store keys in env vars, not source code.
Rotate keys regularly
Generate new keys periodically.
Use HTTPS only
Always use HTTPS for requests.