Skip to main content
POST
/
api
/
v1
/
analytics
/
customer
/
stats
Get Activity Stats
curl --request POST \
  --url https://api.uservox.ai/api/v1/analytics/customer/stats \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "start": 123,
  "end": 123,
  "processId": "<string>",
  "groupId": "<string>",
  "timezoneOffsetMinutes": 123,
  "includeUniqueLeads": true
}
'
{
  "success": true,
  "data": {
    "attempts": {
      "total": 123,
      "data": [
        {}
      ]
    },
    "connected": {
      "total": 123,
      "data": [
        {}
      ]
    },
    "incoming": {
      "total": 123,
      "data": [
        {}
      ]
    },
    "meaningfullyHandled": {
      "total": 123,
      "data": [
        {}
      ]
    },
    "interested": {
      "total": 123,
      "data": [
        {}
      ]
    },
    "unique": {
      "attempts": {},
      "connected": {},
      "interested": {}
    }
  }
}

Body Parameters

start
number
required
Start timestamp (ms) for the analytics period.
end
number
required
End timestamp (ms) for the analytics period.
processId
string
Optional ID to segment stats by process.
groupId
string
Optional ID to segment stats by group.
timezoneOffsetMinutes
number
Optional timezone offset in minutes (e.g., 330 for IST) used for unique-lead day buckets.
includeUniqueLeads
boolean
Optional flag to include a unique block with unique-lead metrics (attempts, connected, interested).

Response

success
boolean
Indicates if the request was successful
data
object
The analytics statistics data.