---
title: "Pick Option"
method: POST
path: "/api/decisions/{decision_id}/pick"
tags: ["decisions"]
---

# Pick Option

`POST /api/decisions/{decision_id}/pick`

## Request

- Base URL: `https://api.pigeonly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pigeonly.com/api/decisions/{decision_id}/pick`
- Auth: none declared

The founder picks. THIS is the response `reveal` is populated in.

⛔`presented_blind` IS NEVER TAKEN FROM THE REQUEST. It is derived here,
server-side, from `queue.is_presented_blind(decision_id)` -- exactly what
`/next` and `GET /{decision_id}` used to decide whether to withhold the
reveal in the first place -- and NEVER from anything the caller sent, the
same rule `_wire_decision`'s own docstring states for reading it. A caller
that could assert its own blindness could manufacture blind-agreement
evidence out of a sighted click.

The chosen option is validated against the decision's own options here,
BEFORE `service.choose` is ever called, using the same `option_id` the
web was handed (`_option_id`/`_option_by_id`) rather than a label a
caller could misspell into a false negative. `service.choose` re-checks
the label regardless -- belt and braces, never a reason to skip this
one -- and its own guarded UPDATE is what actually holds under a race,
surfaced below as 409 rather than swallowed.

## Path parameters

- `decision_id` string, uuid, required

## Request body

- PickRequest: `{ option_id: string }` -- `decisions.ts`'s `pickOption` body.
  - `option_id` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os.md) - [All operations](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/llms.txt) - [OpenAPI document](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/revisions/14571c4b7007?raw)
