curl --request GET \
--url https://api.example.com/api/appointments/:id{
"id": "<string>",
"patient_id": "<string>",
"patient_name": "<string>",
"patient_email": "<string>",
"patient_phone": "<string>",
"doctor_id": "<string>",
"doctor_name": "<string>",
"specialty": "<string>",
"date": "<string>",
"time": "<string>",
"duration_minutes": 123,
"status": "<string>",
"reason": "<string>",
"notes": "<string>",
"diagnosis": "<string>",
"prescription": "<string>",
"follow_up_required": true,
"follow_up_date": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"completed_at": "<string>",
"cancelled_at": "<string>",
"cancellation_reason": "<string>",
"error": {
"code": "<string>",
"message": "<string>"
}
}Retrieve a specific appointment by ID
curl --request GET \
--url https://api.example.com/api/appointments/:id{
"id": "<string>",
"patient_id": "<string>",
"patient_name": "<string>",
"patient_email": "<string>",
"patient_phone": "<string>",
"doctor_id": "<string>",
"doctor_name": "<string>",
"specialty": "<string>",
"date": "<string>",
"time": "<string>",
"duration_minutes": 123,
"status": "<string>",
"reason": "<string>",
"notes": "<string>",
"diagnosis": "<string>",
"prescription": "<string>",
"follow_up_required": true,
"follow_up_date": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"completed_at": "<string>",
"cancelled_at": "<string>",
"cancellation_reason": "<string>",
"error": {
"code": "<string>",
"message": "<string>"
}
}Get detailed information about a specific appointment using its unique identifier.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.
scheduled, confirmed, in_progress, completed, cancelled, no_showcurl -X GET "https://api.saludya.com/api/appointments/apt_7k3m9n2p4q" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json"
{
"id": "apt_7k3m9n2p4q",
"patient_id": "pat_5x8y2z4a6b",
"patient_name": "María González",
"patient_email": "maria.gonzalez@email.com",
"patient_phone": "+52-555-123-4567",
"doctor_id": "doc_3j5k7m9n1p",
"doctor_name": "Dr. Carlos Ramírez",
"specialty": "Cardiología",
"date": "2026-03-10",
"time": "09:30",
"duration_minutes": 30,
"status": "scheduled",
"reason": "Consulta de control cardiovascular",
"notes": "Traer resultados de análisis de sangre",
"diagnosis": null,
"prescription": null,
"follow_up_required": false,
"follow_up_date": null,
"created_at": "2026-03-05T14:22:10Z",
"updated_at": "2026-03-05T14:22:10Z",
"completed_at": null,
"cancelled_at": null,
"cancellation_reason": null
}
{
"id": "apt_6m8n4p1r3s",
"patient_id": "pat_2x5y8z3a1b",
"patient_name": "José Hernández",
"patient_email": "jose.hernandez@email.com",
"patient_phone": "+52-555-987-6543",
"doctor_id": "doc_4k6m8n2p3q",
"doctor_name": "Dra. Ana Martínez",
"specialty": "Medicina General",
"date": "2026-03-05",
"time": "11:00",
"duration_minutes": 20,
"status": "completed",
"reason": "Dolor de garganta y fiebre",
"notes": "Síntomas desde hace 3 días",
"diagnosis": "Faringitis aguda",
"prescription": "Amoxicilina 500mg cada 8 horas por 7 días. Paracetamol 500mg cada 6 horas si hay fiebre.",
"follow_up_required": true,
"follow_up_date": "2026-03-12",
"created_at": "2026-03-04T08:15:30Z",
"updated_at": "2026-03-05T11:25:42Z",
"completed_at": "2026-03-05T11:25:42Z",
"cancelled_at": null,
"cancellation_reason": null
}
{
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or missing API token"
}
}
{
"error": {
"code": "FORBIDDEN",
"message": "You don't have permission to access this appointment"
}
}
{
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "Appointment with ID 'apt_7k3m9n2p4q' not found"
}
}