POST https://api.usecommune.com/delivery-attempts/{attempt}/replay Production. There is no separate sandbox host.

Send an event to a destination again

Asks for the event behind this attempt to be delivered to the same destination again. Needs sending: write. The same action as the retry button beside that attempt in the delivery portal.

It re-delivers the event, it does not resend the attempt. What comes back is a new attempt against the same event and the same destination, numbered one higher and marked manual: true. The attempt this was called on is unchanged.

Reach for it when a delivery failed for a reason you have since fixed and the delivery service has stopped retrying on its own. It is not the way to catch up after an outage: those retries happen without being asked, and replaying an event a consumer already processed is a duplicate they have to handle.

A 202 means the delivery service has the request. The delivery happens after the response, and the attempt it produces appears in the log shortly afterwards rather than immediately.

A destination that has been switched off answers 422, since a disabled destination is skipped rather than queued. Switch it back on in the portal first.

Takes no body: which event and which destination are both properties of the attempt. It does take ?newsletter=, for the reason GET /delivery-attempts/{attempt} does. Leave it out if your credential reaches exactly one newsletter.

Path parameters

  • string Required

Query parameters

  • string

Request Headers

  • string
  • string Required
POST /delivery-attempts/{attempt}/replay
Loading...

Share your request

Use this link to easily share a pre-filled request of this operation. Everything you filled will be shared apart from the authentication fields.

Request URL

https://api-reference.usecommune.dev/explorer/operation/operation-replaydeliveryattempt

Send a delete request

It looks like you’re about to send a DELETE request to this API. This type of request carries a risk of permanent and irreversible data loss.

Are you sure you want to continue?
Response
Waiting for a request to be sent.