Skip to main content
The Get Appointment endpoint returns the complete record for a single appointment identified by its UUID. Use this endpoint when you need the full detail view of an appointment — including its current status, payment status, teleconsult URL (if applicable), and all timestamps. This is the canonical way to check whether a booking was confirmed, whether payment was received, or to retrieve the video link to share with a patient before a teleconsulta.

Request

GET https://api.bydoctor.com.br/v1/appointments/{id}
string
required
The UUID of the appointment you want to retrieve. Appointment UUIDs are returned when you create an appointment or list appointments.

Response Fields

string
Unique identifier for the appointment (UUID).
string
The ID of the clinic that owns this appointment.
string
The ID of the patient linked to this appointment.
string
The ID of the professional assigned to this appointment.
string
Appointment start time in ISO 8601 UTC format.
string
Appointment end time in ISO 8601 UTC format.
string
Appointment type: presencial or teleconsulta.
string
Current lifecycle status: scheduled, confirmed, cancelled, completed, or no_show.
string
Notes attached to the appointment. null if none were added.
string
Payment status for this appointment: pending, paid, or overdue.
string
The video room URL for the consultation. Only present when type is teleconsulta. null for presencial appointments.
string
Timestamp when the appointment was originally created (ISO 8601 UTC).
string
Timestamp of the most recent update to this appointment (ISO 8601 UTC).
If you need to display the teleconsult_url to a patient, always fetch the appointment immediately before the call to ensure you have the latest URL — it can be regenerated if the room expires.

Example Request

Example Response (200 OK)

Error Responses

400 Bad Request — The id path parameter is not a valid UUID format.
401 Unauthorized — Your API key is missing or invalid.
404 Not Found — No appointment with the given ID exists in your clinic.