App Logo
doctolib.fr

Book Doctolib appointment

Automatically book Doctolib appointment on doctolib.fr. Book a Doctolib appointment for the signed-in account holder: one practitioner practice, one visit motive and one slot, as List Doctolib slots returns them. By default it stops at Doctolib's checkout without booking: Doctolib then holds the slot for 15 minutes in this browser, and the result shows the practitioner, address, motive, patient, price and the questions Doctolib asks before it books. With confirm set to true it books the slot and returns the appointment, whose id Cancel Doctolib appointment takes. A run with confirm true within those 15 minutes books the held slot. Doctolib asks some practitioners' patients whether they have consulted before: pass new_patient for those. It fails with a clear message when the slot is no longer free, when another booking is still held in this browser, or when the practitioner asks questions this script cannot answer.

Input

motive_id required

Visit motive id, from list_slots.visit_motives.

start_date required

Slot start, exactly as list_slots returns it, e.g. 2027-01-07T12:30:00.000+01:00.

profile_path required

Profile path with ?pid=practice-N, from search_practitioners or list_slots.

confirm optional

false: stop at checkout, the slot held for 15 minutes. true: book the slot.

Default: false
new_patient optional

true when the patient has never consulted this practitioner. Needed only when Doctolib asks (asks_new_patient in the checkout result).

Output

stage required
questions required

Other required questions Doctolib asks before it books. The script cannot answer them, so a booking with questions fails.

start_date required

Slot the checkout holds.

appointment required

The booked appointment (stage booked); null at checkout.

asks_new_patient required

Doctolib asks whether the patient has consulted this practitioner before: pass new_patient.

price optional

Amount to pay at booking, when Doctolib asks for one.

motive optional
address optional
patient optional

The account holder the appointment is for.

telehealth optional
practitioner optional
profile_path optional

FAQ

Book a Doctolib appointment for the signed-in account holder: one practitioner practice, one visit motive and one slot, as List Doctolib slots returns them. By default it stops at Doctolib's checkout without booking: Doctolib then holds the slot for 15 minutes in this browser, and the result shows the practitioner, address, motive, patient, price and the questions Doctolib asks before it books. With confirm set to true it books the slot and returns the appointment, whose id Cancel Doctolib appointment takes. A run with confirm true within those 15 minutes books the held slot. Doctolib asks some practitioners' patients whether they have consulted before: pass new_patient for those. It fails with a clear message when the slot is no longer free, when another booking is still held in this browser, or when the practitioner asks questions this script cannot answer.
Ask an AI agent connected to Reduck to run reduck/doctolib.fr/book_appointment, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/doctolib.fr/book_appointment
You do not need one. "Book Doctolib appointment" drives the real doctolib.fr pages in a browser, so it works whether or not doctolib.fr offers an API for this.
Required: profile_path, motive_id, start_date. Optional: confirm, new_patient.
It returns price, stage, motive, address, patient, questions, start_date, telehealth, appointment, practitioner, profile_path, asks_new_patient.
Yes. It acts as you on doctolib.fr: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the doctolib.fr cookies saved by the Reduck extension.
It makes changes on doctolib.fr, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/doctolib.fr/book_appointment, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/doctolib.fr/book_appointment
It is part of Reduck's official curated catalogue.

Start building not clicking