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.
Successful operation
Bad request error
Unauthorized error
Forbidden error
Not found error
Locked error
Internal server error
curl -i -X POST \ https://api-prod.surfsight.net/v2/devices/:imei/connect-media \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "data": {
- "address": "prod-us-03.surfsight.net",
- "mediaToken": "e3d53477-1f85-42c1-8ed0-2bb591700db8"
}
}