---
title: "Create Notification"
method: POST
path: "/api/v1/notifications"
tags: ["api", "api", "notifications"]
---

# Create Notification

`POST /api/v1/notifications`

## Request

- Base URL: `https://www.faroz.uz` (the document declares no server; this is the origin it was published from)
- URL: `https://www.faroz.uz/api/v1/notifications`
- Auth: HTTP bearer

## Request body

- NotificationCreate
  - `title` string, required
  - `body` string
  - `image_url` string, nullable
  - `target_topic` string

## Response `201`

Successful Response

- Notification
  - `id` string, required
  - `title` string, required
  - `body` string
  - `image_url` string, nullable
  - `target_topic` string
  - `sent_at` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/faroz/apis/edu-app-api.md) · [All operations](https://skmtc.dev/faroz/apis/edu-app-api/llms.txt) · [OpenAPI document](https://skmtc.dev/faroz/apis/edu-app-api/revisions/414a551ba773?raw)
