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