Proof of Delivery

Get Proof of Delivery Photo

Retrieve the compressed proof-of-delivery photo by its ID. By default returns the raw image binary. Use the encoding query parameter to request a Base64-encoded JSON response instead.

Photos are compressed asynchronously after the driver uploads them. If the photo exists but compression has not finished, this endpoint returns 202 Accepted with a Retry-After header and the photo's model (id and is_compressed: false) as the JSON body, instead of image data — retry after the interval given. The photos arrays on order and plan responses list every synced photo as soon as it exists, including photos that are still compressing, so a URL taken from one of those responses may itself return a 202 if followed before compression finishes — apply the same retry logic.

get/proof-of-delivery/photos/{id}

Request

  • Base URL: https://api.smartroutes.io/v2
  • URL: https://api.smartroutes.io/v2/proof-of-delivery/photos/{id}
  • Auth: none declared

Path parameters

idinteger required

The ID of the photo to retrieve.

Query parameters

encoding'base64'

Set to base64 to receive the image as a Base64-encoded string in a JSON response instead of raw binary.

Response

Successful response. Returns raw image binary by default, or a JSON object when encoding=base64 is specified.

Changes

No recorded changes to this operation across all 1 revision of this API.