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

# Match contact by identifier (POST)

> Match a contact by email, phone, LinkedIn URL, or provider-specific contact identifier. Returns matched contact with all identifiers.




## OpenAPI

````yaml /openapi/crm.yaml post /contacts/match
openapi: 3.1.0
info:
  title: Connie CRM API
  version: 1.0.0
  description: >
    API for contacts, companies, records, tasks, reminders, notes, activity
    feeds, and data enrichment. All endpoints require authentication.
servers:
  - url: https://connie.ai/api
    description: Production
security:
  - cookieAuth: []
tags:
  - name: Contacts
    description: Contact management and lookup
  - name: Contact Notes
    description: Notes on contacts
  - name: Contact Tasks
    description: Tasks linked to contacts
  - name: Contact Reminders
    description: Reminders linked to contacts
  - name: Companies
    description: Company management
  - name: Company Notes
    description: Notes on companies
  - name: Company Tasks
    description: Tasks linked to companies
  - name: CRM Utilities
    description: CRM setup, enrichment triggers, and table IDs
  - name: Records
    description: Generic record management across CRM sources
  - name: Enrichment
    description: Data enrichment tools and jobs
  - name: Reminders
    description: Standalone and entity-linked reminders
  - name: Tasks
    description: Task comments and activity feeds
paths:
  /contacts/match:
    post:
      tags:
        - Contacts
      summary: Match contact by identifier (POST)
      description: >
        Match a contact by email, phone, LinkedIn URL, or provider-specific
        contact identifier. Returns matched contact with all identifiers.
      operationId: matchContact
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - workspaceId
              properties:
                workspaceId:
                  type: string
                  format: uuid
                email:
                  type: string
                  format: email
                phone:
                  type: string
                linkedinUrl:
                  type: string
                contactIdentifier:
                  type: string
                  description: Provider-specific identifier (e.g. LinkedIn member URN)
                provider:
                  type: string
      responses:
        '200':
          description: Match result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MatchResult'
components:
  schemas:
    MatchResult:
      type: object
      properties:
        matched:
          type: boolean
        contact:
          $ref: '#/components/schemas/ContactFull'
          nullable: true
        message:
          type: string
          nullable: true
        identifiersChecked:
          type: array
          nullable: true
          items:
            type: string
    ContactFull:
      allOf:
        - $ref: '#/components/schemas/Contact'
        - type: object
          properties:
            identifiers:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: string
                  contact_id:
                    type: string
                  type:
                    type: string
                  value:
                    type: string
                  value_normalized:
                    type: string
                  is_primary:
                    type: boolean
                  workspace_id:
                    type: string
            twitter_handle:
              type: string
              nullable: true
    Contact:
      type: object
      properties:
        id:
          type: string
          format: uuid
        workspace_id:
          type: string
          format: uuid
        display_name:
          type: string
          nullable: true
        first_name:
          type: string
          nullable: true
        last_name:
          type: string
          nullable: true
        full_name:
          type: string
          nullable: true
        avatar_url:
          type: string
          nullable: true
          format: uri
        lifecycle_stage:
          type: string
          nullable: true
        company_id:
          type: string
          nullable: true
        owner_id:
          type: string
          nullable: true
        row_json:
          type: object
          description: EAV cell data â€” dynamic CRM properties
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        email:
          type: string
          nullable: true
        phone:
          type: string
          nullable: true
        linkedin_url:
          type: string
          nullable: true
  securitySchemes:
    cookieAuth:
      type: apiKey
      in: cookie
      name: session

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.