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

# Create Phone Number



## OpenAPI

````yaml api-reference/openapi.json post /phone-numbers
openapi: 3.1.0
info:
  title: Kathan API
  description: Building a fundamentally new kind of world for Conversational AI.
  version: 2.0.1
servers:
  - url: https://api.staging.kathan.tech
    description: Staging
security: []
tags:
  - name: Assistants
    description: Create and manage AI voice agents. Configure voice, LLM, knowledge bases.
  - name: Phone Numbers
    description: Configure and attach phone numbers to assistants. Twilio & Vobiz.
  - name: Calls
    description: Call logs, recordings, and outbound call management.
  - name: Knowledge Bases
    description: Upload documents, create knowledge bases, attach to assistants.
  - name: Campaigns
    description: Create and run outbound campaigns. Attach recipient lists, start/pause.
  - name: Recipient Lists
    description: Contact lists for campaigns. Create from CSV, manage recipients.
  - name: Chat
    description: Text chat with assistants. Create sessions, send messages.
  - name: API Keys
    description: Create and manage API keys for authentication.
  - name: Organizations
    description: Organization and team management. Invites, members.
  - name: Credits
    description: Usage credits and billing.
  - name: Users
    description: User profile and account management.
paths:
  /phone-numbers:
    post:
      tags:
        - Phone Numbers
        - Phone Numbers
      summary: Create Phone Number
      operationId: create_phone_number_phone_numbers_post
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PhoneNumberCreateRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PhoneNumberPublic'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - BearerAuth: []
          XUserId: []
components:
  schemas:
    PhoneNumberCreateRequest:
      properties:
        provider:
          type: string
          title: Provider
          description: 'Telephony provider. Supports: twilio, whatsapp, vobiz'
          default: twilio
        phone_number:
          type: string
          title: Phone Number
          description: >-
            For Twilio/Vobiz: E.164 (e.g. +16504601060). For WhatsApp: Phone
            Number ID from Facebook Developer Portal
        account_sid:
          anyOf:
            - type: string
            - type: 'null'
          title: Account Sid
          description: Twilio Account SID (AC...) - Required for provider=twilio
        auth_token:
          anyOf:
            - type: string
            - type: 'null'
          title: Auth Token
          description: >-
            Twilio Auth Token - Required for provider=twilio. For Vobiz: auth
            token from Vobiz dashboard
        auth_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Auth Id
          description: Vobiz Auth ID - Required for provider=vobiz
        whatsapp_token:
          anyOf:
            - type: string
            - type: 'null'
          title: Whatsapp Token
          description: WhatsApp Access Token - Required for provider=whatsapp
        label:
          anyOf:
            - type: string
            - type: 'null'
          title: Label
          description: Friendly label for this phone number
      type: object
      required:
        - phone_number
      title: PhoneNumberCreateRequest
    PhoneNumberPublic:
      properties:
        id:
          type: string
          title: Id
        provider:
          type: string
          title: Provider
        phone_number:
          type: string
          title: Phone Number
        label:
          anyOf:
            - type: string
            - type: 'null'
          title: Label
        status:
          type: string
          title: Status
        created_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Created At
      type: object
      required:
        - id
        - provider
        - phone_number
        - status
      title: PhoneNumberPublic
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: API key authentication.
    XUserId:
      type: apiKey
      in: header
      name: X-User-ID
      description: Required user id for API key requests.

````