# LinkupAPI for LinkedIn — Pipedream Connect

> Connect your AI agent to B2B Channels

- API slug: `linkupapi` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Developer Tools
- Website: https://linkupapi.com
- This page (HTML): https://pipedream.com/apps/linkupapi
- Tools: 15 actions · 0 triggers

## Connect via MCP (recommended)

- Endpoint: `https://remote.mcp.pipedream.net/v3`
- Headers: `Authorization: Bearer <token>` · `x-pd-project-id` · `x-pd-environment` · `x-pd-external-user-id` · `x-pd-app-slug: linkupapi`

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_PROJECT_ID!,
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "linkupapi",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// e.g. run Connect Account:
const result = await mcp.callTool({
  name: "linkupapi-connect-account",
  arguments: {
    loginToken: "Login Token",
    email: "Email",
  },
})
```

Docs: [MCP guide](https://pipedream.com/docs/connect/mcp/developers.md)

## API proxy

For a LinkupAPI for LinkedIn endpoint with no pre-built tool, the proxy forwards your request with the connected user's credentials attached.

```bash
# The path segment is the target URL, URL-safe base64 encoded:
# https://api.linkupapi.com/v1/webhooks/accounts

curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9hcGkubGlua3VwYXBpLmNvbS92MS93ZWJob29rcy9hY2NvdW50cw?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
  -H "Authorization: Bearer {access_token}" \
  -H "x-pd-environment: production"
```

Docs: [API proxy guide](https://pipedream.com/docs/connect/api-proxy.md)

## SDK

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "linkupapi-connect-account",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    linkupapi: { authProvisionId: "apn_xxxxxxx" },
    loginToken: "Login Token",
    email: "Email",
  },
})
```

Docs: [Managed auth guide](https://pipedream.com/docs/connect/managed-auth/quickstart.md) · [Tools guide](https://pipedream.com/docs/connect/components.md)

## Actions (15)

### `linkupapi-connect-account` — Connect Account (Write)

Authenticate a LinkedIn account and obtain a persistent account_id to reuse across all other actions. Connect with either a login token or email + password. If a checkpoint/challenge is required, follow up with Verify Code. See the documentation

Full schema: https://pipedream.com/apps/linkupapi/actions/connect-account.md

### `linkupapi-connect-to-profile` — Connect To Profile (Write)

Send a connection invitation to a LinkedIn profile. See the documentation

Full schema: https://pipedream.com/apps/linkupapi/actions/connect-to-profile.md

### `linkupapi-create-comment` — Create Comment (Write)

Post a comment on LinkedIn content. See the documentation

Full schema: https://pipedream.com/apps/linkupapi/actions/create-comment.md

### `linkupapi-get-account-details` — Get Account Details (Read-only)

Retrieve details (status, active flag, platform, associated LinkedIn identifier, timestamps) for a connected LinkupAPI account. See the documentation

Full schema: https://pipedream.com/apps/linkupapi/actions/get-account-details.md

### `linkupapi-get-company-info` — Get Company Info (Read-only)

Fetch details for a LinkedIn company. See the documentation

Full schema: https://pipedream.com/apps/linkupapi/actions/get-company-info.md

### `linkupapi-get-conversation-messages` — Get Conversation Messages (Read-only)

Retrieve messages from a LinkedIn conversation. Identify the conversation by its ID or by the recipient's profile URL. See the documentation

Full schema: https://pipedream.com/apps/linkupapi/actions/get-conversation-messages.md

### `linkupapi-get-invitations-status` — Get Invitations Status (Read-only)

List pending connection invitations received by the connected account. Note: this returns invitations received, not ones you have sent. See the documentation

Full schema: https://pipedream.com/apps/linkupapi/actions/get-invitations-status.md

### `linkupapi-get-profile-info` — Get Profile Info (Read-only)

Fetch details for a LinkedIn profile. Identify the target by profile URL, public identifier, or profile URN. See the documentation

Full schema: https://pipedream.com/apps/linkupapi/actions/get-profile-info.md

### `linkupapi-list-accounts` — List Accounts (Read-only)

List the LinkupAPI accounts connected to your API key, each with its persistent account_id to use in other actions. See the documentation

Full schema: https://pipedream.com/apps/linkupapi/actions/list-accounts.md

### `linkupapi-list-inbox` — List Inbox (Read-only)

List conversations from the LinkedIn inbox, each with its conversation_id to use with Get Conversation Messages. See the documentation

Full schema: https://pipedream.com/apps/linkupapi/actions/list-inbox.md

### `linkupapi-login` — Login (Write)

Authenticate with LinkedIn credentials. See the documentation

Full schema: https://pipedream.com/apps/linkupapi/actions/login.md

### `linkupapi-search-companies` — Search Companies (Read-only)

Search for LinkedIn companies. See the documentation

Full schema: https://pipedream.com/apps/linkupapi/actions/search-companies.md

### `linkupapi-search-profiles` — Search Profiles (Read-only)

Search for LinkedIn people. See the documentation

Full schema: https://pipedream.com/apps/linkupapi/actions/search-profiles.md

### `linkupapi-send-message` — Send Message (Write)

Send a message to a LinkedIn profile. Make sure you are already connected to the recipient. See the documentation

Full schema: https://pipedream.com/apps/linkupapi/actions/send-message.md

### `linkupapi-verify-code` — Verify Code (Write)

Submit a checkpoint/challenge verification code to complete authentication for a connected account. See the documentation

Full schema: https://pipedream.com/apps/linkupapi/actions/verify-code.md

---

- All apps: https://pipedream.com/apps — index: https://pipedream.com/llms.txt
- Pipedream docs for agents: https://pipedream.com/docs/llms.txt
