Use this endpoint to update the failover SMS route for a phone number. You must create the route first by following Create an Inbound Route. You can then assign the created route by specifying its value in a PATCH request.
Endpoint
PATCH /numbers/:id/relationships/sms_failover_routeRequest Parameters
-
number_id
string REQUIREDThe phone number to which the failover route for SMS will be assigned. This number must be in 11-digit North American format. e.g. 12065551234.
-
type
string REQUIREDObject type of the data that you are updating the phone number with. This will always be "route".
-
route_id
string REQUIREDID of the failover SMS route to be assigned to the phone number that you are updating.