
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": "interactive", "interactive": { "subType": "buttons", "components": { "header": { "type": "text", "text": "Your request is queued" }, "body": { "type": "text", "text": "How would you rate your bot experience" }, "footer": { "type": "text", "text": "Your service bot" }, "buttons": [ { "type": "reply", "reply": { "payload": "987298-40980jvkdm9-234234234", "title": "Poor" } }, { "type": "reply", "reply": { "payload": "987298-dsfgjlkhgdf-dg09u834334", "title": "OK" } }, { "type": "reply", "reply": { "payload": "9080923445nlkjß0_gß0923845083245dfg", "title": "Good" } } ] } } } }