curl --request GET \
--url https://app.thinnest.ai/api/v1/calls/summary \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.thinnest.ai/api/v1/calls/summary', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.thinnest.ai/api/v1/calls/summary"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"days": 7,
"timezone": "Asia/Kolkata",
"grain": "day",
"calls": 230,
"inbound": 140,
"outbound": 90,
"answered": 198,
"missed": 26,
"failed": 6,
"seconds": 41820,
"debitMicro": 1394000000,
"surfaces": {
"phone": 210,
"web": 14,
"whatsapp": 6
},
"series": [
{
"bucket": "2026-10-06T00:00:00",
"inbound": 22,
"outbound": 15,
"answered": 33,
"missed": 4,
"minutes": 118.4
}
]
}Get Calls Summary
Call totals for the last days — calls, inbound, outbound, answered, missed, failed, seconds, what they cost, by surface — and a series by hour (days=1) or by day, bucketed in your workspace’s time zone. The dashboard’s calls figures. Any key may call this, a read-only key included.
curl --request GET \
--url https://app.thinnest.ai/api/v1/calls/summary \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.thinnest.ai/api/v1/calls/summary', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.thinnest.ai/api/v1/calls/summary"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"days": 7,
"timezone": "Asia/Kolkata",
"grain": "day",
"calls": 230,
"inbound": 140,
"outbound": 90,
"answered": 198,
"missed": 26,
"failed": 6,
"seconds": 41820,
"debitMicro": 1394000000,
"surfaces": {
"phone": 210,
"web": 14,
"whatsapp": 6
},
"series": [
{
"bucket": "2026-10-06T00:00:00",
"inbound": 22,
"outbound": 15,
"answered": 33,
"missed": 4,
"minutes": 118.4
}
]
}Authorizations
Headers
Developers only: the customer workspace this request acts in — its org_… id from POST /customers. Leave it out to act in your own workspace. Refused with 404 (Workspace not found.) when the id is unknown, is not one of your customers, or is not an org_… id; 410 when that customer was deleted (restore it with POST /customers/{id}/restore until it is erased); 403 when the key belongs to one customer workspace (it cannot act as another); 400 when your workspace is not a developer workspace. /customers/* and GET /customers/usage are your own workspace's and refuse the header with 400: call them without it.
"org_3fKq9TzQ1mN8vB2xR7cLpA"
Response
Call totals.