curl -X POST "https://api.saludya.com/api/patients" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Sofia Rodriguez",
"email": "sofia.rodriguez@email.com",
"phone": "+1-555-0789",
"date_of_birth": "1990-11-08",
"medical_history": {
"conditions": ["Asthma", "Type 2 Diabetes"],
"allergies": ["Penicillin", "Peanuts"],
"medications": ["Metformin 500mg", "Albuterol inhaler"],
"blood_type": "A+"
},
"insurance": {
"provider": "UnitedHealthcare",
"policy_number": "UHC456789123",
"group_number": "GRP-9922",
"expiration_date": "2025-12-31"
},
"emergency_contact": {
"name": "Carlos Rodriguez",
"phone": "+1-555-0790",
"relationship": "Spouse"
}
}'
{
"id": "pat_3c4d5e6f7g8h",
"name": "Sofia Rodriguez",
"email": "sofia.rodriguez@email.com",
"phone": "+1-555-0789",
"date_of_birth": "1990-11-08",
"medical_history": {
"conditions": ["Asthma", "Type 2 Diabetes"],
"allergies": ["Penicillin", "Peanuts"],
"medications": ["Metformin 500mg", "Albuterol inhaler"],
"blood_type": "A+"
},
"insurance": {
"provider": "UnitedHealthcare",
"policy_number": "UHC456789123",
"group_number": "GRP-9922",
"expiration_date": "2025-12-31"
},
"emergency_contact": {
"name": "Carlos Rodriguez",
"phone": "+1-555-0790",
"relationship": "Spouse"
},
"created_at": "2024-03-06T15:30:00Z",
"updated_at": "2024-03-06T15:30:00Z"
}
Create a new patient record in the system
curl -X POST "https://api.saludya.com/api/patients" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Sofia Rodriguez",
"email": "sofia.rodriguez@email.com",
"phone": "+1-555-0789",
"date_of_birth": "1990-11-08",
"medical_history": {
"conditions": ["Asthma", "Type 2 Diabetes"],
"allergies": ["Penicillin", "Peanuts"],
"medications": ["Metformin 500mg", "Albuterol inhaler"],
"blood_type": "A+"
},
"insurance": {
"provider": "UnitedHealthcare",
"policy_number": "UHC456789123",
"group_number": "GRP-9922",
"expiration_date": "2025-12-31"
},
"emergency_contact": {
"name": "Carlos Rodriguez",
"phone": "+1-555-0790",
"relationship": "Spouse"
}
}'
{
"id": "pat_3c4d5e6f7g8h",
"name": "Sofia Rodriguez",
"email": "sofia.rodriguez@email.com",
"phone": "+1-555-0789",
"date_of_birth": "1990-11-08",
"medical_history": {
"conditions": ["Asthma", "Type 2 Diabetes"],
"allergies": ["Penicillin", "Peanuts"],
"medications": ["Metformin 500mg", "Albuterol inhaler"],
"blood_type": "A+"
},
"insurance": {
"provider": "UnitedHealthcare",
"policy_number": "UHC456789123",
"group_number": "GRP-9922",
"expiration_date": "2025-12-31"
},
"emergency_contact": {
"name": "Carlos Rodriguez",
"phone": "+1-555-0790",
"relationship": "Spouse"
},
"created_at": "2024-03-06T15:30:00Z",
"updated_at": "2024-03-06T15:30: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.
curl -X POST "https://api.saludya.com/api/patients" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Sofia Rodriguez",
"email": "sofia.rodriguez@email.com",
"phone": "+1-555-0789",
"date_of_birth": "1990-11-08",
"medical_history": {
"conditions": ["Asthma", "Type 2 Diabetes"],
"allergies": ["Penicillin", "Peanuts"],
"medications": ["Metformin 500mg", "Albuterol inhaler"],
"blood_type": "A+"
},
"insurance": {
"provider": "UnitedHealthcare",
"policy_number": "UHC456789123",
"group_number": "GRP-9922",
"expiration_date": "2025-12-31"
},
"emergency_contact": {
"name": "Carlos Rodriguez",
"phone": "+1-555-0790",
"relationship": "Spouse"
}
}'
{
"id": "pat_3c4d5e6f7g8h",
"name": "Sofia Rodriguez",
"email": "sofia.rodriguez@email.com",
"phone": "+1-555-0789",
"date_of_birth": "1990-11-08",
"medical_history": {
"conditions": ["Asthma", "Type 2 Diabetes"],
"allergies": ["Penicillin", "Peanuts"],
"medications": ["Metformin 500mg", "Albuterol inhaler"],
"blood_type": "A+"
},
"insurance": {
"provider": "UnitedHealthcare",
"policy_number": "UHC456789123",
"group_number": "GRP-9922",
"expiration_date": "2025-12-31"
},
"emergency_contact": {
"name": "Carlos Rodriguez",
"phone": "+1-555-0790",
"relationship": "Spouse"
},
"created_at": "2024-03-06T15:30:00Z",
"updated_at": "2024-03-06T15:30:00Z"
}