The Video Link API endpoint allows third‑party developers to retrieve a direct Solink video playback URL for a specific camera and timestamp. If no timestamp is provided, the link opens live video for that camera. The returned link will redirect the user to authenticate (if needed) and then open the specified playback view.
Video Link Retrieval Workflow
-
Authenticate
Obtain an access token. -
(Optional) List Devices
Identify available devices and theirdeviceId
. -
List Cameras
Fetch cameras and theircameraId
. -
Retrieve a Video Link
Request a playback URL using thecameraId
and optionaltimestamp
as outlined below.
Sample Request
curl --request GET \
--url 'https://api-prod-us-west-2.solinkcloud.com/v2/video/link?cameraId=7bf7bf80-5bab-11e9-b261-2dafd85xxxxx×tamp=1742571926' \
--header 'Authorization: Bearer {ACCESS_TOKEN}' \
--header 'x-api-key: {API_KEY}'
Omit
timestamp
to receive a link to the live video stream:
.../video/link?cameraId=7bf7bf80-5bab-11e9-b261-2dafd85xxxxx
Sample Response
{
"url": "https://solinkcloud.com/video/list?tenantId=bfa01b30-a36a-11e5-b444-7f22149xxxxx&cameraId=7bf7bf80-5bab-11e9-b261-2dafd85xxxxx&appDate=1742571926"
}
A successful request returns a JSON payload containing aurl
that deep‑links to Solink’s video playback interface, scoped to the specified camera and starting at the provided timestamp (or live if omitted). The user will be prompted to authenticate if they are not already logged in.
Note: Present the URL as a navigational link (i.e. link the returned URL to a button or standard hyperlink).
iframe embedding is not supported due to Solink using security headers that block embedding Solink pages inside other sites.