Personal notifications for the linked Cloud account
import requests
url = "https://platform.ankra.app/api/v1/org/notifications/cloud"
payload = {
"ids": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"read": True,
"archived": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({ids: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'], read: true, archived: true})
};
fetch('https://platform.ankra.app/api/v1/org/notifications/cloud', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://platform.ankra.app/api/v1/org/notifications/cloud \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"read": true,
"archived": true
}
'{
"changed": 1
}Notifications
Personal notifications for the linked Cloud account
Change only the authenticated member’s read or archive state. Neither shared resolution nor another person’s receipt is changed.
POST
/
api
/
v1
/
org
/
notifications
/
cloud
Personal notifications for the linked Cloud account
import requests
url = "https://platform.ankra.app/api/v1/org/notifications/cloud"
payload = {
"ids": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"read": True,
"archived": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({ids: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'], read: true, archived: true})
};
fetch('https://platform.ankra.app/api/v1/org/notifications/cloud', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://platform.ankra.app/api/v1/org/notifications/cloud \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"read": true,
"archived": true
}
'{
"changed": 1
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Optional assertion of the authenticated organisation; mismatch returns 409. Never selects authority.
Optional assertion of the authenticated subject; mismatch returns 409. Never selects authority.
Body
application/json
Response
Personal notification center result. Never cached.
Required range:
x >= 0