GET
/
v1
/
live_call_routers
/
generate_phone_number
curl --request GET \
  --url https://api.rootly.com/v1/live_call_routers/generate_phone_number \
  --header 'Authorization: Bearer <token>'
{
  "phone_number": "+18001000052"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

country_code
enum<string>
required
Available options:
US,
GB,
NZ,
CA,
AU
phone_type
enum<string>
required
Available options:
local,
toll_free

Response

200
application/vnd.api+json
live_call_router phone number

The response is of type file.