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

# Get contact fuzzy-merge settings

> Returns the active fuzzy-merge configuration used to detect duplicate contacts (candidate limit, match/review thresholds, custom-field rules with weights, trigger / instant-merge field lists, and per-field conflict resolution rules).



## OpenAPI

````yaml /api-reference/openapi.yaml get /api/organizations/{organizationId}/contact-fuzzy-merge-settings
openapi: 3.0.3
info:
  title: Tether Relay and Tether API
  version: 1.0.0
  description: >-
    Route-derived OpenAPI contract generated from tether-relay backend sources.
    Regenerate with scripts/sync-openapi-from-backend.mjs.
servers:
  - url: https://your-instance.example.com
    description: Production
  - url: http://localhost:2212
    description: Local API service
security: []
tags:
  - name: AI
  - name: Applications
  - name: Approval
  - name: Auth
  - name: Automations
  - name: Calls
  - name: Campaigns
  - name: Contact Analytics
  - name: Contact Metrics
  - name: Contact Notes
  - name: Contacts
  - name: Conversation Monitor
  - name: Conversations
  - name: Departments
  - name: Email
  - name: Escalation Dashboard
  - name: Event Logs
  - name: Google Sheets
  - name: Marketplace
  - name: Messages
  - name: Notification Sounds
  - name: Notifications
  - name: Org Snapshots
  - name: Organizations
  - name: Outreach
  - name: Outreach Metrics
  - name: Outreach Sources
  - name: Pipelines
  - name: Processes
  - name: Prompts
  - name: Reminders
  - name: Sms
  - name: Templates
  - name: Traces
  - name: Training
  - name: Upload
  - name: User Snapshots
  - name: Users
  - name: Vertical
  - name: Webchats
  - name: Webhook
paths:
  /api/organizations/{organizationId}/contact-fuzzy-merge-settings:
    get:
      tags:
        - Organizations
      summary: Get contact fuzzy-merge settings
      description: >-
        Returns the active fuzzy-merge configuration used to detect duplicate
        contacts (candidate limit, match/review thresholds, custom-field rules
        with weights, trigger / instant-merge field lists, and per-field
        conflict resolution rules).
      operationId: get_organizations_organizationId_contact_fuzzy_merge_settings
      parameters:
        - in: path
          name: organizationId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Contact fuzzy merge settings returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContactFuzzyMergeSettingsResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationErrorResponse'
        '404':
          description: Organization not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    ContactFuzzyMergeSettingsResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - true
        data:
          $ref: '#/components/schemas/ContactFuzzyMergeSettingsData'
      additionalProperties: true
      example:
        success: true
        data:
          candidateLimit: 50
          thresholdPercent: 90
          reviewThresholdPercent: 70
          customFields: []
          lookupTriggerFields:
            - email
            - phoneNumber
          instantMergeFields:
            - email
          conflictResolutionRules: {}
    OrganizationErrorResponse:
      type: object
      properties:
        error:
          type: string
        details:
          type: string
      additionalProperties: true
      example:
        error: Organization not found
        details: No organization exists with the provided id
    ContactFuzzyMergeSettingsData:
      type: object
      properties:
        candidateLimit:
          type: integer
          minimum: 1
          maximum: 200
        thresholdPercent:
          type: number
          minimum: 0
          maximum: 100
        reviewThresholdPercent:
          type: number
          minimum: 0
          maximum: 100
        customFields:
          type: array
          items:
            $ref: '#/components/schemas/ContactFuzzyMergeCustomFieldRule'
        lookupTriggerFields:
          type: array
          items:
            type: string
        instantMergeFields:
          type: array
          items:
            type: string
        conflictResolutionRules:
          type: object
          additionalProperties: true
          description: Per-field conflict resolution rules keyed by field name.
      additionalProperties: true
      example:
        candidateLimit: 50
        thresholdPercent: 90
        reviewThresholdPercent: 70
        customFields:
          - field: address.streetAddress
            weight: 25
            matchMode: fuzzy_string
        lookupTriggerFields:
          - email
          - phoneNumber
        instantMergeFields:
          - email
        conflictResolutionRules:
          email: prefer_newer
    ContactFuzzyMergeCustomFieldRule:
      type: object
      properties:
        field:
          type: string
        weight:
          type: number
          minimum: 0
          maximum: 100
        matchMode:
          type: string
          enum:
            - exact_normalized
            - fuzzy_string
      required:
        - field
        - weight
        - matchMode
      additionalProperties: true
      example:
        field: address.streetAddress
        weight: 25
        matchMode: fuzzy_string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````