Appointments
Your availability, not your time slots.
You declare a time range and how often it repeats; the slots follow from it, cut to the length of each appointment type. A day off is removed as one excluded date — not by correcting twenty slots.
Appointments
You declare a time range and how often it repeats; the slots follow from it, cut to the length of each appointment type. A day off is removed as one excluded date — not by correcting twenty slots.
You never create a slot by hand: it would be wiped at the next generation. Availability is what drives everything.
A one-hour appointment type
POST /api/agent/v1/rdv/types/creer/
{
"nom": "Coaching session",
"duree_minutes": 60,
"capacite": 1,
"payant": true, "prix": "80.00"
}
Every Thursday, 9 am to noon
POST /api/agent/v1/rdv/disponibilites/creer/
{
"debut": "2026-09-10T09:00:00+02:00",
"fin": "2026-09-10T12:00:00+02:00",
"regle_de_recurrence": "RRULE:FREQ=WEEKLY;BYDAY=TH",
"types": [3]
}
→ three one-hour slots, every Thursday