---
title: "Mark a notification as unread"
method: POST
path: "/v1/notifications/{id}/mark_as_unread"
tags: ["Notification"]
---

# Mark a notification as unread

`POST /v1/notifications/{id}/mark_as_unread`

## Request

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

Marks a single notification (of the current company, resolved from the
`company-id` header) as unread.

## Path parameters

- `id` string, required

## Parameters

- `#/paths/~1v1~1users/get/parameters/0` (unresolved $ref)

## Response `200`

The updated notification.

- Notification: An in-app notification delivered to a user (backed by the `noticed` gem). Each notification points at a `noticed_event` that carries the payload (`params`) and the `company_id` scoping.
  - `id` string, uuid, required
  - `type` string, nullable: Notification subclass, e.g. `TransactionApprovedNotifier::Notification`.
  - `event_id` string, uuid
  - `recipient_type` string
  - `recipient_id` string: Firebase UID of the recipient user.
  - `read_at` string, date-time, nullable: Timestamp the notification was read; null when unread.
  - `seen_at` string, date-time, nullable
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `401`: Unauthorized
- `404`: Notification not found

---

[API](https://skmtc.dev/cardda/apis/organization-api.md) - [All operations](https://skmtc.dev/cardda/apis/organization-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cardda/apis/organization-api/revisions/32a4430278a8?raw)
