---
title: "Gửi lại thông báo đã lỗi hoặc đã hủy (gửi ngay)"
method: POST
path: "/admin/surveys/{surveyId}/notifications/{notificationId}/resend"
tags: ["SurveysAdmin"]
---

# Gửi lại thông báo đã lỗi hoặc đã hủy (gửi ngay)

`POST /admin/surveys/{surveyId}/notifications/{notificationId}/resend`

## Request

- Base URL: `https://api.fireant.vn`
- URL: `https://api.fireant.vn/admin/surveys/{surveyId}/notifications/{notificationId}/resend`
- Auth: OAuth 2
  - Implicit: `https://accounts.fireant.vn/connect/authorize`
  - Scopes: `user-data-write`
- TypeScript: <https://skmtc.dev/fireant/apis/fireant-restful-api/docs/admin/surveys/:surveyId/notifications/:notificationId/resend/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `surveyId` integer, required
- `notificationId` integer, required

## Response `200`

Đã đưa vào hàng đợi

- FireAntApiModelsSurveysSurveyNotificationItem: Thông báo push của khảo sát (gửi ngay hoặc lên lịch qua Hangfire)
  - `notificationId` integer: ID thông báo
  - `surveyId` integer: ID khảo sát
  - `type` 1 | 2: Loại: Publish / Reminder (1 = Publish, 2 = Reminder)
  - `title` string: Tiêu đề push
  - `body` string: Nội dung push
  - `topic` string: FCM topic gửi hàng loạt (nếu có)
  - `userNames` string: Danh sách user chỉ định (phân cách dấu phẩy)
  - `scheduledDate` string, date-time: Thời điểm gửi theo lịch (null = gửi ngay khi tạo)
  - `status` 0 | 1 | 2 | 3 | 4: Trạng thái (0 = Pending, 1 = Sent, 2 = Failed, 3 = Cancelled, 4 = Processing)
  - `jobId` string: Hangfire job id
  - `targetCount` integer: Số người nhận dự kiến
  - `sentCount` integer: Số push gửi thành công
  - `error` string: Lỗi (nếu có)
  - `sentDate` string, date-time: Thời điểm gửi xong
  - `createdBy` string: Người tạo
  - `createdDate` string, date-time: Ngày tạo
  - `updatedDate` string, date-time: Ngày cập nhật

## Other responses

- `400`: Trạng thái không cho phép gửi lại

## Changes

- **2026-09-25** `a481789cd81c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fireant/apis/fireant-restful-api/changes/admin/surveys/:surveyId/notifications/:notificationId/resend/post.md)

---

[API](https://skmtc.dev/fireant/apis/fireant-restful-api.md) - [All operations](https://skmtc.dev/fireant/apis/fireant-restful-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireant/apis/fireant-restful-api/revisions/c9b3aa855f95?raw)
