Send a WhatsApp Flow for appointment booking (API)
This scenario sends a WhatsApp Flow entry point with sendFlow during the 24-hour customer service window.
Common errors
| Status | API response | Cause | Fix |
|---|---|---|---|
| 200 | Message was not sent: provide chatId, phone, bsuid, or username | No recipient the channel could resolve. | Pass exactly one recipient: phone (country code plus number, digits only), chatId (for example [email protected]) or bsuid. |
| 401 | token is required | The request has no token. | Add your channel token as the token query parameter: https://api.1msg.io/{channelId}/{method}?token=… |
| 429 | too many requests. please try later | The channel is over its send rate. | Queue messages on your side and retry with exponential backoff. |
Common questions
Related
Appointments & Reminders
Follow-up visit reminder via WhatsApp API
The scenario sends the client a personalised WhatsApp template when a follow-up or repeat visit is due.
Appointments & Reminders
Reschedule confirmation via WhatsApp API
The scenario sends the client a personalised WhatsApp template when a booking is rescheduled.
Appointments & Reminders
Booking change notification via WhatsApp API
The scenario sends the client a personalised WhatsApp template when booking details change.
Appointments & Reminders
Booking cancellation message via WhatsApp API
The scenario sends the client a personalised WhatsApp template when a booking is cancelled.
Appointments & Reminders
Attendance confirmation: WhatsApp quick-reply API
The scenario sends the client a personalised WhatsApp template asking whether they will attend a scheduled visit.
Appointments & Reminders
Appointment reminder days ahead via WhatsApp API
The scenario sends the client a personalised WhatsApp template several days before a scheduled visit.
Appointments & Reminders
Confirm or cancel buttons: WhatsApp API template
The scenario sends the client a personalised WhatsApp template asking them to confirm or cancel a planned action.
Appointments & Reminders
Booking confirmation WhatsApp template (API code)
The scenario sends the client a personalized WhatsApp template immediately after a booking is confirmed.


