curl --request GET \
--url https://api.scrapebento.com/v1/public/webhooks/deliveries \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.scrapebento.com/v1/public/webhooks/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.scrapebento.com/v1/public/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.scrapebento.com/v1/public/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 => [
"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.scrapebento.com/v1/public/webhooks/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.scrapebento.com/v1/public/webhooks/deliveries")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.scrapebento.com/v1/public/webhooks/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{
"data": {
"items": [
{
"id": "<string>",
"jobId": "<string>",
"eventType": "<string>",
"url": "<string>",
"status": "delivered",
"attempts": 123,
"payloadBytes": 123,
"createdAt": "2023-11-07T05:31:56Z",
"endpointId": "<string>",
"responseStatus": 123,
"errorMessage": "<string>",
"payloadSha256": "<string>",
"replayOf": "<string>",
"completedAt": "2023-11-07T05:31:56Z"
}
],
"nextBefore": "2023-11-07T05:31:56Z",
"nextBeforeId": "<string>"
}
}List webhook deliveries
Requires api.read. Every delivery attempt sequence this organization
produced, newest first: where it went, what the endpoint answered, and
how many attempts it took.
This is what makes a missed notification diagnosable. The delivery id
also travels in the X-Scrapebento-Delivery header, so a receiver that
logs headers can be matched against this list directly.
Pages by keyset: pass the returned nextBefore as before and
nextBeforeId as beforeId.
curl --request GET \
--url https://api.scrapebento.com/v1/public/webhooks/deliveries \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.scrapebento.com/v1/public/webhooks/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.scrapebento.com/v1/public/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.scrapebento.com/v1/public/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 => [
"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.scrapebento.com/v1/public/webhooks/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.scrapebento.com/v1/public/webhooks/deliveries")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.scrapebento.com/v1/public/webhooks/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{
"data": {
"items": [
{
"id": "<string>",
"jobId": "<string>",
"eventType": "<string>",
"url": "<string>",
"status": "delivered",
"attempts": 123,
"payloadBytes": 123,
"createdAt": "2023-11-07T05:31:56Z",
"endpointId": "<string>",
"responseStatus": 123,
"errorMessage": "<string>",
"payloadSha256": "<string>",
"replayOf": "<string>",
"completedAt": "2023-11-07T05:31:56Z"
}
],
"nextBefore": "2023-11-07T05:31:56Z",
"nextBeforeId": "<string>"
}
}Authorizations
Send a workspace API token in the Authorization: Bearer <token> header.
Keys carry the satk_ prefix and spend your organization's credit
balance. GET /v1/public/balance reports what is left.
Test-mode keys (satk_test_), which drew on a separate self-refilling
allowance, have been retired and no longer authenticate.
Query Parameters
Page size. Defaults to 25, clamped to 100.
1 <= x <= 100Restrict to deliveries for one job.
delivered, failed, skipped RFC3339 timestamp; returns deliveries created strictly before it.
Tie-breaker for before, from nextBeforeId. Ignored without
before.
Response
One page of the delivery log.
Show child attributes
Show child attributes