Send Interactive Button Message
POSThttps://public.leadpattern.com/whatsapp/message/interactive-button
Send a message with up to 3 quick-reply buttons.
- Only the first 3 buttons are sent — WhatsApp's limit.
Headers
1 fieldAuthorizationstringrequired
Your API key. Sent raw (e.g. 'lp_...'). No Bearer prefix required.
Body Parameters
2 fieldstostringrequired
Recipient phone number in E.164 format (with country code).
contentobjectrequired
headerstringoptional
Header text.
bodystringrequired
Body text.
footerstringoptional
Footer text.
buttonsarray of objectsrequired
Reply buttons (max 3).
Responses
JSON Response
{
"type": "success",
"data": {
"messageId": "wamid.abc123",
"status": "sent",
"recipient": "9195XXXXXXXX"
}
}Sample Request Body
{
"to": "+9195XXXXXXXX",
"content": {
"header": "Choose an option",
"body": "How would you like to proceed?",
"footer": "LeadPattern",
"buttons": [
{
"id": "yes",
"title": "Yes, confirm"
},
{
"id": "no",
"title": "No, cancel"
}
]
}
}
