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

# Create a list

> Makes a list for the key creator, empty. When they already have a list of that kind by that name (ignoring case), nothing is made and that list is the answer, so the same request twice makes one list. A list of the other kind by that name is refused.



## OpenAPI

````yaml /public-api/openapi.json post /lists
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:
  /lists:
    post:
      tags:
        - Lists
      summary: Create a list
      description: >-
        Makes a list for the key creator, empty. When they already have a list
        of that kind by that name (ignoring case), nothing is made and that list
        is the answer, so the same request twice makes one list. A list of the
        other kind by that name is refused.
      operationId: createList
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - name
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 200
                  description: >-
                    The list's name. The description above says what happens
                    when you have a list by that name already.
                kind:
                  type: string
                  enum:
                    - people
                    - companies
                  default: people
                  description: >-
                    A list of people or a list of companies. It can't change
                    later.
                description:
                  type: string
                  maxLength: 2000
                  description: What the list is for, in a line or two.
            example:
              name: Seed funds
              kind: companies
              description: Funds to meet before the round
      responses:
        '200':
          description: >-
            A list of that kind by that name was already there: nothing was
            made.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListCreation'
              example:
                object: list_creation
                created: true
                list:
                  id: 5c1d8e2f-7a3b-4c6d-8e9f-1a2b3c4d5e6f
                  name: Seed funds
                  kind: companies
                  url: >-
                    https://app.introlink.ai/lists/5c1d8e2f-7a3b-4c6d-8e9f-1a2b3c4d5e6f
                  description: Funds to meet before the round
                  members: 0
                text: >-
                  Made the list of companies "Seed funds". POST
                  /v1/lists/{list}/companies adds to it.
        '201':
          description: The list, made.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListCreation'
              example:
                object: list_creation
                created: true
                list:
                  id: 5c1d8e2f-7a3b-4c6d-8e9f-1a2b3c4d5e6f
                  name: Seed funds
                  kind: companies
                  url: >-
                    https://app.introlink.ai/lists/5c1d8e2f-7a3b-4c6d-8e9f-1a2b3c4d5e6f
                  description: Funds to meet before the round
                  members: 0
                text: >-
                  Made the list of companies "Seed funds". POST
                  /v1/lists/{list}/companies adds to 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'
              example:
                error:
                  type: invalid_request
                  message: The body is not valid JSON.
        '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
        '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
        '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:
    ListCreation:
      type: object
      required:
        - object
        - created
        - list
        - text
      properties:
        object:
          type: string
          const: list_creation
        created:
          type: boolean
          description: false when a list of that kind by that name was already there.
        list:
          $ref: '#/components/schemas/ListDetail'
        text:
          type: string
    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`.
    ListDetail:
      type: object
      required:
        - id
        - name
        - description
        - kind
        - members
        - url
      properties:
        id:
          type: string
        name:
          type: string
        description:
          oneOf:
            - type: string
            - type: 'null'
        kind:
          type: string
          enum:
            - people
            - companies
        members:
          type: integer
          description: How many are on it.
        url:
          type: string
          description: The list in IntroLink.
  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.