Skip to main content
POST
/
messages
/
buttons
Enviar Botões
curl --request POST \
  --url https://api.wapizap.com/api/v2/messages/buttons \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "instanceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "to": "<string>",
  "text": "Escolha uma opção:",
  "buttons": [
    {
      "id": "btn_yes",
      "label": "Sim"
    }
  ],
  "title": "Confirmação",
  "footer": "Responda abaixo"
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
instanceId
string<uuid>
required
to
string
required
text
string
required
Example:

"Escolha uma opção:"

buttons
object[]
required
Maximum array length: 3
title
string
Example:

"Confirmação"

Example:

"Responda abaixo"

Response

201

Botões enviados