v1

latestOpenAPI 3.0.1Apache 2.02026-07-2473111182.6 KB
Lead

Get leads stats

List total leads, total conversions, number of leads and conversions made over the past 30 days, and rate of conversions over the past 30 days.

get/api/business/{businessId}/branch/{branchId}/leads/stats

Path parameters

businessIdstring required
branchIdstring required

Response

Leads stats listed

totalLeadsinteger

Total number of leads created

totalConversionsinteger

Total number of leads converted

leads30Dayinteger

Number of leads created in the past 30 days

conversions30Dayinteger

Number of leads converted in the past 30 days

conversionRate30Daynumber double

Rate of lead conversion over the past 30 days

Example response

{
  "totalLeads": 13,
  "totalConversions": 3,
  "leads30Day": 5,
  "conversions30Day": 2,
  "conversionRate30Day": 2
}