Retrieve a single delivery
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.
failed or dead attempt, the response
body and response headers your server returned. A retry overwrites the same
record, so you always read the latest attempt: attempt counts the attempts
made and http_status carries the code that one came back with.
request_headers and response_headers arrive as JSON strings, so parse them
before reading a single header.Authorizations
API key with sm_ prefix. Get your key at https://sudomock.com/dashboard/api-keys
Path Parameters
Id of the endpoint the delivery belongs to.
Id of the delivery, as listed in the delivery log.
Response
Successful Response
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.
Unique identifier for this delivery.
"3d682132-5477-4ffc-b33d-6e750c9c9f1f"
Identifier of the webhook endpoint this delivery was sent to.
"b5cd6284-f6a0-4cfc-94df-781353e30dfd"
Identifier of the job this event was raised for.
"4a4bfe21-d9d2-43a4-9877-b6ca4aec4349"
Event type this delivery carries, such as render.succeeded.
"render.succeeded"
Current state of this delivery, such as delivered or failed.
"failed"
Attempt counter for this delivery, rising with each retry.
0
Time this delivery was first recorded.
"2026-09-18T09:24:12.615000Z"
HTTP status code your endpoint returned on the latest attempt.
500
Error recorded for the latest attempt.
"non-2xx response: 500"
Time this delivery was last updated.
"2026-09-18T09:24:12.983000Z"
The JSON body sent to your endpoint on the latest attempt.
"{\"created_at\":\"2026-09-18T09:24:11.482713+00:00\",\"error\":null,\"event\":\"render.succeeded\",\"job_id\":\"4a4bfe21-d9d2-43a4-9877-b6ca4aec4349\",\"kind\":\"render\",\"result_url\":\"https://cdn.sudomock.com/mockup-assets/renders/c315f78f-d2c7-4541-b240-a9372842de94/render_8f2c1d4e.webp\",\"status\":\"succeeded\"}"
Headers sent with the latest attempt, as a JSON string.
"{\"Content-Type\":\"application/json\",\"User-Agent\":\"SudoMock-Webhook/1.0\",\"X-SudoMock-Signature\":\"2b4ddbe7024e2e0e732fb27374c3e0dedda3dbf2392abe78e9785c836f54832b\",\"X-SudoMock-Timestamp\":\"1789723451\"}"
Body your endpoint returned on a failed or dead attempt.
"Internal Server Error"
Headers your endpoint returned on a failed or dead attempt, as a JSON string.
"{\"content-type\":\"text/plain;charset=UTF-8\"}"