Endpoint; /me/marknotificationsasread
Response type: json
POST body parameters required-
ids
: [Int]
Python example:
import requests, json
token = "XXXX"
api = "https://replit-oauth.coolcodersj.repl.co/api/v1"
r = requests.post(f"{api}/me/marknotificationsasread", headers={
"Authorization": f"Bearer {token}"
}, data=json.dumps({
"ids": [000, 000]
}))