Analytics
Get customer analytics
Changed onRetrieve customer metrics including total count, new customers, and geographic distribution.
get/api/analytics/customers
Request
- Base URLhttps://api.novabilling.one
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
dateFromstring
Example:2025-01-01
dateTostring
Example:2025-12-31
currencystring
groupBy'day' | 'week' | 'month'
Response
Customer metrics and distribution
Example response
{
"totalCustomers": 150,
"newCustomers": 12,
"arpu": "83.33",
"totalRevenue": "12500.0000"
}Changes
- info
added the media type
application/jsonfor the response with the status
- info