Driver Questionnaires

Get Driver Questionnaire Image

Retrieve a driver questionnaire image (photo or signature) by its ID. The IDs come from the images arrays on GET /driver-questionnaire-submission/{id}. By default returns the raw image binary. Use the encoding query parameter to request a Base64-encoded JSON response instead.

Images are compressed asynchronously after the driver uploads them. If the image exists but compression has not finished, this endpoint returns 202 Accepted with a Retry-After header and the image's model (id and is_compressed: false) as the JSON body, instead of image data — retry after the interval given. Image data is returned as WebP; the Content-Type header (or content_type in the Base64 response) states the format.

get/driver-questionnaire-images/{id}

Request

  • Base URL: https://api.smartroutes.io/v2
  • URL: https://api.smartroutes.io/v2/driver-questionnaire-images/{id}
  • Auth: none declared

Path parameters

idinteger required

The ID of the image 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.