---
title: "Send notification to specific tokens"
method: POST
path: "/device-tokens/notifications/send-to-tokens"
tags: ["device-tokens"]
---

# Send notification to specific tokens

`POST /device-tokens/notifications/send-to-tokens`

## Request

- Base URL: `https://api.tonewow.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tonewow.com/device-tokens/notifications/send-to-tokens`
- Auth: none declared

Send push notification to specific device tokens

## Request body

- SendNotificationToTokensDto
  - `deviceTokens` string[], required: Array of device tokens to send notification to
  - `payload` PushNotificationPayloadDto, required
    - `title` string, required: Notification title
    - `body` string, required: Notification body
    - `data` object: Additional data payload
    - `imageUrl` string: Image URL for notification
    - `clickAction` string: Click action for Android

## Response `200`

Notification sent successfully

- NotificationResponseDto
  - `successCount` number, required: Number of successful notifications sent
  - `failureCount` number, required: Number of failed notifications
  - `results` string[], required: Detailed results for each notification attempt

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/tonewow/apis/tonewow-database-api.md) - [All operations](https://skmtc.dev/tonewow/apis/tonewow-database-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tonewow/apis/tonewow-database-api/revisions/1993375cf6ed?raw)
