Process due webhook retries (operator/cron hook)
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({limit: 10})
};
fetch('https://sandbox.api.enfinitos.com/v1/webhooks/deliveries/process-due', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sandbox.api.enfinitos.com/v1/webhooks/deliveries/process-due"
payload = { "limit": 10 }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://sandbox.api.enfinitos.com/v1/webhooks/deliveries/process-due"
payload := strings.NewReader("{\n \"limit\": 10\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://sandbox.api.enfinitos.com/v1/webhooks/deliveries/process-due")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"limit\": 10\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.api.enfinitos.com/v1/webhooks/deliveries/process-due")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"limit\": 10\n}"
response = http.request(request)
puts response.read_bodyfalsecurl --request POST \
--url https://sandbox.api.enfinitos.com/v1/webhooks/deliveries/process-due \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"limit": 10
}'{
"ok": true,
"data": {
"processed": 123,
"delivered": 123,
"failed": 123,
"deadLettered": 123,
"batchLimit": 123
},
"contractVersion": "v1.0"
}{
"ok": false,
"error": "AUTH_REQUIRED",
"message": "<string>",
"contractVersion": "v1.0",
"field": "<string>",
"validationErrors": [
{}
],
"requiredScopes": [
"<string>"
],
"keyScopes": [
"<string>"
]
}{
"ok": false,
"error": "AUTH_REQUIRED",
"message": "<string>",
"contractVersion": "v1.0",
"field": "<string>",
"validationErrors": [
{}
],
"requiredScopes": [
"<string>"
],
"keyScopes": [
"<string>"
]
}{
"ok": false,
"error": "AUTH_REQUIRED",
"message": "<string>",
"contractVersion": "v1.0",
"field": "<string>",
"validationErrors": [
{}
],
"requiredScopes": [
"<string>"
],
"keyScopes": [
"<string>"
]
}Webhooks
Process due webhook retries (operator/cron hook)
Re-attempt every delivery owned by the caller whose retry window has elapsed (status failed or queued, nextRetryAt in the past), up to a bounded batch. Each attempt is signed with the subscription’s current secret and follows the standard backoff / dead-letter policy. Due retries are normally processed opportunistically on the caller’s own API traffic; point an external cron at this endpoint to advance retries during quiet periods. Requires a key carrying the wildcard * scope — operator surface. Tenant-isolated: only the caller’s own deliveries are ever processed.
POST
/
v1
/
webhooks
/
deliveries
/
process-due
Process due webhook retries (operator/cron hook)
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({limit: 10})
};
fetch('https://sandbox.api.enfinitos.com/v1/webhooks/deliveries/process-due', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sandbox.api.enfinitos.com/v1/webhooks/deliveries/process-due"
payload = { "limit": 10 }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://sandbox.api.enfinitos.com/v1/webhooks/deliveries/process-due"
payload := strings.NewReader("{\n \"limit\": 10\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://sandbox.api.enfinitos.com/v1/webhooks/deliveries/process-due")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"limit\": 10\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.api.enfinitos.com/v1/webhooks/deliveries/process-due")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"limit\": 10\n}"
response = http.request(request)
puts response.read_bodyfalsecurl --request POST \
--url https://sandbox.api.enfinitos.com/v1/webhooks/deliveries/process-due \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"limit": 10
}'{
"ok": true,
"data": {
"processed": 123,
"delivered": 123,
"failed": 123,
"deadLettered": 123,
"batchLimit": 123
},
"contractVersion": "v1.0"
}{
"ok": false,
"error": "AUTH_REQUIRED",
"message": "<string>",
"contractVersion": "v1.0",
"field": "<string>",
"validationErrors": [
{}
],
"requiredScopes": [
"<string>"
],
"keyScopes": [
"<string>"
]
}{
"ok": false,
"error": "AUTH_REQUIRED",
"message": "<string>",
"contractVersion": "v1.0",
"field": "<string>",
"validationErrors": [
{}
],
"requiredScopes": [
"<string>"
],
"keyScopes": [
"<string>"
]
}{
"ok": false,
"error": "AUTH_REQUIRED",
"message": "<string>",
"contractVersion": "v1.0",
"field": "<string>",
"validationErrors": [
{}
],
"requiredScopes": [
"<string>"
],
"keyScopes": [
"<string>"
]
}Authorizations
API key sent as Authorization: Bearer <api-key>.
Body
application/json
Max deliveries to process in this batch.
Required range:
1 <= x <= 50