---
title: "Send a notification."
method: POST
path: "/v2/console/notification"
tags: ["Console"]
---

# Send a notification.

`POST /v2/console/notification`

## Request

- Base URL: `http://127.0.0.1:7351`
- URL: `http://127.0.0.1:7351/v2/console/notification`
- Auth: API key in header `Authorization`

## Request body

- SendNotificationRequest: Request to send a notification.
  - `user_ids` string[]: One or more users to send the notification to, or empty to send to all users.
  - `subject` string: Subject for the notification.
  - `content` object: Arbitrary content.
  - `code` integer: Code.
  - `persistent` boolean: Persistent flag.
  - `sender_id` string: Sender identifier.

## Response `200`

A successful response.

- object

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/heroiclabs/apis/nakama-console-api-v2.md) - [All operations](https://skmtc.dev/heroiclabs/apis/nakama-console-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/heroiclabs/apis/nakama-console-api-v2/revisions/fbde2e3c5ead?raw)
