curl --request POST \
--url https://api.example.com/v1.0/voice/routes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"CallRouteId": "<string>",
"AccountId": "<string>",
"RouteName": "<string>",
"RouteType": "<string>",
"VoiceUrl": "<string>",
"VoiceUrlMethod": "<string>",
"TrunkIp1": "<string>",
"TrunkIp2": "<string>",
"TrunkPort1": "<string>",
"TrunkPort2": "<string>",
"TrunkTransport1": "<string>",
"TrunkTransport2": "<string>",
"TrunkUri1": "<string>",
"TrunkUri2": "<string>",
"TrunkEnabled1": true,
"TrunkEnabled2": true,
"Trunk1Priority": 123,
"Trunk1Weight": 123,
"Trunk2Priority": 123,
"Trunk2Weight": 123,
"HeaderManipulation": "<string>",
"EnableSipRefer": true,
"TransferCallerId": "<string>",
"SymmetricRtp": true,
"EnableTrpSecureTrunk": true,
"EnablePstnTransfer": true,
"CnamLookup": true,
"TerminationUriSubdomain": "<string>",
"EnableCallStreaming": true,
"WssUri": "<string>",
"IntelligentRouteEnabled": true,
"IpWhiteList": [
{
"IpAddress": "<string>"
}
]
}
'curl --request POST \
--url https://api.example.com/v1.0/voice/routes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"CallRouteId": "<string>",
"AccountId": "<string>",
"RouteName": "<string>",
"RouteType": "<string>",
"VoiceUrl": "<string>",
"VoiceUrlMethod": "<string>",
"TrunkIp1": "<string>",
"TrunkIp2": "<string>",
"TrunkPort1": "<string>",
"TrunkPort2": "<string>",
"TrunkTransport1": "<string>",
"TrunkTransport2": "<string>",
"TrunkUri1": "<string>",
"TrunkUri2": "<string>",
"TrunkEnabled1": true,
"TrunkEnabled2": true,
"Trunk1Priority": 123,
"Trunk1Weight": 123,
"Trunk2Priority": 123,
"Trunk2Weight": 123,
"HeaderManipulation": "<string>",
"EnableSipRefer": true,
"TransferCallerId": "<string>",
"SymmetricRtp": true,
"EnableTrpSecureTrunk": true,
"EnablePstnTransfer": true,
"CnamLookup": true,
"TerminationUriSubdomain": "<string>",
"EnableCallStreaming": true,
"WssUri": "<string>",
"IntelligentRouteEnabled": true,
"IpWhiteList": [
{
"IpAddress": "<string>"
}
]
}
'JWT Authorization header using the Bearer scheme. Obtain token from /v1.0/OAuth2/tokens endpoint.
VoiceRoute_Request object
Show child attributes
Success