Send list-style options when you want users to pick from multiple choices.

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": "list",
    "list": {
      "body": "Pilih menu yang kamu mau",
      "button_text": "Lihat menu",
      "sections": [
        {
          "title": "Menu utama",
          "rows": [
            {"id": "menu_1", "title": "Cek pesanan", "description": "Lihat status order"},
            {"id": "menu_2", "title": "Hubungi CS", "description": "Butuh bantuan"}
          ]
        }
      ]
    }
  }'

Notes

  • type must be list.
  • list.sections is an array of section objects.
  • Official and unofficial channels are supported. On unofficial channels, interactive content can be rendered as fallback text.