Skip to content
Sign in Create account

Get a single webhook delivery attempt

GET /api/v1/webhooks/deliveries/{deliveryId}

Returns the full delivery record for a delivery belonging to the authenticated organization, with endpoint and response-status aliases. A missing or other-organization delivery returns 404.

Authenticate with a portal session token.

Parameters

  • deliveryId integer path required

Responses

200 Full delivery record.

application/json WebhookDeliveryC6b

  • attempt_count integer required
  • created_at string (date-time) required
  • delivered_at string (date-time) or null required
  • endpoint_id integer required
  • event string required
    Example: "receipt.signed"
  • event_id string required

    Idempotency key — consumers must dedupe on this for ≥24h

  • first_attempt_at string (date-time) or null required
  • id integer required
  • last_error string or null required
  • last_response_body string or null required
    Length: at most 4096 characters
  • last_status_code integer or null required
  • next_attempt_at string (date-time) or null required
  • payload object required

    Any keys are accepted.

  • response_status integer or null required
  • signature string required

    HMAC-SHA256(secret, json_encode(payload)) in hex

  • status string required
    One of: "pending", "in_flight", "delivered", "failed", "dead"
  • updated_at string (date-time) required
  • webhook_endpoint_id integer required

Generated sample

{
  "attempt_count": 0,
  "created_at": "2026-01-01T00:00:00Z",
  "delivered_at": "2026-01-01T00:00:00Z",
  "endpoint_id": 0,
  "event": "receipt.signed",
  "event_id": "string",
  "first_attempt_at": "2026-01-01T00:00:00Z",
  "id": 0,
  "last_error": "string",
  "last_response_body": "string",
  "last_status_code": 0,
  "next_attempt_at": "2026-01-01T00:00:00Z",
  "payload": {},
  "response_status": 0,
  "signature": "string",
  "status": "pending",
  "updated_at": "2026-01-01T00:00:00Z",
  "webhook_endpoint_id": 0
}
401 Missing or invalid bearer token.

application/json object

Any keys are accepted.

403 An authenticated user with an unverified email address receives 403.

application/json object

Any keys are accepted.

404 Delivery was not found in this organization.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

429 The request was rate limited. API-generated responses are JSON;

Response headers

  • Retry-After string header

    Seconds to wait before retrying, when provided.

  • X-RateLimit-Scope string header

    Identifies the scope of the request limit, when provided.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

text/html string