Skip to content

API reference

Send a delivery again

Other routes API

POST/v1/webhooks/{id}/deliveries/{deliveryId}/resend

Starts 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
  • statestringRequired
    One 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}/resend
Example
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
POST
/v1/webhooks/{id}/deliveries/{deliveryId}/resend
Send a delivery again
All
›AuthenticationRequiredBearerAuth

Provide your API key in the Authorization: Bearer <key> header. Keys are stored locally in your browser.

›Variables2
›Headers2
›Body
›Code Snippet
curl -X POST "https://api.certinvo.com/v1/webhooks/{id}/deliveries/{deliveryId}/resend" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response

No request sent yet

Configure parameters and click Send to view the response.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close