curl --request GET \
--url https://app.thinnest.ai/api/v1/do-not-call \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.thinnest.ai/api/v1/do-not-call', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.thinnest.ai/api/v1/do-not-call"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"object": "do_not_call",
"phone": "+919876543210",
"source": "call",
"callId": "out_9f2c1a44-6b0e-4c1d-8a7f-2e5b3c9d1f60",
"reason": "Asked on a call not to be called again.",
"createdAt": "2026-10-07T09:12:44.018Z"
}
],
"nextCursor": null
}List Do-Not-Call Numbers
The workspace’s do-not-call list, newest first.
curl --request GET \
--url https://app.thinnest.ai/api/v1/do-not-call \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.thinnest.ai/api/v1/do-not-call', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.thinnest.ai/api/v1/do-not-call"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"object": "do_not_call",
"phone": "+919876543210",
"source": "call",
"callId": "out_9f2c1a44-6b0e-4c1d-8a7f-2e5b3c9d1f60",
"reason": "Asked on a call not to be called again.",
"createdAt": "2026-10-07T09:12:44.018Z"
}
],
"nextCursor": null
}Authorizations
Your API key (ta_live_…) from Settings → API keys, sent as Authorization: Bearer <key>. Keep it on a server: it can message every customer you have. A key is full, build or read-only; a request its level does not allow is refused with 403.
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"
Query Parameters
How many items to return, 1 to 100.
1 <= x <= 100The nextCursor from the previous page. Leave it out for the first page.