Analytics

Read the category breakdown of automatic per-lead loss analyses for a period

Why leads were lost over a period, grouped into categories from the automatic per-lead loss analyses.

API key scopes: analytics:read.

get/api/analytics/loss-reasons

Request

  • Base URL: https://api.setluca.com
  • URL: https://api.setluca.com/api/analytics/loss-reasons
  • Auth: one of:
    • API key in cookie luca.session_token
    • API key in header x-api-key
    • HTTP bearer

Query parameters

period'this_week' | 'this_month' | 'last_week' | 'last_month' | 'last_30_days'

Reporting window the figures cover.

Headers

Luca-API-Version'1'

The major version of the API this client was built against. Omit it and the request is served by the current major version. Any other value is refused with 400 unsupported_api_version.

Response

ok

period'this_week' | 'this_month' | 'last_week' | 'last_month' | 'last_30_days' required
totalCountinteger required
estimatedRevenueLostCentsinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.