List Webhooks
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"
}
],
"nextCursor": null
}{
"error": "`agent` is not an agent id."
}{
"error": "Send a valid API key as `Authorization: Bearer <key>`."
}{
"error": "Over 240 requests a minute. Slow down and retry."
}Webhooks
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.
GET
/
webhooks
List Webhooks
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"
}
],
"nextCursor": null
}{
"error": "`agent` is not an agent id."
}{
"error": "Send a valid API key as `Authorization: Bearer <key>`."
}{
"error": "Over 240 requests a minute. Slow down and retry."
}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.
Example:
"org_3fKq9TzQ1mN8vB2xR7cLpA"
Query Parameters
How many items to return, 1 to 100.
Required range:
1 <= x <= 100The nextCursor from the previous page. Leave it out for the first page.
Only this agent's endpoints (ag_…).