Prepare media streaming

Receive the URL to retrieve a recording or live video and the authentication token required for the URL. The token is valid for thirty minutes. Make this call again if your device does not start streaming within two minutes.

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
Responses
200

Successful operation

400

Bad request error

401

Unauthorized error

403

Forbidden error

404

Not found error

423

Locked error

500

Internal server error

post/devices/{imei}/connect-media
Request samples
curl -i -X POST \
  https://api-prod.surfsight.net/v2/devices/:imei/connect-media \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Response samples
application/json
{
  • "data": {
    }
}