Get rate center by number
GET/geo/supplemental
Lookup rate centers that contain a number that match a npa, nxx pair. Wildcards as (*) may be used for nxx.
Requires an authorization header or IP Auth setup through the portal.
Request
Query Parameters
npa stringrequired
npa
nxx stringrequired
nxx
Responses
200: Success. The response will be an array of RatecenterResults or the NoResults object.
- application/json
400: Bad request when missing query parameter or query length is less than three characters
- application/json
401: Unauthorized request
- application/json
Request samples
curl -L 'https://switchdata.telnyx.com/v1/geo/supplemental' \
-H 'Accept: application/json'
Response samples
[
{
"rc_name": "string",
"rc_abbre": "string",
"state": "string",
"npa_nxx": [
{
"npa": "string",
"nxx": "string"
}
]
}
]
{
"success": "string",
"message": "string",
"reasons": [
"string"
]
}
{
"error": "string"
}