List a webhook's deliveries
method
GET
host
strait.
version
/v1
resource
/
GET /v1/webhooks/{id}/deliveries
Auth: secret key as Authorization: Bearer. Server-side only.
Request
Delivery history, newest first: every event sent to this webhook with its status (pending = waiting for a retry, delivered, failed = gave up after 6 attempts), attempts, the last HTTP status or error, and when the next retry is due. Payloads are not returned. History is kept 30 days.
Parameters
idrequired string path- The webhook id
limitinteger query- 1–100, default 20
cursorstring query- nextCursor from the previous page
status"pending" | "delivered" | "failed" query- Only deliveries in this state;
failedis the dead-letter list eventstring query- Only this event, e.g.
app.opened
Response
- 200 A page of deliveries
- 400 Bad limit or cursor
- 401 Missing or invalid secret key
- 404 No such webhook in the key's workspace
curl -X GET https://strait.link/v1/webhooks/<webhook id>/deliveries \
-H "Authorization: Bearer $SECRET_KEY"const res = await fetch('https://strait.link/v1/webhooks/<webhook id>/deliveries', {
headers: { Authorization: `Bearer ${process.env.SECRET_KEY}` },
});
const data = await res.json();
console.log(res.status, data);import os
import requests
res = requests.get(
"https://strait.link/v1/webhooks/<webhook id>/deliveries",
headers={"Authorization": f"Bearer {os.environ['SECRET_KEY']}"},
)
print(res.status_code, res.json())<?php
// Plain PHP with ext-curl, no packages. In Laravel, Http::withToken($secretKey)->get($url) sends the same request.
$ch = curl_init('https://strait.link/v1/webhooks/<webhook id>/deliveries');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('SECRET_KEY'),
],
]);
$response = curl_exec($ch);
if ($response === false) {
throw new RuntimeException(curl_error($ch));
}
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
echo $status, PHP_EOL;
print_r(json_decode($response, true));import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
// Java 17+, java.net.http only (no dependencies).
public class Main {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder(URI.create("https://strait.link/v1/webhooks/<webhook id>/deliveries"))
.header("Authorization", "Bearer " + System.getenv("SECRET_KEY"))
.GET()
.build();
HttpResponse<String> res = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(res.statusCode() + " " + res.body());
}
}package main
import (
"fmt"
"io"
"log"
"net/http"
"os"
)
func main() {
req, err := http.NewRequest(http.MethodGet, "https://strait.link/v1/webhooks/<webhook id>/deliveries", nil)
if err != nil {
log.Fatal(err)
}
req.Header.Set("Authorization", "Bearer "+os.Getenv("SECRET_KEY"))
res, err := http.DefaultClient.Do(req)
if err != nil {
log.Fatal(err)
}
defer res.Body.Close()
data, err := io.ReadAll(res.Body)
if err != nil {
log.Fatal(err)
}
fmt.Println(res.StatusCode, string(data))
}The response, printed
{
"deliveries": [
{
"id": "3c9e1a7b-5d2f-4e8a-b6c1-9f0d2e4a7b58",
"webhookId": "7f3e2c1a-9b4d-4e8f-a6c5-2d1b0e9f8a73",
"event": "link.clicked",
"status": "failed",
"attempts": 6,
"lastStatus": 500,
"lastError": "HTTP 500",
"nextAttemptAt": null,
"createdAt": "2026-10-01T10:00:00.000Z",
"deliveredAt": null
}
],
"nextCursor": null
}