Skip to main content
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));
{
  "ok": true,
  "data": {
    "processed": 123,
    "delivered": 123,
    "failed": 123,
    "deadLettered": 123,
    "batchLimit": 123
  },
  "contractVersion": "<string>"
}

Authorizations

Authorization
string
header
required

API key sent as Authorization: Bearer <api-key>.

Body

application/json
limit
integer
default:10

Max deliveries to process in this batch.

Required range: 1 <= x <= 50

Response

Drain counts for this batch.

ok
boolean
required
data
object
required

Route-specific payload. Operation responses refine this.

contractVersion
string
required
Allowed value: "v1.0"