API Reference
Open a task's viewer link
Answers what a viewer link’s player page needs: the task, the phone and the workspace.
The token is the whole credential, and it travels in the
Authorization header — never in a path. A viewer link watches only:
every input route refuses it.
Refused with 403 live_view_ended once the task has finished.
POST
/
v1
/
live-view
Open a task's viewer link
curl --request POST \
--url https://api.lusor.ai/v1/live-view \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.lusor.ai/v1/live-view', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lusor.ai/v1/live-view"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"data": {
"sessionId": "<string>",
"deviceId": "<string>",
"workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"mode": "view",
"expiresAt": 123
}
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}Authorizations
Was this page helpful?
⌘I
Open a task's viewer link
curl --request POST \
--url https://api.lusor.ai/v1/live-view \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.lusor.ai/v1/live-view', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lusor.ai/v1/live-view"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"data": {
"sessionId": "<string>",
"deviceId": "<string>",
"workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"mode": "view",
"expiresAt": 123
}
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}
