---
title: "get reasons by object type and action"
method: GET
path: "/answer/api/v1/reasons"
tags: ["reason"]
---

# get reasons by object type and action

`GET /answer/api/v1/reasons`

get reasons by object type and action

## Query parameters

- `object_type` 'question' | 'answer' | 'comment' | 'user', required
- `action` 'status' | 'close' | 'flag' | 'review', required

## Response `200`

OK

- HandlerRespBody
  - `code` integer — http code
  - `data` unknown
  - `msg` string — response message
  - `reason` string — reason key

---

[API](https://skmtc.net/apache/apis/apache-answer.md) · [All operations](https://skmtc.net/apache/apis/apache-answer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/apache/apache-answer/revisions/e9c2980e6571/schema)
