Skip to content
Seal
Esc
↑↓navigate↵open⌘Jpreview

Drain pending webhook deliveries for this organization (SEA-64)

Processes due pending deliveries for the caller’s organization (attemptCount budget, nextRetryAt due). Useful after outages or to force a catch-up without waiting for the */5 cron.

POST/webhooks/flush
Authorization
AuthorizationBearer token · headerrequired

Pass your API key as a Bearer token. API keys are scoped to specific operations — configure scopes in your organization's Settings → Developer → API Keys.

Query parameters
limitinteger
min 1 · max 200 · default: 100
Responses
200

Drain result

successbooleanrequired
processedintegerrequired
succeededintegerrequired
failedintegerrequired
401

Missing or invalid API key

typestringrequired

Machine-readable error code

statusintegerrequired

HTTP status code

titlestringrequired

Human-readable error message

detailsobject

Field-level validation errors

403

Missing webhooks:write scope or organization

Try it
Server
Authorization
Parameters
Request
curl -X POST "https://api.seal.nyc/api/v1/webhooks/flush" \
  -H "Authorization: Bearer YOUR_TOKEN"
Response
{
  "success": true,
  "processed": 0,
  "succeeded": 0,
  "failed": 0
}