POST
/v1/webhooks/{id}/deliveries/{deliveryId}/resendStarts a fresh round of six attempts for one delivery, the first one now. The receiver gets the same webhook-id as before.
Path parameters
- idstring (uuid)Required
- deliveryIdstringRequired
Response
A 202 answer carries these fields.
- idstringRequired
- statestringRequiredOne of
pending.
Status codes
| Status | Meaning |
|---|---|
202 |
Queued. |
401 |
No usable credential was sent (invalid_credentials). |
404 |
This company has no live webhook with this id (unknown_webhook), or the webhook has no delivery with this id (unknown_webhook_delivery). |
POST
/v1/webhooks/{id}/deliveries/{deliveryId}/resendExample
curl -X POST https://api.certinvo.com/v1/webhooks/$WEBHOOK_ID/deliveries/$DELIVERIE_DELIVERY_ID/resend \
-H "Authorization: Bearer $CERTINVO_API_KEY"const webhookId = '3f0c2a5e-8d1b-4c7a-9e2f-6b5d4a3c2b1a'
const deliverieDeliveryId = 'value'
const response = await fetch(`https://api.certinvo.com/v1/webhooks/${webhookId}/deliveries/${deliverieDeliveryId}/resend`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.CERTINVO_API_KEY}`,
},
})
console.log(response.status, await response.json())import os
import requests
webhook_id = "3f0c2a5e-8d1b-4c7a-9e2f-6b5d4a3c2b1a"
deliverie_delivery_id = "value"
response = requests.post(
f"https://api.certinvo.com/v1/webhooks/{webhook_id}/deliveries/{deliverie_delivery_id}/resend",
headers={"Authorization": f"Bearer {os.environ['CERTINVO_API_KEY']}"},
)
print(response.status_code, response.text)202
application/json
{
"id": "string",
"state": "pending"
}Success response