Webhooks
List Webhook Deliveries
Read a webhook endpoint’s delivery log with GET /api/webhooks//deliveries: each event’s status, HTTP response and attempts, newest first.
GET
/
api
/
webhooks
/
{id}
/
deliveries
List Webhook Deliveries
curl --request GET \
--url https://octanist.com/api/webhooks/{id}/deliveries \
--header 'X-API-KEY: <api-key>'import requests
url = "https://octanist.com/api/webhooks/{id}/deliveries"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://octanist.com/api/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://octanist.com/api/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 => [
"X-API-KEY: <api-key>"
],
]);
$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://octanist.com/api/webhooks/{id}/deliveries"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://octanist.com/api/webhooks/{id}/deliveries")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://octanist.com/api/webhooks/{id}/deliveries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": [
{
"id": "<string>",
"eventId": "evt_4f1c2b9e7d6a4c3b8e2f1a0d9c8b7a6e",
"eventType": "lead.status_changed",
"leadId": "<string>",
"status": "pending",
"attempts": 1,
"nextAttemptAt": "2023-11-07T05:31:56Z",
"lastAttemptAt": "2023-11-07T05:31:56Z",
"responseStatus": 200,
"error": null,
"durationMs": 184,
"createdAt": "2023-11-07T05:31:56Z"
}
],
"meta": {
"requestId": "req_a1b2c3d4e5f6",
"timestamp": "2026-03-10T12:00:00.000Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Human readable error message",
"details": {}
},
"meta": {
"requestId": "req_a1b2c3d4e5f6",
"timestamp": "2026-03-10T12:00:00.000Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Human readable error message",
"details": {}
},
"meta": {
"requestId": "req_a1b2c3d4e5f6",
"timestamp": "2026-03-10T12:00:00.000Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Human readable error message",
"details": {}
},
"meta": {
"requestId": "req_a1b2c3d4e5f6",
"timestamp": "2026-03-10T12:00:00.000Z"
}
}Returns the endpoint’s deliveries, newest first. Deliveries are kept for 30 days.
Read-only API keys can use this endpoint.
| Status | Meaning |
|---|---|
pending | Waiting for its first attempt or for a retry at nextAttemptAt. |
sending | Being sent right now. |
succeeded | Your endpoint answered with a 2xx status. |
failed | All attempts failed, the endpoint answered 410 Gone, or it was turned off. |
Query Parameters
| Parameter | Type | Description |
|---|---|---|
limit | number | Deliveries per page, 1 to 100. Default 50. |
before | string | A delivery id. Returns the deliveries after it in this order; pass the last id of a page to get the next page. |
Example Request
curl -X GET \
-H "X-API-KEY: your_api_key" \
"https://octanist.com/api/webhooks/9b2f1c4e-6a1d-4f7e-9a51-2c8f0f3d1a77/deliveries?limit=20"
Example Response
{
"success": true,
"data": [
{
"id": "7a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
"eventId": "evt_4f1c2b9e7d6a4c3b8e2f1a0d9c8b7a6e",
"eventType": "lead.status_changed",
"leadId": "lead_abc123",
"status": "pending",
"attempts": 2,
"nextAttemptAt": "2026-11-30T10:36:00.000Z",
"lastAttemptAt": "2026-11-30T10:06:00.000Z",
"responseStatus": 503,
"error": "HTTP 503",
"durationMs": 220,
"createdAt": "2026-11-30T10:05:00.000Z"
}
],
"meta": {
"requestId": "req_a1b2c3d4e5f6",
"timestamp": "2026-11-30T10:10:00.000Z"
}
}
Query Parameters
⌘I
List Webhook Deliveries
curl --request GET \
--url https://octanist.com/api/webhooks/{id}/deliveries \
--header 'X-API-KEY: <api-key>'import requests
url = "https://octanist.com/api/webhooks/{id}/deliveries"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://octanist.com/api/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://octanist.com/api/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 => [
"X-API-KEY: <api-key>"
],
]);
$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://octanist.com/api/webhooks/{id}/deliveries"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://octanist.com/api/webhooks/{id}/deliveries")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://octanist.com/api/webhooks/{id}/deliveries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": [
{
"id": "<string>",
"eventId": "evt_4f1c2b9e7d6a4c3b8e2f1a0d9c8b7a6e",
"eventType": "lead.status_changed",
"leadId": "<string>",
"status": "pending",
"attempts": 1,
"nextAttemptAt": "2023-11-07T05:31:56Z",
"lastAttemptAt": "2023-11-07T05:31:56Z",
"responseStatus": 200,
"error": null,
"durationMs": 184,
"createdAt": "2023-11-07T05:31:56Z"
}
],
"meta": {
"requestId": "req_a1b2c3d4e5f6",
"timestamp": "2026-03-10T12:00:00.000Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Human readable error message",
"details": {}
},
"meta": {
"requestId": "req_a1b2c3d4e5f6",
"timestamp": "2026-03-10T12:00:00.000Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Human readable error message",
"details": {}
},
"meta": {
"requestId": "req_a1b2c3d4e5f6",
"timestamp": "2026-03-10T12:00:00.000Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Human readable error message",
"details": {}
},
"meta": {
"requestId": "req_a1b2c3d4e5f6",
"timestamp": "2026-03-10T12:00:00.000Z"
}
}