Skip to main content
GET
https://api.trillet.ai
/
v1
/
api
/
twilio
/
phone-number-price
Get Phone Number Price
curl --request GET \
  --url https://api.trillet.ai/v1/api/twilio/phone-number-price \
  --header 'x-api-key: <api-key>' \
  --header 'x-workspace-id: <x-workspace-id>'
{
  "country": "US",
  "type": "local",
  "price": 1.15
}

Headers

x-api-key
string
required
API key used for authenticating requests to the API.
x-workspace-id
string
required
Workspace identifier for the API.

Query Parameters

country
string
required
Country code (e.g., “US”, “CA”, “AU”, “GB”).
type
string
required
Type of phone number. Options: “local”, “tollFree”, “mobile”.

Response Fields

country
string
Country code.
type
string
Phone number type.
price
number
Monthly price for the phone number in USD.
{
  "country": "US",
  "type": "local",
  "price": 1.15
}