Get a call route
Get an existing call route.
Please log in to see full path URL. Learn why.
get
/callrouting/1/routes/{routeId}
Authorizations:
Scopes:
Request rate limit:
50 requests / minute (per account)
path Parameters
routeId required | string Example: 56b3e3ea-e91f-44ed-9d57-c7f05cd358ba Route identifier |
Responses
200
Success
401
Unauthorized
403
Forbidden
404
Not Found
429
Too Many Requests
500
Internal Server Error
Request samples
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
Example
cURL
Copy
curl -L -g 'https://{baseUrl}/callrouting/1/routes/56b3e3ea-e91f-44ed-9d57-c7f05cd358ba' \ -H 'Authorization: {authorization}' \ -H 'Accept: application/json'
Response samples
- 200
- 401
- 403
- 404
- 429
- 500
Content type
application/json
Example
Route with a SIP endpoint destination
Copy
Collapse all {- "id": "f8fc8aca-786d-4943-9af2-e7ec01b5e80d",
- "name": "Sample Route Name",
- "destinations": [
- {
- "value": {
- "username": "41793026834",
- "sipTrunkId": "string",
- "customHeaders": {
- "string": "string"
}, - "type": "SIP"
}, - "connectTimeout": 30,
- "recording": {
- "recordingType": "AUDIO",
- "recordingComposition": {
- "enabled": true
}, - "customData": {
- "string": "string"
}, - "filePrefix": "string"
}, - "type": "ENDPOINT"
}
]
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See