Get business lead communication analytics
curl --request GET \
--url https://api.leadping.ai/analytics/my{
"range": {
"startAt": "2023-11-07T05:31:56Z",
"endAt": "2023-11-07T05:31:56Z",
"bucketSize": 123
},
"summary": {
"leads": "<string>",
"leadsComparison": {
"current": "<string>",
"previous": "<string>",
"changePercent": "<string>",
"direction": "<string>"
},
"averageResponseMinutes": "<string>",
"medianResponseMinutes": "<string>",
"respondedWithinFiveMinutesPercent": "<string>",
"missedLeads": "<string>",
"unreadMessages": "<string>",
"missedCalls": "<string>",
"smsSent": "<string>",
"smsReceived": "<string>",
"callsPlaced": "<string>",
"callsReceived": "<string>",
"callMinutes": "<string>",
"usageSpend": "<string>",
"walletBalance": "<string>",
"billingStatus": "<string>",
"walletStatus": "<string>"
},
"leadTrend": {
"total": "<string>",
"comparison": {
"current": "<string>",
"previous": "<string>",
"changePercent": "<string>",
"direction": "<string>"
},
"points": [
{
"startAt": "2023-11-07T05:31:56Z",
"endAt": "2023-11-07T05:31:56Z",
"label": "<string>",
"value": "<string>"
}
]
},
"responseMetrics": {
"averageMinutes": "<string>",
"medianMinutes": "<string>",
"respondedWithinFiveMinutesPercent": "<string>",
"respondedLeads": "<string>",
"unrespondedLeads": "<string>",
"unreadMessages": "<string>",
"missedCalls": "<string>",
"averageMinutesTrend": [
{
"startAt": "2023-11-07T05:31:56Z",
"endAt": "2023-11-07T05:31:56Z",
"label": "<string>",
"value": "<string>"
}
]
},
"communicationUsage": {
"smsSent": "<string>",
"smsReceived": "<string>",
"failedOrBlockedSms": "<string>",
"callsPlaced": "<string>",
"callsReceived": "<string>",
"answeredCalls": "<string>",
"missedCalls": "<string>",
"callMinutes": "<string>",
"usageSpend": "<string>",
"trend": [
{
"startAt": "2023-11-07T05:31:56Z",
"endAt": "2023-11-07T05:31:56Z",
"label": "<string>",
"smsSent": "<string>",
"smsReceived": "<string>",
"calls": "<string>",
"callMinutes": "<string>",
"spend": "<string>"
}
]
},
"leadSources": [
{
"source": "<string>",
"leads": "<string>",
"percent": "<string>"
}
],
"automationHealth": {
"automationCount": "<string>",
"enabledCount": "<string>",
"executions": "<string>",
"successCount": "<string>",
"failureCount": "<string>",
"lastFailure": {
"automationId": "<string>",
"name": "<string>",
"failedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
},
"failingAutomations": [
{
"automationId": "<string>",
"name": "<string>",
"failedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
]
},
"activationHealth": {
"overallStatus": "<string>",
"items": [
{
"key": "<string>",
"label": "<string>",
"status": "<string>",
"detail": "<string>",
"actionHref": "<string>"
}
]
},
"needsAttention": [
{
"severity": "<string>",
"title": "<string>",
"detail": "<string>",
"actionHref": "<string>",
"actionText": "<string>"
}
],
"generatedAt": "2023-11-07T05:31:56Z"
}Analytics
Get business lead communication analytics
Returns current-business analytics for lead communication, including activity volume, response metrics, and date-range filtering.
GET
/
analytics
/
my
Get business lead communication analytics
curl --request GET \
--url https://api.leadping.ai/analytics/my{
"range": {
"startAt": "2023-11-07T05:31:56Z",
"endAt": "2023-11-07T05:31:56Z",
"bucketSize": 123
},
"summary": {
"leads": "<string>",
"leadsComparison": {
"current": "<string>",
"previous": "<string>",
"changePercent": "<string>",
"direction": "<string>"
},
"averageResponseMinutes": "<string>",
"medianResponseMinutes": "<string>",
"respondedWithinFiveMinutesPercent": "<string>",
"missedLeads": "<string>",
"unreadMessages": "<string>",
"missedCalls": "<string>",
"smsSent": "<string>",
"smsReceived": "<string>",
"callsPlaced": "<string>",
"callsReceived": "<string>",
"callMinutes": "<string>",
"usageSpend": "<string>",
"walletBalance": "<string>",
"billingStatus": "<string>",
"walletStatus": "<string>"
},
"leadTrend": {
"total": "<string>",
"comparison": {
"current": "<string>",
"previous": "<string>",
"changePercent": "<string>",
"direction": "<string>"
},
"points": [
{
"startAt": "2023-11-07T05:31:56Z",
"endAt": "2023-11-07T05:31:56Z",
"label": "<string>",
"value": "<string>"
}
]
},
"responseMetrics": {
"averageMinutes": "<string>",
"medianMinutes": "<string>",
"respondedWithinFiveMinutesPercent": "<string>",
"respondedLeads": "<string>",
"unrespondedLeads": "<string>",
"unreadMessages": "<string>",
"missedCalls": "<string>",
"averageMinutesTrend": [
{
"startAt": "2023-11-07T05:31:56Z",
"endAt": "2023-11-07T05:31:56Z",
"label": "<string>",
"value": "<string>"
}
]
},
"communicationUsage": {
"smsSent": "<string>",
"smsReceived": "<string>",
"failedOrBlockedSms": "<string>",
"callsPlaced": "<string>",
"callsReceived": "<string>",
"answeredCalls": "<string>",
"missedCalls": "<string>",
"callMinutes": "<string>",
"usageSpend": "<string>",
"trend": [
{
"startAt": "2023-11-07T05:31:56Z",
"endAt": "2023-11-07T05:31:56Z",
"label": "<string>",
"smsSent": "<string>",
"smsReceived": "<string>",
"calls": "<string>",
"callMinutes": "<string>",
"spend": "<string>"
}
]
},
"leadSources": [
{
"source": "<string>",
"leads": "<string>",
"percent": "<string>"
}
],
"automationHealth": {
"automationCount": "<string>",
"enabledCount": "<string>",
"executions": "<string>",
"successCount": "<string>",
"failureCount": "<string>",
"lastFailure": {
"automationId": "<string>",
"name": "<string>",
"failedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
},
"failingAutomations": [
{
"automationId": "<string>",
"name": "<string>",
"failedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
]
},
"activationHealth": {
"overallStatus": "<string>",
"items": [
{
"key": "<string>",
"label": "<string>",
"status": "<string>",
"detail": "<string>",
"actionHref": "<string>"
}
]
},
"needsAttention": [
{
"severity": "<string>",
"title": "<string>",
"detail": "<string>",
"actionHref": "<string>",
"actionText": "<string>"
}
],
"generatedAt": "2023-11-07T05:31:56Z"
}Query Parameters
Pattern:
^-?(?:0|[1-9]\d*)$Response
OK
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I

