curl --request GET \
--url https://api.trata.ai/v1/stats \
--header 'Authorization: Bearer <token>'
{
"response": {
"no_of_prospects": 123,
"appointment_scheduled": 123,
"unqualified": 123,
"average_call_duration": 123
}
}
Get aggregated stats from Trata AI like call count, prospect count, etc.
curl --request GET \
--url https://api.trata.ai/v1/stats \
--header 'Authorization: Bearer <token>'
{
"response": {
"no_of_prospects": 123,
"appointment_scheduled": 123,
"unqualified": 123,
"average_call_duration": 123
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful Response
The response is of type object
.