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

# Signature Matching

> Compare two signature images and return a similarity score and match verdict.



## OpenAPI

````yaml api-reference-legacy/openapi.json POST /api/v1/verification/signature/match
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/signature/match:
    post:
      tags:
        - Compliance
      summary: Signature Matching
      description: >-
        Compare two signature images and return a similarity score and match
        verdict.
      operationId: signatureMatching
      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/SignatureMatchRequest'
            examples:
              default:
                summary: Signature matching request
                value:
                  image1: data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD...
                  image2: data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD...
                  template_id: '{template_id}'
                  verification_id: '{your_created_verification_id}'
      responses:
        '200':
          description: Signature matching completed successfully
          headers:
            Content-Type:
              schema:
                type: string
                example: application/json
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SignatureMatchResponse'
              example:
                status: true
                message: Signature matching completed.
                result:
                  similarity: 66
                  verdict: MATCH
                  verification_status: Verified
                  verification_status_code: 3
                  verdict_display: Match
                match_status: Verified
                verification_status: Verified
                verification_status_code: 3
                verdict: Match
components:
  schemas:
    SignatureMatchRequest:
      type: object
      required:
        - image1
        - image2
        - template_id
        - verification_id
      properties:
        image1:
          type: string
          description: >-
            First signature image as a base64 data URI (for example,
            data:image/jpeg;base64,...).
        image2:
          type: string
          description: >-
            Second signature image as a base64 data URI (for example,
            data:image/jpeg;base64,...).
        template_id:
          type: string
          description: >-
            Identifier used to categorize or group requests for tracking or
            reporting.
        verification_id:
          type: string
          description: A unique ID used to identify your verification request.
    SignatureMatchResponse:
      type: object
      properties:
        status:
          type: boolean
        message:
          type: string
        result:
          type: object
          properties:
            similarity:
              type: integer
              description: Similarity score between the two signatures.
            verdict:
              type: string
              description: Match verdict (for example MATCH).
            verification_status:
              type: string
            verification_status_code:
              type: integer
            verdict_display:
              type: string
        match_status:
          type: string
        verification_status:
          type: string
        verification_status_code:
          type: integer
        verdict:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Use `Bearer {your_api_token}` in the Authorization header.

````