Notifications Feed Api Service

Mark a single notification as read or unread

put/v2/notifications/{id}/read

Request

  • Base URL: https://app.metricool.com/api
  • URL: https://app.metricool.com/api/v2/notifications/{id}/read
  • Auth: none declared

Path parameters

idstring required

Notification id

Request body

readboolean required

true to mark as read, false to mark as unread

Example request

{
  "read": true
}

Response

Notification marked successfully

metadataobject

Example response

{
  "data": {
    "notificationId": 456,
    "unreadCount": 5
  }
}

Changes

No recorded changes to this operation across all 4 revisions of this API.