List Endpoints
curl --request GET \
--url https://client-backend.oktivo.com/webhooks/endpoints \
--header 'Authorization: Bearer <token>'import requests
url = "https://client-backend.oktivo.com/webhooks/endpoints"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://client-backend.oktivo.com/webhooks/endpoints', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://client-backend.oktivo.com/webhooks/endpoints",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://client-backend.oktivo.com/webhooks/endpoints"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://client-backend.oktivo.com/webhooks/endpoints")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://client-backend.oktivo.com/webhooks/endpoints")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"endpoints": [
{
"webhookId": "wh_abc123def456",
"url": "https://app.example.com/api/ai-calls/results/your-key",
"eventTypes": ["call.ended", "call.analysis_ready", "call.completed"],
"description": "Panzo results",
"agentIds": ["agent_sales_qualifier"],
"isActive": true,
"payloadMode": "standard",
"deliveryProfile": "panzo",
"createdAt": "2025-01-10T12:00:00.000Z"
},
{
"webhookId": "wh_xyz789ghi012",
"url": "https://analytics.company.com/hooks/all-calls",
"eventTypes": ["call.completed"],
"description": "Analytics pipeline",
"agentIds": [],
"isActive": true,
"payloadMode": "standard",
"deliveryProfile": "standard",
"createdAt": "2025-01-05T09:00:00.000Z"
}
]
}
Webhooks
List Endpoints
List all webhook endpoints.
GET
/
webhooks
/
endpoints
List Endpoints
curl --request GET \
--url https://client-backend.oktivo.com/webhooks/endpoints \
--header 'Authorization: Bearer <token>'import requests
url = "https://client-backend.oktivo.com/webhooks/endpoints"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://client-backend.oktivo.com/webhooks/endpoints', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://client-backend.oktivo.com/webhooks/endpoints",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://client-backend.oktivo.com/webhooks/endpoints"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://client-backend.oktivo.com/webhooks/endpoints")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://client-backend.oktivo.com/webhooks/endpoints")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"endpoints": [
{
"webhookId": "wh_abc123def456",
"url": "https://app.example.com/api/ai-calls/results/your-key",
"eventTypes": ["call.ended", "call.analysis_ready", "call.completed"],
"description": "Panzo results",
"agentIds": ["agent_sales_qualifier"],
"isActive": true,
"payloadMode": "standard",
"deliveryProfile": "panzo",
"createdAt": "2025-01-10T12:00:00.000Z"
},
{
"webhookId": "wh_xyz789ghi012",
"url": "https://analytics.company.com/hooks/all-calls",
"eventTypes": ["call.completed"],
"description": "Analytics pipeline",
"agentIds": [],
"isActive": true,
"payloadMode": "standard",
"deliveryProfile": "standard",
"createdAt": "2025-01-05T09:00:00.000Z"
}
]
}
Response
Returns all webhook endpoints configured for your account, newest first. Deleted endpoints are not included.Array of webhook endpoint objects.
Custom-mode settings (method, headers, body template, auth and so on) are also included. They are not used in standard mode.
Show endpoint object properties
Show endpoint object properties
{
"success": true,
"endpoints": [
{
"webhookId": "wh_abc123def456",
"url": "https://app.example.com/api/ai-calls/results/your-key",
"eventTypes": ["call.ended", "call.analysis_ready", "call.completed"],
"description": "Panzo results",
"agentIds": ["agent_sales_qualifier"],
"isActive": true,
"payloadMode": "standard",
"deliveryProfile": "panzo",
"createdAt": "2025-01-10T12:00:00.000Z"
},
{
"webhookId": "wh_xyz789ghi012",
"url": "https://analytics.company.com/hooks/all-calls",
"eventTypes": ["call.completed"],
"description": "Analytics pipeline",
"agentIds": [],
"isActive": true,
"payloadMode": "standard",
"deliveryProfile": "standard",
"createdAt": "2025-01-05T09:00:00.000Z"
}
]
}
This endpoint requires JWT authentication. The webhook secret is never returned in list responses.