Hikka Docs Hikka Docs
EndpointsNotifications

Mark notification as seen

POST
/notifications/{notification_reference}/seen

Path Parameters

notification_reference*string
Formatuuid

Header Parameters

auth?|
auth?|

Response Body

application/json

application/json

curl -X POST "https://api.hikka.io/notifications/497f6eca-6276-4993-bfeb-53cbbbba6f08/seen"
{
  "initiator_user": {
    "reference": "c773d0bf-1c42-4c18-aec8-1bdd8cb0a434",
    "updated": 1686088809,
    "created": 1686088809,
    "description": "Hikka",
    "username": "hikka",
    "cover": "string",
    "active": true,
    "avatar": "string",
    "role": "string"
  },
  "notification_type": "string",
  "created": 0,
  "reference": "string",
  "seen": true,
  "data": {}
}
{
  "message": "Example error message",
  "code": "example_error"
}