Approval webhooks
Get signed events when approvals are requested and resolved, notify approvers, and resume held work safely.
Webhooks send an HTTP POST to your backend when an approval is requested, approved, rejected or expires. Use
approval.requested to notify approvers (in Slack, email or your own app), and the outcomes to resume held work
without repeatedly polling. An event never authorizes execution: retrieve the current
approval and redeem the identical original request before running the action.
Add an endpoint
An owner or admin opens Webhooks in the dashboard, selects Add webhook, enters their receiver URL and selects events. Copy the signing secret into the receiver's environment settings: it is shown once. Members can inspect endpoint metadata; only owners/admins can create, disable, enable or remove endpoints.
URLs must use HTTPS on a public DNS host, on port 443, without credentials, query parameters or fragments. Literal IPs, local/private/reserved addresses and redirects are blocked. DNS is checked again on each attempt, and the outgoing connection is pinned to the checked address while retaining TLS certificate verification.
The signing secret is shown only when you create the endpoint. Endpoints are managed in the dashboard; project API keys and CLI tokens can't change them. A maximum of 20 non-removed endpoints is supported per environment. Endpoint URLs and subscriptions are fixed; create a replacement to change them. If a creation response is lost, inspect the list before creating another endpoint.
Events and payload
| Event | Meaning |
|---|---|
approval.requested | A request needs approval. The payload's status is pending. Fetch the approval with GET /v1/approvals/{id} for what is being asked (agent, action, resource) and send it to approvers |
approval.approved | A permitted person approved a pending request |
approval.rejected | A permitted person rejected a pending request |
approval.expired | A pending or approved, unredeemed request reached its expiry |
{
"id": "EVT_0123456789abcdef",
"object": "event",
"type": "approval.approved",
"environment_id": "00000000-0000-4000-8000-000000000001",
"created_at": "2026-11-08T18:00:00Z",
"data": {
"object": {
"id": "APR_0123456789abcdef",
"object": "approval",
"status": "approved",
"expires_at": "2026-11-08T19:00:00Z"
}
}
}The payload deliberately omits raw context/resource attributes, notes and user identities. Store the original
request in your own backend when authorization returns approval_required; use the approval ID to find that job.
Event IDs and raw payload bytes remain the same across retries and across subscribed endpoints for the same
transition. Signatures are fresh for each attempt. The payload's created_at records the transition time;
expiry events may be emitted later by the scheduled worker. Subscriptions receive future transitions only;
creating or re-enabling an endpoint does not replay older events.
Verify, record and acknowledge
- Read the raw body and verify its signature before parsing or acting on it.
- Check
environment_idagainst the environment your receiver expects. - In a durable transaction, insert the event ID only if absent and enqueue your processing job in that same transaction.
- Return a 2xx response after that transaction commits. Duplicate events can return 2xx without enqueuing again.
- Process the job asynchronously; retrieve the current approval with the appropriate environment's project key.
Events can be delivered more than once and out of order. For an approved event that arrives after expiry,
approvals.retrieve returns the current status and redemption will fail closed. For rejected or expired requests,
keep the protected work stopped.
Using the TypeScript SDK in your worker:
const job = await loadHeldJob(event.data.object.id);
const approval = await reqlo.approvals.retrieve(job.approvalId);
if (approval.status === "approved") {
await reqlo.enforce(
{ ...job.originalRequest, approval_id: approval.id },
() => executeOriginalAction(job)
);
}loadHeldJob and executeOriginalAction are application functions. Bind the saved action arguments to the same
request you originally checked. Coordinate duplicate/concurrent jobs in your application; webhook deduplication
and single-use approval redemption do not make your tool's side effects transactional with ReQlo.
Retries and delivery history
A 2xx response acknowledges delivery. Every other response, redirect, connection error or blocked destination is
retried, up to eight total attempts. Delays after failed attempts are 1 minute, 5 minutes, 15 minutes, 1 hour,
4 hours, 12 hours and 24 hours. Actual timing depends on scheduler capacity and backlog; no exact delivery latency
is promised. Receiver Retry-After headers do not override this schedule.
Connections time out after 4 seconds, following a DNS lookup capped at 1.5 seconds. Up to five requests run in parallel; one scheduled run drains at most three batches (15 deliveries) within a bounded worker budget. Expiry scanning is capped at 20 approvals per selected organization, at most 100 per batch. Organizations are selected by least-recently-served order and delivery slots rotate between them, so one tenant’s large backlog does not monopolize dispatch. Overlapping workers use leased claims to avoid claiming the same work; crashed workers can be retried after a two-minute lease. A crash after acknowledgement can cause a duplicate.
Observability in the dashboard (source Webhooks) shows every delivery: attempt times, HTTP status, failures
and the next scheduled attempt. After eight failed attempts, delivery stops. Recover missed outcomes by retrieving the
approval with GET /v1/approvals/{id}; deliveries aren't replayed. Response bodies are never stored.
Disabling/removing an endpoint cancels queued deliveries. A request already being sent can still arrive. Re-enabling applies to future events. The signing secret is shown once: if it is lost or compromised, replace the endpoint.
Reliability
Delivery runs on a scheduler every minute. If Reqlo cannot deliver an event, your existing authorization and human approval flows keep working. Monitor failed and pending deliveries before making a workflow depend on webhooks, and retrieve approvals directly to recover any outcome you missed.
Something wrong or unclear? Report an issue with this page.