Get Webhooks
curl --request GET \
--url https://api.agentline.cloud/v1/webhooks \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.agentline.cloud/v1/webhooks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.agentline.cloud/v1/webhooks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Webhooks
Get Webhooks
List the account’s per-agent webhook configuration(s).
Secrets are masked. Pass agent_id to inspect a single agent’s webhook.
The full secret is only ever shown once, on the POST that creates/replaces it.
GET
/
v1
/
webhooks
Get Webhooks
curl --request GET \
--url https://api.agentline.cloud/v1/webhooks \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.agentline.cloud/v1/webhooks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.agentline.cloud/v1/webhooks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}