Skip to main content
POST
Buy a phone number

Authorizations

X-API-Key
string
header
required

API key issued for your workspace.

Body

application/json

Buy number request

phoneNumber
string
required
provider
string
required

Response

Created

allowedInboundCountries
string[]
allowedOutboundCountries
string[]
country
string
createdAt
string
friendlyName
string
id
string
inboundAgentName
string
inboundAgentPublicId
string
inboundWebhookUrl
string
isCustomerManaged
boolean
isInboundReady
boolean
isOutboundReady
boolean
label
string
outboundAgentName
string
outboundAgentPublicId
string
phoneNumber
string
provider
string
providerCurrency
string
providerMonthlyCost
number
sipConfig
object
spaceId
string
status
string
updatedAt
string