WhatsApp template messages in conversations

Send an approved WhatsApp template from the template picker in the composer. The UI loads templates from the WhatsApp channel service, then sends through the same outgoing transform service used for normal WhatsApp messages.

List templates

Endpoint:

GET
/whatsapp-channel-message-templates

Paginate with $skip in steps of 50 if the channel has many templates.

Send template

Endpoint:

POST
/conversation-messages-transform-outgoing-whatsapp

The app builds a messageData object from the selected template (including whatsapp_template_id, components, variable substitution, and conversation_id) and posts it to this service. The exact JSON matches the template definition returned from the list call (variable keys, body components, etc.).

Replace the body with the payload derived from your template row (same structure the UI sends after the user fills variables).

Notes

Report an issue with this documentation

Please log in to report issues with our documentation.