curl --request GET \
--url https://app.thinnest.ai/api/v1/webhooks \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.thinnest.ai/api/v1/webhooks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.thinnest.ai/api/v1/webhooks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"id": "wh_e1c5a7d2-9b3f-4c86-a0e4-5d2b7f913c08",
"agent": "ag_3f6a9c21-7d4e-4b58-9a1f-0c2e8b7d5a34",
"includeCustomers": false,
"url": "https://crm.sunrisedental.in/hooks/agent",
"events": [
"call.analysed",
"lead.captured"
],
"enabled": true,
"delivery": {
"failuresInARow": 0,
"lastStatus": 200,
"lastError": null,
"lastSentAt": "2026-10-06T09:12:03.551Z"
},
"createdAt": "2026-09-17T09:41:00.210Z"
},
{
"id": "wh_7b20d9e4-1c6a-4f3e-8d95-a4c1e0b2f736",
"agent": "ag_3f6a9c21-7d4e-4b58-9a1f-0c2e8b7d5a34",
"includeCustomers": false,
"url": "https://hooks.zapier.com/hooks/catch/1840221/u7kq2x/",
"events": [
"*"
],
"enabled": false,
"delivery": {
"failuresInARow": 5,
"lastStatus": 0,
"lastError": "fetch failed",
"lastSentAt": "2026-10-04T17:30:44.019Z"
},
"createdAt": "2026-09-10T12:02:18.774Z"
},
{
"id": "wh_c4a8e2f1-5d7b-4e03-b9a6-3f1d8c2e7a95",
"agent": "ag_3f6a9c21-7d4e-4b58-9a1f-0c2e8b7d5a34",
"includeCustomers": false,
"url": "mailto:support@sunrisedental.in",
"events": [
"conversation.escalated"
],
"enabled": true,
"delivery": {
"failuresInARow": 0,
"lastStatus": 200,
"lastError": null,
"lastSentAt": "2026-10-05T11:20:09.402Z"
},
"createdAt": "2026-09-12T08:30:51.116Z"
}
],
"nextCursor": null
}List Webhooks
The workspace’s webhook endpoints, newest first — those added by API and those added in the console alike — each with its delivery state. Filter to one agent’s with agent.
curl --request GET \
--url https://app.thinnest.ai/api/v1/webhooks \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.thinnest.ai/api/v1/webhooks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.thinnest.ai/api/v1/webhooks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"id": "wh_e1c5a7d2-9b3f-4c86-a0e4-5d2b7f913c08",
"agent": "ag_3f6a9c21-7d4e-4b58-9a1f-0c2e8b7d5a34",
"includeCustomers": false,
"url": "https://crm.sunrisedental.in/hooks/agent",
"events": [
"call.analysed",
"lead.captured"
],
"enabled": true,
"delivery": {
"failuresInARow": 0,
"lastStatus": 200,
"lastError": null,
"lastSentAt": "2026-10-06T09:12:03.551Z"
},
"createdAt": "2026-09-17T09:41:00.210Z"
},
{
"id": "wh_7b20d9e4-1c6a-4f3e-8d95-a4c1e0b2f736",
"agent": "ag_3f6a9c21-7d4e-4b58-9a1f-0c2e8b7d5a34",
"includeCustomers": false,
"url": "https://hooks.zapier.com/hooks/catch/1840221/u7kq2x/",
"events": [
"*"
],
"enabled": false,
"delivery": {
"failuresInARow": 5,
"lastStatus": 0,
"lastError": "fetch failed",
"lastSentAt": "2026-10-04T17:30:44.019Z"
},
"createdAt": "2026-09-10T12:02:18.774Z"
},
{
"id": "wh_c4a8e2f1-5d7b-4e03-b9a6-3f1d8c2e7a95",
"agent": "ag_3f6a9c21-7d4e-4b58-9a1f-0c2e8b7d5a34",
"includeCustomers": false,
"url": "mailto:support@sunrisedental.in",
"events": [
"conversation.escalated"
],
"enabled": true,
"delivery": {
"failuresInARow": 0,
"lastStatus": 200,
"lastError": null,
"lastSentAt": "2026-10-05T11:20:09.402Z"
},
"createdAt": "2026-09-12T08:30:51.116Z"
}
],
"nextCursor": null
}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"