v1

latestOpenAPI 3.1.02026-07-14330101.9 KB

➡️ Send Buttons

This endpoint enables users to send interactive messages with buttons to specified WhatsApp users, providing a dynamic way to engage recipients directly within the chat. The button-based interactions streamline responses and enhance user experience, making it a powerful tool for customer service systems, automated response workflows, and interactive marketing campaigns. Ideal for gathering quick feedback, confirming orders, or guiding users through step-by-step processes, this feature seamlessly integrates with applications to support efficient, actionable messaging.

post/send-message/button

Request body

contact_idstring required

The contact id

messagestring required
footerstring

A footer message

Response

200

successboolean
messagestring

Example response

{
  "success": true,
  "message": "OK",
  "data": {
    "status": "PENDING",
    "message": "Hi there, you can check our menu on the button below.",
    "footer": "Copyright 2024",
    "buttons": [
      {
        "name": "cta_url",
        "buttonParamsJson": "{\"display_text\":\"Menu\",\"id\":\"6574368799970303\",\"disabled\":false,\"url\":\"https://facebook.com/\",\"merchant_url\":\"https://facebook.com/\"}"
      }
    ],
    "timestamp": "1730540455"
  }
}