Skip to main content

Mark Read Notifications

This endpoint marks as read a list of notifications identified by serialization_ids (sids)

info

This operation requires authentication.

HTTP Request

POST /api/v2/notification/read/

Parameters

NameInTypeRequiredDescription
sidsbodyList of sid (serialization id)trueSerialization ids

Example Body Parameters

{
"sids": ["string"]
}

Example Request

const inputBody = '{
"sids": ["string"]
}';
const headers = {
'Content-Type':'application/x-www-form-urlencoded',
'Accept':'application/json',
'Authorization: Bearer <token>'
};

fetch('/api/v2/notification/read/',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

Responses

StatusMeaningDescriptionSchema
204No ContentResponse status codeNone