v27

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

create a Lest cost routing for a service provider

<Error>This endpoint is only availble with an Admin or Service Provider API key</Error>

post/ServiceProviders/{ServiceProviderSid}/Lcrs

Request body

namestring required

name or Least Cost Routing

Example request

{
  "name": "twilioLcr"
}

Response

service provider Lcr successfully created

sidstring required

Example response

{
  "sid": "9d26a637-1679-471f-8da8-7150266e1254"
}