Skip to main content
PUT
/
api
/
patients
/
:id
curl -X PUT "https://api.saludya.com/api/patients/pat_1a2b3c4d5e6f" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "maria.garcia.new@email.com",
    "phone": "+1-555-9999"
  }'
{
  "id": "pat_1a2b3c4d5e6f",
  "name": "Maria Garcia",
  "email": "maria.garcia.new@email.com",
  "phone": "+1-555-9999",
  "date_of_birth": "1985-03-15",
  "medical_history": {
    "conditions": ["Hypertension", "Migraine"],
    "allergies": ["Sulfa drugs", "Latex"],
    "medications": ["Lisinopril 10mg", "Sumatriptan 50mg"],
    "blood_type": "O+"
  },
  "insurance": {
    "provider": "BlueCross BlueShield",
    "policy_number": "BC123456789",
    "group_number": "GRP-5544",
    "expiration_date": "2025-06-30"
  },
  "emergency_contact": {
    "name": "Juan Garcia",
    "phone": "+1-555-0124",
    "relationship": "Husband"
  },
  "created_at": "2024-01-15T10:30:00Z",
  "updated_at": "2024-03-06T16:45:00Z"
}

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/DUVAN100/saludya-api/llms.txt

Use this file to discover all available pages before exploring further.

This endpoint modifies Protected Health Information (PHI). All changes are audited and logged for HIPAA compliance.

Path Parameters

id
string
required
Unique patient identifier (e.g., pat_1a2b3c4d5e6f)

Request Body

All fields are optional. Only include fields you want to update.
name
string
Patient’s full name
email
string
Patient’s email address (must be unique)
phone
string
Patient’s phone number in E.164 format
date_of_birth
string
Patient’s date of birth in ISO 8601 format (YYYY-MM-DD)
medical_history
object
Patient’s medical history information
conditions
array
List of existing medical conditions
allergies
array
List of known allergies
medications
array
List of current medications
blood_type
string
Blood type (A+, A-, B+, B-, AB+, AB-, O+, O-)
insurance
object
Insurance information
provider
string
Insurance provider name
policy_number
string
Insurance policy number
group_number
string
Insurance group number
expiration_date
string
Insurance expiration date (YYYY-MM-DD)
emergency_contact
object
Emergency contact information
name
string
Contact person’s name
phone
string
Contact person’s phone number
relationship
string
Relationship to patient

Response

id
string
Unique patient identifier
name
string
Patient’s full name
email
string
Patient’s email address
phone
string
Patient’s phone number
date_of_birth
string
Patient’s date of birth
medical_history
object
Patient’s medical history
insurance
object
Insurance information
emergency_contact
object
Emergency contact information
created_at
string
Timestamp when patient was created
updated_at
string
Timestamp when patient was last updated
curl -X PUT "https://api.saludya.com/api/patients/pat_1a2b3c4d5e6f" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "maria.garcia.new@email.com",
    "phone": "+1-555-9999"
  }'
{
  "id": "pat_1a2b3c4d5e6f",
  "name": "Maria Garcia",
  "email": "maria.garcia.new@email.com",
  "phone": "+1-555-9999",
  "date_of_birth": "1985-03-15",
  "medical_history": {
    "conditions": ["Hypertension", "Migraine"],
    "allergies": ["Sulfa drugs", "Latex"],
    "medications": ["Lisinopril 10mg", "Sumatriptan 50mg"],
    "blood_type": "O+"
  },
  "insurance": {
    "provider": "BlueCross BlueShield",
    "policy_number": "BC123456789",
    "group_number": "GRP-5544",
    "expiration_date": "2025-06-30"
  },
  "emergency_contact": {
    "name": "Juan Garcia",
    "phone": "+1-555-0124",
    "relationship": "Husband"
  },
  "created_at": "2024-01-15T10:30:00Z",
  "updated_at": "2024-03-06T16:45:00Z"
}

Build docs developers (and LLMs) love