Introduction
Welcome to the Lead Hero API documentation. Use this reference to integrate with the Lead Hero platform and automate your lead management workflows.
Base URL
https://api.leadhero.io
Authentication
All API requests require an organization API key. You can pass it in two ways:
Bearer Token (recommended)
Authorization: Bearer <your-api-key>
Header
x-api-key: <your-api-key>
Getting Your API Key
- Log in to app.leadhero.io
- Navigate to Settings → API Keys
- Create a new API key and copy it
Rate Limiting
API requests are rate-limited per IP. When you exceed 120 requests within a 30-second window, the API returns a 429 Too Many Requests response.
Response Format
All responses are JSON. Successful responses include the requested data. Error responses include an error field with a human-readable message.
{
"error": "Unauthorized",
"message": "Invalid or missing API key"
}