GetCallsetId.wr

04-24-2017

This method returns creates a new campaign then returns the callsetid number. The callsetid number identifies individual campaigns.

Parameters

  • Number : validdigit - The digit to press to transfer a call
  • String : recordleads - Whether or not to record.
  • String : campaign - Arbitrary name for your campaign
  • String : callerid - Caller ID that will be displayed to people you call.
  • String : vbtype -
  • Number : calleridtx - Phone number to transfer press 1 calls to.
  • String : records - If this is a live transfer campaign, set this as 1 to record live transfers. Otherwise set as 0.
  • String : ponemax -
  • String : ponemaxnum -
  • String : extension -
  • String : calltype - Play audios for DIFFERENT, BOTH, LIVE, or MACHINE
  • String : detecttype - Optimize answer detection to HUMAN or MACHINE
  • String : dncdigit - Number to press to be added to "Do Not Call" list.
  • String : newnameofs -
  • String : dnccountry -
  • String : type - If this is an EMERGENCY type of call "EMERGENCY" otherwise "NORMAL".
  • Boolean : cellscrub - Set as true if you want to not dial numbers determined to be mobile. Set as false otherwise.
  • String : statescrub - Comma separated list of states to not dial ex: 'TX,CA,DC'. Empty string otherwise.

Useage

Example Request

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

sidtoken=000000000000000000000000000&validdigit=&recordleads=false
&campaign=Test+Campaign&callerid=8175225007&vbtype=Voice+Broadcasting
&calleridtx=&records=no&ponemax=&ponemaxnum=false&extension=&calltype=different
&detecttype=HUMAN&dncdigit=&newnameofs=&dnccountry=&type=normal

Example Response

{"callsetid":55881}