Skip to content
Sendtier Docs
API reference

Resend a succeeded or failed delivery, preserving its attempt history

Source: OpenAPI (openapi/openapi.yaml).

curl -X POST "https://api.sendtier.example/webhook-deliveries/string/resend" \  -H "Authorization: Bearer st_live_REPLACE_ME"
{  "id": "string",  "webhook_id": "string",  "event_id": "string",  "event_type": "email.queued",  "status": "pending",  "attempts": 0,  "next_attempt_at": "2019-08-24T14:15:22Z",  "last_status": 0,  "last_error": "string",  "created_at": "2019-08-24T14:15:22Z"}
POST
/webhook-deliveries/{delivery_id}/resend

Authorization

headerAuthorizationBearer <token>

API key: st_live_... or st_test_...

Path Parameters

delivery_id*string

Header Parameters

Idempotency-Key?string

Repeated POST with the same key within 24 h returns the first response.

Lengthlength <= 255

Response Body

Delivery is pending and due now.

application/json
  1. response
id*string
webhook_id*string
event_id*string
event_type*EventType
Value in"email.queued""email.sent""email.delayed""email.delivered""email.bounced""email.complained""email.opened""email.clicked""email.failed"
status*WebhookDeliveryStatus
Value in"pending""succeeded""failed"
attempts*integer
Formatint32
next_attempt_at*string
Formatdate-time
last_status?integer
Formatint32
last_error?string
created_at*string
Formatdate-time