POST
/
import-number

Authorizations

X-Authorization
string
header
required

Body

application/json
agentId
string
required

Agent ID (agent should not have a phone number assigned yet)

countryCode
string
required

Country code of the phone number, ISO 3166-1 alpha-2 format

phoneNumber
string
required

Phone number to import, includes country code. i.e +10123456789

source
string
required

Phone number source (currently only supports 'twilio')

twilioAccountSid
string
required

Twilio account SID

twilioAuthToken
string
required

Twilio auth token

uid
string
required

User ID

Response

200 - application/json
message
string

Message indicating the result of the operation