/api/v1/notifications/read
POST
/api/v1/notifications/read
const url = 'https://example.com/api/v1/notifications/read';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"ids":["2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"],"all":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/notifications/read \ --header 'Content-Type: application/json' \ --data '{ "ids": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ], "all": true }'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
ids
Array<string>
all
boolean
Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
unread
required
integer
Examplegenerated
{ "unread": 1}