List webhook deliveries
curl --request GET \
--url https://api-sandbox.unifystays.com/webhooks/deliveries \
--header 'x-api-key: <api-key>'import requests
url = "https://api-sandbox.unifystays.com/webhooks/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://api-sandbox.unifystays.com/webhooks/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-sandbox.unifystays.com/webhooks/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://api-sandbox.unifystays.com/webhooks/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://api-sandbox.unifystays.com/webhooks/deliveries")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.unifystays.com/webhooks/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{
"data": [
{
"id": "1842",
"event_id": "evt_3bc2fa3d35cc4bbf98359b3fb85a4fb2",
"endpoint_id": "8b95a9e0-4af3-4c6d-92df-84b64256d27f",
"status": "SUCCEEDED",
"attempt_count": 1,
"max_attempts": 8,
"next_attempt_at": "2026-08-08T08:30:00.100Z",
"last_http_status": 204,
"last_error_code": null,
"last_error_message": null,
"last_duration_ms": 183,
"completed_at": "2026-08-08T08:30:00.283Z",
"created_at": "2026-08-08T08:30:00.100Z",
"event_type": "booking.confirmed",
"aggregate_type": "booking",
"aggregate_id": "ubk_eGQ0dW9uV1Vi",
"occurred_at": "2026-08-08T08:30:00.000Z",
"endpoint_name": "Production booking events",
"endpoint_url": "https://example.com/webhooks/unifystays"
}
],
"meta": {
"total": 42,
"page": 1,
"limit": 20,
"total_pages": 3
}
}Webhook logs
List Webhook Deliveries
Filter webhook delivery status and latest outcomes.
GET
/
webhooks
/
deliveries
List webhook deliveries
curl --request GET \
--url https://api-sandbox.unifystays.com/webhooks/deliveries \
--header 'x-api-key: <api-key>'import requests
url = "https://api-sandbox.unifystays.com/webhooks/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://api-sandbox.unifystays.com/webhooks/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-sandbox.unifystays.com/webhooks/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://api-sandbox.unifystays.com/webhooks/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://api-sandbox.unifystays.com/webhooks/deliveries")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.unifystays.com/webhooks/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{
"data": [
{
"id": "1842",
"event_id": "evt_3bc2fa3d35cc4bbf98359b3fb85a4fb2",
"endpoint_id": "8b95a9e0-4af3-4c6d-92df-84b64256d27f",
"status": "SUCCEEDED",
"attempt_count": 1,
"max_attempts": 8,
"next_attempt_at": "2026-08-08T08:30:00.100Z",
"last_http_status": 204,
"last_error_code": null,
"last_error_message": null,
"last_duration_ms": 183,
"completed_at": "2026-08-08T08:30:00.283Z",
"created_at": "2026-08-08T08:30:00.100Z",
"event_type": "booking.confirmed",
"aggregate_type": "booking",
"aggregate_id": "ubk_eGQ0dW9uV1Vi",
"occurred_at": "2026-08-08T08:30:00.000Z",
"endpoint_name": "Production booking events",
"endpoint_url": "https://example.com/webhooks/unifystays"
}
],
"meta": {
"total": 42,
"page": 1,
"limit": 20,
"total_pages": 3
}
}Each delivery represents one event sent to one endpoint. Filter by
Open a delivery to inspect its complete attempt history and response details.
event_type, aggregate_id, status, or endpoint_id.
| Status | Meaning |
|---|---|
PENDING | Waiting for its first attempt. |
DELIVERING | A worker is currently sending it. |
RETRYING | A previous attempt failed and another is scheduled. |
SUCCEEDED | The receiver returned a 2xx response. |
EXHAUSTED | All eight attempts failed. |
CANCELLED | Delivery stopped because the endpoint was removed or disabled. |
Authorizations
Environment-specific API key created in the Unifystays portal
Headers
Query Parameters
Return only this exact event type.
Example:
"booking.confirmed"
Return records for one aggregate, such as a Unifystays booking ID.
Example:
"ubk_eGQ0dW9uV1Vi"
Delivery status filter. Used by the deliveries endpoint.
Available options:
PENDING, DELIVERING, RETRYING, SUCCEEDED, EXHAUSTED, CANCELLED Example:
"EXHAUSTED"
Endpoint UUID filter. Used by the deliveries endpoint.
Example:
"8b95a9e0-4af3-4c6d-92df-84b64256d27f"
Page number, starting at 1.
Records per page.