Update Call Flow
Change the routing features of a call flow.
GET or POST Request
Send us a GET or POST request with your key and the numbers (in the URI as key or as http password)
This will immediately attempt to order numbers. You can send the dids field as either a comma list of the numbers OR a json object of the numbers
Argument
Required
Type
call_flow_id
yes
int
e164
yes
yes or no
voicemail_box
no
voicemail box id
ip_address_1
yes
ip you want to route calls to
ip_address_2
no
second ip address to load balance to
ip_address_3
no
third ip to load balance to
ip_address_4
no
fourth ip to load balance to
sip_port
no
alternative SIP UDP port
make_default
no
yes or no make this the default for the account
wait_time
no
seconds to wait until call connects
curl -X POST https://v1.api19.com/dids/callflow/update \
-d 'call_flow_id=444' \
-d 'e164=yes' \
-d 'voicemail_box=12345' \
-d 'ip_address_1=207.181.189.120' \
-d 'ip_address_2=192.168.1.100' \
-d 'ip_address_3=192.168.1.101' \
-d 'ip_address_4=192.168.1.102' \
-d 'sip_port=5060' \
-d 'make_default=no' \
-d 'key=your-api-key'Responses
Last updated