curl -X POST "https://api.saludya.com/api/doctors" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Dr. Sarah Johnson",
"specialty": "Pediatrics",
"license_number": "MD-54321-NY",
"email": "sarah.johnson@saludya.com",
"phone": "+1-555-0199",
"bio": "Board-certified pediatrician with 10 years of experience in child and adolescent care. Specialized in developmental pediatrics and preventive medicine.",
"available": true
}'
{
"id": "doc_9a0b1c2d3e4f5g6h",
"name": "Dr. Sarah Johnson",
"specialty": "Pediatrics",
"license_number": "MD-54321-NY",
"email": "sarah.johnson@saludya.com",
"phone": "+1-555-0199",
"bio": "Board-certified pediatrician with 10 years of experience in child and adolescent care. Specialized in developmental pediatrics and preventive medicine.",
"available": true,
"created_at": "2024-03-06T15:30:00Z",
"updated_at": "2024-03-06T15:30:00Z"
}
Add a new doctor to the system
curl -X POST "https://api.saludya.com/api/doctors" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Dr. Sarah Johnson",
"specialty": "Pediatrics",
"license_number": "MD-54321-NY",
"email": "sarah.johnson@saludya.com",
"phone": "+1-555-0199",
"bio": "Board-certified pediatrician with 10 years of experience in child and adolescent care. Specialized in developmental pediatrics and preventive medicine.",
"available": true
}'
{
"id": "doc_9a0b1c2d3e4f5g6h",
"name": "Dr. Sarah Johnson",
"specialty": "Pediatrics",
"license_number": "MD-54321-NY",
"email": "sarah.johnson@saludya.com",
"phone": "+1-555-0199",
"bio": "Board-certified pediatrician with 10 years of experience in child and adolescent care. Specialized in developmental pediatrics and preventive medicine.",
"available": true,
"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/doctors" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Dr. Sarah Johnson",
"specialty": "Pediatrics",
"license_number": "MD-54321-NY",
"email": "sarah.johnson@saludya.com",
"phone": "+1-555-0199",
"bio": "Board-certified pediatrician with 10 years of experience in child and adolescent care. Specialized in developmental pediatrics and preventive medicine.",
"available": true
}'
{
"id": "doc_9a0b1c2d3e4f5g6h",
"name": "Dr. Sarah Johnson",
"specialty": "Pediatrics",
"license_number": "MD-54321-NY",
"email": "sarah.johnson@saludya.com",
"phone": "+1-555-0199",
"bio": "Board-certified pediatrician with 10 years of experience in child and adolescent care. Specialized in developmental pediatrics and preventive medicine.",
"available": true,
"created_at": "2024-03-06T15:30:00Z",
"updated_at": "2024-03-06T15:30:00Z"
}