---
title: "Xuất bản bản nháp. Lần đầu, khối rủi ro, link ra ngoài mới hoặc tab riêng thì gửi FireAnt duyệt (outcome = pending_review), còn lại lên trang ngay hoặc theo giờ hẹn."
method: POST
path: "/ir/{symbol}/page/publish"
tags: ["IRPage"]
---

# Xuất bản bản nháp. Lần đầu, khối rủi ro, link ra ngoài mới hoặc tab riêng thì gửi FireAnt duyệt (outcome = pending_review), còn lại lên trang ngay hoặc theo giờ hẹn.

`POST /ir/{symbol}/page/publish`

## Request

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

## Path parameters

- `symbol` string, required

## Request body

- FireAntApiModelsIRIRPagePublishRequest: Xuất bản (hoặc gửi duyệt nếu có thay đổi cần duyệt)
  - `note` string
  - `scheduledDate` string, date-time: Hẹn giờ lên trang

## Response `200`

OK

- FireAntApiModelsIRIRPagePublishResult: Kết quả xuất bản
  - `outcome` string: published | scheduled | pending_review
  - `version` FireAntApiModelsIRIRPageVersionItem: Một phiên bản trang
    - `versionId` integer
    - `versionNo` integer
    - `revision` integer: Số lần lưu bản nháp (chống ghi đè lẫn nhau)
    - `schemaVersion` integer
    - `status` 0 | 1 | 2 | 3 | 4 | 5 | 6: (0 = Draft, 1 = PendingReview, 2 = Scheduled, 3 = Rejected, 4 = Published, 5 = Superseded, 6 = Withdrawn)
    - `sizeBytes` integer
    - `contentHash` string
    - `note` string
    - `reviewReasons` object: Lý do cần duyệt (JSON danh sách RiskReason của ir-page)
    - `createdBy` string
    - `createdDate` string, date-time
    - `modifiedBy` string
    - `modifiedDate` string, date-time
    - `submittedBy` string
    - `submittedDate` string, date-time
    - `reviewedBy` string: Người duyệt; phía doanh nghiệp luôn là "FireAnt"
    - `reviewedDate` string, date-time
    - `reviewNote` string
    - `scheduledDate` string, date-time
    - `publishedBy` string
    - `publishedDate` string, date-time
    - `content` object: Nội dung trang (chỉ có khi đọc một phiên bản cụ thể / bản nháp / bản đang hiện)
  - `reasons` FireAntApiModelsIRIRPageRiskReason[]: Lý do cần duyệt
    - `kind` string: first_publish | risky_block | external_link | custom_tab
    - `blockId` string
    - `blockType` string
    - `url` string
    - `message` FireAntApiModelsIRIRLText: Chuỗi hai ngôn ngữ
      - `vi` string
      - `en` string

## Changes

- **2026-10-10** `300cfd8b632c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fireant/apis/fireant-restful-api/changes/ir/:symbol/page/publish/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)
