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

# Verify a mobile number

> Verifies the authenticity of a user's mobile number using encryption.



## OpenAPI

````yaml /openapi.json post /v1/api/verify
openapi: 3.1.0
info:
  title: Authmatech API
  description: API Documentation
  version: '1.0'
servers:
  - url: http://service.authmatech.com
    description: Generated server url
security:
  - ApiKey: []
paths:
  /v1/api/verify:
    post:
      tags:
        - Authmatech Verify & Verify+
      summary: Verify a mobile number
      description: Verifies the authenticity of a user's mobile number using encryption.
      operationId: verifyNumber
      parameters:
        - name: X-CLIENT-ID
          in: header
          required: true
          schema:
            type: string
        - name: maskMobile
          in: query
          description: >-
            If **true**, the response returns the Mobile Number in masked form
            (e.g. ******12). to help the customer in his verification journey
          required: false
          schema:
            type: boolean
            default: false
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VerifyNumberBody'
        required: true
      responses:
        '200':
          description: Verification successful
          content:
            application/json:
              example:
                success: true
                messages:
                  - type: SUCCESS
                    httpStatus: OK
                    technical: false
                data:
                  validNumber: true
        '400':
          description: Invalid request data
          content:
            application/json:
              example:
                success: false
                messages:
                  - type: FAILURE
                    code: INVALID_MOBILE_NUMBER
                    message: must not be blank
                    httpStatus: BAD_REQUEST
                    technical: false
        '401':
          description: Unauthorized
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Response'
        '500':
          description: Server error during verification
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Response'
components:
  schemas:
    VerifyNumberBody:
      type: object
      properties:
        mobileNumber:
          type: string
        encryptedMobileNumber:
          type: string
        operatorId:
          type: string
        serviceType:
          type: string
          title: REGISTRATION, LOGIN, RESET_PASS, UPDATE_DETAILS, TRANSACTION
        sdkSessionId:
          type: string
          description: >-
            Optional SDK session ID returned by the Authmatech mobile SDK after
            Header Enrichment. When present, the verification record is linked
            to the stored SDK session and device context.
    Response:
      type: object
  securitySchemes:
    ApiKey:
      type: apiKey
      name: X-API-KEY
      in: header

````