# Welcome

> One API for LinkedIn outreach — connect accounts, search, message, run campaigns, engage and post.

CorrectInbox is a unified API for **LinkedIn outreach**. You connect a LinkedIn account once, then drive it entirely over HTTP: search for people and companies, read and send messages, run multi-step campaigns, engage with posts, publish content, and manage connections and invitations.

You call one REST API. CorrectInbox handles the connection to the provider, keeps sessions healthy, and spreads activity within safe limits so accounts stay in good standing.

## What you can build

- **Lead sourcing** — people and company search, turn results into lead lists.
- **Outreach campaigns** — connection requests and follow-up messages with delays and personalization tokens.
- **A unified inbox** — one timeline of conversations across every connected account, with send and reply.
- **Engagement** — like and comment on posts, and pull the list of people who reacted to a post.
- **Publishing** — create text and image/video posts, read their stats.
- **Network management** — list connections, see received invitations, accept them.

## Base URL

All requests go to:

```http
https://api.correctinbox.com/v1
```

Every request is authenticated with an API key sent in the `X-API-KEY` header. See [Authentication](/authentication).

## Your first call

List the accounts connected to your workspace:

```bash
curl https://api.correctinbox.com/v1/accounts \
  -H "X-API-KEY: $CORRECTINBOX_API_KEY"
```

```js
const res = await fetch("https://api.correctinbox.com/v1/accounts", {
  headers: { "X-API-KEY": process.env.CORRECTINBOX_API_KEY },
});
const { accounts } = await res.json();
console.log(accounts);
```

```python
import os, requests

res = requests.get(
    "https://api.correctinbox.com/v1/accounts",
    headers={"X-API-KEY": os.environ["CORRECTINBOX_API_KEY"]},
)
print(res.json()["accounts"])
```

## Next steps

- Read the [Fundamentals](/fundamentals) to learn the core objects.
- Follow the [Quickstart](/quickstart) to link an account and make your first real call.
- Browse the [Methods](/search) for every endpoint.
