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

# List who a connector is close to

> One of your connectors (someone whose LinkedIn network is in IntroLink), and the people in that network ranked by how close the connector seems to be to each: the same team or company at the same time, LinkedIn activity and recommendations, and your own mail and meetings. With `me` for the id, your OWN classmates and ex-colleagues instead, with how warm you are with each today. A guess from what is on record, not a fact. Someone who is not a connector gets an empty list and a `text` that says so.

Costs the key's workspace 1 credit for each person or company the answer returns (`X-IntroLink-Credits-Charged` says how many). With too few credits left it answers 402 and charges nothing.



## OpenAPI

````yaml /public-api/openapi.json get /people/{id}/close-to
openapi: 3.1.0
info:
  title: IntroLink API
  version: 1.0.0
  description: >-
    Use your network from your own tools: read it, add people to your lists,
    draft intro asks that wait in your Gmail drafts, follow where each ask
    stands and record what happened, handle the intro requests founders send
    you, choose who is on your roster of connectors and in which group, and
    import people into it. Nothing the API does sends email from your Gmail.


    Authenticate with an API key from IntroLink, under Settings, API:
    `Authorization: Bearer il_live_…`. A key runs as the workspace admin who
    created it, and reads what they see in IntroLink, including their teams and
    circles under the same rules. People they keep private never appear. A
    revoked key stops working at its next request.


    Answers carry names, roles, strength, short evidence strings, opaque person
    ids (`p_…`) and links into IntroLink. Never an email address or a phone
    number.


    Each key may make 60 requests a minute.
servers:
  - url: https://app.introlink.ai/v1
security:
  - apiKey: []
tags:
  - name: People
    description: >-
      Search your network, look up one person and every path to them, and make
      the People page's bulk edits.
  - name: Companies
    description: >-
      Who your side knows at a company and every path into it, the companies you
      watch, and which are your customers.
  - name: Signals
    description: >-
      Job moves, alumni and relationships going quiet, and marking them
      dismissed or seen.
  - name: Lists
    description: >-
      Your lists of people and of companies: make, rename and delete them, and
      add, take off and put back who is on them.
  - name: Asks
    description: >-
      Intro asks drafted into your Gmail drafts and followed after, and the
      intro requests founders send you. Nothing here sends email.
  - name: Connectors
    description: >-
      Your roster of connectors: who is on it, in which group, and who the Add
      connectors picker suggests.
  - name: Targets
    description: >-
      A partner's target firms, ranked by your best warm path to each, and each
      firm's people.
  - name: Reach
    description: >-
      Who and which companies you can reach through one person, and who a
      connector is closest to.
  - name: Usage
    description: >-
      Your plan and what's left this month, the credits your workspace used, and
      what each thing costs.
  - name: Import
    description: >-
      Import people into your network, or a connector's, and see how far an
      import got.
  - name: Webhooks
    description: >-
      Events IntroLink sends to your own address, signed the Standard Webhooks
      way.
