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

# Get Telnyx Number

> Registers a new number with Telnyx using the given phone number, country code, and friendly name.



## OpenAPI

````yaml POST /v2/register/telynx/number/
openapi: 3.1.0
info:
  title: CloserX.ai API
  description: >-
    The CloserX.ai API provides programmatic access to manage AI-powered calling
    operations, including agent creation, campaign management, contact handling,
    telephony integration, and more. This API enables seamless automation and
    integration with CRM systems, telephony providers, and other third-party
    services for enhanced client communication and business operations.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://app.closerx.ai/api
security:
  - api_key: []
paths:
  /v2/register/telynx/number/:
    post:
      summary: Telnyx Register Number
      description: >-
        Registers a new number with Telnyx using the given phone number, country
        code, and friendly name.
      parameters:
        - name: Company-Name
          in: header
          required: true
          description: Schema name for multi-tenancy
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TelnyxRegisterNumberRequest'
      responses:
        '200':
          description: Number registered successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TelnyxRegisterNumberResponse'
        '400':
          description: Failed to register number
          content:
            application/json:
              schema:
                $ref: f08423b1-ea2f-4c51-90cd-66fa2072b2fe
components:
  schemas:
    TelnyxRegisterNumberRequest:
      type: object
      required:
        - phone_number
        - friendly_name
        - country_code
      properties:
        phone_number:
          type: string
          example: '+12183009429'
          description: Phone number to register
        friendly_name:
          type: string
          example: testing6
          description: Custom label for the number
        country_code:
          type: string
          example: US
          description: Country code of the number
    TelnyxRegisterNumberResponse:
      type: object
      properties:
        message:
          type: string
          example: Number registered successfully
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: api_key

````