Skip to main content

Check what’s free

A doctor’s day is either timed (mode: "time", book a start) or a queue of walk-in numbers (mode: "queue", book a date and get the next_number). mode: "closed" means the doctor doesn’t work that day.

Book

  • Send patient_id for a known patient, or a patient object to create or match one in the same call (see Sync patients).
  • type: "follow_up" books a follow-up visit (priced as one).
  • duration_minutes overrides the doctor’s session length.
  • notify_patient: true sends the booking confirmation on WhatsApp (SMS when WhatsApp can’t reach them). The default is false, for when your system confirms itself.
  • Docistra checks the doctor’s hours, days off, breaks and other bookings. Organizations whose schedule lives in your system can skip the hours check with enforce_schedule: false (see Master record).

Move

The appointment keeps its id. Change doctor_id or branch_id the same way. The patient is told about the new time unless you send notify_patient: false.

Cancel

The patient is told unless notify_patient: false. Cancelling a whole day for a doctor? Use Doctor day off.

Check-in and visit status

POST /appointments/{id}/status with arrived, in_progress, completed or no_show keeps the clinic’s board in step with your front desk.

Bookings made in Docistra

The AI agent books on WhatsApp, patients book on the clinic’s page, and reception books in Docistra. Listen to appointment.created: source tells you where it came from. Create it in your system and link it back with PATCH /appointments/{id} {"external_id": "..."}.