Use this endpoint to retrieve all of the information associated with a phone number, including billing method, primary route, and failover route.
Endpoint
GET /numbers/:idRequest Parameters
-
id
string requiredPhone number to search for. Must be in 11-digit North American number format; e.g. 12061231234.
Response Fields
-
attributes
Object composed of attributes explained in List Account Phone numbers.
-
relationships
Object desribing the different relationships a phone number can have such as CNAM Presets, e911 Addresses, Primary and Failover Routes for Voice, SMS, MMS, and DLRs.
-
included
Details related to a phone number's routes.
aliasAlias for the route.
route_type: Indicates the type of route: HOST, PSTN, URI, or SIP-REG for Voice, webhook for SMS, MMS, and DLRs. SIP-REG is the default name assigned to a voice route if none is assigned. A route type can be created using Create an Inbound Route.
value: Value that the route was set to.