> ## Documentation Index
> Fetch the complete documentation index at: https://docs.telli.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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.



## OpenAPI

````yaml openapi.json POST /v1/phone-numbers/import
openapi: 3.0.3
info:
  title: telli API
  version: 1.0.0
  description: API documentation for telli's V1 endpoints
servers:
  - url: https://api.telli.com
security:
  - apiKey: []
paths:
  /v1/phone-numbers/import:
    post:
      summary: Import Phone Number
      description: >-
        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.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - phoneNumber
                - terminationUri
                - authUsername
                - authPassword
              properties:
                phoneNumber:
                  type: string
                  description: Phone number in E.164 format (e.g. +4917642048466)
                terminationUri:
                  type: string
                  description: SIP termination URI for routing calls
                authUsername:
                  type: string
                  description: Username for SIP authentication
                authPassword:
                  type: string
                  description: Password for SIP authentication
                transport:
                  type: string
                  enum:
                    - TCP
                    - UDP
                    - TLS
                  default: TCP
                  description: >-
                    SIP transport protocol for the imported number. Defaults to
                    TCP.
                inOutboundPool:
                  type: boolean
                  default: true
                  description: >-
                    Whether to include this phone number in the outbound call
                    pool. Defaults to true.
      responses:
        '200':
          description: Phone number imported successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PhoneNumber'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized - Invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    PhoneNumber:
      type: object
      properties:
        type:
          type: string
          enum:
            - PhoneNumber
          description: Resource type identifier
        id:
          type: string
          format: uuid
          description: Unique identifier for the phone number
        phoneNumber:
          type: string
          description: Phone number in E.164 format (e.g. +4917642048466)
        inOutboundPool:
          type: boolean
          description: Whether this phone number is available for outbound calls
        phoneNumberType:
          type: string
          enum:
            - local
            - mobile
            - null
          nullable: true
          description: Type of phone number (local or mobile)
        createdAt:
          type: string
          format: date-time
          description: When the phone number was added to the account
    Error:
      type: object
      properties:
        message:
          type: string
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: Authorization
      description: 'API key must be provided as: Bearer <api_key>'
      x-bearer-format: Bearer

````