Get Routing Locations
This request returns a list of the available routing locations.
| get | /routing/locations |
Sample
A sample GET request to get a list of routing locations:
curl -X GET \
'https://api.carrierx.com/core/v2/routing/locations' \
-H 'Authorization: Bearer 5ebc03d6-8b2b-44ad-bf65-72d4f1491dda'
Response
200 status code with a list of Routing Location objects:
{
"count": 1,
"has_more": false,
"items": [
{
"location_sid": "us-2",
"name": "test"
}
],
"limit": 1000,
"offset": 0,
"pagination": {},
"total": 1
}
This request is enabled for Pagination, Result Filtering, and Field Filtering.
Required Scopes
To get information about Routing Location objects, the partner must be authenticated.