Skip to main content

Get Routing Location by SID

This request returns data for a routing location, targeted by secure ID.

get /routing/locations/{location_sid}

Sample​

A sample GET request to get a routing location targeted by secure ID:

curl -X GET \
'https://api.carrierx.com/core/v2/routing/locations/us-2' \
-H 'Authorization: Bearer 5ebc03d6-8b2b-44ad-bf65-72d4f1491dda'

Response​

200 status code with a serialized copy of the Routing Location object:

{
"location_sid": "us-2",
"name": "test"
}

This request is enabled for Field Filtering.

Required Scopes​

To get information about Routing Location objects, the partner must be authenticated.

Path Arguments​

ParameterData TypeDescription
location_sid requiredstringThe routing location secure ID.