me

Update a notification's status.

Changed on

This endpoint will update the status of a single, multiple or all notifications of the authenticated user.

post/me/notifications/update

Request

  • Base URL
    https://api.kurozora.app/v1
  • URL
    https://api.kurozora.app/v1/me/notifications/update
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Request body application/x-www-form-urlencoded

notificationstring[] required

The UUID of the notification to update. Use "all" to update all of the user's notifications.

read0 | 1 required

The notification read status used to mark a notification as read or unread.

  • 0 = unread
  • 1 = read

Response

Successful POST Notifications Update JSON response

object required

Example response

{
  "data": {
    "isRead": true,
    "amount_updated": 1
  }
}

Changes