---
title: "POST /api/draft-claim-from-notes"
method: POST
path: "/api/draft-claim-from-notes"
---

# POST /api/draft-claim-from-notes

`POST /api/draft-claim-from-notes`

## Request

- Base URL: `https://forecaster.cairhealth.com`
- URL: `https://forecaster.cairhealth.com/api/draft-claim-from-notes`
- Auth: HTTP bearer

Creates an 837 claim from a procedure notes PDF through the Cair AI

## Request body

- object
  - `fileContent` string, required: Base64 encoded content of the procedure notes file
  - `claimType` string, required: Type of claim to be drafted (e.g., 'professional', 'institutional')

## Response `200`

Claim drafted successfully

- object
  - `success` boolean: Indicates if the operation was successful
  - `claim_optimizer_id` string: ID of the created optimizer run

## Other responses

- `401`: Unauthorized access or invalid request body
- `500`: Server error or claim drafting failure

## Changes

- **2026-11-03** `b32380ccde9a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/cairhealth/apis/cair-health-apis/changes/api/draft-claim-from-notes/post.md)

---

[API](https://skmtc.dev/cairhealth/apis/cair-health-apis.md) - [All operations](https://skmtc.dev/cairhealth/apis/cair-health-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/cairhealth/apis/cair-health-apis/revisions/b32380ccde9a?raw)
