Skip to main content
POST
/
v1
/
regions
/
global
/
notifications
/
inbox
/
{id}
/
read
Mark as read
const options = {method: 'POST', headers: {cookie: 'session='}};

fetch('https://api.example.com/v1/regions/global/notifications/inbox/{id}/read', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "success": true,
  "data": {
    "id": "<string>",
    "read": true,
    "readAt": "2023-11-07T05:31:56Z"
  },
  "meta": {}
}

Authorizations

session
string
cookie
required

Session-based authentication via HTTP-only cookie

Path Parameters

id
string
required

Response

200 - application/json

Marked as read

success
enum<boolean>
Available options:
true
data
object
meta
object