PATCH
/
patients
/
{id}
curl --request PATCH \
  --url https://api.usecobalt.com/v1/patients/{id} \
  --header 'Content-Type: application/json' \
  --header 'access_token: <api-key>' \
  --header 'client_id: <api-key>' \
  --header 'client_secret: <api-key>' \
  --data '{
  "last_name": "<string>",
  "first_name": "<string>",
  "phone": "<string>",
  "dob": "2023-12-25",
  "sex": "male",
  "cell_phone": "<string>",
  "address_street": "<string>",
  "address_city": "<string>",
  "address_state": "<string>",
  "address_zip": "<string>",
  "referring_provider": "<string>",
  "insurance_name": "<string>",
  "insurance_subscriber_number": "<string>",
  "insurance_sequence": "primary"
}'
{
  "success": true,
  "message": "<string>"
}

Example Request

curl -X PATCH https://api.usecobalt.com/v1/patients/414421 \
-H 'Content-Type: application/json' \
-H 'client_id: ci_live_198908HJDKJSH98789OHKJL' \
-H 'client_secret: cs_live_9827hofdsklOYYHJLJh' \
-H 'access_token: 493JKLHIU98789hLKH9HHJH' \
-d '{
    "phone": "5559876543",
    "insurance_name": "Aetna",
    "insurance_subscriber_number": "ABC987654321"
}'

Example Response

{
    "success": true,
    "message": "Patient updated successfully"
}

Only include the fields you want to update in the request body. Omitted fields will remain unchanged.

Authorizations

client_id
string
header
required
client_secret
string
header
required
access_token
string
header
required

Path Parameters

id
string
required

The patient's MRN

Body

application/json

Response

200 - application/json

Successful response

The response is of type object.