curl –XPOST https://api.tyntec.com/conversations/v3/messages\ -H 'Content-Type: application/json' \ -H 'apikey: <API KEY>' \ -d '{ { "from" : "{{whatsAppBusinessNumber}}", "to" : "{{receiverPhoneNumber}}", "channel" : "whatsapp", "content" : { "contentType" : "template", "template" : { "templateId" : "event_rating", "templateLanguage" : "en", "components" : { "body" : [ { "type": "text", "text": "User" }, { "type": "text", "text": "WhatsApp Demo" } ], "button" : [ { "type" : "quick_reply", "index": 0, "payload" : "event-id123" }, { "type" : "quick_reply", "index": 1, "payload" : "event-id123" }, { "type" : "quick_reply", "index": 2, "payload" : "event-id123" } ] } } } }
Benefits and use cases include
- Product selection: choosing between subscription packages, product options, etc.
- Customer satisfaction prompt: for example, “Did this answer your question?” with “Yes” / “No” / “Need more help” response buttons.
- Next action prompt: for example, “you flight departs in 24 hours” with “Get boarding pass” / “Change seat” / “See other flight options” response buttons.

API Request for Quick Reply Buttons
When sending a Message Template with Interactive Buttons, you will need to ensure that the " index" matches the button’s position in your Message Template.
For example, if the Quick Reply button is placed in the first position, the index must be set to "0". For Quick Reply Buttons, the index options range from "0"(first position) to "2"(third position).