The LeadBoxer API uses API key authentication to secure access to endpoints. All API requests must include a valid API key to authenticate.
| API Key | Label | Last Used | |
|---|---|---|---|
Authentication Method
API key authentication is implemented using the x-api-key header. This method provides a simple and secure way to authenticate your requests.
Header Format
Include your API key in the request header as follows:
x-api-key: YOUR_API_KEY
Getting Your API Key
New to LeadBoxer? Get a free key at signup.leadboxer.com. Enter your email and we email you an API key with 25,000 free credits.
Already have an account? Log in to the LeadBoxer app and go to Integrations → API key to generate or copy your key.
API keys don't expire. Store your key securely and treat it like a password. If a key leaks, rotate it in the app.
Making Authenticated Requests
Example Request (cURL)
curl -X GET "https://api.leadboxer.com/api/endpoint" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json"Keep Your API Key Safe
- Never expose your API key in client-side code, public repositories, or version control
- Store API keys in environment variables or secure configuration files
- Use different API keys for development, staging, and production environments
Error Responses
401 Unauthorized
Returned when the API key is missing, invalid, or expired.
{
"error": "Unauthorized",
"message": "Invalid or missing API key"
}Solution: Verify that your API key is correct and included in the x-api-key header.
API Key Management
Viewing Your API Keys
Navigate to your account settings to view active API key
Support
If you encounter authentication issues or need assistance:
- Check the API status page
- Review the troubleshooting guide
- Contact support at [email protected]
- Visit our community forums for peer assistance
