Skip to content

Redeliver an event

POST/v1/events/{id}/redeliver

Requires an API client bearer token.

Queues a new delivery attempt of this event to the given endpoint (creating the delivery if the endpoint never received it). Requires an Idempotency-Key header.

Parameters

Path parameters

NameRequiredDescription
idrequired

Header parameters

NameRequiredDescription
Idempotency-Keyrequired

Client-chosen. An identical retry with the same key returns the stored response; reusing the key with a different payload returns 409.

Request body

endpoint_idstringrequired

Example

curl -X POST https://api.rigid.fi/v1/events/{id}/redeliver \
  -H "Authorization: Bearer $RIGID_API_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "endpoint_id": "string"
}'

Responses

202

Redelivery queued.

delivery_idstringrequired
attempt_idstringrequired
status"queued"required
400

Validation error

typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
401

Authentication required

typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
403

Forbidden

typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
404

Event or endpoint not found

typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
409

Idempotency-Key reused with a different payload, or the event is not routable to this endpoint (programme pin mismatch)

typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
500

Internal server error

typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring