v27

latestOpenAPI 3.0.0MITraw.githubusercontent.com2025-11-2810941146.5 KB
Call Routing

Create least cost routing routes and carrier set entries

post/Lcrs/{LcrSid}/Routes

Request body

lcr_sidstring required
regexstring required

out going call Phone number regex

priorityinteger required
descriptionstring

Example request

[
  {
    "lcr_sid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "regex": "1*",
    "priority": 1,
    "description": "this is example description",
    "lcr_carrier_set_entries": [
      {
        "workload": 90,
        "lcr_route_sid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "voip_carrier_sid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "priority": 1
      }
    ]
  }
]

Response

least cost routing routes and carrier set entries created