📤 Chatting

Send buttons message (interactive)

Send Buttons

post/api/sendButtons

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/api/sendButtons
  • Auth: API key in header X-Api-Key

Request body

chatIdstring required
headerstring required
bodystring required
footerstring required
sessionstring required

Example request

{
  "chatId": "11111111111@c.us",
  "header": "How are you?",
  "headerImage": {
    "mimetype": "image/jpeg",
    "filename": "filename.jpg",
    "url": "https://picsum.photos/1024"
  },
  "body": "Tell us how are you please 🙏",
  "footer": "If you have any questions, please send it in the chat",
  "buttons": [
    {
      "type": "reply",
      "text": "I am good!"
    },
    {
      "type": "call",
      "text": "Call us",
      "phoneNumber": "+1234567890"
    },
    {
      "type": "copy",
      "text": "Copy code",
      "copyCode": "4321"
    },
    {
      "type": "url",
      "text": "How did you do that?",
      "url": "https://waha.devlike.pro"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.