Get the webhook
curl --request GET \
--url https://api.telleo.ai/v1/webhook \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.telleo.ai/v1/webhook"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.telleo.ai/v1/webhook', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "webhook",
"url": "<string>",
"enabled": true,
"events": [
"call.completed",
"call.not_connected",
"human_call.completed",
"human_call.not_connected",
"human_call.analysis_ready"
],
"secret": "whsec_3f9a…",
"secret_hint": "whsec_…9c1d",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Webhook
Get the webhook
Your webhook endpoint. The secret itself is not returned; secret_hint shows its ends.
Scope: webhooks:manage.
GET
/
webhook
Get the webhook
curl --request GET \
--url https://api.telleo.ai/v1/webhook \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.telleo.ai/v1/webhook"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.telleo.ai/v1/webhook', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "webhook",
"url": "<string>",
"enabled": true,
"events": [
"call.completed",
"call.not_connected",
"human_call.completed",
"human_call.not_connected",
"human_call.analysis_ready"
],
"secret": "whsec_3f9a…",
"secret_hint": "whsec_…9c1d",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Authorizations
Response
The webhook.