VUZDevelopers

Get client lifetime value distribution

GET
/analytics/clients/ltv

Retrieves distribution of clients by lifetime value (LTV).

Data Returned:

  • LTV distribution across ranges
  • Average LTV
  • Median LTV
  • Top percentile LTV
X-Api-Key<token>

Business API key, e.g. vuz_ab12cdef... Created via Settings → Integrations → API Keys. Unlike partner keys, a public API key's STRING does not encode its environment — isolation instead comes from a completely separate sandbox database: a key minted on the Sandbox server (above) only ever reads/writes sandbox data and can never see or affect production, regardless of what the key looks like.

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/analytics/clients/ltv"
{  "distribution": [    {      "range": "string",      "rangeEn": "string",      "minValue": 0,      "maxValue": 0,      "count": 0,      "percentage": 0    }  ],  "avgLTV": 0,  "medianLTV": 0,  "topPercentileLTV": 0,  "currency": "string"}