curl -X GET "https://api.nevatal.com/api/v1/appointments/apt_xyz789" \
-H "Authorization: Bearer nvtl_your_api_key"
{
"id": "apt_xyz789",
"patientId": "pat_abc123",
"patient": {
"firstName": "María",
"lastName": "García",
"phone": "+573001234567"
},
"doctorId": "usr_doctor456",
"doctor": {
"firstName": "Dr. Carlos",
"lastName": "López",
"specialty": "Odontología General"
},
"locationId": "loc_main",
"location": {
"name": "Sede Principal"
},
"procedureId": "proc_general_consult",
"procedure": {
"name": "Consulta General",
"duration": 30
},
"startTime": "2025-04-01T09:00:00-05:00",
"endTime": "2025-04-01T09:30:00-05:00",
"status": "confirmed",
"notes": "Initial consultation",
"createdAt": "2025-03-20T15:00:00Z",
"updatedAt": "2025-03-20T15:00:00Z"
}
Retrieve a single appointment by ID
curl -X GET "https://api.nevatal.com/api/v1/appointments/apt_xyz789" \
-H "Authorization: Bearer nvtl_your_api_key"
{
"id": "apt_xyz789",
"patientId": "pat_abc123",
"patient": {
"firstName": "María",
"lastName": "García",
"phone": "+573001234567"
},
"doctorId": "usr_doctor456",
"doctor": {
"firstName": "Dr. Carlos",
"lastName": "López",
"specialty": "Odontología General"
},
"locationId": "loc_main",
"location": {
"name": "Sede Principal"
},
"procedureId": "proc_general_consult",
"procedure": {
"name": "Consulta General",
"duration": 30
},
"startTime": "2025-04-01T09:00:00-05:00",
"endTime": "2025-04-01T09:30:00-05:00",
"status": "confirmed",
"notes": "Initial consultation",
"createdAt": "2025-03-20T15:00:00Z",
"updatedAt": "2025-03-20T15:00:00Z"
}
curl -X GET "https://api.nevatal.com/api/v1/appointments/apt_xyz789" \
-H "Authorization: Bearer nvtl_your_api_key"
{
"id": "apt_xyz789",
"patientId": "pat_abc123",
"patient": {
"firstName": "María",
"lastName": "García",
"phone": "+573001234567"
},
"doctorId": "usr_doctor456",
"doctor": {
"firstName": "Dr. Carlos",
"lastName": "López",
"specialty": "Odontología General"
},
"locationId": "loc_main",
"location": {
"name": "Sede Principal"
},
"procedureId": "proc_general_consult",
"procedure": {
"name": "Consulta General",
"duration": 30
},
"startTime": "2025-04-01T09:00:00-05:00",
"endTime": "2025-04-01T09:30:00-05:00",
"status": "confirmed",
"notes": "Initial consultation",
"createdAt": "2025-03-20T15:00:00Z",
"updatedAt": "2025-03-20T15:00:00Z"
}