Send Poll API

Method : POST | GET

Endpoint: {{ env('APP_URL') }}/send-poll

Request Body : (JSON If POST)
Parameter Type Required Description
api_key string Yes API Key
sender string Yes Number of your device
number string Yes recipient number ex 72888xxxx|62888xxxx
name string Yes name or question polling
option array Yes values of poll message
countable string 1 or 0 Yes is polling only one number / poll or allow multiple

Example json

                           
{
    "sender" : "6281284838163",
    "api_key" : "yourapikey",
    "number" : "082298859671",
    "countable" : "1",
    "name" : "what color do you like?",
    "option" : ["red","blue","yellow"]

}
                           
                       

Example URL

                           
   {{ env('APP_URL') }}/send-button?sender=6281284838163&api_key=yourapikey&number=082298859671&name=what color do you like&button=red ,blue,yellow