Get Webhook Delivery
curl --request GET \
--url https://app.tuco.ai/api/webhooks/{id}/deliveries/{deliveryId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.tuco.ai/api/webhooks/{id}/deliveries/{deliveryId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.tuco.ai/api/webhooks/{id}/deliveries/{deliveryId}', 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://app.tuco.ai/api/webhooks/{id}/deliveries/{deliveryId}",
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://app.tuco.ai/api/webhooks/{id}/deliveries/{deliveryId}"
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://app.tuco.ai/api/webhooks/{id}/deliveries/{deliveryId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.tuco.ai/api/webhooks/{id}/deliveries/{deliveryId}")
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{
"method": "<string>",
"requestHeaders": {},
"requestBody": {},
"responseBody": {},
"attempts": [
{}
]
}Webhooks
Get Webhook Delivery
Get one webhook delivery in full: the exact request body and headers Tuco sent, your endpoint’s response, and every attempt.
GET
/
api
/
webhooks
/
{id}
/
deliveries
/
{deliveryId}
Get Webhook Delivery
curl --request GET \
--url https://app.tuco.ai/api/webhooks/{id}/deliveries/{deliveryId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.tuco.ai/api/webhooks/{id}/deliveries/{deliveryId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.tuco.ai/api/webhooks/{id}/deliveries/{deliveryId}', 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://app.tuco.ai/api/webhooks/{id}/deliveries/{deliveryId}",
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://app.tuco.ai/api/webhooks/{id}/deliveries/{deliveryId}"
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://app.tuco.ai/api/webhooks/{id}/deliveries/{deliveryId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.tuco.ai/api/webhooks/{id}/deliveries/{deliveryId}")
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{
"method": "<string>",
"requestHeaders": {},
"requestBody": {},
"responseBody": {},
"attempts": [
{}
]
}Returns everything in the list entry, plus the full request and response. A custom
Authorization header is shown as [redacted]; your webhook secret is never stored.
Authentication
Authorization: Bearer tuco_xxxxxxxxxxxxx
Path parameters
string
required
Webhook ID.
string
required
Delivery
id from the list.Response
All list fields, plus:string
Always
POST.object
Headers sent,
Authorization redacted.object
The exact JSON body sent (what a replay re-sends).
string | null
First 4 KB of your endpoint’s response.
array
Each attempt:
attempt, at, responseStatus or error, latencyMs.| Status | When |
|---|---|
200 | OK |
401 | Missing or invalid API key |
404 | Webhook or delivery not found in your workspace |
Example
curl "https://app.tuco.ai/api/webhooks/680a1b2c3d4e5f6789012345/deliveries/6ad14a1e2f9c4b0012ab34cd" \
-H "Authorization: Bearer tuco_xxxxxxxxxxxxx"