POST
/
api
/
notification
/
mark
Mark notification messsage as already read
curl --request POST \
  --url https://api.coinfer.ai/api/notification/mark \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "notification_ids": [
    123
  ],
  "status": "read"
}'
{
  "status": "<string>",
  "data": null
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
status
enum<string>
required

the target status to be set

Available options:
read,
unread
notification_ids
integer[]

Response

OK

status
string
required
Allowed value: "ok"
data
null
required