Notifications
Mark all notifications read
POST
/
notifications
/
feed
/
read-all
cURL
curl --request POST \
--url https://backend.branch.flowengineering.com/notifications/feed/read-all \
--header 'X-API-Key: <api-key>' \
--header 'customer: <customer>'import requests
url = "https://backend.branch.flowengineering.com/notifications/feed/read-all"
headers = {
"customer": "<customer>",
"X-API-Key": "<api-key>"
}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {customer: '<customer>', 'X-API-Key': '<api-key>'}};
fetch('https://backend.branch.flowengineering.com/notifications/feed/read-all', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));⌘I
cURL
curl --request POST \
--url https://backend.branch.flowengineering.com/notifications/feed/read-all \
--header 'X-API-Key: <api-key>' \
--header 'customer: <customer>'import requests
url = "https://backend.branch.flowengineering.com/notifications/feed/read-all"
headers = {
"customer": "<customer>",
"X-API-Key": "<api-key>"
}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {customer: '<customer>', 'X-API-Key': '<api-key>'}};
fetch('https://backend.branch.flowengineering.com/notifications/feed/read-all', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));