---
title: "Send test push notification to yourself"
method: POST
path: "/v1/notifications/test-push"
tags: ["Notifications"]
---

# Send test push notification to yourself

`POST /v1/notifications/test-push`

Sends a push notification with custom title and body to the authenticated user. Requires the user to have a valid FCM token registered.

## Request body

- TestPushNotificationDto
  - `title` string, required — Notification title
  - `body` string, required — Notification body text
  - `data` object — Optional custom data payload

## Response `200`

Push notification sent

- TestPushNotificationResponseDto
  - `message` string, required — Success message
  - `userId` string, required — User ID the notification was sent to
  - `successCount` number, required — Number of successful sends
  - `failureCount` number, required — Number of failed sends

---

[API](https://skmtc.dev/miaai/apis/backend-template-api.md) · [All operations](https://skmtc.dev/miaai/apis/backend-template-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/miaai/backend-template-api/revisions/2a8d88a5124f/schema)
