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

# Retrieve validation results

> Returns the results of an asynchronous batch validation identified by `request_id`.



## OpenAPI

````yaml https://wavix.github.io/wavix-openapi/wavix-api.yaml get /v1/validation/{request_id}
openapi: 3.1.0
info:
  title: Wavix APIs
  description: >-
    Wavix provides robust APIs that let you integrate voice and text messaging
    features directly into your app. Send text, place calls, and access detailed
    reports  programmatically.
  termsOfService: https://wavix.com/terms-and-conditions
  license:
    name: MIT
    identifier: MIT
  contact:
    name: Wavix
    url: https://wavix.com
    email: support@wavix.com
  version: '1.0'
servers:
  - url: https://api.wavix.com
    description: https://api.wavix.com
    variables: {}
security:
  - bearerAuth: []
tags:
  - name: SIP trunks
    description: SIP trunks
  - name: Buy
    description: Numbers
  - name: Cart
    description: Numbers
  - name: My numbers
    description: Numbers
  - name: Billing
    description: Billing, transactions, and invoices
  - name: Profile
    description: Account profile and customer information
  - name: CDRs
    description: Call detail records and call history
  - name: Speech Analytics
    description: Call transcription and speech analytics
  - name: SMS and MMS
    description: Messaging
  - name: Number Validator
    description: Phone number validation
  - name: Link shortener
    description: Short link and click metrics
  - name: 2FA
    description: Two-factor authentication
  - name: 10DLC
    description: 10DLC Campaigns and Brands
  - name: API Keys
    description: API key management
  - name: Call webhooks
    description: Webhook configuration for call events
  - name: Call control
    description: Programmable Voice
  - name: Call streaming
    description: Real-time call audio streaming over WebSocket
  - name: Call recording
    description: Call recording
  - name: Sub-accounts
    description: Sub-account management
  - name: Voice campaigns
    description: Outbound voice campaigns
  - name: Wavix Embeddable
    description: WebRTC embeddable widget
paths:
  /v1/validation/{request_id}:
    get:
      tags:
        - Number validator
      summary: Retrieve validation results
      description: >-
        Returns the results of an asynchronous batch validation identified by
        `request_id`.
      operationId: number_validator_results_get
      parameters:
        - name: request_id
          in: path
          description: >-
            The `request_id` returned by the asynchronous bulk validation
            request.
          required: true
          style: simple
          schema:
            type: string
            example: 12542c5c-1a17-4d12-a163-5b68543e75f6
      responses:
        '200':
          description: Returns the batch validation results.
          headers: {}
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/PhoneValidationBatchResultResponse'
              examples:
                success:
                  summary: Successful response
                  value:
                    status: success
                    pending: 10
                    count: 1000
                    items:
                      - phone_number: '971501390098'
                        valid: true
                        country_code: AE
                        e164_format: '+971501390098'
                        national_format: 050 139 0098
                        ported: false
                        mcc: '424'
                        mnc: '02'
                        number_type: mobile
                        carrier_name: Etisalat
                        risky_destination: false
                        unallocated_range: false
                        reachable: true
                        roaming: false
                        timezone: UTC+04:00
                        charge: '0.015'
                        error_code: '000'
                      - phone_number: '971504359195'
                        valid: true
                        country_code: AE
                        e164_format: '+971504359195'
                        national_format: 050 435 9195
                        ported: false
                        mcc: '424'
                        mnc: '02'
                        number_type: mobile
                        carrier_name: Etisalat
                        risky_destination: false
                        unallocated_range: false
                        reachable: true
                        roaming: false
                        timezone: UTC+04:00
                        charge: '0.015'
                        error_code: '000'
        '403':
          $ref: '#/components/responses/ForbiddenErrorResponse'
        '404':
          $ref: '#/components/responses/NotFoundErrorResponse'
      deprecated: false
      security:
        - bearerAuth:
            - validator:read
