Config
List recent deliveries for a webhook endpoint
Returns this endpoint’s recent delivery attempts, newest first, cursor-paginated. Page by passing the previous response’s next_cursor; a null cursor means there are no more pages.
GET
/
config
/
webhooks
/
{id}
/
deliveries
List recent deliveries for a webhook endpoint
curl --request GET \
--url https://api.vocobase.com/api/v2/config/webhooks/{id}/deliveries \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vocobase.com/api/v2/config/webhooks/{id}/deliveries"
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/{id}/deliveries', 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/{id}/deliveries",
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/{id}/deliveries"
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/{id}/deliveries")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vocobase.com/api/v2/config/webhooks/{id}/deliveries")
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": {
"deliveries": [
{
"id": "d1e2f3a4-5678-90ab-cdef-1234567890ab",
"event_type": "session.completed",
"status": "DELIVERED",
"attempts": 2,
"max_attempts": 5,
"session_id": "5f6e7d8c-1234-5678-9abc-def012345678",
"url": "https://example.com/webhooks/vocobase",
"last_response_status": 200,
"last_error": null,
"next_attempt_at": null,
"last_attempt_at": "2026-05-25T10:31:04.000Z",
"delivered_at": "2026-05-25T10:31:04.000Z",
"created_at": "2026-05-25T10:30:59.000Z"
}
],
"next_cursor": null
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "agent_name is required and must be max 50 characters"
}
}{
"success": false,
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or missing API key"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}{
"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.
Path Parameters
Webhook endpoint ID.
Query Parameters
Number of deliveries to return.
Required range:
1 <= x <= 100Delivery ID to page from. Pass the previous response's next_cursor.
Filter by delivery status (case-insensitive).
Available options:
PENDING, DELIVERING, DELIVERED, FAILED, EXHAUSTED ⌘I
List recent deliveries for a webhook endpoint
curl --request GET \
--url https://api.vocobase.com/api/v2/config/webhooks/{id}/deliveries \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vocobase.com/api/v2/config/webhooks/{id}/deliveries"
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/{id}/deliveries', 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/{id}/deliveries",
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/{id}/deliveries"
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/{id}/deliveries")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vocobase.com/api/v2/config/webhooks/{id}/deliveries")
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": {
"deliveries": [
{
"id": "d1e2f3a4-5678-90ab-cdef-1234567890ab",
"event_type": "session.completed",
"status": "DELIVERED",
"attempts": 2,
"max_attempts": 5,
"session_id": "5f6e7d8c-1234-5678-9abc-def012345678",
"url": "https://example.com/webhooks/vocobase",
"last_response_status": 200,
"last_error": null,
"next_attempt_at": null,
"last_attempt_at": "2026-05-25T10:31:04.000Z",
"delivered_at": "2026-05-25T10:31:04.000Z",
"created_at": "2026-05-25T10:30:59.000Z"
}
],
"next_cursor": null
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "agent_name is required and must be max 50 characters"
}
}{
"success": false,
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or missing API key"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}{
"success": false,
"error": {
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred"
}
}