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

# List pending dedup reviews involving a contact

> Returns the pending ContactDedupReview entries where this contact appears as either source or candidate. SUPERADMIN may override organizationId via query.



## OpenAPI

````yaml /api-reference/openapi.yaml get /api/contacts/{id}/dedup-reviews/pending
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/contacts/{id}/dedup-reviews/pending:
    get:
      tags:
        - Contacts
      summary: List pending dedup reviews involving a contact
      description: >-
        Returns the pending ContactDedupReview entries where this contact
        appears as either source or candidate. SUPERADMIN may override
        organizationId via query.
      operationId: get_contact_dedup_reviews_pending
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: string
        - in: query
          name: organizationId
          required: false
          schema:
            type: string
          description: SUPERADMIN-only override of the target organization.
      responses:
        '200':
          description: Pending reviews returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContactDedupReviewListResponse'
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LegacyErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LegacyErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    ContactDedupReviewListResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - true
        data:
          type: array
          items:
            $ref: '#/components/schemas/ContactDedupReview'
        count:
          type: integer
        organizationId:
          type: string
      required:
        - success
        - data
      additionalProperties: true
      example:
        success: true
        data:
          - _id: 5f7b1c2e8a1d4e0012c3b4b0
            organizationId: 5f7b1c2e8a1d4e0012c3b400
            reviewSource: fuzzy_match
            status: needs_review
            score: 86
            createdAt: '2026-05-18T14:30:00.000Z'
        count: 0
        organizationId: 64f0a1b2c3d4e5f6a7b8c9d3
    LegacyErrorResponse:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
        data: {}
      additionalProperties: true
      example:
        error: Attachment not found
        message: Attachment not found
    ContactDedupReview:
      type: object
      properties:
        _id:
          type: string
        organizationId:
          type: string
        sourceContactId:
          oneOf:
            - type: string
            - $ref: '#/components/schemas/ContactDedupReviewContact'
        candidateContactId:
          oneOf:
            - type: string
            - $ref: '#/components/schemas/ContactDedupReviewContact'
        reviewSource:
          type: string
          enum:
            - fuzzy_match
            - phone_conflict
        status:
          type: string
          enum:
            - needs_review
            - merged
            - kept_separate
        score:
          type: number
        thresholdSnapshot:
          type: object
          additionalProperties: true
        fieldBreakdown:
          type: object
          additionalProperties: true
        sourceSnapshot:
          type: object
          additionalProperties: true
        candidateSnapshot:
          type: object
          additionalProperties: true
        resolution:
          type: object
          additionalProperties: true
        resolvedBy:
          oneOf:
            - type: string
            - $ref: '#/components/schemas/ContactDedupReviewResolvedBy'
        resolvedAt:
          type: string
          format: date-time
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      required:
        - reviewSource
        - status
      additionalProperties: true
      example:
        _id: 5f7b1c2e8a1d4e0012c3b4b0
        organizationId: 5f7b1c2e8a1d4e0012c3b400
        sourceContactId: 5f7b1c2e8a1d4e0012c3b4a5
        candidateContactId: 5f7b1c2e8a1d4e0012c3b4a7
        reviewSource: fuzzy_match
        status: needs_review
        score: 86
        thresholdSnapshot:
          thresholdPercent: 90
          reviewThresholdPercent: 70
        fieldBreakdown:
          firstName: 100
          lastName: 80
          email: 75
        createdAt: '2026-05-18T14:30:00.000Z'
        updatedAt: '2026-05-18T14:30:00.000Z'
    ContactDedupReviewContact:
      type: object
      properties:
        _id:
          type: string
        firstName:
          type: string
        lastName:
          type: string
        email:
          type: string
        phoneNumber:
          oneOf:
            - type: string
            - type: array
              items:
                $ref: '#/components/schemas/ContactPhoneNumber'
        secondaryPhoneNumber:
          type: array
          items:
            type: string
        isProvisional:
          type: boolean
      additionalProperties: true
      example:
        _id: 5f7b1c2e8a1d4e0012c3b4a5
        firstName: Jane
        lastName: Doe
        email: jane.doe@acme.example
        phoneNumber:
          - value: '+14165550100'
            isPrimary: true
        secondaryPhoneNumber:
          - '+14165550101'
        isProvisional: false
    ContactDedupReviewResolvedBy:
      type: object
      properties:
        _id:
          type: string
        fullName:
          type: string
        email:
          type: string
      additionalProperties: true
      example:
        _id: 5f7b1c2e8a1d4e0012c3b4a6
        fullName: Ops Admin
        email: ops@acme.example
    ContactPhoneNumber:
      type: object
      properties:
        value:
          type: string
        isPrimary:
          type: boolean
      required:
        - value
      additionalProperties: true
      example:
        value: '+14165550100'
        isPrimary: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````