Skip to main content

Assign ExoPhone to a Flow

Update an ExoPhone's configuration to route calls or SMS to specific flows.

HTTP Request

PUT /v2_beta/Accounts/<account_sid>/IncomingPhoneNumbers/<exophone_sid>

Path Parameters

ParameterDescription
exophone_sidThe unique SID of the ExoPhone

Request Parameters

ParameterRequiredDescription
VoiceUrlNoUpdated flow URL for incoming voice calls
SMSUrlNoUpdated flow URL for incoming SMS
FriendlyNameNoUpdated friendly name

Response

Returns the updated ExoPhone object with the new configuration.

{
"sid": "9eeafc8ab479a386dc95f854f9d7cd8a",
"phone_number": "+91XXXX30240",
"friendly_name": "My Sales Line",
"voice_url": "https://my.exotel.com/exoml/start/flow_id",
"sms_url": "https://my.exotel.com/exoml/start/sms_flow_id",
"capabilities": {
"voice": true,
"sms": true
}
}