Deliver an event again
On this page
POST
/v1/webhook-deliveries/{delivery_id}/redeliverredeliver_webhook| Risk | write |
| Authentication | API key or OAuth access token |
| Scopes | webhooks:write |
| Idempotency | supported: send an Idempotency-Key header to make retries safe |
| Dry run | not applicable |
| Success status | 202 |
| Response type | application/json |
What it does#
- Use when: A delivery ended failed, exhausted or canceled and your receiver is ready.
- Do not use when: the delivery is still pending (it will retry on its own).
- Side effects: Restarts the delivery under the same webhook-id, so receivers can dedupe.
- Reversible: No.
- Required scope: webhooks:write.
- Idempotency: supported (Idempotency-Key header).
- Typical next step: call list_webhook_deliveries to see the new attempt.
Scopes#
webhooks:write: Create, change and delete webhook endpoints.
Side effects#
- Restarts the delivery under the same webhook-id, so receivers can dedupe
Request#
Path parameters#
| Field | Type | Description |
|---|---|---|
delivery_id | string |
Query parameters#
None.
Response#
| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | |
state | exactly "pending" | yes |
Examples#
queued#
Request:
curl -X POST 'https://api.seemly.com/v1/webhook-deliveries/whd_7k3m9p2q4r6s8t0v1w3x5y7z/redeliver' \
-H "Authorization: Bearer $SEEMLY_API_KEY"const response = await fetch("https://api.seemly.com/v1/webhook-deliveries/whd_7k3m9p2q4r6s8t0v1w3x5y7z/redeliver", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.SEEMLY_API_KEY}`,
},
});
const result = await response.json();
console.log(response.status, result);import os
import requests
response = requests.post(
"https://api.seemly.com/v1/webhook-deliveries/whd_7k3m9p2q4r6s8t0v1w3x5y7z/redeliver",
headers={
"Authorization": f"Bearer {os.environ['SEEMLY_API_KEY']}",
},
)
print(response.status_code, response.json())Response: 202:
{
"id": "whd_7k3m9p2q4r6s8t0v1w3x5y7z",
"state": "pending"
}Errors#
Every error is an application/problem+json body with a code, a fix sentence and next_actions. See reading a problem response.