Get Endpoint
curl --request GET \
--url https://client-backend.oktivo.com/api/v1/crm/webhooks/endpoints/{webhookId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://client-backend.oktivo.com/api/v1/crm/webhooks/endpoints/{webhookId}"
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/api/v1/crm/webhooks/endpoints/{webhookId}', 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/api/v1/crm/webhooks/endpoints/{webhookId}",
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/api/v1/crm/webhooks/endpoints/{webhookId}"
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/api/v1/crm/webhooks/endpoints/{webhookId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://client-backend.oktivo.com/api/v1/crm/webhooks/endpoints/{webhookId}")
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,
"endpoint": {
"webhookId": "wh_abc123def456",
"url": "https://your-app.com/webhooks/oktivo",
"eventTypes": ["call.ended", "call.completed"],
"description": "Analytics pipeline",
"agentIds": [],
"isActive": true,
"payloadMode": "standard",
"deliveryProfile": "standard",
"createdAt": "2025-01-10T12:00:00.000Z"
},
"requestId": "3f1c2c0e-6a41-4e0b-9f0e-1f2d6f1b8a77",
"timestamp": "2026-03-02T04:05:00.000Z"
}
{
"success": false,
"message": "Webhook endpoint not found",
"error": "Webhook endpoint not found",
"code": "NOT_FOUND",
"requestId": "3f1c2c0e-6a41-4e0b-9f0e-1f2d6f1b8a77",
"errorInfo": {
"code": "NOT_FOUND",
"message": "Webhook endpoint not found"
}
}
Webhooks
Get Endpoint
Get one webhook endpoint by its ID.
GET
/
api
/
v1
/
crm
/
webhooks
/
endpoints
/
{webhookId}
Get Endpoint
curl --request GET \
--url https://client-backend.oktivo.com/api/v1/crm/webhooks/endpoints/{webhookId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://client-backend.oktivo.com/api/v1/crm/webhooks/endpoints/{webhookId}"
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/api/v1/crm/webhooks/endpoints/{webhookId}', 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/api/v1/crm/webhooks/endpoints/{webhookId}",
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/api/v1/crm/webhooks/endpoints/{webhookId}"
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/api/v1/crm/webhooks/endpoints/{webhookId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://client-backend.oktivo.com/api/v1/crm/webhooks/endpoints/{webhookId}")
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,
"endpoint": {
"webhookId": "wh_abc123def456",
"url": "https://your-app.com/webhooks/oktivo",
"eventTypes": ["call.ended", "call.completed"],
"description": "Analytics pipeline",
"agentIds": [],
"isActive": true,
"payloadMode": "standard",
"deliveryProfile": "standard",
"createdAt": "2025-01-10T12:00:00.000Z"
},
"requestId": "3f1c2c0e-6a41-4e0b-9f0e-1f2d6f1b8a77",
"timestamp": "2026-03-02T04:05:00.000Z"
}
{
"success": false,
"message": "Webhook endpoint not found",
"error": "Webhook endpoint not found",
"code": "NOT_FOUND",
"requestId": "3f1c2c0e-6a41-4e0b-9f0e-1f2d6f1b8a77",
"errorInfo": {
"code": "NOT_FOUND",
"message": "Webhook endpoint not found"
}
}
Path Parameters
The endpoint ID (for example
wh_abc123def456), returned by Create Endpoint and List Endpoints.Response
The endpoint, with the same fields as an item in List Endpoints.
deliveryProfile is standard for endpoints created before the option existed. The signing secret is never returned.{
"success": true,
"endpoint": {
"webhookId": "wh_abc123def456",
"url": "https://your-app.com/webhooks/oktivo",
"eventTypes": ["call.ended", "call.completed"],
"description": "Analytics pipeline",
"agentIds": [],
"isActive": true,
"payloadMode": "standard",
"deliveryProfile": "standard",
"createdAt": "2025-01-10T12:00:00.000Z"
},
"requestId": "3f1c2c0e-6a41-4e0b-9f0e-1f2d6f1b8a77",
"timestamp": "2026-03-02T04:05:00.000Z"
}
{
"success": false,
"message": "Webhook endpoint not found",
"error": "Webhook endpoint not found",
"code": "NOT_FOUND",
"requestId": "3f1c2c0e-6a41-4e0b-9f0e-1f2d6f1b8a77",
"errorInfo": {
"code": "NOT_FOUND",
"message": "Webhook endpoint not found"
}
}
This endpoint accepts an API Token (
okt_...) or JWT. The dashboard path GET /webhooks/endpoints/{webhookId} is JWT only and behaves the same. You can only read endpoints that belong to your account. Your plan must include the Webhooks feature.