components:
  schemas:
    PhoneValidationBatchResultResponse:
      title: PhoneValidationBatchResultResponse
      required:
        - status
        - pending
        - count
        - items
      type: object
      additionalProperties: false
      properties:
        status:
          type: string
          description: >-
            Request status. Possible values are `success` and `in progress`.


            - `success`: All numbers were processed. - `in progress`: Several
            numbers are pending validation.
          example: success
        pending:
          type: integer
          description: The quantity of phone numbers that are pending to be processed.
          format: int32
          example: 10
        count:
          type: integer
          description: The quantity of phone numbers passed in the request.
          format: int32
          example: 1000
        items:
          type: array
          items:
            $ref: '#/components/schemas/PhoneValidationResultResponse'
          description: |-
            Array of objects containing details for each phone number.
             The returned fields depend on the `type` parameter.
          example:
            - phone_number: '971501390098'
              valid: true
              country_code: AE
              e164_format: '+971501390098'
              national_format: 050 139 0098
              ported: false
              mcc: '424'
              mnc: '02'
              number_type: mobile
              carrier_name: Etisalat
              risky_destination: false
              unallocated_range: false
              reachable: true
              roaming: false
              timezone: UTC+04:00
              charge: '0.015'
              error_code: '000'
            - phone_number: '971504359195'
              valid: true
              country_code: AE
              e164_format: '+971504359195'
              national_format: 050 435 9195
              ported: false
              mcc: '424'
              mnc: '02'
              number_type: mobile
              carrier_name: Etisalat
              risky_destination: false
              unallocated_range: false
              reachable: true
              roaming: false
              timezone: UTC+04:00
              charge: '0.015'
              error_code: '000'
    PhoneValidationResultResponse:
      title: PhoneValidationResultResponse
      required:
        - phone_number
        - valid
        - country_code
        - e164_format
        - national_format
        - charge
        - error_code
      type: object
      additionalProperties: false
      properties:
        phone_number:
          type: string
          description: Phone number.
          example: '971569483322'
        valid:
          type: boolean
          description: Indicates whether the phone number is valid.
          example: true
        country_code:
          type:
            - string
            - 'null'
          description: >-
            Phone number country code in ISO 3166-1 alpha-2 format. `null` if
            the number is invalid.
          example: AE
        e164_format:
          type: string
          description: Phone number in international E.164 format.
          example: '+971569483322'
        national_format:
          type: string
          description: Phone number in the national format of the identified country.
          example: 056 948 3322
        ported:
          type:
            - boolean
            - 'null'
          description: >-
            Indicates whether the phone number is ported. `null` if the phone
            number is invalid.
          example: false
        mcc:
          type:
            - string
            - 'null'
          description: >-
            Mobile Country Code (MCC). Applies to mobile numbers only. `null` if
            the phone number is invalid.
          example: '424'
        mnc:
          type:
            - string
            - 'null'
          description: >-
            Mobile Network Code (MNC). Applies to mobile numbers only. `null` if
            the phone number is invalid.
          example: '004'
        number_type:
          type:
            - string
            - 'null'
          description: >-
            Phone number type. Allowed values: `mobile`, `landline`,
            `toll-free`. `null` if the phone number is invalid.
          example: mobile
        carrier_name:
          type:
            - string
            - 'null'
          description: Carrier name. `null` if the phone number is invalid.
          example: Etisalat
        risky_destination:
          type:
            - boolean
            - 'null'
          description: >-
            Indicates whether the phone number belongs to a range associated
            with traffic pumping. `null` if the phone number is invalid.
          example: false
        unallocated_range:
          type:
            - boolean
            - 'null'
          description: |-
            Indicates whether the phone number belongs to an unallocated range.
             `null` if the phone number is invalid.
          example: false
        reachable:
          type:
            - boolean
            - 'null'
          description: >-
            Indicates whether the number is registered in a mobile network.
            Applies to mobile numbers only.  `null` if the phone number is
            invalid.
          example: true
        roaming:
          type:
            - boolean
            - 'null'
          description: >-
            Indicates whether the number is roaming. Applies to mobile numbers
            only.
             `null` if the phone number is invalid.
          example: false
        timezone:
          type:
            - string
            - 'null'
          description: >-
            Time zone identified based on the country and area code.  `null` if
            the phone number is invalid.
          example: UTC+04:00
        charge:
          type: string
          description: Charge for the validation.
          example: '0.015'
        error_code:
          type: string
          description: >-
            Result code for the validation. `000` indicates success. Possible
            values:

            - `013` — internal service error, uncategorized.

            - `021` — invalid phone number length or format.

            - `041` — remote timeout.

            - `042` — remote query failed.

            - `091` — insufficient funds.
          example: '000'
      description: Number validator response details.
    ForbiddenErrorResponse:
      title: ForbiddenErrorResponse
      type: object
      properties:
        success:
          type: boolean
          description: >-
            Indicates whether the request was successful. Always `false` for
            this error.
          example: false
        message:
          type: string
          description: Human-readable description of why access is forbidden.
          example: The service is not provisioned for your account.
    NotFoundErrorResponse:
      title: NotFoundErrorResponse
      type: object
      properties:
        success:
          type: boolean
          description: >-
            Indicates whether the request was successful. Always `false` for
            this error.
          example: false
        message:
          type: string
          description: >-
            Human-readable description stating that no resource matches the
            given ID.
          example: Record not found
  responses:
    ForbiddenErrorResponse:
      description: Request failed. The feature is disabled for your account.
      headers: {}
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ForbiddenErrorResponse'
    NotFoundErrorResponse:
      description: Request failed. An object with the specified ID is not found.
      headers: {}
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/NotFoundErrorResponse'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >
        Wavix API key. Pass as `Authorization: Bearer <api_key>`. Keys support
        per-resource scopes (none / read / write). See [Restricted keys and
        scopes](https://docs.wavix.com/api-reference/authentication#restricted-keys-and-scopes).

````