×
POST

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

To begin using a new ExoPhone, make an HTTP POST request

Parameter
Name
Value
Description
* PhoneNumber
formData

The ExoPhone that you wish to get.

* 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} where app_id is the identifier of the flow (or applet) that you want to connect to once the From number picks up the call. You can get the app_id from your Exotel Dashboard.

* 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
POST

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

To begin using a new ExoPhone, make an HTTP POST request

Parameter
Name
Value
Description
* PhoneNumber
formData

The ExoPhone that you wish to get.

* 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} where app_id is the identifier of the flow (or applet) that you want to connect to once the From number picks up the call. You can get the app_id from your Exotel Dashboard.

* 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
Share