Redeliver an event
POST
/v1/events/{id}/redeliverRequires 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
| Name | Required | Description |
|---|---|---|
| id | required |
Header parameters
| Name | Required | Description |
|---|---|---|
| Idempotency-Key | required | 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
202Redelivery queued.
delivery_idstringrequired
attempt_idstringrequired
status"queued"required
400Validation error
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
401Authentication required
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
403Forbidden
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
404Event or endpoint not found
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
409Idempotency-Key reused with a different payload, or the event is not routable to this endpoint (programme pin mismatch)
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
500Internal server error
typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring