Numbers
Update a phone number routes
PATCH
/
numbers
/
{id}
Headers
authorization
string
requiredYour API key for authentication. Use Bearer format.
Path Parameters
id
string
requiredID of the phone number.
Body
application/json
use_case_id
string
ID of the use case that should handle inbound on this number.
agent_routes
object[]
Agent routes of the phone number. The sum of the probabilities should be 100.
model_routes
object[]
Model routes of the phone number. The sum of the probabilities should be 100.
Response
200 - application/json
id
string
requiredID of the phone number.
organization_id
string
requiredOrganization ID.
number
string
requiredPhone number.
sid
string
requiredTwilio SID.
locality
string
Locality.
use_case_id
string | null
ID of the use case that should handle inbound on this number.
agent_routes
object[]
requiredmodel_routes
object[]
requiredWas this page helpful?