Send List Button

Api Docs Sending List Button Messages

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

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

{
  "api_key" => "{!! $main_device->api_key !!}",
  "receiver" => "628xxxxxxxx",
  "data": {
    "title": "Title Message",
    "message": "Message Content",
    "footer": "WALazy - Ilsya",
    "buttonText": "Click Me",
    "sections": [
        {
            "title": "Section 1",
            "rows": [
                {
                    "title": "Option 1",
                    "rowId": "option1"
                },
                {
                    "title": "Option 2",
                    "rowId": "option2",
                    "description": "This is a description"
                }
            ]
        },
        {
            "title": "Section 2",
            "rows": [
                {
                    "title": "test",
                    "rowId": "test"
                }
            ]
        }
    ]
  }
}

curl -X POST \
'{!! config('app.base_node') !!}/api/send-listmsg' \
--header 'Accept: */*' \
--header 'Content-Type: application/json' \
--data-raw '{
  "api_key": "{!! $main_device->api_key !!}",
  "receiver": "628xxxxxxxx",
  "data": {
    "title": "Title Message",
    "message": "Message Content",
    "footer": "WALazy - Ilsya",
    "buttonText": "Click Me",
    "sections": [
        {
            // "title": "Section 1",
            "rows": [
                {
                    "title": "Option 1",
                    "rowId": "option1"
                },
                {
                    "title": "Option 2",
                    "rowId": "option2",
                    "description": "This is a description"
                }
            ]
        },
        {
            "title": "Section 2",
            "rows": [
                {
                    "title": "test",
                    "rowId": "test"
                }
            ]
        }
    ]
  }
}