Brault Developers

Replay a window of events

Regionalus.api.brault.appfollows the region selector in the top bar
POST
/v1/webhooks/{webhookId}/replays

Queues one pending delivery per event of the brandspace that occurred in [from, to) and whose type this endpoint subscribes to now, skipping events it already delivered successfully unless include_delivered is true. The window is at most 7 days and must lie inside the 30-day event window; a call may match at most 10,000 events. Both bounds are refusals, never truncations, so a replay is never silently partial. webhook.test events are never replayed. Sending an Idempotency-Key caches this report for 24 h without replaying twice.

AuthorizationBearer <token>

API key from Settings → Developers

In: header

Path Parameters

webhookId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/webhooks/string/replays" \  -H "Content-Type: application/json" \  -d '{    "from": "2019-08-24T14:15:22Z",    "to": "2019-08-24T14:15:22Z"  }'
{  "object": "replay",  "webhook_id": "string",  "from": "2019-08-24T14:15:22Z",  "to": "2019-08-24T14:15:22Z",  "events_matched": 0,  "deliveries_created": 0,  "skipped_delivered": 0}