---
title: "Mark a notification as (un-)read"
method: POST
path: "/notifications/{id}"
tags: ["subscriptions"]
---

# Mark a notification as (un-)read

`POST /notifications/{id}`

Marks a notification as either read or unread. A user can only mark their own notifications as read.

## Path parameters

- `id` integer, required

## Response `200`

The notification to mark as read.

- ModelsDatabaseNotifications
  - `created` string — A timestamp when this notification was created. You cannot change this value.
  - `id` integer — The unique, numeric id of this notification.
  - `name` string — The name of the notification
  - `notification` unknown
  - `read` boolean — Whether or not to mark this notification as read or unread. True is read, false is unread.
  - `read_at` string — When this notification is marked as read, this will be updated with the current timestamp.

## Other responses

- `403` — Link shares cannot have notifications.
- `404` — The notification does not exist.
- `500` — Internal error

---

[API](https://skmtc.net/go-vikunja/apis/vikunja-api.md) · [All operations](https://skmtc.net/go-vikunja/apis/vikunja-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/go-vikunja/vikunja-api/revisions/feb3f68bbdf1/schema)
