POST /v1/webhook-deliveries/{deliveryId}/replay
curl --request POST \
--url https://sandbox.api.prava.space/v1/webhook-deliveries/{deliveryId}/replay \
--header 'Authorization: Bearer <token>' \
--header 'Idempotency-Key: <idempotency-key>'import requests
url = "https://sandbox.api.prava.space/v1/webhook-deliveries/{deliveryId}/replay"
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>"
}
response = requests.post(url, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Idempotency-Key': '<idempotency-key>', Authorization: 'Bearer <token>'}
};
fetch('https://sandbox.api.prava.space/v1/webhook-deliveries/{deliveryId}/replay', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"delivery": {
"id": "<string>"
}
}Deliveries
Replay a Delivery
Send a retained event to the endpoint again.
POST
/
v1
/
webhook-deliveries
/
{deliveryId}
/
replay
POST /v1/webhook-deliveries/{deliveryId}/replay
curl --request POST \
--url https://sandbox.api.prava.space/v1/webhook-deliveries/{deliveryId}/replay \
--header 'Authorization: Bearer <token>' \
--header 'Idempotency-Key: <idempotency-key>'import requests
url = "https://sandbox.api.prava.space/v1/webhook-deliveries/{deliveryId}/replay"
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>"
}
response = requests.post(url, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Idempotency-Key': '<idempotency-key>', Authorization: 'Bearer <token>'}
};
fetch('https://sandbox.api.prava.space/v1/webhook-deliveries/{deliveryId}/replay', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"delivery": {
"id": "<string>"
}
}Sends the delivery’s event to the endpoint again as a new delivery, and returns its ID in
{ "delivery": { "id": "whd_…" } }. Use it after fixing your receiver.
The endpoint must be enabled, verified and still subscribed to the event type. Otherwise the request returns 409 WEBHOOK_REPLAY_BLOCKED. Events older than 30 days can’t be replayed and return 404.
This request requires an Idempotency-Key header and has no body, so omit Content-Type: application/json. A retry with the same key returns the same delivery ID.