{
"count": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Calls
Get Call Count
Get the count of calls in your organization with filtering options.
GET
/
api
/
v1
/
calls
/
count
{
"count": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}This endpoint returns the total number of calls that match a given set of filters. It is useful for quickly getting a count without retrieving the full list of call objects.
Query Parameters
This endpoint supports a subset of the List Calls filters:status(string, optional)assistant_id(integer, optional)date_from(string, optional)date_to(string, optional)
customer_phone, call_sid, assistant_name) or duration filters. Use List Calls when you need those filters and read the total field from the paginated response.
Response
The response is a JSON object containing the total count of matching calls.Response
{
"count": 42
}
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Filter by call status
Filter by assistant ID
Filter calls from this date
Filter calls to this date
Response
Successful Response
Response model for call count.
⌘I