PUT

https://<your_api_key>:<your_api_token><subdomain>/v2_beta/Accounts/<your_sid>/IncomingPhoneNumbers/<exophone_sid>

To assign an ExoPhone to a flow you need to make a HTTP PUT request to:

Parameter
Name
Value
Description
* exophone_sid
path

Exophone Sid

* VoiceUrl
formData

The VoiceURL to be associated to this number. The URL is of the form: http://my.exotel.com/{your_sid}/exoml/start_voice/{app_id}

* SMSUrl
formData

The SMSUrl to be associated to this number. The URL is of the form: http://my.exotel.com/{your_sid}/exoml/start_sms/{app_id} where app_id is the identifier of the flow (or applet) that you want to connect to once an incoming SMS is received.

* FriendlyName
formData

A friendly name that can be used to identify this number easily.

Response Content Type