Notifications
Get which apps' notifications a phone forwards
GET
/
v1
/
workspaces
/
{workspaceId}
/
devices
/
{deviceId}
/
notifications
/
settings
Get which apps' notifications a phone forwards
curl --request GET \
--url https://api.lusor.ai/v1/workspaces/{workspaceId}/devices/{deviceId}/notifications/settings \
--header 'X-Api-Key: <api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.lusor.ai/v1/workspaces/{workspaceId}/devices/{deviceId}/notifications/settings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lusor.ai/v1/workspaces/{workspaceId}/devices/{deviceId}/notifications/settings"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"deviceId": "<string>",
"enabled": true,
"packages": [
{
"package": "<string>",
"label": "<string>"
}
],
"revision": 123,
"updatedAt": "2023-11-07T05:31:56Z",
"status": {
"supported": true,
"accessGranted": true,
"listenerConnected": true,
"configRevision": 123
}
}
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}Authorizations
ApiKeyBearerAuth
Path Parameters
Was this page helpful?
⌘I
Get which apps' notifications a phone forwards
curl --request GET \
--url https://api.lusor.ai/v1/workspaces/{workspaceId}/devices/{deviceId}/notifications/settings \
--header 'X-Api-Key: <api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.lusor.ai/v1/workspaces/{workspaceId}/devices/{deviceId}/notifications/settings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lusor.ai/v1/workspaces/{workspaceId}/devices/{deviceId}/notifications/settings"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"deviceId": "<string>",
"enabled": true,
"packages": [
{
"package": "<string>",
"label": "<string>"
}
],
"revision": 123,
"updatedAt": "2023-11-07T05:31:56Z",
"status": {
"supported": true,
"accessGranted": true,
"listenerConnected": true,
"configRevision": 123
}
}
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}
