Get Camera Snapshot

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

The Snapshot API endpoint allows third-party developers to retrieve camera snapshots at a specific timestamp.

The following workflow outlines the necessary steps to authenticate, list available devices and cameras, and fetch snapshots.

Snapshot Retrieval Workflow

  1. Authenticate
    Obtain an access token.

  2. List Devices
    Identify the available devices and their deviceId.

  3. List Cameras
    Fetch cameras associated with a specific deviceId.

  4. Retrieve a Snapshot
    Request a snapshot using the cameraId and desired timestamp as outlined below.

Sample Request

curl --request GET \
     --url 'https://api-prod-us-west-2.solinkcloud.com/v2/cameras/{cameraId}/snapshot?timestamp={timestamp}' \
     --header 'Authorization: Bearer {ACCESS_TOKEN}' \
     --header 'x-api-key: {API_KEY}'

Sample Response

A successful request returns the binary data of a JPEG image, which represents the snapshot taken at the specified timestamp.

Handle a 429 Response

The endpoint returns 429 Too Many Requests when the device for the camera is busy with too many snapshot requests. The response does not contain an image. The response body is JSON:

{"message": "Too Many Requests", "requestId": "..."}

Wait a short time, then send the request again. If the endpoint returns 429 again, wait longer before each new attempt (exponential backoff).

The API also returns 429 when your API key is over its rate limit. For the limits, see Rate Limiting.

Path Params
string
required
Query Params
string
required

Timestamp of requested camera snapshot, formatted in ISO-8601 UTC (e.g. 2025-02-14T15:30:00Z)

Response
200
Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here!