Skip to content
Reference/Outgoing Messages/Send Interactive Button Message

Send Interactive Button Message

POSThttps://public.leadpattern.com/whatsapp/message/interactive-button
WhatsApp Connectedapplication/json60 req/min

Send a message with up to 3 quick-reply buttons.

  • Only the first 3 buttons are sent — WhatsApp's limit.

Headers

1 field
Authorizationstring
required
Your API key. Sent raw (e.g. 'lp_...'). No Bearer prefix required.

Body Parameters

2 fields
tostring
required
Recipient phone number in E.164 format (with country code).
contentobject
required
headerstring
optional
Header text.
bodystring
required
Body text.
footerstring
optional
Footer text.
buttonsarray of objects
required
Reply buttons (max 3).

Responses

Message accepted by WhatsApp.
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"
      }
    ]
  }
}