curl -X GET "https://api.saludya.com/api/patients?page=1&limit=20&sort=name&order=asc" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"
{
"data": [
{
"id": "pat_1a2b3c4d5e6f",
"name": "Maria Garcia",
"email": "maria.garcia@email.com",
"phone": "+1-555-0123",
"date_of_birth": "1985-03-15",
"insurance": {
"provider": "BlueCross BlueShield",
"policy_number": "BC123456789",
"group_number": "GRP-5544"
},
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-02-20T14:22:00Z"
},
{
"id": "pat_2b3c4d5e6f7g",
"name": "John Smith",
"email": "john.smith@email.com",
"phone": "+1-555-0456",
"date_of_birth": "1978-07-22",
"insurance": {
"provider": "Aetna",
"policy_number": "AET987654321",
"group_number": "GRP-7788"
},
"created_at": "2024-01-20T09:15:00Z",
"updated_at": "2024-01-20T09:15:00Z"
}
],
"meta": {
"current_page": 1,
"per_page": 20,
"total": 150,
"total_pages": 8
}
}
Retrieve a paginated list of all patients in the system
curl -X GET "https://api.saludya.com/api/patients?page=1&limit=20&sort=name&order=asc" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"
{
"data": [
{
"id": "pat_1a2b3c4d5e6f",
"name": "Maria Garcia",
"email": "maria.garcia@email.com",
"phone": "+1-555-0123",
"date_of_birth": "1985-03-15",
"insurance": {
"provider": "BlueCross BlueShield",
"policy_number": "BC123456789",
"group_number": "GRP-5544"
},
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-02-20T14:22:00Z"
},
{
"id": "pat_2b3c4d5e6f7g",
"name": "John Smith",
"email": "john.smith@email.com",
"phone": "+1-555-0456",
"date_of_birth": "1978-07-22",
"insurance": {
"provider": "Aetna",
"policy_number": "AET987654321",
"group_number": "GRP-7788"
},
"created_at": "2024-01-20T09:15:00Z",
"updated_at": "2024-01-20T09:15:00Z"
}
],
"meta": {
"current_page": 1,
"per_page": 20,
"total": 150,
"total_pages": 8
}
}
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.
name, email, created_at, date_of_birthasc, desccurl -X GET "https://api.saludya.com/api/patients?page=1&limit=20&sort=name&order=asc" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"
{
"data": [
{
"id": "pat_1a2b3c4d5e6f",
"name": "Maria Garcia",
"email": "maria.garcia@email.com",
"phone": "+1-555-0123",
"date_of_birth": "1985-03-15",
"insurance": {
"provider": "BlueCross BlueShield",
"policy_number": "BC123456789",
"group_number": "GRP-5544"
},
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-02-20T14:22:00Z"
},
{
"id": "pat_2b3c4d5e6f7g",
"name": "John Smith",
"email": "john.smith@email.com",
"phone": "+1-555-0456",
"date_of_birth": "1978-07-22",
"insurance": {
"provider": "Aetna",
"policy_number": "AET987654321",
"group_number": "GRP-7788"
},
"created_at": "2024-01-20T09:15:00Z",
"updated_at": "2024-01-20T09:15:00Z"
}
],
"meta": {
"current_page": 1,
"per_page": 20,
"total": 150,
"total_pages": 8
}
}