> ## 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 paths into a company

> Everyone your side can reach at one company, each with their best path, strongest first: how many paths are Strong, Likely or a Long shot, and where the best ones come from (your own network, a Team network, a circle, or your Customers). The same answer as the IntroLink extension's company panel. Narrow it by likelihood, title, seniority or source.

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 /companies/{domain}/paths
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:
  /companies/{domain}/paths:
    get:
      tags:
        - Companies
      summary: List paths into a company
      description: >-
        Everyone your side can reach at one company, each with their best path,
        strongest first: how many paths are Strong, Likely or a Long shot, and
        where the best ones come from (your own network, a Team network, a
        circle, or your Customers). The same answer as the IntroLink extension's
        company panel. Narrow it by likelihood, title, seniority or source.


        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: companyPaths
      parameters:
        - name: domain
          in: path
          required: true
          description: >-
            The company's web domain (`kestrel.com`), its name, or its LinkedIn
            page URL, URL-encoded.
          schema:
            type: string
            minLength: 1
            maxLength: 300
        - name: likelihood
          in: query
          required: false
          description: Only people whose best path is this likely to work. All when absent.
          schema:
            type: string
            enum:
              - all
              - strong
              - likely
              - long_shot
            default: all
        - name: title
          in: query
          required: false
          description: >-
            Words the person's title must hold, e.g. `finance` or `head of
            sales`.
          schema:
            type: string
            maxLength: 100
        - name: seniority
          in: query
          required: false
          description: >-
            Only people at this level: `exec` (C-level, founders, partners),
            `vp` (VP or head of), `director`, `manager`, `senior`, `ic`.
          schema:
            type: string
            enum:
              - any
              - exec
              - vp
              - director
              - manager
              - senior
              - ic
            default: any
        - name: source
          in: query
          required: false
          description: >-
            Only best paths from here: `network` (your own), `team` (a Team
            network), `circle`, `customers`.
          schema:
            type: string
            enum:
              - any
              - network
              - team
              - circle
              - customers
            default: any
        - name: limit
          in: query
          required: false
          description: >-
            How many to return. Default 10, at most 25; larger values are
            treated as 25.
          schema:
            type: integer
            minimum: 1
            maximum: 25
            default: 10
      responses:
        '200':
          description: The people your side can reach there, strongest path first.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyPaths'
              example:
                object: list
                company:
                  name: Kestrel Logistics
                  url: https://app.introlink.ai/companies/kestrellogistics
                total: 31
                counts:
                  strong: 6
                  likely: 14
                  long_shot: 11
                matched: 6
                by_source:
                  - label: Your network
                    count: 22
                  - label: Customers
                    count: 9
                data:
                  - id: p_Qm3vT8yLkR2nWx7HbJ4dPa
                    name: Priya Raman
                    role: VP Finance
                    url: >-
                      https://app.introlink.ai/open?person=p_Qm3vT8yLkR2nWx7HbJ4dPa
                    best_path:
                      via: Daniel Reyes
                      via_id: p_8TzKq2LmW9xRv4NbHc7YsE
                      via_role: Investor
                      your_tie: 22 emails with you
                      strength: high
                      strength_label: High
                      evidence:
                        - Worked together at Brightwater, 2018 to 2021
                        - On 6 threads together
                      last_contact: On a thread together 12 days ago
                      network: null
                      trend: null
                      ask_url: >-
                        https://app.introlink.ai/open?ask=p_Qm3vT8yLkR2nWx7HbJ4dPa&via=p_8TzKq2LmW9xRv4NbHc7YsE
                      text: >-
                        Daniel Reyes (Investor, High): worked together at
                        Brightwater, 2018 to 2021; on 6 threads together.
                    path_count: 3
                    text: >-
                      Priya Raman, VP Finance. Strong: Daniel Reyes can
                      introduce you. Daniel and Priya worked together at
                      Brightwater, 2018 to 2021.
                    likelihood: Strong
                    confirmed: false
                    source: Your network
                    sentence: Daniel Reyes can introduce you to Priya Raman.
                    why: >-
                      Daniel and Priya worked together at Brightwater, 2018 to
                      2021.
                text: >-
                  31 people at Kestrel Logistics are reachable through your
                  side: 6 Strong, 14 Likely, 11 Long shot. Best first: 1. Priya
                  Raman, VP Finance, through Daniel Reyes.
          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: >-
            IntroLink can't tell which company that is. Try its LinkedIn page
            URL, its website, or the name people use for it.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  type: not_found
                  message: >-
                    IntroLink can't tell which company that is. Try its LinkedIn
                    page URL, its website, or the name people use for it.
        '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:
    CompanyPaths:
      type: object
      required:
        - object
        - company
        - total
        - counts
        - matched
        - by_source
        - data
        - text
      properties:
        object:
          type: string
          const: list
        company:
          type: object
          required:
            - name
            - url
          properties:
            name:
              type: string
            url:
              type: string
              description: Every path into the company, in IntroLink.
        total:
          type: integer
          description: Everyone your side can reach there.
        counts:
          type: object
          required:
            - strong
            - likely
            - long_shot
          properties:
            strong:
              type: integer
            likely:
              type: integer
            long_shot:
              type: integer
        matched:
          type: integer
          description: How many match the filters; `data` holds up to `limit`.
        by_source:
          type: array
          description: Where the best paths come from, most first.
          items:
            type: object
            required:
              - label
              - count
            properties:
              label:
                type: string
              count:
                type: integer
        data:
          type: array
          items:
            $ref: '#/components/schemas/CompanyPath'
        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.
    CompanyPath:
      type: object
      required:
        - id
        - name
        - role
        - url
        - best_path
        - path_count
        - likelihood
        - confirmed
        - source
        - sentence
        - why
        - text
      properties:
        id:
          type: string
          description: The person id, `p_…`.
        name:
          type: string
        role:
          oneOf:
            - type: string
              description: Their title.
            - type: 'null'
        url:
          type: string
          description: The person's page in IntroLink.
        best_path:
          oneOf:
            - $ref: '#/components/schemas/Path'
            - type: 'null'
        path_count:
          type: integer
          description: How many paths to them in all.
        likelihood:
          oneOf:
            - type: string
              enum:
                - Strong
                - Likely
                - Long shot
              description: How likely the best path is to work.
            - type: 'null'
        confirmed:
          type: boolean
          description: The relationship is confirmed.
        source:
          oneOf:
            - type: string
              description: >-
                Where the best path comes from: "Your network", a Team or
                circle, or "Customers".
            - type: 'null'
        sentence:
          oneOf:
            - type: string
              description: The best path in one sentence.
            - type: 'null'
        why:
          oneOf:
            - type: string
              description: Why, from the evidence.
            - type: 'null'
        text:
          type: string
          description: This person's line of the text answer.
    Path:
      type: object
      required:
        - via
        - via_id
        - via_role
        - your_tie
        - strength
        - strength_label
        - evidence
        - last_contact
        - network
        - trend
        - ask_url
        - text
      properties:
        via:
          type: string
          description: Who can introduce you; "You" on a direct path.
        via_id:
          oneOf:
            - type: string
              description: >-
                The connector's person id, when they are someone in your
                network.
            - type: 'null'
        via_role:
          type: string
          description: >-
            How you know the connector ("Investor", "Advisor"); "Direct" for
            you.
        your_tie:
          oneOf:
            - type: string
              description: 'The connector''s tie to you: "22 emails with you".'
            - type: 'null'
        strength:
          type: string
          enum:
            - confirmed
            - high
            - medium
            - low
        strength_label:
          type: string
          description: '"Confirmed", "High", "Medium" or "Low".'
        evidence:
          type: array
          items:
            type: string
          description: 'Short evidence, strongest first: never raw email content.'
        last_contact:
          oneOf:
            - type: string
              description: '"Last contact 12 days ago".'
            - type: 'null'
        network:
          oneOf:
            - type: string
              description: The shared network the path came through, by name.
            - type: 'null'
        trend:
          oneOf:
            - type: array
              items:
                type: integer
              minItems: 12
              maxItems: 12
              description: Contact per month, last 12 months, oldest first (direct paths).
            - type: 'null'
        ask_url:
          type: string
          description: IntroLink's composer with this path chosen.
        text:
          type: string
          description: The whole path in one sentence.
  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.