LeadIQ Salesforce API

The salesforce API from LeadIQ — 1 operation(s) for salesforce.

GitHub OpenAPI

Operations 1

POST /v1/salesforce/find-duplicates Check people against the caller's connected Salesforce for duplicates #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/leadiq:leadiq-salesforce-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

leadiq-salesforce-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Prospector Salesforce API
  version: 1.0.0
  description: External REST API for LeadIQ prospector lists and prospects.
security:
- apiKeyAuth: []
- bearerAuth: []
tags:
- name: Salesforce
paths:
  /v1/salesforce/find-duplicates:
    post:
      tags:
      - Salesforce
      summary: Check people against the caller's connected Salesforce for duplicates
      description: 'Read-only: for each submitted person, reports whether they already exist as a Lead or Contact in the caller''s connected Salesforce. **Duplicates-only** — a person not present in the response is net-new; the response never echoes non-duplicates. **Spends no credits.** The optional batch `strict` flag controls matching: `false` (default) first enriches any missing match fields before checking Salesforce, for better recall; `true` matches only on the fields supplied, with no enrichment. Free either way. Side-effect-free and safe to retry.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SalesforceDuplicateCheckRequest'
      responses:
        '200':
          description: Duplicates found among the submitted people (may be empty)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SalesforceDuplicateCheckResult'
        '400':
          description: Invalid body
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: 'State precondition: `salesforce_not_connected` — this LeadIQ user has no connected Salesforce account; or `member_not_in_team` — this LeadIQ user is not in a team, so Salesforce field mappings cannot be resolved'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Too Many Requests
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '502':
          description: Transient upstream/Salesforce-check failure — safe to retry
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      operationId: postV1SalesforceFindDuplicates
      x-operation-id-source: derived
components:
  schemas:
    SalesforceMatchCandidate:
      type: object
      properties:
        salesforceId:
          type: string
          description: Salesforce record id.
        entityType:
          type: string
          description: Salesforce object of the candidate, e.g. `Lead`.
        name:
          type: string
        personId:
          type: string
          description: The record's mapped `IQ_Person_Id__c` (a LeadIQ id), not the Salesforce id.
        email:
          type: string
        companyName:
          type: string
      required:
      - salesforceId
      - entityType
      - name
    ErrorResponse:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        details:
          nullable: true
      required:
      - code
      - message
    SalesforceDuplicateCheckResult:
      type: object
      properties:
        duplicates:
          type: array
          items:
            $ref: '#/components/schemas/SalesforcePersonDuplicate'
      required:
      - duplicates
    SalesforcePersonToCheck:
      type: object
      properties:
        ref:
          type: string
          description: Caller-assigned correlation id, echoed back on the matching duplicate entry.
        name:
          type: string
        personId:
          type: string
          description: Mapped to the Salesforce record's `IQ_Person_Id__c`.
        companyName:
          type: string
        companyDomain:
          type: string
        linkedinUrl:
          type: string
          description: Mapped to the Salesforce record's `LinkedIn_URL__c`.
        email:
          type: string
      required:
      - ref
    SalesforcePersonDuplicate:
      type: object
      properties:
        ref:
          type: string
          description: Echoes the input person's `ref`.
        matches:
          type: array
          items:
            $ref: '#/components/schemas/SalesforceMatchCandidate'
          description: Never empty — a ref only appears here when at least one candidate matched.
      required:
      - ref
      - matches
    SalesforceDuplicateCheckRequest:
      type: object
      properties:
        people:
          type: array
          items:
            $ref: '#/components/schemas/SalesforcePersonToCheck'
          minItems: 1
          maxItems: 100
        strict:
          type: boolean
          description: Default false. When false, LeadIQ first enriches any missing match fields (e.g. email) before checking Salesforce, improving recall. When true, only the fields you supply are used, with no enrichment. Spends no credits in either mode.
      required:
      - people
      additionalProperties: false
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Send your LeadIQ API key as the `X-API-Key` header value — no prefix, no encoding.
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: OAuth2 access token (JWT) issued for an audience accepted by this service.
x-provenance:
  method: harvested
  publisher: LeadIQ
  source: https://prospector.leadiq.com/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)