API Reference

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.

Language
Credentials
Click Try It! to start a request and see the response here!