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

# Connectors

> Your roster of connectors: who is on it, putting people on it, their groups, the picker's suggestions, taking people off, and putting them back.

> [!NOTE]
>
> Source: `app/src/lib/api/connectors.ts`, called from `app/src/lib/api/v1.ts`.
> Adding, groups and suggestions run the app's own rules
> (`app/src/lib/connectors/roster-writes.ts`, which the Connectors and People
> pages call too). These are the roster's own endpoints, not tools: Claude and
> ChatGPT can't reach them.

Each endpoint's own page, under **Endpoints**, lists its parameters, its answer
field by field and its errors, and has an example of each. This guide is about
what the endpoints are for and how they fit together.

Your roster is the people whose networks IntroLink reads for you, with you
first. It is what the Connectors page shows.

Connectors are named by their `id` (from `GET /connectors`). People who aren't
connectors yet are named by their person id (`p_…`), as every other endpoint
answers. No answer carries an email address or a LinkedIn URL: when you name
someone by one, the answer points back at your entry by its position
(`index`).

## Who is on your roster

```http theme={null}
GET /v1/connectors
```

Reference: [List connectors](https://docs.introlink.ai/public-api/reference/connectors/list-connectors.md)

You come first (`you: true`), then everyone else by how many people they bring.

```json theme={null}
{
  "object": "list",
  "total": 4,
  "data": [
    { "id": "9d2c…", "name": "Asha Patel", "title": "CEO", "company": "Fernhill", "group": "Employees", "people": 31202, "you": true, "url": "…" },
    { "id": "41be…", "name": "Grace Hopper", "title": "CTO", "company": "Larkspur", "group": "Advisors", "people": 227, "you": false, "url": "…" }
  ],
  "text": "3 connectors on your roster, besides you."
}
```

## Put people on your roster

```http theme={null}
POST /v1/connectors
Content-Type: application/json

{
  "group": "Investors",
  "people": [
    "p_Q2xhcmEgU21pdGg…",
    "https://www.linkedin.com/in/dana-ito",
    { "person": "lee@larkspur.vc", "group": "Advisors" }
  ]
}
```

Reference: [Add connectors](https://docs.introlink.ai/public-api/reference/connectors/add-connectors.md)

This does what **Add as connector** does on the People page. Each person must be
one of your own people (in People, under your network), not a teammate's and
not someone you keep private; their roster entry is made from their People
row. Then, as in the app:

* someone already on your roster is left as they are, in `skipped` with their
  connector `id` (move them with [`/connectors/group`](#change-their-group));
* a connector you took off earlier, with the same LinkedIn URL or email, comes
  back as the same connector (`restored: true`), in the group you asked for,
  rather than being added twice;
* a shared mailbox (`finance@`, `team@`) is refused: it has no network to ask
  through;
* past your plan's [connector cap](#the-connector-cap), the rest are left off.

Sending the same request twice adds nobody the second time. Nothing is sent to
anyone.

```json theme={null}
{
  "object": "connector_add",
  "added": 2,
  "data": [
    { "index": 0, "id": "5be1…", "person": "p_Q2xhcmEgU21pdGg…", "name": "Clara Smith", "group": "Investors", "restored": false, "url": "…" },
    { "index": 2, "id": "0c7d…", "person": "p_TGVlIFdvbmc…", "name": "Lee Wong", "group": "Advisors", "restored": true, "url": "…" }
  ],
  "skipped": [{ "index": 1, "why": "not one of your people" }],
  "text": "Put 2 connectors on your roster. Left 1 as they were."
}
```

The reasons in `skipped`: `already on your roster`, `not one of your people`
(the same words for someone IntroLink doesn't know, someone only a teammate
knows, and someone you keep private), `a shared mailbox, not a person`,
`IntroLink has no LinkedIn URL or email for them`, `the same person as entry
N`, and an id this key didn't give out.

## Change their group

```http theme={null}
POST /v1/connectors/group
Content-Type: application/json

{ "connectors": ["41be…", "77a0…"], "group": "Portfolio" }
```

Reference: [Move connectors to a group](https://docs.introlink.ai/public-api/reference/connectors/regroup-connectors.md)

This does what **Change group** does on the Connectors page, with the same
groups as above. The group is then your choice: IntroLink's own regrouping,
which files people by their email domain or relationship, leaves it alone from
then on. You can't move yourself
or a connector you took off the roster (restore them first). A connector
already in that group by your choice is left alone, so the same request twice
changes nothing the second time.

```json theme={null}
{
  "object": "connector_group",
  "moved": 1,
  "data": [{ "id": "41be…", "name": "Grace Hopper", "group": "Portfolio", "url": "…" }],
  "skipped": [{ "id": "77a0…", "why": "already in Portfolio" }],
  "text": "Moved 1 connector to Portfolio. …"
}
```

## Who the picker suggests

```http theme={null}
GET /v1/connectors/suggested
```

Reference: [List suggested connectors](https://docs.introlink.ai/public-api/reference/connectors/suggested-connectors.md)

The **Add connectors** picker, one tab at a time. By default, its Suggested tab:
the people IntroLink thinks belong on your roster from how you already work with
them (colleagues, former colleagues, advisors and investors), each with the
group they'd land in and why, strongest first, and how many there are in all.

Nobody already on your roster, nobody you keep private, and no shared mailbox.

```json theme={null}
{
  "object": "list",
  "source": "suggested",
  "total": 228,
  "connected": true,
  "data": [
    { "person": "p_UHJpeWEgUmFtYW4…", "name": "Priya Raman", "headline": "Partner at Larkspur", "company": "Larkspur Ventures", "group": "Investors", "reason": "4 fundraising threads with you" }
  ],
  "text": "50 suggestions of 228. …"
}
```

`total` is on the Suggested tab only (without `q`). It is exact unless there
are more candidates than one read takes (8 × `limit`); then it is counted, and
the count includes people already on your roster, so it can be a little high.
Anyone you took off your roster is never suggested again; `POST /connectors`
puts them back. On the other tabs, `connected: false` means the source hasn't
given IntroLink anyone yet.

## Take suggestions

```http theme={null}
POST /v1/connectors/suggested/accept
Content-Type: application/json

{ "people": ["p_UHJpeWEgUmFtYW4…", "p_RGFuaWVsIFJleWVz…"] }
```

Reference: [Accept suggested connectors](https://docs.introlink.ai/public-api/reference/connectors/accept-suggested-connectors.md)

This does what **Add** does in the picker: each person lands in the group they
were suggested for, so a former colleague goes to Former Colleagues and an
investor to Investors. Only someone the Suggested tab offers right now is
taken; for anyone else, use [`POST /connectors`](#put-people-on-your-roster)
with a group. The answer is the same as `POST /connectors`'s.

## Take connectors off your roster

```http theme={null}
POST /v1/connectors/remove
Content-Type: application/json

{ "connectors": ["41be…", "77a0…"] }
```

Reference: [Remove connectors](https://docs.introlink.ai/public-api/reference/connectors/remove-connectors.md)

This does what Remove does on the Connectors page. Nothing is deleted: each
connector stays in People, along with everyone they brought, and
`POST /connectors/restore` with the same ids puts them back. You can't remove
yourself. Ids that are already off the roster, that IntroLink doesn't know, or
that are your own row are left alone and listed in `skipped`. Sending the same
request twice changes nothing the second time.

```json theme={null}
{
  "object": "connector_removal",
  "removed": 1,
  "data": [{ "id": "41be…", "name": "Grace Hopper", "url": "…" }],
  "skipped": [{ "id": "77a0…", "why": "already off your roster" }],
  "text": "Took 1 connector off your roster. …"
}
```

### Keep only a few

To keep a few connectors and remove everyone else, read the roster, then
remove everyone except you and the ones you're keeping:

```bash theme={null}
curl -s https://app.introlink.ai/v1/connectors -H "Authorization: Bearer $INTROLINK_KEY" \
  | jq '{connectors: [.data[] | select(.you | not) | select(.name as $n | ["Grace Hopper", "Ada Lovelace"] | index($n) | not) | .id]}' \
  | curl -s https://app.introlink.ai/v1/connectors/remove -H "Authorization: Bearer $INTROLINK_KEY" \
      -H "Content-Type: application/json" --data @-
```

## Put them back

```http theme={null}
POST /v1/connectors/restore
Content-Type: application/json

{ "connectors": ["41be…"] }
```

Reference: [Restore connectors](https://docs.introlink.ai/public-api/reference/connectors/restore-connectors.md)

This takes the same body and gives the same answer, with `object:
"connector_restore"` and `restored` instead of `removed`. Putting connectors
back adds them, so the [connector cap](#the-connector-cap) applies.

## The connector cap

Each plan includes a number of connectors (`app/src/lib/billing/limits.ts`):
20 for each user on the Free trial, Individual and Team, and 600 on Business,
plus 30 for each user over 20. Each connector pack adds 10. `POST /connectors`,
`POST /connectors/suggested/accept` and `POST /connectors/restore` stop at the
cap: everyone past it is in `skipped`, in the order sent, with the cap's
sentence as `why`, and the answer carries `connector_cap`:

```json theme={null}
"connector_cap": {
  "message": "Individual includes 20 connectors. Add 10 more for $20 a month, or move up a plan.",
  "billing_url": "https://app.introlink.ai/settings?tab=billing"
}
```

Connectors already over the cap stay on the roster: only adds past it are
refused. A pilot workspace has no cap.


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