cURL
curl -X POST https://api.neuraldraft.io/v1/webhook-deliveries/whd_2Nh5XyZAbCdE/retry \
-H "Authorization: Bearer ndsk_live_yourkey"await nd.webhooks.deliveries.retry("whd_2Nh5XyZAbCdE");
requests.post("https://api.neuraldraft.io/v1/webhook-deliveries/whd_2Nh5XyZAbCdE/retry",
headers={"Authorization": f"Bearer {key}"})
<?php
$client->post('webhook-deliveries/whd_2Nh5XyZAbCdE/retry', [
'headers' => ['Authorization' => 'Bearer '.$key],
]);
{
"id": "whd_2Nh4PqRsTuVw",
"endpoint_id": "whe_2NgcaXxFqLPo",
"event": "blog_post.published",
"status": "success",
"attempts": 2,
"created_at": "2023-11-07T05:31:56Z",
"response_status": 123,
"response_body": "<string>",
"next_retry_at": "2023-11-07T05:31:56Z",
"delivered_at": "2023-11-07T05:31:56Z"
}{
"type": "https://api.neuraldraft.io/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"detail": "API key missing or invalid.",
"code": "unauthorized",
"instance": "req_2Nh4PqRsTuVw"
}{
"type": "https://api.neuraldraft.io/errors/not_found",
"title": "Not found",
"status": 404,
"detail": "No such resource.",
"code": "not_found",
"instance": "req_2Nh4PqRsTuVw"
}Webhooks
Retry a webhook delivery
Manually re-attempts a previously-failed delivery. The original payload and signature are preserved (so signature verification on the receiving side still works).
POST
/
webhook-deliveries
/
{id}
/
retry
cURL
curl -X POST https://api.neuraldraft.io/v1/webhook-deliveries/whd_2Nh5XyZAbCdE/retry \
-H "Authorization: Bearer ndsk_live_yourkey"await nd.webhooks.deliveries.retry("whd_2Nh5XyZAbCdE");
requests.post("https://api.neuraldraft.io/v1/webhook-deliveries/whd_2Nh5XyZAbCdE/retry",
headers={"Authorization": f"Bearer {key}"})
<?php
$client->post('webhook-deliveries/whd_2Nh5XyZAbCdE/retry', [
'headers' => ['Authorization' => 'Bearer '.$key],
]);
{
"id": "whd_2Nh4PqRsTuVw",
"endpoint_id": "whe_2NgcaXxFqLPo",
"event": "blog_post.published",
"status": "success",
"attempts": 2,
"created_at": "2023-11-07T05:31:56Z",
"response_status": 123,
"response_body": "<string>",
"next_retry_at": "2023-11-07T05:31:56Z",
"delivered_at": "2023-11-07T05:31:56Z"
}{
"type": "https://api.neuraldraft.io/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"detail": "API key missing or invalid.",
"code": "unauthorized",
"instance": "req_2Nh4PqRsTuVw"
}{
"type": "https://api.neuraldraft.io/errors/not_found",
"title": "Not found",
"status": 404,
"detail": "No such resource.",
"code": "not_found",
"instance": "req_2Nh4PqRsTuVw"
}Authorizations
Project API key. Pass as Authorization: Bearer ndsk_live_.... Manage
keys via /projects/me/api-keys. Test-mode keys use
the ndsk_test_ prefix.
Path Parameters
Response
Retry queued.
Example:
"whd_2Nh4PqRsTuVw"
Example:
"whe_2NgcaXxFqLPo"
All webhook event topics emitted by the platform.
Available options:
blog_post.published, blog_post.translated, social_post.published, social_post.failed, order.created, order.paid, order.fulfilled, order.cancelled, order.refunded, booking.confirmed, booking.cancelled, booking.completed, content.changed, image.generated, connect.account_updated Available options:
success, failed, pending Required range:
x >= 1HTTP status returned by the receiving server, if any.
First 1KB of the response body, for debugging.