Skip to content

API reference

List a webhook's deliveries

Other routes API

GET/v1/webhooks/{id}/deliveries

Returns the newest 50 deliveries to this webhook, newest first, each with the step it carried and what the receiver answered last. A stopped webhook’s deliveries are listed too.

Path parameters

  • idstring (uuid)Required

Response

A 200 answer carries these fields.

  • deliveriesarray of objectRequired
    Show 10 child fields
    • idstringRequired

      The delivery's id. It is the webhook-id header without msg_.

    • eventIdstringRequired

      The history event it carried.

    • typestringRequired

      The event's history code.

    • invoiceIdstring (uuid)Required
    • statestringRequired

      pending waits for its next attempt, delivered was answered 2xx, failed used all six attempts.

      One of pending, delivered, failed.
    • attemptsintegerRequired
    • lastStatusinteger or nullRequired

      The receiver's last HTTP status

    • lastErrorstring or nullRequired

      Why no answer came

    • createdAtstring (date-time)Required
    • deliveredAtstring (date-time) or nullRequired

Status codes

Status Meaning
200 {deliveries: [WebhookDelivery]}.
401 No usable credential was sent (invalid_credentials).
404 This company has no webhook with this id (unknown_webhook).
GET/v1/webhooks/{id}/deliveries
Example
curl https://api.certinvo.com/v1/webhooks/$WEBHOOK_ID/deliveries \
  -H "Authorization: Bearer $CERTINVO_API_KEY"
const webhookId = '3f0c2a5e-8d1b-4c7a-9e2f-6b5d4a3c2b1a'

const response = await fetch(`https://api.certinvo.com/v1/webhooks/${webhookId}/deliveries`, {
  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"

response = requests.get(
    f"https://api.certinvo.com/v1/webhooks/{webhook_id}/deliveries",
    headers={"Authorization": f"Bearer {os.environ['CERTINVO_API_KEY']}"},
)
print(response.status_code, response.text)
200
application/json
{
  "deliveries": [
    {
      "id": "string",
      "eventId": "string",
      "type": "string",
      "invoiceId": "3f0c2a5e-8d1b-4c7a-9e2f-6b5d4a3c2b1a",
      "state": "pending",
      "attempts": 0,
      "lastStatus": 0,
      "lastError": "string",
      "createdAt": "2026-09-17T09:30:00Z",
      "deliveredAt": "2026-09-17T09:30:00Z"
    }
  ]
}
Success response
GET
/v1/webhooks/{id}/deliveries
List a webhook's deliveries
All
›AuthenticationRequiredBearerAuth

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

›Variables1
›Headers2
›Code Snippet
curl -X GET "https://api.certinvo.com/v1/webhooks/{id}/deliveries" \
  -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