Api referenceVoice
Get Voice Call Statistics
Authorization
apiKey X-API-Key<token>
API key for authentication
In: header
Query Parameters
startDate?string
Format
date-timeendDate?string
Format
date-timeResponse Body
application/json
curl -X GET "https://samva.app/api/v1/voice/calls/stats"{
"totalCalls": 0,
"byStatus": {
"property1": 0,
"property2": 0
},
"byDirection": {
"property1": 0,
"property2": 0
},
"byTransport": {
"property1": 0,
"property2": 0
},
"totalDurationSeconds": 0,
"averageDurationSeconds": 0
}