Skip to main content

Get rate center suggestions

GET 
/geo/suggestions

Fetch up to 50 locations and ratecenters using the query parameter. Results will contain city/state matches first and then rate center matches.

Requires an authorization header or IP Auth setup through the portal.

Request

Query Parameters

    query stringrequired

    Search term must be at least three characters long

Responses

200: Success. The response will be an array of CityResult and RatecenterResult objects or the NoResults object

400: Bad request when missing query parameter or query length is less than three characters

401: Unauthorized request

Request samples


curl -L 'https://switchdata.telnyx.com/v1/geo/suggestions' \
-H 'Accept: application/json'

Response samples


[
{
"state": "string",
"city": "string",
"type": "string",
"rc_name": "string"
}
]