Skip to main content
The Update Patient endpoint performs a partial update on an existing patient record. You only need to include the fields you want to change — any field omitted from the request body is left untouched. On success, the API returns the complete updated patient object. The updated_at timestamp is automatically refreshed to the current UTC time.

Endpoint

Authentication

Path Parameters

string
required
The UUID of the patient record you want to update.

Request Body

Send a JSON body with Content-Type: application/json containing only the fields you wish to update. All body fields are optional.
string
Patient’s full name. Must be between 2 and 255 characters.
string
Contact phone number in E.164 format, e.g. +5511999999999. Pass null to remove a previously stored phone number.
string
Patient’s email address. Pass null to remove a previously stored email.
string
Brazilian individual taxpayer identifier in the format 123.456.789-00. The CPF is re-validated for correct format and check digits. Pass null to remove a previously stored CPF.
string
Date of birth in YYYY-MM-DD format. The date must be in the past.
string
Name of the patient’s health insurance plan. Pass null to clear the field.
Updating a patient’s cpf will fail with a 409 Conflict error if another patient record in your clinic already holds the same CPF value. Resolve the conflict by first checking whether the CPF belongs to a duplicate profile that should be merged or deleted before retrying the update.

Response Fields (200 OK)

string
required
UUID of the patient record.
string
required
Identifier of the clinic this patient belongs to.
string
required
Patient’s full name after the update.
string
CPF after the update, or null if not set.
string
Phone number after the update, or null if not set.
string
Email address after the update, or null if not set.
string
Date of birth after the update, or null if not set.
string
Health plan name after the update, or null if not set.
boolean
required
Current WhatsApp opt-out status. This field is managed by the patient consent flow and cannot be overridden via this endpoint.
string
required
ISO 8601 UTC timestamp of when the patient record was originally created. Unchanged by updates.
string
required
ISO 8601 UTC timestamp reflecting the moment this update was applied.

Error Responses

Example Request

Example Response