Api reference
Customer Analytics
Get analytics for a specific customer
Related endpoints
GET /analytics/revenue/mrr-summary— MRR SummaryGET /analytics/revenue/time-series— Revenue Time SeriesGET /analytics/invoices/ar-aging— A/R Aging ReportGET /analytics/collections/dso— Days Sales OutstandingGET /analytics/customers/ltv— Customer LTVGET /analytics/payment-links/conversion— Payment Link ConversionGET /analytics/checkout/funnel— Checkout Funnel AnalyticsGET /analytics/checkout/abandonment/summary— Abandonment Alert Summary
Common errors
404 resource_missing— the referenced resource does not exist or is not visible to your key.
x-api-key<token>
Your RevKeen API key (powered by Unkey). Get it from Dashboard > Settings > API Keys. Use rk_sandbox_* for test mode and rk_live_* for production.
In: header
Path Parameters
customerId*string
Customer UUID
Format
uuidResponse Body
application/json
application/json
curl "https://api.revkeen.com/v2/analytics/customers/00000000-0000-0000-0000-000000000000" \ -H "x-api-key: $REVKEEN_API_KEY"{
"customerId": "string",
"totalRevenue": 0,
"totalInvoices": 0,
"avgInvoiceValue": 0,
"outstandingBalance": 0,
"paymentHistory": [
{
"property1": null,
"property2": null
}
]
}{
"error": "string"
}