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

# Start Verification

> Initiates a verification process for a phone number using Twilio's caller ID validation.



## OpenAPI

````yaml POST /start-verification/
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:
  /start-verification/:
    post:
      summary: Start Phone Number Verification
      description: >-
        Initiates a verification process for a phone number using Twilio's
        caller ID validation.
      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/StartVerificationRequest'
            example:
              phone_number: string
              friendly_name: string
              sid: string
              auth: string
      responses:
        '200':
          description: Verification initiated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StartVerificationResponse'
        '400':
          description: Invalid request or Twilio credentials
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    StartVerificationRequest:
      type: object
      required:
        - phone_number
        - friendly_name
        - sid
        - auth
      properties:
        phone_number:
          type: string
          description: Phone number to be verified
          example: '+919999008776'
        friendly_name:
          type: string
          description: Label to identify the phone number
          example: TEST
        sid:
          type: string
          description: Twilio Account SID
        auth:
          type: string
          description: Twilio Auth Token
    StartVerificationResponse:
      type: object
      properties:
        sid:
          type: integer
          description: Internal system ID for the verification task
          example: 99
        phone_number:
          type: string
          description: Phone number that was verified
          example: '+919999008776'
        validation_code:
          type: string
          description: The generated code for caller ID validation
          example: '838171'
        call_sid:
          type: string
          description: Twilio call SID generated for the verification process
    Error:
      required:
        - success
        - message
        - data
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        data:
          type: object
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: api_key

````