Overview
This endpoint provides basic statistics about your debt collection activities, including total counts of debts and followups.Authentication
Requires a valid OAuth 2.0 access token with thecompany:read scope.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
{
"error": false,
"message": "Success",
"data": {
"debts": {
"total": 1247
},
"followups": {
"total": 3421
}
}
}
Retrieve comprehensive statistics and analytics for your company
company:read scope.
curl -X GET "/external-api/v1/company/statistics" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json"
const response = await fetch('/external-api/v1/company/statistics', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type': 'application/json'
}
});
const stats = await response.json();
{
"error": false,
"message": "Success",
"data": {
"debts": {
"total": 1247
},
"followups": {
"total": 3421
}
}
}