---
title: "Decision Endpoint"
method: POST
path: "/v1/actions/{action_id}/decision"
tags: ["actions"]
---

# Decision Endpoint

`POST /v1/actions/{action_id}/decision`

## Request

- Base URL: `https://api.actionbox.cloud`
- URL: `https://api.actionbox.cloud/v1/actions/{action_id}/decision`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `actionbox_session`

## Path parameters

- `action_id` string, required

## Headers

- `X-Actionbox-Client` string, nullable
- `x-user-id` string, nullable
- `authorization` string, nullable

## Cookies

- `actionbox_session` string, nullable

## Request body

- DecisionRequest
  - `action_version` integer
  - `fingerprint` string, nullable
  - `option_id` string, nullable
  - `response` union
    - BooleanResponse
      - `type` 'boolean', required
      - `value` boolean, required
    - TextResponse
      - `type` 'text', required
      - `value` string, required
    - IntegerResponse
      - `type` 'integer', required
      - `value` integer, required
    - NumberResponse
      - `type` 'number', required
      - `value` union, required
        - integer
        - number
    - RatingResponse
      - `type` 'rating', required
      - `value` integer, required
    - SingleChoiceResponse
      - `type` 'single_choice', required
      - `value` string, required
    - MultiChoiceResponse
      - `type` 'multi_choice', required
      - `value` string[], required
    - FormResponse
      - `type` 'form', required
      - `values` object, required
  - `reason` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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