Get API key
Authenticated all requests require Authorization: Bearer mk_test_…Learn more
API ReferenceShipmentsDownload doorstep POD photo

Download doorstep POD photo

GET/api/v1/shipments/{shipment_id}/pod

Downloads the last-mile courier's doorstep proof-of-delivery photo as a JPEG attachment. This endpoint returns the doorstep photo only — it never returns, links to, or requests the YunExpress-issued POD certificate PDF. Requires the shipment to belong to the API key's account and environment. Unknown shipment, cross-account or cross-environment access, no available photo, and an expired/unreachable photo all return the same 404 response.

Parameters

shipment_id*
stringpath
iMile tracking number for a shipment owned by the authenticated account.

Responses

Success body
{
  "content_type": "image/jpeg",
  "body": "<binary bytes>"
}

Binary response

FieldTypeSample
content_typestringimage/jpeg
bodystring<binary bytes>