Onfido Matches API

The Matches API from Onfido — 1 operation(s) for matches.

OpenAPI Specification

onfido-matches-api-openapi.yml Raw ↑
openapi: 3.0.0
info:
  contact:
    name: Onfido
    url: https://public.support.onfido.com
  description: "\nCreate trust at onboarding and beyond with a complete, AI-powered digital\nidentity solution built to help you know your customers online. \nAutomation allows you to acquire new customers and reduce costs while\nmeeting global KYC and AML compliance."
  license:
    name: MIT
  title: Onfido Matches API
  version: v3.6
servers:
- url: https://api.{region}.onfido.com/v3.6
  variables:
    region:
      default: eu
      enum:
      - eu
      - us
      - ca
security:
- Token: []
tags:
- name: Matches
paths:
  /watchlist_monitors/{monitor_id}/matches:
    get:
      description: 'List match IDs on this monitor, as well as their enabled/disabled status

        '
      operationId: list_watchlist_monitor_matches
      parameters:
      - in: path
        name: monitor_id
        required: true
        schema:
          format: uuid
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/watchlist_monitor_matches_list'
          description: An array of watchlist monitors
      summary: List matches (BETA)
      tags:
      - Matches
    patch:
      description: 'Update the status of the given matches

        '
      operationId: update_watchlist_monitor_match
      parameters:
      - in: path
        name: monitor_id
        required: true
        schema:
          format: uuid
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/watchlist_monitor_matches_updater'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/watchlist_monitor_matches_list'
          description: An array of watchlist monitors
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Unexpected error
      summary: Set match status (BETA)
      tags:
      - Matches
components:
  schemas:
    ErrorProperties:
      example:
        type: type
        message: message
        fields:
          key: ''
      properties:
        type:
          type: string
        message:
          type: string
        fields:
          additionalProperties: true
          type: object
      title: ErrorProperties
      type: object
    watchlist_monitor_matches_updater:
      properties:
        enable:
          items:
            description: Match ID to enable.
            format: uuid
            type: string
          type: array
        disable:
          items:
            description: Match ID to disable.
            format: uuid
            type: string
          type: array
      type: object
    watchlist_monitor_matches_list:
      example:
        matches:
        - id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
          enabled: true
        - id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
          enabled: true
      properties:
        matches:
          items:
            $ref: '#/components/schemas/Watchlist_monitor_match'
          type: array
      required:
      - matches
      title: Watchlist monitor matches list
      type: object
    Watchlist_monitor_match:
      example:
        id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
        enabled: true
      properties:
        id:
          description: Monitor ID
          format: uuid
          type: string
        enabled:
          description: Monitor status
          type: boolean
      title: Watchlist monitor match
      type: object
    Error:
      example:
        error:
          type: type
          message: message
          fields:
            key: ''
      properties:
        error:
          $ref: '#/components/schemas/ErrorProperties'
      title: Error
      type: object
  securitySchemes:
    Token:
      in: header
      name: Authorization
      type: apiKey
externalDocs:
  url: https://documentation.onfido.com