Retry a webhook delivery
Performs one immediate manual redelivery attempt and returns that attempt's identity and outcome without changing the automatic retry lifecycle.
POST
Performs one immediate manual redelivery attempt and returns that attempt's identity and outcome without changing the automatic retry lifecycle.
apiKeyheader
x-api-key<token>id*stringMatch
^wep_[0-9a-hjkmnp-tv-z]{16,24}$deliveryId*stringMatch
^whdel_[0-9a-hjkmnp-tv-z]{16,24}$Success
application/json- response
accepted*trueValue in
truedeliveryId*WebhookDeliveryIdMatch
^whdel_[0-9a-hjkmnp-tv-z]{16,24}$attemptId*WebhookAttemptIdMatch
^whatt_[0-9a-hjkmnp-tv-z]{16,24}$outcome*stringValue in
"succeeded""failed"import { createClient } from "samva";const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });const result = await samva.webhooks.retryDelivery({ "id": "example", "deliveryId": "example"});Example Response
{ "accepted": true, "deliveryId": "string", "attemptId": "string", "outcome": "succeeded"}