Send quick-reply style button messages.

Request

curl -X POST "https://api.wazapin.id/v1/messages" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "channel_id": "wzp_wu8f3k2p",
    "to": "6281234567890",
    "type": "buttons",
    "buttons": {
      "body": "Would you like to proceed?",
      "buttons": [
        {"id": "btn_yes", "title": "Yes"},
        {"id": "btn_no", "title": "No"}
      ]
    }
  }'

Notes

  • buttons.buttons is a JSON array.
  • For unofficial channels, interactive messages can be delivered as formatted fallback text.