Retrieve camera snapshot

Retrieve a snapshot from the in-cab or road-facing lens, or from any paired auxiliary camera. The snapshot captures a picture of the specified current lens for the specified device. The camera must be online.

Request
Security:
path Parameters
imei
required
string (IMEI)

The IMEI of the device. The IMEI number can be found on a sticker on the device itself or on the back of the device box.

Example: 357660101000198
cameraId
required
string

The ID of the in-cab or road-facing lens, or any paired auxiliary camera.

1 - road-facing lens, 2 - in-cab lens, 50+ - auxiliary cameras.

Example: 2
query Parameters
time
string <date-time> (Time)

The time, in ISO 8601 format.

Example: time=2020-01-01T14:48:00.000Z
Responses
200

Successful operation

400

Bad request error

401

Unauthorized error

403

Forbidden error

404

Not found error

500

Internal server error

get/devices/{imei}/cameras/{cameraId}/snapshot
Request samples
curl -i -X GET \
  'https://api-prod.surfsight.net/v2/devices/:imei/cameras/:cameraId/snapshot?time=2020-01-01T14%3A48%3A00.000Z' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Response samples
application/json
{}