Skip to main content
POST
/
api
/
2.0
/
patients
/
{id}
/
insurance_cards
/
Create Patients Insurance Card
curl --request POST \
  --url https://sandbox.elationemr.com/api/2.0/patients/{id}/insurance_cards/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "image": {
    "base64_content": "<string>",
    "original_filename": "<string>"
  },
  "rank": 123,
  "side": 123
}
'

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

id
integer<int64>
required

Body

application/json
image
object
required

Base64 encoded image of the insurance card. Only JPG and PNG files are supported.

rank
integer
required

Primary or secondary insurances (1 or 2).

side
integer
required

Insurance card side. Usually front (1) or back (2).

Response

201

No response body