Import Number
Import number from provider. Please add provider credentials in the provider credentials section before you import an phone number.
Authorizations
Retrieve your API Key from Dashboard API Keys Section.
Path Parameters
Give your provider name. Ex: twilio, Available providers: twilio
Body
Phone number to import. Please provide in E.164 format, Ex: +1234567890
"+1234567890"
Label for the number
"friendly-name-1"
Credentials for the provider. If credentials are not provided, the default credentials from the provider credentials section will be used.
{
"accountSid": "AC1234567890",
"authToken": "1234567890"
}Response
Successfully imported the number.
Unique identifier of the number
"a12f9c88-c155-461f-9771-4d240cdc9a04"
This is unique identifier of the team.
"1f7b1b1b1b1b1b1b1b1b1b1b"
Phone number associated with the team
"+1234567890"
ID of the associated assistant (if any)
"a12f9c88-c155-461f-9771-4d240cdc9a04"
If true, inbound call is enabled. If false, inbound call is disabled.
true
If true, outbound call is enabled. If false, outbound call is disabled.
true
Label for the number
"friendly-name-1"