Skip to main content
POST
https://api.uservox.ai
/
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>"
}
'
{
  "success": true,
  "data": {
    "attempts": {
      "total": 123,
      "data": [
        {}
      ]
    },
    "connected": {
      "total": 123,
      "data": [
        {}
      ]
    },
    "incoming": {
      "total": 123,
      "data": [
        {}
      ]
    },
    "meaningfullyHandled": {
      "total": 123,
      "data": [
        {}
      ]
    },
    "interested": {
      "total": 123,
      "data": [
        {}
      ]
    }
  }
}

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.

Response

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