cURL
curl --request GET \ --url https://api.example.com/appointments/:id
{ "appointment": { "id": 123, "patientID": 123, "professionalID": 123, "date": "<string>", "time": "<string>", "description": "<string>", "state": "<string>", "createdAt": "<string>", "updatedAt": "<string>" } }
Retrieve detailed information about a specific appointment
Authorization: Bearer <jwt_token>
123
Show Appointment Details
"2026-03-15"
"10:30:00"
"Control mensual de diabetes"
Pendiente
Atendido
Cancelado
Ausente
curl -X GET "https://api.clinicavitalis.com/appointments/123" \ -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
{ "appointment": { "id": 123, "patientID": 45, "professionalID": 12, "date": "2026-03-15", "time": "10:30:00", "description": "Control mensual de diabetes", "state": "Pendiente", "createdAt": "2026-03-10T14:23:45.000Z", "updatedAt": "2026-03-10T14:23:45.000Z" } }
{ "msg": "El turno no está cargado en el sistema" }
{ "msg": "Token inválido o no proporcionado" }
{ "msg": "Error del servidor" }