Auth API reference

Auth API · App-Outbound-Webhooks

post/v1/apps/{app_id}/webhook/dead-letters/replayAuth

Replay every unreplayed dead letter of the first endpoint, oldest first. Up to 100 per call; stops at the first bounce. Deprecated: use `/v1/apps/{appId}/webhooks/endpoints` (several endpoints, event descriptions, Send test, event log, replay). This route acts on the app's first endpoint. Responses carry `Deprecation: true` and `Sunset: Fri, 15 Jan 2027 00:00:00 GMT`.

Sequential rather than concurrent: a bulk replay is N outbound requests at a receiver that has just come back up, and firing them in parallel is how you knock it over again. Stopping at the first failure means a still-broken receiver is not hammered with the whole backlog; call again after fixing it.

Path parameters

app_id*string

Id of the app.

Response · 200 Bulk replay finished or stopped at a bounce.

replayed*number

Dead letters accepted by the receiver (2xx).

remaining*number

Dead letters in this batch that were not replayed, because the walk stopped at the first failure.

stopped_on*object

The dead letter the walk stopped on, with the receiver response. Null when the whole batch landed.

Example

Request

POST https://api.auth.productcraft.co/v1/apps/{app_id}/webhook/dead-letters/replay
Authorization: Bearer YOUR_TOKEN

Response

{
  "replayed": 0,
  "remaining": 0,
  "stopped_on": {}
}