---
title: "notify a sepcific user (Auth policies: notif:add)"
method: POST
path: "/api/notifications/{userId}"
tags: ["Notification"]
---

# notify a sepcific user (Auth policies: notif:add)

`POST /api/notifications/{userId}`

## Path parameters

- `userId` string, uuid, required

## Request body

- NewNotificationViewModel — new notification view model
  - `subject` string, nullable — Subject
  - `htmlText` string, nullable — Text
  - `notificationType` 0 | 1 | 2 | 3 | 4 — notifiction type

## Response `200`

OK

- RUserNotificationViewModel — User Notification
  - `id` string, uuid — Id
  - `dateTime` string, date-time — DateTime
  - `status` 0 | 1 | 2 | 3 — Notifaction Status
  - `subject` string, nullable — Subject
  - `htmlText` string, nullable — Text
  - `notificationType` 0 | 1 | 2 | 3 | 4 — notifiction type

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/ganjoor/apis/rmuseum-api.md) · [All operations](https://skmtc.net/ganjoor/apis/rmuseum-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ganjoor/rmuseum-api/versions/bb8e104d36d2/schema)
