Send Button

Api Docs Sending Button Messages

SendText is an API that allows you to send button messages to WhatsApp numbers.

Endpoint : {!! config('app.base_node') !!}/api/send-button
Method : POST
Download Example PHP : Download

{
  "api_key" => "{!! $main_device->api_key !!}",
  "receiver" => "628xxxxxxxx",
  "data": {
    "message": "ini pesan button",
    "footer": "velixs - 2023",
    "buttons": [
        {
            "display": "Hai",
            "id": "hai"
        },
        {
            "display": "Menu",
            "id": "!help"
        },
        {
            "display": "Ping",
            "id": "!ping"
        }
    ]
  }
}

curl -X POST \
'{!! config('app.base_node') !!}/api/send-button' \
--header 'Accept: */*' \
--header 'Content-Type: application/json' \
--data-raw '{
  "api_key": "{!! $main_device->api_key !!}",
  "receiver": "628xxxxxxxx",
  "data": {
    "message": "ini pesan button",
    "footer": "velixs - 2023",
    "buttons": [
        {
            "display": "Hai",
            "id": "hai"
        },
        {
            "display": "Menu",
            "id": "!help"
        },
        {
            "display": "Ping",
            "id": "!ping"
        }
    ]
  }
}