---
title: "Upsert Insurance Card"
method: POST
path: "/patients/{patient_id}/policies/{policy_id}/card-images"
tags: ["insurance-cards"]
---

# Upsert Insurance Card

`POST /patients/{patient_id}/policies/{policy_id}/card-images`

## Request

- Base URL: `https://sandbox.elationemr.com/api/2.0`
- URL: `https://sandbox.elationemr.com/api/2.0/patients/{patient_id}/policies/{policy_id}/card-images`
- Auth: HTTP bearer

## Path parameters

- `patient_id` integer, required
- `policy_id` integer, required

## Request body `multipart/form-data`

- BodyUpsertInsuranceCardPatientsPatientIdPoliciesPolicyIdCardImagesPost
  - `image_1` string, binary, nullable
  - `image_2` string, binary, nullable

## Response `200`

Successful Response

- ProcessInsuranceCardImageUploadAsyncResponse
  - `message` string
  - `success` boolean

## Other responses

- `422`: Validation Error

---

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