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.
Common errors
| Status | API response | Cause | Fix |
|---|---|---|---|
| 200 | Message was not sent: template is not defined | namespace, template or language is missing from the request body. | Send all three. Take namespace and the exact template name from GET /templates; language is an object: {"policy": "deterministic", "code": "en"}. |
| 200 | template name (…) does not exist in <language> | The template is approved in a different language than the one requested. | Use the exact language code the template was approved in (for example es_MX is not the same as es). Check it in GET /templates. |
| 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. |
Common questions
Related
Appointments & Reminders
Pre-visit instructions via WhatsApp API template
The scenario sends the client a personalised WhatsApp template before a visit with preparation instructions.
Appointments & Reminders
Pre-visit documents checklist via WhatsApp API
The scenario sends the client a personalised WhatsApp template with a documents checklist before a visit.
Appointments & Reminders
Pending booking confirmation: WhatsApp buttons API
The scenario sends the client a personalised WhatsApp template when a booking awaits confirmation.
Appointments & Reminders
New booking alert to staff via WhatsApp API
The scenario sends the staff manager a personalised WhatsApp template when a new booking is created.
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.


