Import Phone Number

Imports a phone number from your own SIP trunk provider. This allows you to use existing phone numbers with telli by configuring custom SIP termination settings.

post/v1/phone-numbers/import

Request body

phoneNumberstring required

Phone number in E.164 format (e.g. +4917642048466)

terminationUristring required

SIP termination URI for routing calls

authUsernamestring required

Username for SIP authentication

authPasswordstring required

Password for SIP authentication

transport'TCP' | 'UDP' | 'TLS'

SIP transport protocol for the imported number. Defaults to TCP.

inOutboundPoolboolean

Whether to include this phone number in the outbound call pool. Defaults to true.

Response

Phone number imported successfully

type'PhoneNumber'

Resource type identifier

idstring uuid

Unique identifier for the phone number

phoneNumberstring

Phone number in E.164 format (e.g. +4917642048466)

inOutboundPoolboolean

Whether this phone number is available for outbound calls

phoneNumberType'local' | 'mobile' | 'null' nullable

Type of phone number (local or mobile)

createdAtstring date-time

When the phone number was added to the account

Changes

No recorded changes to this endpoint across all 1 revision of this API.