Kirim pesan Interktif Button Reply
POST/nusasms_api/1.0/wa_business/interactive/button_reply
Syarat Penggunaan
Untuk mengirim tipe pesan ini (seperti tipe reply / balasan), harus sudah ada Conversation room (percakapan) antara akun Whatsapp (Gateway) dengan si penerima pesan.
Introductionā
Interactive Button Reply message allow you to send up to three predefined replies for users to choose from.
Json Request Componentsā
-
header: Available types:text,document,image, andvideo
optional
Example:text:{"type": "text", "text": "Your Text Header"}document:{"type": "document", "link": "YOUR_DOC_URL", "filename": "document.pdf"}image:{"type": "image", "link": "IMAGE_URL"}video:{"type": "video", "link": "VIDEO_URL"}
Media extensions
document:pdf,doc,docs,ppt,pptx,txt,xlsandxlsximage:jpegandpngvideo:3gpandmp4
-
body: Message text body
required, max 1024 characters -
footer: Foot note message
optional, max 60 characters -
buttons: Reply buttons
max 3 itemsbutton_id: the button identifier. Must be unique.
max 256 characterstitle: Button label text.
max 20 characters
{
"gateway_id": "YOUR_GATEWAY_ID",
"recipient": "RECIPIENT_NUMBER",
"header": {
"type": "image",
"link": "https://api-doc.nusasms.com/slate/img/logo.png"
},
"body": {
"text": "This is the main text.\nMake it sounds cool\nš"
},
"footer": {
"text": "A little note on the footer"
},
"buttons": [
{
"button_id": "BTN ID 1",
"title": "This is"
},
{
"button_id": "BTN ID 2",
"title": "some"
},
{
"button_id": "BTN ID 3",
"title": "cool buttons"
}
]
}
Previewā
Here is the preview when you got this type of message.
Received Messageā

Send Reply on Click / Touchā

Requestā
Responsesā
- 200
- 400
- 403
- 422
Successful Response
Request validation error
Forbidden access
Validation Error