---
title: "Retrieve a single delivery"
method: GET
path: "/api/v1/webhook-endpoints/{endpoint_id}/deliveries/{delivery_id}"
tags: ["Webhook deliveries"]
---

# Retrieve a single delivery

`GET /api/v1/webhook-endpoints/{endpoint_id}/deliveries/{delivery_id}`

## Request

- Base URL: `https://api.sudomock.com`
- URL: `https://api.sudomock.com/api/v1/webhook-endpoints/{endpoint_id}/deliveries/{delivery_id}`
- Auth: API key in header `x-api-key`

Full single delivery row including the captured request body + headers (every attempt) and, for failed/dead attempts, the response body + headers. The list endpoints never carry these large fields.

## Path parameters

- `endpoint_id` string, required: Id of the endpoint the delivery belongs to.
- `delivery_id` string, required: Id of the delivery, as listed in the delivery log.

## Response `200`

Successful Response

- WebhookDeliveryDetailResponse: A single delivery row WITH the captured request/response detail. Returned ONLY by the per-delivery detail endpoint; the list endpoints (/deliveries, /events) never carry these large fields. Capture rules (latest attempt; a retry overwrites the same row): - request_body / request_headers -> captured on EVERY delivery attempt. - response_body / response_headers -> captured ONLY on failed/dead attempts (NULL on success, because a 2xx body is intentionally not stored). response_body is truncated to 16384 chars. Request and response headers are returned as JSON strings.
  - `id` string, required: Unique identifier for this delivery.
  - `endpoint_id` string, required: Identifier of the webhook endpoint this delivery was sent to.
  - `job_id` string, required: Identifier of the job this event was raised for.
  - `event_type` string, required: Event type this delivery carries, such as render.succeeded.
  - `status` string, required: Current state of this delivery, such as delivered or failed.
  - `http_status` integer, nullable: HTTP status code your endpoint returned on the latest attempt.
  - `attempt` integer, required: Attempt counter for this delivery, rising with each retry.
  - `last_error` string, nullable: Error recorded for the latest attempt.
  - `created_at` string, date-time, required: Time this delivery was first recorded.
  - `updated_at` string, date-time, nullable: Time this delivery was last updated.
  - `request_body` string, nullable: The JSON body sent to your endpoint on the latest attempt.
  - `request_headers` string, nullable: Headers sent with the latest attempt, as a JSON string.
  - `response_body` string, nullable: Body your endpoint returned on a failed or dead attempt.
  - `response_headers` string, nullable: Headers your endpoint returned on a failed or dead attempt, as a JSON string.

---

[API](https://skmtc.dev/sudomock/apis/sudomock-api.md) · [All operations](https://skmtc.dev/sudomock/apis/sudomock-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sudomock/apis/sudomock-api/revisions/c1cc24006c60?raw)
