List my notification channel preferences
import requests
url = "https://platform.ankra.app/api/v1/org/notifications/channel-preferences"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/notifications/channel-preferences', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/api/v1/org/notifications/channel-preferences \
--header 'Authorization: Bearer <token>'{
"preferences": [
{
"channel": "email",
"enabled": true,
"min_severity": "<string>",
"is_default": true
}
]
}Notifications
List my notification channel preferences
Returns the caller’s own setting for every notification channel (email, mobile push, browser), defaults included, for notifications addressed to them in this organisation.
GET
/
api
/
v1
/
org
/
notifications
/
channel-preferences
List my notification channel preferences
import requests
url = "https://platform.ankra.app/api/v1/org/notifications/channel-preferences"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/notifications/channel-preferences', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/api/v1/org/notifications/channel-preferences \
--header 'Authorization: Bearer <token>'{
"preferences": [
{
"channel": "email",
"enabled": true,
"min_severity": "<string>",
"is_default": true
}
]
}