Creates a new appointment for the authenticated patient. Before inserting the record, Clinica checks that the requested slot falls within the doctor’s weekly availability window, is not blocked by an exception on that date, and does not overlap with an existing booking. A confirmation email is sent to the patient asynchronously after a successful booking.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/bentlyy/Clinica/llms.txt
Use this file to discover all available pages before exploring further.
Request
POST /api/bookings — requires a patient JWT.
Headers
Bearer token. Format:
Bearer <token>Body
ID of the doctor to book an appointment with.
Appointment date in
YYYY-MM-DD format.Appointment start time in
HH:MM (24-hour) format. Must fall within the doctor’s availability window for that day.Appointment length in minutes. Maximum
480. Defaults to 30.Response
Returns the created booking object.Unique booking ID.
ID of the booked doctor.
ID of the patient who created the booking.
Appointment date (
YYYY-MM-DD).Appointment start time (
HH:MM).Appointment length in minutes.