API to send a WhatsApp template or SMS with per-message variables
T
Thomas Mueller
User story
As a hotel system, I want to send a transactional message (e.g. a digital room key) through Conversations via API, so that guests without an email address still get their key.
Problem / context
Guests booked via OTAs often have no real email. We match the phone number in the CRM, but cannot send a WhatsApp template with reservation-specific variables (room, PIN, dates). Support suggested a contact-created trigger, which does not fit because the data belongs to the reservation, not the contact.
Acceptance criteria
- API endpoint: send WhatsApp template (name + variables) to a contact or number.
- Optional fallback to SMS if WhatsApp is not available.
- Message appears in the conversation; delivery status returned.
Log In