---
title: "Reject a scheduled notification"
method: POST
path: "/notifications/scheduled/{id}/reject"
tags: ["scheduled-notifications"]
---

# Reject a scheduled notification

`POST /notifications/scheduled/{id}/reject`

Reject a scheduled notification. Only admins can reject notifications.
    Rejected notifications will not be sent.

## Path parameters

- `id` number, required

## Request body

- RejectNotificationDto
  - `reason` string — Reason for rejection (optional)

## Response `200`

Notification rejected successfully

- ScheduledNotificationResponseDto
  - `notification_id` number, required — Notification ID
  - `title` string, required — Notification title
  - `body` string, required — Notification body
  - `scheduled_time` string, date-time, required — Scheduled time
  - `timezone` string, required — Timezone
  - `target_type` 'user' | 'users' | 'all_users' | 'tokens' | 'topic' | 'condition', required — Target type
  - `target_value` object — Target value
  - `status` 'pending_approval' | 'pending' | 'processing' | 'sent' | 'failed' | 'cancelled' | 'expired' | 'rejected', required — Current status
  - `sent_at` string, date-time — Sent timestamp
  - `success_count` number, required — Number of successful sends
  - `failure_count` number, required — Number of failed sends
  - `error_message` string — Error message if failed
  - `created_at` string, date-time, required — Created timestamp
  - `updated_at` string, date-time, required — Updated timestamp

## Other responses

- `400` — Bad request - Cannot reject notification (e.g., already sent)
- `401` — Unauthorized - Invalid or missing JWT token
- `403` — Forbidden - Admin role is required
- `404` — Notification not found

---

[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-service-production.skmtc.workers.dev/v1/apis/tonewow/tonewow-database-api/revisions/f36472974ad4/schema)
