API referenceFlows
Replay a dead-letter event
Runs the project's flow again with the stored payload of one dead-letter event. Each event can be replayed once; the outcome is recorded in replayStatus.
POST
/flows/{projectId}/dead-lettersRuns the project's flow again with the stored payload of one dead-letter event. Each event
can be replayed once; the outcome is recorded in replayStatus. Requires the flow:trigger
scope.
AuthorizationBearer <token>
Authorization: Bearer bai_ext_.... Tokens belong to one project and carry scopes:
bot:invoke, flow:trigger, automation:trigger.
In: header
Scope: flow:trigger
Path Parameters
projectId*string
The project ID. The token must belong to this project.
Query Parameters
id*string
ID of the dead-letter event to replay.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/flows/string/dead-letters?id=string"{ "success": true}