Get Stats
Analytics
Get Stats
Retrieve dashboard statistics including usage, lead counts, and conversion metrics
POST
Get Stats
Request Body
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
period | string | No | current | Period: current, previous, custom |
startDate | string | If custom | - | Start date (YYYY-MM-DD) |
endDate | string | If custom | - | End date (YYYY-MM-DD) |
{}). Sending no body returns a 400 error.
Example Request
Example Response
The
periodStart and periodEnd fields in the usage object will be null if there is no active subscription.Error Responses
| Status | Code | Description |
|---|---|---|
| 400 | VALIDATION_ERROR | Invalid request body, or missing dates for custom period |
| 400 | INVALID_DATE | Invalid date format (use YYYY-MM-DD) |
| 401 | UNAUTHORIZED | Missing or invalid API key |
| 500 | INTERNAL_ERROR | Server error |
Authorizations
API key for authentication
Body
application/json
Stats request parameters
Period to retrieve statistics for
Available options:
current, previous, custom Start date (YYYY-MM-DD). Required when period is custom.
Example:
"2026-01-01"
End date (YYYY-MM-DD). Required when period is custom.
Example:
"2026-03-01"