---
title: "Mark a notification as read"
method: POST
path: "/notifications/{id}/mark_read"
tags: ["Notifications"]
---

# Mark a notification as read

`POST /notifications/{id}/mark_read`

## Request

- Base URL: `https://socialbu.com/api/v1`
- URL: `https://socialbu.com/api/v1/notifications/{id}/mark_read`
- Auth: HTTP bearer

## Path parameters

- `id` integer, required

## Response `200`

successful operation

- Notification
  - `created_at` string, date-time: The timestamp when the notification was created.
  - `id` string: Unique identifier of the notification.
  - `read_at` string, date-time: The timestamp when the notification was marked as read. Null if unread.
  - `is_unread` boolean: True if notification is unread.
  - `title` string: Title of the notification.
  - `body` string: Main body of the notification.
  - `url` string: A URL related to the notification.
  - `level` string: Priority level of the notification (e.g., info, warning, error).

## Other responses

- `404`: Resource not found

---

[API](https://skmtc.dev/socialbu/apis/socialbu-api.md) · [All operations](https://skmtc.dev/socialbu/apis/socialbu-api/llms.txt) · [OpenAPI document](https://skmtc.dev/socialbu/apis/socialbu-api/revisions/841b3ab0f671?raw)
