CreateAutomatedPoll.wr

04-15-2016

Creates a new poll to build on top of.

Parameters

  • String : pollname - The name of your poll. Can basically be whatever you want.
  • Boolean : callerid - The phone number to display as the caller ID.
  • String : cellscrub - Determines whether or not to filter out mobile phone numbers from the dial list. Can be true or false.
  • Number : listid - The phone list id to add to the poll.

Usage

Example Request

POST /CreateAutomatedPoll.wr HTTP/1.1
Host: api.voicebroadcasting.com
Content-Type: application/x-www-form-urlencoded

apirid=1111&sidtoken=abcxyz123&pollname=My%20Awesome%20Poll&callerid=8175551212&cellscrub=true&listid=1234

Example Response

{"apirid":"1111","callsetid":1234,"pollid":5678,"result":"ok"}