paths:
  /people/{id}/close-to:
    get:
      tags:
        - Reach
      summary: List who a connector is close to
      description: >-
        One of your connectors (someone whose LinkedIn network is in IntroLink),
        and the people in that network ranked by how close the connector seems
        to be to each: the same team or company at the same time, LinkedIn
        activity and recommendations, and your own mail and meetings. With `me`
        for the id, your OWN classmates and ex-colleagues instead, with how warm
        you are with each today. A guess from what is on record, not a fact.
        Someone who is not a connector gets an empty list and a `text` that says
        so.


        Costs the key's workspace 1 credit for each person or company the answer
        returns (`X-IntroLink-Credits-Charged` says how many). With too few
        credits left it answers 402 and charges nothing.
      operationId: closeTo
      parameters:
        - name: id
          in: path
          required: true
          description: >-
            An IntroLink person id (`p_…`) from an earlier answer or a webhook.
            Ids are per user: a key opens the ids its creator's answers carry.
            Or `me`, for your own classmates and ex-colleagues.
          schema:
            type: string
            pattern: ^(p_[A-Za-z0-9_-]{22,}|me)$
        - name: limit
          in: query
          required: false
          description: >-
            How many to return. Default 15, at most 50; larger values are
            treated as 50.
          schema:
            type: integer
            minimum: 1
            maximum: 50
            default: 15
        - name: include_weak
          in: query
          required: false
          description: >-
            Also list people with nothing on record but the LinkedIn connection
            (for `me`: everyone with a shared place).
          schema:
            type: boolean
            default: false
      responses:
        '200':
          description: The people, closest first.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloseToList'
              example:
                object: list
                person:
                  id: p_8TzKq2LmW9xRv4NbHc7YsE
                  name: Daniel Reyes
                  url: >-
                    https://app.introlink.ai/open?person=p_8TzKq2LmW9xRv4NbHc7YsE
                data:
                  - id: p_Qm3vT8yLkR2nWx7HbJ4dPa
                    name: Priya Raman
                    headline: VP Finance at Kestrel Logistics
                    url: >-
                      https://app.introlink.ai/open?person=p_Qm3vT8yLkR2nWx7HbJ4dPa
                    strength: high
                    score: 57
                    why: Worked together at Brightwater, 2018 to 2021
                    warmth: null
                    text: >-
                      Priya Raman, VP Finance at Kestrel Logistics. High, 57:
                      Worked together at Brightwater, 2018 to 2021.
                text: >-
                  Who Daniel Reyes seems closest to, from 38 people at Medium or
                  better in their LinkedIn network. 1. Priya Raman, High, 57.
          headers:
            X-IntroLink-Credits-Charged:
              schema:
                type: integer
              description: 'Credits this answer cost: 1 for each person or company in it.'
            X-IntroLink-Credits-Left:
              schema:
                type: integer
              description: The workspace's credits left after it.
        '400':
          description: >-
            The request is missing something or has a bad value. `error.message`
            says what.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: >-
            No key, or a key that doesn't work (unknown, revoked, or its creator
            left the workspace).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  type: invalid_key
                  message: >-
                    That API key is not valid. It may have been revoked: create
                    a new one in IntroLink, under Settings, API.
                  docs: https://docs.introlink.ai/public-api/authentication
        '402':
          description: >-
            The workspace's credits can't pay for this answer (1 credit for each
            person or company it returns). `error.balance`, `error.needed` and
            `error.billing_url` say what's left, what it needed and where to buy
            more. Nothing is charged.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreditsError'
              example:
                error:
                  type: credits_required
                  message: >-
                    An API answer costs credits, and your workspace has none
                    left. Buy a credit pack or move up a plan under Settings,
                    Billing. Search, paths and drafted asks keep working.
                  balance: 0
                  needed: 1
                  billing_url: https://app.introlink.ai/settings?tab=billing
        '403':
          description: >-
            The workspace is on the Free trial, which doesn't include the API.
            Individual, Team and Business do.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  type: plan_required
                  message: >-
                    The API comes with Individual, Team and Business, and this
                    workspace is on the Free trial. Pick a plan under Settings,
                    Billing to use it.
                  docs: https://docs.introlink.ai/public-api/authentication
        '404':
          description: No person with that id in this key's network.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  type: not_found
                  message: No person with that id in this key's network.
        '429':
          description: 'Too many requests: more than 60 a minute with one key.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  type: rate_limited
                  message: >-
                    Too many requests with this key. Wait a minute and try
                    again.
          headers:
            Retry-After:
              schema:
                type: integer
              description: Seconds to wait.
        '500':
          description: IntroLink couldn't answer just now. Try again in a minute.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  type: server_error
                  message: >-
                    IntroLink could not answer that just now. Try again in a
                    minute.
components:
  schemas:
    CloseToList:
      type: object
      required:
        - object
        - person
        - data
        - text
      properties:
        object:
          type: string
          const: list
        person:
          oneOf:
            - type: object
              required:
                - id
                - name
                - url
              properties:
                id:
                  type: string
                  description: The person id, `p_…`.
                name:
                  type: string
                url:
                  type: string
                  description: Their page in IntroLink.
              description: The connector; null for `me`.
            - type: 'null'
        data:
          type: array
          description: Closest first.
          items:
            type: object
            required:
              - id
              - name
              - headline
              - url
              - strength
              - score
              - why
              - warmth
              - text
            properties:
              id:
                type: string
                description: The person id, `p_…`.
              name:
                type: string
              headline:
                oneOf:
                  - type: string
                  - type: 'null'
              url:
                type: string
              strength:
                oneOf:
                  - type: string
                    enum:
                      - confirmed
                      - high
                      - medium
                      - low
                  - type: 'null'
              score:
                type: integer
                description: How close, 0 to 100.
              why:
                oneOf:
                  - type: string
                    description: What is on record, in a few short sentences.
                  - type: 'null'
              warmth:
                oneOf:
                  - type: string
                    enum:
                      - confirmed
                      - high
                      - medium
                      - low
                    description: >-
                      For `me`: your own tie with them today, when it is Medium
                      or better.
                  - type: 'null'
              text:
                type: string
        text:
          type: string
          description: The complete answer in plain text.
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - type
            - message
          properties:
            type:
              type: string
              enum:
                - unauthorized
                - invalid_key
                - plan_required
                - credits_required
                - rate_limited
                - not_found
                - invalid_request
                - method_not_allowed
                - conflict
                - no_path
                - not_saved
                - server_error
            message:
              type: string
              description: What went wrong and what to do, in a sentence.
            docs:
              type: string
              format: uri
              description: >-
                The docs page that explains the error. Sent with `invalid_key`
                and `plan_required`.
    CreditsError:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - type
            - message
            - balance
            - needed
            - billing_url
          properties:
            type:
              type: string
              const: credits_required
            message:
              type: string
              description: What went wrong and what to do, in a sentence.
            balance:
              type: integer
              description: The workspace's credits left.
            needed:
              type: integer
              description: 'What this answer needed: 1 for each person or company in it.'
            billing_url:
              type: string
              description: >-
                Settings, Billing in IntroLink, where a credit pack or the next
                plan is bought.
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: >-
        An API key from IntroLink, under Settings, API: `il_live_` and 32
        characters. Only workspace owners and admins make keys. A key reads the
        network as the person who made it.

````

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