Get Customer
curl --request GET \
--url https://app.thinnest.ai/api/v1/customers/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.thinnest.ai/api/v1/customers/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.thinnest.ai/api/v1/customers/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "org_5b2f9c1e-8a4d-4f7b-9e3a-2c6d1f0a7b84",
"name": "Sunrise Dental Clinic",
"externalId": "clinic-0042",
"metadata": {
"city": "Pune",
"tier": "gold",
"seats": 3
},
"timezone": "Asia/Kolkata",
"allottedCallLines": 2,
"archivedAt": null,
"eraseAfter": null,
"createdAt": "2026-10-02T06:14:22.418Z",
"counts": {
"agents": 2,
"phoneNumbers": 1,
"contacts": 418
},
"spendThisMonthMicro": 412500000
}{
"error": "Manage customers without the Thinnest-Workspace header: they belong to your own workspace."
}{
"error": "Unauthorized",
"code": "unauthorized"
}{
"error": "Customer not found."
}{
"error": "This workspace resells the console under white label: its workspaces are clients, managed in White label → Clients, not API customers."
}{
"error": "Over 240 requests a minute. Slow down and retry.",
"code": "rate_limit_resources",
"limit": {
"name": "resources",
"perMinute": 240
}
}Customers
Get Customer
One customer, with how many agents, active phone numbers and contacts it has and what its usage has cost you since the 1st of this month (UTC). Deleted customers waiting to be erased are found too.
GET
/
customers
/
{id}
Get Customer
curl --request GET \
--url https://app.thinnest.ai/api/v1/customers/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.thinnest.ai/api/v1/customers/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.thinnest.ai/api/v1/customers/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "org_5b2f9c1e-8a4d-4f7b-9e3a-2c6d1f0a7b84",
"name": "Sunrise Dental Clinic",
"externalId": "clinic-0042",
"metadata": {
"city": "Pune",
"tier": "gold",
"seats": 3
},
"timezone": "Asia/Kolkata",
"allottedCallLines": 2,
"archivedAt": null,
"eraseAfter": null,
"createdAt": "2026-10-02T06:14:22.418Z",
"counts": {
"agents": 2,
"phoneNumbers": 1,
"contacts": 418
},
"spendThisMonthMicro": 412500000
}{
"error": "Manage customers without the Thinnest-Workspace header: they belong to your own workspace."
}{
"error": "Unauthorized",
"code": "unauthorized"
}{
"error": "Customer not found."
}{
"error": "This workspace resells the console under white label: its workspaces are clients, managed in White label → Clients, not API customers."
}{
"error": "Over 240 requests a minute. Slow down and retry.",
"code": "rate_limit_resources",
"limit": {
"name": "resources",
"perMinute": 240
}
}Authorizations
Response
The customer.
A customer, with its counts and this month's spend.