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

# Biometrics Verification

> Authenticate identity through biometric liveness and facial recognition.

When the submitted image does not meet face-detection or quality rules, the API may return an error whose message matches one of the entries below.

| Description                          | Message                                                                           |
| ------------------------------------ | --------------------------------------------------------------------------------- |
| No face is detected in image         | No face detected in the image. Please ensure face is clearly visible.             |
| Face is too small                    | Face is too small. Please move face closer to the camera.                         |
| Multiple faces detected              | Multiple faces detected in the image. Please ensure only one face is visible.     |
| Face is partially hidden or obscured | Face is partially hidden or obscured. Please ensure full face is clearly visible. |
| Face is cropped                      | Face is cropped. Please ensure full face is in frame.                             |
| Face angle is too large              | Face angle is too large. Please ensure face is clearly visible.                   |
| Face is too close to the border      | Face is too close to the border. Please ensure face is clearly visible.           |


## OpenAPI

````yaml api-reference-legacy/openapi.json POST /api/v1/verification/biometricsverification
openapi: 3.0.3
info:
  title: IDmeta API
  description: IDmeta verification and integration API.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://{environment-subdomain}.idmetagroup.com
    description: Your environment (replace `{environment-subdomain}`)
    variables:
      environment-subdomain:
        default: integrate
        description: IDmeta environment subdomain
security:
  - bearerAuth: []
tags:
  - name: Processes
    description: Verification process endpoints
  - name: Compliance
    description: Compliance verification endpoints
  - name: Government Data
    description: Government data verification endpoints
paths:
  /api/v1/verification/biometricsverification:
    post:
      tags:
        - Compliance
      summary: Biometric Verification
      description: Authenticate identity through biometric liveness and facial recognition.
      operationId: biometricVerification
      parameters:
        - name: Accept
          in: header
          required: false
          schema:
            type: string
            default: application/json
        - name: Content-Type
          in: header
          required: false
          schema:
            type: string
            default: application/json
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BiometricVerificationRequest'
            examples:
              default:
                summary: Verify biometric identity from image
                value:
                  image: data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD...
                  image_base64: dGVzdGltYWdlYmFzZTY0
                  template_id: '{your_trust_flow_id}'
                  verification_id: '{your_created_verification_id}'
      responses:
        '200':
          description: Biometric verification completed successfully
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BiometricVerificationResponse'
              example:
                success: true
                message: Biometrics verification processed successfully
                data:
                  livenessPass: true
                  livenessScore: 0.8635861
                verificationStatus: VERIFIED
                verificationStatusCode: 3
                trustFlowId: 1708
                trustValidationId: a9936497-9f97-4d3d-b46e-f543fa9482a5
                verificationType: biometrics_verification
                metadata: null
components:
  schemas:
    BiometricVerificationRequest:
      type: object
      required:
        - template_id
        - verification_id
      properties:
        image:
          type: string
          description: >-
            Face image as a base64 data URI (for example,
            data:image/jpeg;base64,...).
        image_base64:
          type: string
          description: Base 64 of images
        template_id:
          type: string
          description: >-
            Identifier used to categorize or group requests for tracking or
            reporting.
        verification_id:
          type: string
          description: >-
            Unique identifier for the verification request, used for
            traceability.
    BiometricVerificationResponse:
      type: object
      required:
        - success
        - message
        - data
        - verificationStatus
        - verificationStatusCode
        - trustFlowId
        - trustValidationId
        - verificationType
      properties:
        success:
          type: boolean
        message:
          type: string
        data:
          type: object
          properties:
            livenessPass:
              type: boolean
            livenessScore:
              type: number
        verificationStatus:
          type: string
        verificationStatusCode:
          type: integer
        trustFlowId:
          type: integer
        trustValidationId:
          type: string
        verificationType:
          type: string
        metadata:
          nullable: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Use `Bearer {your_api_token}` in the Authorization header.

````