Base URL
Response Format
All responses use a consistent envelope format.Success Response
Error Response
Error Codes
| Code | Description |
|---|---|
UNAUTHORIZED | Missing or invalid API key |
VALIDATION_ERROR | Invalid request parameters or body |
NOT_FOUND | Resource not found |
FORBIDDEN | Action is not allowed |
CONFLICT | Resource conflict (e.g., duplicates) |
INVALID_DATE | Invalid date format |
INVALID_FILTER | Invalid filter parameter |
INTERNAL_ERROR | Server error |
Pagination
All list endpoints support pagination usinglimit and page parameters.
| Parameter | Type | Default | Max | Description |
|---|---|---|---|---|
limit | number | 50 | 100 (500 for ad-spend) | Results per page |
page | number | 1 | - | Page number (1-indexed) |
Pagination Response
Iterating Through Pages
Rate Limiting
Currently, there are no rate limits on the API. This may change in the future.Changelog
| Version | Date | Changes |
|---|---|---|
| 1.1.0 | 2026-03 | Added POST /api/leads and PATCH /api/leads docs, fixed source values |
| 1.0.0 | 2024-01 | Initial API release |