---
title: "PATCH /api/notifications/{nid}"
method: PATCH
path: "/api/notifications/{nid}"
tags: ["api"]
---

# PATCH /api/notifications/{nid}

`PATCH /api/notifications/{nid}`

## Request body

- Notification
  - `nid` integer — A unique integer value identifying each notification
  - `activity` Activity, required — Activity being notified.
    - `user` UserDetail, required — User details.
      - `username` string, required — Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.
      - `email` string, email
    - `project` ProjectDetail, required — Project where the activity was performed.
      - `pid` string, uuid — A UUID identifying this project.
      - `name` string — Project name.
    - `description` string, required — Activity description.
    - `created` string, date-time — Date when the activity was performed.
  - `seen` boolean — Whether the notification was seen.

## Response `200`

OK

- Notification
  - `nid` integer — A unique integer value identifying each notification
  - `activity` Activity, required — Activity being notified.
    - `user` UserDetail, required — User details.
      - `username` string, required — Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.
      - `email` string, email
    - `project` ProjectDetail, required — Project where the activity was performed.
      - `pid` string, uuid — A UUID identifying this project.
      - `name` string — Project name.
    - `description` string, required — Activity description.
    - `created` string, date-time — Date when the activity was performed.
  - `seen` boolean — Whether the notification was seen.

---

[API](https://skmtc.net/bitmakerla/apis/estela-api-v1-0-documentation.md) · [All operations](https://skmtc.net/bitmakerla/apis/estela-api-v1-0-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bitmakerla/estela-api-v1-0-documentation/versions/ec53774a2b78/schema)
