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

# Send a test push notification

`POST /api/v1/notifications/test`

## Request

- Base URL: `http://localhost:3002`
- URL: `http://localhost:3002/api/v1/notifications/test`
- Auth: HTTP bearer

Sends a test push notification to all active devices for the authenticated captain. Returns delivery counts.

## Response `200`

Push delivery result

- object
  - `data` PushTestResult, required
    - `sent` integer, required: Number of devices reached
    - `failed` integer, required: Number of delivery failures

## Other responses

- `401`: Authentication required, or the bearer token is missing or invalid.

---

[API](https://skmtc.dev/chartercaptain/apis/charter-captain-api.md) · [All operations](https://skmtc.dev/chartercaptain/apis/charter-captain-api/llms.txt) · [OpenAPI document](https://skmtc.dev/chartercaptain/apis/charter-captain-api/revisions/1ffea1113adb?raw)
