---
title: "Connect LinkedIn account"
method: POST
path: "/multichannel/workspaces/{workspaceID}/linkedin/accounts"
tags: ["LinkedIn"]
---

# Connect LinkedIn account

`POST /multichannel/workspaces/{workspaceID}/linkedin/accounts`

## Request

- Base URL: `https://multichannel-api.salesforge.ai/public`
- URL: `https://multichannel-api.salesforge.ai/public/multichannel/workspaces/{workspaceID}/linkedin/accounts`
- Auth: API key in header `Authorization`

Connects a LinkedIn account to the workspace using credentials and an optional proxy. A matching sender profile is created automatically. If LinkedIn issues a 2FA challenge, the response carries `requires2fa: true` and the caller must submit the code via the OTP endpoint.

## Path parameters

- `workspaceID` string, required

## Request body

- union
  - object
  - RequestsConnectLinkedinAccountRequest
    - `email` string, required: LinkedIn login email.
    - `firstName` string: First name recorded on the account.
    - `lastName` string: Last name recorded on the account.
    - `linkedinUrl` string: Public LinkedIn profile URL of the account.
    - `password` string, required: LinkedIn login password.
    - `proxy` RequestsConnectLinkedinAccountProxyRequest: Proxy to route the LinkedIn session through. Recommended for account stability.
      - `host` string, required: Proxy hostname. An explicit scheme (e.g. socks5://) selects the protocol; otherwise http is used.
      - `password` string: Proxy password, when the proxy requires authentication.
      - `port` integer, required: Proxy port.
      - `username` string: Proxy username, when the proxy requires authentication.
    - `skipSenderProfile` boolean: Connect the account without creating a sender profile for it. By default a draft sender profile is created and linked automatically. Set this to true to connect the account standalone, then attach it via POST /sender-profiles or PATCH /sender-profiles/{id} with linkedinAccountId.

## Response `201`

Created

- ResponsesLinkedinAccountResponse
  - `checkpoint` object
    - `data` string
    - `publicKey` string
    - `type` string
  - `firstName` string
  - `id` integer
  - `isConnected` boolean
  - `lastName` string
  - `linkedinUrl` string
  - `premiumType` string
  - `profilePictureUrl` string
  - `requires2fa` boolean
  - `state` string
  - `status` string

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `402`: Payment Required
- `409`: Conflict
- `500`: Internal Server Error

---

[API](https://skmtc.dev/salesforge/apis/multichannel-public-api.md) - [All operations](https://skmtc.dev/salesforge/apis/multichannel-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/salesforge/apis/multichannel-public-api/revisions/f4dc28ed447d?raw)
