Send Message

Send Message Button

Envia uma mensagem de botões para um número de telefone.

post/send-buttons

Request body

phonestring required
messagestring required
{"stackTrail":"components:schemas:SendMessageRequestWithButton:properties:options","oasType":"schema","type":"unknown"}

Example request

{
  "phone": "554498005216",
  "message": "Hello World",
  "options": {
    "useTemplateButtons": "true",
    "buttons": [
      {
        "id": "1",
        "text": "Text 1"
      },
      {
        "id": "2",
        "phoneNumber": "554498005216",
        "text": "Call Us"
      },
      {
        "id": "3",
        "url": "https://wppconnect-team.github.io/",
        "text": "Long Life WPPCONNECT"
      },
      {
        "id": "4",
        "text": "Text 4"
      },
      {
        "id": "5",
        "text": "Text 5"
      }
    ],
    "title": "Title text",
    "footer": "Footer text"
  }
}

Response

Created

Changes