---
title: "Record physician code selections (sync, best-effort; production only)"
method: POST
path: "/api/v3/soap/selections"
tags: ["Open API", "SOAP Validation"]
---

# Record physician code selections (sync, best-effort; production only)

`POST /api/v3/soap/selections`

## Request

- Base URL: `https://developer.claimmind.life` (the document declares no server; this is the origin it was published from)
- URL: `https://developer.claimmind.life/api/v3/soap/selections`
- Auth: none declared. Required headers: `X-API-Key`

Synchronous, best-effort capture -- never routed through Temporal in production. This operation is not available in sandbox mode. The service swallows any bookkeeping failure into {accepted: false} so a physician mid-encounter is never blocked; a successful capture returns {accepted: true, analysis_id, recorded}.

## Headers

- `X-API-Key` string, required

## Request body

- SoapSelectionRequest: POST /selections body: the physician's code choices for a completed run. Synchronous, best-effort capture -- never routed through Temporal. An empty ``selections`` list is representable and simply records nothing (the service returns ``recorded: 0``); it is not an error, so no min_length is imposed.
  - `analysis_id` string, required: Run handle the selections belong to
  - `selections` CodeSelection[]: Selected codes to record
    - `code` string, required: Selected ICD code
    - `code_system` string, required: Code system, e.g. 'ICD-10'
    - `selected_by` string, nullable: Who made the selection (optional)

## Response `201`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/claimmind/apis/claimmind-open-api-service.md) - [All operations](https://skmtc.dev/claimmind/apis/claimmind-open-api-service/llms.txt) - [OpenAPI document](https://skmtc.dev/claimmind/apis/claimmind-open-api-service/revisions/ee8bfbeadb8a?raw)
