Skip to content
Console
On this page

Replay a queue

Moves dead-lettered messages, optionally bounded by dead-letter time, back to ready.

Moves dead-lettered messages, optionally bounded by dead-letter time, back to ready.

  • Path POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/queues/queue:replay
  • Scope events:write
  • Effect write — a successful call changes state.
  • Collection queues

Request

FieldTypeWhat it is
namestringThe name of the queue. Required.
start_timetimestampReplay messages dead-lettered at or after this time.
end_timetimestampReplay messages dead-lettered before this time.

Response

FieldTypeWhat it is
replayed_countint64Messages returned to ready.

Errors

Every error arrives in the body Errors describes.

Examples

curl -X POST "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/queues/queue:replay" \
  -H "Authorization: Bearer $SYLPHX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'