Skip to main content
GET
/
consultations
/
{id}
curl https://api.medagenda.com/consultations/550e8400-e29b-41d4-a716-446655440000
{
  "consultationId": "550e8400-e29b-41d4-a716-446655440000",
  "dateTime": "2024-03-15T14:30:00",
  "duracaoMinutos": 60,
  "patient": {
    "cpf": "12345678901",
    "name": "João Silva",
    "email": "[email protected]",
    "dateOfBirth": "1985-06-15",
    "address": "Rua das Flores, 123, São Paulo, SP",
    "medicalHistory": "Hypertension, controlled with medication"
  },
  "doctor": {
    "crm": "123456SP",
    "name": "Dr. Maria Santos",
    "email": "[email protected]",
    "specialty": "Cardiologia",
    "telephone": "+5511987654321",
    "consultationValue": 350.00
  },
  "isUrgent": false,
  "observation": "Patient reports mild headaches for the past week"
}
Retrieves detailed information about a specific consultation including patient, doctor, scheduling details, and observations.

Path Parameters

id
string
required
UUID of the consultation to retrieve (e.g., “550e8400-e29b-41d4-a716-446655440000”)

Response

consultationId
string
UUID of the consultation
dateTime
string
Scheduled date and time of the consultation in ISO 8601 format
duracaoMinutos
integer
Duration of the consultation in minutes (default: 60)
patient
object
Complete patient information
doctor
object
Complete doctor information
isUrgent
boolean
Whether this is an urgent consultation
observation
string
Additional notes or observations for the consultation
curl https://api.medagenda.com/consultations/550e8400-e29b-41d4-a716-446655440000
{
  "consultationId": "550e8400-e29b-41d4-a716-446655440000",
  "dateTime": "2024-03-15T14:30:00",
  "duracaoMinutos": 60,
  "patient": {
    "cpf": "12345678901",
    "name": "João Silva",
    "email": "[email protected]",
    "dateOfBirth": "1985-06-15",
    "address": "Rua das Flores, 123, São Paulo, SP",
    "medicalHistory": "Hypertension, controlled with medication"
  },
  "doctor": {
    "crm": "123456SP",
    "name": "Dr. Maria Santos",
    "email": "[email protected]",
    "specialty": "Cardiologia",
    "telephone": "+5511987654321",
    "consultationValue": 350.00
  },
  "isUrgent": false,
  "observation": "Patient reports mild headaches for the past week"
}

Build docs developers (and LLMs) love