Get rate center by name
GET/geo/rc
Lookup rate centers using rate center name and state.Only exact matches are supported.
Requires an authorization header or IP Auth setup through the portal.
Request
Query Parameters
rc_name stringrequired
Rate center name
state stringrequired
State of the rate center
Responses
200: Success. The response will be an array of RateCenterResult objects.
- application/json
400: Bad request when missing required parameters
- application/json
401: Unauthorized request
- application/json
Request samples
curl -L 'https://switchdata.telnyx.com/v1/geo/rc' \
-H 'Accept: application/json'
Response samples
[
{
"rc_name": "string",
"rc_abbre": "string",
"state": "string",
"npa_nxx": [
{
"npa": "string",
"nxx": "string",
"ocn": "string",
"effectivedate": "string"
}
]
}
]
{
"success": "string",
"message": "string",
"reasons": [
"string"
]
}
{
"error": "string"
}