curl --request GET \
--url https://app.thinnest.ai/api/v1/webhooks/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.thinnest.ai/api/v1/webhooks/{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/webhooks/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"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": 1,
"lastStatus": 500,
"lastError": "Internal Server Error",
"lastSentAt": "2026-10-06T09:12:03.551Z"
},
"createdAt": "2026-09-17T09:41:00.210Z"
}{
"error": "Send a valid API key as `Authorization: Bearer <key>`."
}{
"error": "That endpoint was not found."
}{
"error": "Over 240 requests a minute. Slow down and retry."
}Get Webhook
One endpoint, with its delivery state: how many deliveries in a row have failed, and the last status, error and time. Never the signing secret.
curl --request GET \
--url https://app.thinnest.ai/api/v1/webhooks/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.thinnest.ai/api/v1/webhooks/{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/webhooks/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"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": 1,
"lastStatus": 500,
"lastError": "Internal Server Error",
"lastSentAt": "2026-10-06T09:12:03.551Z"
},
"createdAt": "2026-09-17T09:41:00.210Z"
}{
"error": "Send a valid API key as `Authorization: Bearer <key>`."
}{
"error": "That endpoint was not found."
}{
"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.
"org_3fKq9TzQ1mN8vB2xR7cLpA"
Path Parameters
The endpoint's id (wh_…).
Response
The endpoint.
An endpoint an agent's events are sent to.
The endpoint's id (wh_…).
"wh_e1c5a7d2-9b3f-4c86-a0e4-5d2b7f913c08"
The agent whose events it receives (ag_…); null for an endpoint that receives every customer's events (includeCustomers).
"ag_3f6a9c21-7d4e-4b58-9a1f-0c2e8b7d5a34"
Whether it receives the events of every agent in every one of this developer's customers, each delivery's data naming the customer as workspaceId.
false
Where events go: an https:// URL or an email address.
"https://crm.sunrisedental.in/hooks/agent"
The events it receives. ["*"] means every event, now and as new ones are added.
*, lead.captured, conversation.escalated, conversation.resolved, call.completed, call.analysed, campaign.finished ["call.analysed", "lead.captured"]
Whether events are sent to it. Turned off by itself after five failed deliveries in a row.
true
How delivering to it has gone.
Show child attributes
Show child attributes
"2026-09-17T09:41:00.210Z"