curl -X PUT "https://api.saludya.com/api/schedules/101" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"end_time": "13:00:00"
}'
{
"id": 101,
"doctor_id": 5,
"day_of_week": "monday",
"start_time": "08:00:00",
"end_time": "13:00:00",
"is_available": true,
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-03-06T15:45:00Z"
}
Update an existing doctor schedule
curl -X PUT "https://api.saludya.com/api/schedules/101" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"end_time": "13:00:00"
}'
{
"id": 101,
"doctor_id": 5,
"day_of_week": "monday",
"start_time": "08:00:00",
"end_time": "13:00:00",
"is_available": true,
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-03-06T15:45:00Z"
}
Update a doctor’s schedule to modify availability times, enable/disable the slot, or change the day of week.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.
monday, tuesday, wednesday, thursday, friday, saturday, sunday08:00:0017:00:00false to temporarily disable a schedule without deleting it.curl -X PUT "https://api.saludya.com/api/schedules/101" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"end_time": "13:00:00"
}'
{
"id": 101,
"doctor_id": 5,
"day_of_week": "monday",
"start_time": "08:00:00",
"end_time": "13:00:00",
"is_available": true,
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-03-06T15:45:00Z"
}
is_available to false when a doctor is temporarily unavailable (vacation, sick leave) without deleting the schedule:
{
"is_available": false
}
{
"start_time": "07:00:00",
"end_time": "14:00:00"
}
{
"day_of_week": "tuesday"
}
# Check for appointments in this schedule's time slot
curl "https://api.saludya.com/api/appointments?doctor_id=5&day_of_week=monday&status=scheduled"