---
title: "Send Test Notification"
method: POST
path: "/api/users/{user_id}/test-notification"
tags: ["Notifications"]
---

# Send Test Notification

`POST /api/users/{user_id}/test-notification`

## Request

- Base URL: `https://api.earmarkiq.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.earmarkiq.app/api/users/{user_id}/test-notification`
- Auth: HTTP bearer

Send a test push notification to the user's device.

## Path parameters

- `user_id` string, uuid, required

## Request body

- TestNotificationRequest
  - `title` string, nullable
  - `body` string, nullable

## Response `200`

Successful Response

- TestNotificationResponse
  - `success` boolean, required
  - `message` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/earmarkiq/apis/earmark-api.md) · [All operations](https://skmtc.dev/earmarkiq/apis/earmark-api/llms.txt) · [OpenAPI document](https://skmtc.dev/earmarkiq/apis/earmark-api/revisions/4a2c41907105?raw)
