StoreBay Developers
Platform

Redeliver a webhook delivery

Queue a fresh attempt of a past delivery (including one that is `exhausted`) for this endpoint. Identify the delivery via `delivery_id` in the body.

POST
/webhooks/{id}/redeliver

Queue a fresh attempt of a past delivery (including one that is exhausted) for this endpoint. Identify the delivery via delivery_id in the body.

Authorization

AuthorizationBearer <token>

Present an API key (sb_live_… / sb_test_…), an OAuth2 access token, or a static token as a Bearer credential. The operator is implied by the credential; it is never in the path. Only a SHA-256 hash of an API key is stored server-side.

In: header

Path Parameters

id*string

UUIDv7 identifier of the resource.

Formatuuid

Header Parameters

Idempotency-Key?string

A unique key that makes this mutation safe to retry. Repeats replay the stored response; reuse with a different body returns 409 idempotency_conflict.

Lengthlength <= 255

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/webhooks/497f6eca-6276-4993-bfeb-53cbbbba6f08/redeliver" \  -H "Content-Type: application/json" \  -d '{    "delivery_id": "9892f438-d31c-4ff2-bc84-146525b292ff"  }'
{  "data": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "object": "webhook_delivery",    "webhook_endpoint_id": "3d87177d-a059-4900-ae4a-408283ca1e94",    "event_type": "string",    "event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7",    "status": "pending",    "attempts": 0,    "max_attempts": 0,    "response_status": 0,    "next_attempt_at": "2019-08-24T14:15:22Z",    "delivered_at": "2019-08-24T14:15:22Z",    "last_error": "string",    "created_at": "2019-08-24T14:15:22Z",    "updated_at": "2019-08-24T14:15:22Z"  }}
{  "error": {    "code": "unauthorized",    "message": "Missing or invalid credential."  }}
{  "error": {    "code": "insufficient_scope",    "message": "The credential lacks a scope required by this endpoint."  }}
{  "error": {    "code": "not_found",    "message": "Resource not found."  }}
{  "error": {    "code": "validation_error",    "message": "string",    "details": [      {        "field": "string",        "issue": "string"      }    ]  }}