RevKeen Docs
Api reference

Retrieve a webhook delivery

Retrieve the details of a single webhook delivery including its last attempt outcome.


Related endpoints

  • GET /webhook-deliveries — List webhook deliveries
  • POST /webhook-deliveries/{id}/retry — Retry a webhook delivery

Common errors

  • 404 resource_missing — the referenced resource does not exist or is not visible to your key.
GET
/webhook-deliveries/{id}
x-api-key<token>

Your RevKeen API key (powered by Unkey). Get it from Dashboard > Settings > API Keys. Use rk_sandbox_* for test mode and rk_live_* for production.

In: header

Path Parameters

id*string

Webhook delivery ID

Formatuuid

Response Body

application/json

application/json

curl "https://api.revkeen.com/v2/webhook-deliveries/00000000-0000-0000-0000-000000000000" \  -H "x-api-key: $REVKEEN_API_KEY"
{
  "data": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "object": "webhook_delivery",
    "endpoint_id": "7c1cbf21-0b6c-4c27-9d60-8a9f0a7e6d91",
    "event_id": "1f8d9e0b-3a2e-4d9a-b0fe-1c2a3f4d5e6f",
    "event_type": "invoice.paid",
    "status": "pending",
    "attempts": 2,
    "max_attempts": 8,
    "last_status_code": 502,
    "last_error": "connect ETIMEDOUT",
    "last_error_code": "ETIMEDOUT",
    "last_duration_ms": 1532,
    "last_attempt_at": "2019-08-24T14:15:22Z",
    "next_retry_at": "2019-08-24T14:15:22Z",
    "delivered_at": "2019-08-24T14:15:22Z",
    "dead_lettered_at": "2019-08-24T14:15:22Z",
    "dead_letter_reason": "string",
    "created_at": "2019-08-24T14:15:22Z",
    "updated_at": "2019-08-24T14:15:22Z"
  }
}
{
  "error": {
    "type": "string",
    "code": "string",
    "message": "string"
  }
}