Skip to main content
POST
Create Phone Number

Authorizations

X-API-Key
string
header
required

Body

application/json
number
string
required
twilioAccountSid
string
required
twilioAuthToken
string
required
provider
string
default:twilio
Allowed value: "twilio"
name
string | null
assistantId
string | null
squadId
string | null
fallbackDestination
TransferDestinationNumber · object
serverUrl
string | null

Server URL must match either workflow.amira.bot or workflow.voicebot.studio

serverUrlSecret
string | null

Response

Successful Response

id
string
required
provider
string
required
number
string
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
name
string | null
assistantId
string | null
squadId
string | null
fallbackDestination
TransferDestinationNumber · object
serverUrl
string | null
serverUrlSecret
string | null
orgId
string | null
twilioAccountSid
string | null
twilioAuthToken
string | null