application/json

Body Required

  • name string Required

    Name

  • reviewType string | null Required

    Review type

    Values are approve or reject. Default value is approve.

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
    • createdAt string(date-time)

      Created at

    • id integer(int32)

      Id

    • name string Required

      Name

    • reviewType string | null Required

      Review type

      Values are approve or reject. Default value is approve.

    • updatedAt string(date-time)

      Updated at

POST /review-reasons.json
curl \
 --request POST 'http://api.example.com/v1/review-reasons.json' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"name":"string","reviewType":"approve"}'
Request examples
{
  "name": "string",
  "reviewType": "approve"
}
Response examples (200)
{
  "createdAt": "2025-05-04T09:42:00Z",
  "id": 42,
  "name": "string",
  "reviewType": "approve",
  "updatedAt": "2025-05-04T09:42:00Z"
}