---
title: "\"Tôi cũng muốn biết\": bình chọn / bỏ bình chọn một câu hỏi"
method: POST
path: "/ir/public/questions/{questionId}/vote"
tags: ["IRPublicPage"]
---

# "Tôi cũng muốn biết": bình chọn / bỏ bình chọn một câu hỏi

`POST /ir/public/questions/{questionId}/vote`

## Request

- Base URL: `https://api.fireant.vn`
- URL: `https://api.fireant.vn/ir/public/questions/{questionId}/vote`
- 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/public/questions/:questionId/vote/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `questionId` integer, required

## Request body

- FireAntApiModelsIRIRVoteRequest
  - `on` boolean

## Response `200`

OK

- FireAntApiModelsIRIRVoteResult
  - `questionId` integer
  - `upVotes` integer
  - `voted` boolean

## Changes

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

[Operation history](https://skmtc.dev/fireant/apis/fireant-restful-api/changes/ir/public/questions/:questionId/vote/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)
