QueryGet camera streaming URLs

Get camera streaming URLs

Fetches live streaming URLs (HLS, DASH, RTMP, thumbnail, snapshot) from 3dEye for a specific camera. Requires the authenticated user to have View permission on the camera.

curl -X GET "https://api.spkey.co/cameras/example_string/stream" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (JWT)" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "cameraId": "example_string",
  "threeDeyeCameraId": "example_string",
  "name": "John Doe",
  "videoStreamState": "example_string",
  "accessUrls": {
    "http": "example_string",
    "rtsp": "example_string",
    "hlsStream": "example_string",
    "dashStream": "example_string",
    "rtmpStream": "example_string",
    "thumbnail": "example_string",
    "snapShot": "example_string"
  }
}
GET
/cameras/{id}/stream
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token (JWT)
Bearer Tokenstring
Required

JWT token from SmartphoneKey authentication. Identifies the B2C user or B2B service.

JWT token from SmartphoneKey authentication. Identifies the B2C user or B2B service.
API Key (header: X-API-Key)
X-API-Keystring
Required

API key for B2B organization access. Provided during organization onboarding.

API key for B2B organization access. Provided during organization onboarding.
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token (JWT). JWT token from SmartphoneKey authentication. Identifies the B2C user or B2B service.

header
X-API-Keystring
Required

API Key for authentication. API key for B2B organization access. Provided during organization onboarding.

Path Parameters

Responses

cameraIdstring
Required

Camera ID

threeDeyeCameraIdstring
Required

3dEye camera ID

namestring
Required

Camera display name

videoStreamStatestring
Required

Current video stream state from 3dEye

accessUrlsobject
Required

Stream access URLs for different protocols