Config
List webhook endpoints
Lists all configured webhook endpoints for the authenticated account. Secrets are never returned. Use agent_id to narrow the list by scope.
GET
/
config
/
webhooks
List webhook endpoints
curl --request GET \
--url https://api.vocobase.com/api/v2/config/webhooks \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vocobase.com/api/v2/config/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.vocobase.com/api/v2/config/webhooks', 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://api.vocobase.com/api/v2/config/webhooks",
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://api.vocobase.com/api/v2/config/webhooks"
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://api.vocobase.com/api/v2/config/webhooks")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vocobase.com/api/v2/config/webhooks")
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,
"data": {
"endpoints": [
{
"id": "12345678-abcd-1234-abcd-123456789012",
"label": "prod",
"url": "https://example.com/webhooks/vocobase",
"enabled": true,
"agent_id": null,
"agent_name": null,
"events": [],
"last_delivery_at": "2026-05-25T10:30:00.000Z",
"last_delivery_status": 200,
"created_at": "2026-05-25T10:00:00.000Z",
"updated_at": "2026-05-25T10:30:00.000Z"
}
],
"available_events": [
"session.completed",
"call.status.updated",
"call.transferred",
"whatsapp.message.sent",
"whatsapp.message.failed",
"whatsapp.message.status_updated"
]
}
}{
"success": false,
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or missing API key"
}
}{
"success": false,
"error": {
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred"
}
}Authorizations
API key in format: rg_live_xxxx. Pass as a Bearer token in the Authorization header.
Query Parameters
Filter by scope. An agent ID returns only that agent's endpoints; the literal none returns account-wide endpoints only. Omit to return every endpoint on the account.
⌘I
List webhook endpoints
curl --request GET \
--url https://api.vocobase.com/api/v2/config/webhooks \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vocobase.com/api/v2/config/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.vocobase.com/api/v2/config/webhooks', 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://api.vocobase.com/api/v2/config/webhooks",
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://api.vocobase.com/api/v2/config/webhooks"
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://api.vocobase.com/api/v2/config/webhooks")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vocobase.com/api/v2/config/webhooks")
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,
"data": {
"endpoints": [
{
"id": "12345678-abcd-1234-abcd-123456789012",
"label": "prod",
"url": "https://example.com/webhooks/vocobase",
"enabled": true,
"agent_id": null,
"agent_name": null,
"events": [],
"last_delivery_at": "2026-05-25T10:30:00.000Z",
"last_delivery_status": 200,
"created_at": "2026-05-25T10:00:00.000Z",
"updated_at": "2026-05-25T10:30:00.000Z"
}
],
"available_events": [
"session.completed",
"call.status.updated",
"call.transferred",
"whatsapp.message.sent",
"whatsapp.message.failed",
"whatsapp.message.status_updated"
]
}
}{
"success": false,
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or missing API key"
}
}{
"success": false,
"error": {
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred"
}
}