Skip to main content
GET

Authorizations

x-api-key
string
header
required

API key with sm_ prefix. Get your key at https://sudomock.com/dashboard/api-keys

Path Parameters

endpoint_id
string
required
delivery_id
string
required

Response

200 - application/json

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) stay lean: these large fields are fetched on demand, never carried per row. 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.

Headers are stored as JSON strings (both backends; the CF/D1 path stores them the same way) and passed through as strings here, not re-parsed.

id
string
required
Example:

"3d682132-5477-4ffc-b33d-6e750c9c9f1f"

endpoint_id
string
required
Example:

"b5cd6284-f6a0-4cfc-94df-781353e30dfd"

job_id
string
required
Example:

"4a4bfe21-d9d2-43a4-9877-b6ca4aec4349"

event_type
string
required
Example:

"render.succeeded"

status
string
required
Example:

"failed"

attempt
integer
required
Example:

0

created_at
string<date-time>
required
date-time
Example:

"2026-09-18T09:24:12.615000Z"

http_status
integer | null
Example:

500

last_error
string | null
Example:

"non-2xx response: 500"

updated_at
string<date-time> | null
date-time
Example:

"2026-09-18T09:24:12.983000Z"

request_body
string | null
Example:

"{\"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\"}"

request_headers
string | null
Example:

"{\"Content-Type\":\"application/json\",\"User-Agent\":\"SudoMock-Webhook/1.0\",\"X-SudoMock-Signature\":\"2b4ddbe7024e2e0e732fb27374c3e0dedda3dbf2392abe78e9785c836f54832b\",\"X-SudoMock-Timestamp\":\"1789723451\"}"

response_body
string | null
Example:

"Internal Server Error"

response_headers
string | null
Example:

"{\"content-type\":\"text/plain;charset=UTF-8\"}"