API ReferenceShipmentsDownload doorstep POD photo
Download doorstep POD photo
GET
/api/v1/shipments/{shipment_id}/podDownloads 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*
iMile tracking number for a shipment owned by the authenticated account.
Responses
Success body
{ "content_type": "image/jpeg", "body": "<binary bytes>" }
Binary response
| Field | Type | Sample |
|---|---|---|
| content_type | string | image/jpeg |
| body | string | <binary bytes> |