# Linked API — Complete Documentation > Secure automation API for LinkedIn – teams and AI agents. Automate messaging, networking, data extraction, and outreach on LinkedIn. Use via API, SDK, CLI, AI agents, or no-code platforms. The API Reference is also the SDK and CLI reference. Consecutive code fences marked `tab=HTTP`, `tab=Node`, `tab=Python` and `tab=CLI` are the same call on each surface (a fence marked `tab=HTTP,CLI` is the same text for both), and a block between `:::surface ` and `:::` applies only to the surfaces it names. Identifiers in the text are written as in Node and in HTTP JSON (camelCase); the Python SDK spells methods, parameters and result attributes in snake_case (`sendMessage` → `send_message`, `reconnectionLink` → `reconnection_link`), while names inside HTTP JSON stay camelCase. --- # API Reference ## Core concepts This page covers the fundamental concepts and design principles behind Linked API, providing the foundation you need to build effective integrations. > How results represent LinkedIn data – [URL normalization](/docs/data-conventions#url-normalization), [URNs](/docs/data-conventions#linkedin-urns), [viewer state](/docs/data-conventions#viewer-state), [time zones](/docs/data-conventions#timezone-normalization) and [missing values](/docs/data-conventions#handling-missing-values) – is described in [Data Conventions](/docs/data-conventions). How workflows run one at a time and how long they take is in [Workflows Overview](/docs/workflows-overview). ## How the API is organized Linked API has two kinds of endpoints: - **Account endpoints** work on behalf of one connected LinkedIn account, chosen by the `identification-token` header: - [workflows](/docs/workflows-overview) do something on LinkedIn now – search, open a profile, send a message or a connection request; - [signals](/docs/signals-overview) (coming soon) will tell you when something happens – a new post, a comment, an accepted invitation; - workflow results – and, once signals launch, signal events – can be polled or received as [webhook events](/docs/webhooks). - **[Admin API](/docs/admin-overview) endpoints** manage your Linked API account itself: subscription, seats, connected accounts, limits and webhooks. They respond immediately and need only the `linked-api-token` header. ## One account, one browser Each connected LinkedIn account works in its own cloud browser, at the pace of a real user, and runs one thing at a time. Everything it does stays inside the account's [working hours](/docs/working-hours) and spends its [limits](#limits-management). Once [signals](/docs/signals-overview) launch, their checks will share the same browser, running between your workflows. ## Limits management LinkedIn limits vary depending on your account's age, social selling index, subscription (e.g., Sales Navigator), and other factors. > It is your responsibility to understand and follow the limits appropriate for your account. To help you stay within safe boundaries, Linked API allows you to configure action limits for each connected account directly from the platform dashboard. When a workflow contains an action that would exceed a configured limit, that action will return a `limitExceeded` error instead of executing. You can also [manage limits programmatically](/docs/admin-limits) via the Admin API, [monitor your activity](/docs/checking-api-usage-statistics), [check SSI](/docs/action-st-retrieve-ssi), and review our [guide on LinkedIn limits](/guides/understanding-linkedin-limits). ## Making requests This page explains how to make requests to Linked API, including available endpoints, authorization process, and response structure. :::surface node,python With the SDKs you do not build these requests yourself: create the client once with both tokens, as shown in [Authorization](#authorization), and call its methods – each one makes a request described here. The [Methods index](/sdks/methods) lists them. ::: :::surface cli With the CLI you do not build these requests yourself: `linkedin setup` saves both tokens once, as shown in [Authorization](#authorization), and every command makes a request described here. The [command list](/cli/commands) lists them. ::: ## Endpoints `https://api.linkedapi.io/workflows` – for [executing workflows](/docs/executing-workflows). `https://api.linkedapi.io/signals` – for [managing signals](/docs/managing-signals) (coming soon). `https://api.linkedapi.io/signals/poll` – for [polling signal events](/docs/signal-events) (coming soon). `https://api.linkedapi.io/inbox/poll` – for [polling the inbox](/docs/monitoring-inbox). `https://api.linkedapi.io/network/poll` – for [polling network events](/docs/monitoring-network). `https://api.linkedapi.io/stats/actions` – for checking [API usage statistics](/docs/checking-api-usage-statistics). `https://api.linkedapi.io/account` – for [checking your tokens](#checking-your-tokens). `https://api.linkedapi.io/admin/*` – for [managing your account](/docs/admin-overview). ## Authorization Requests to all endpoints except the [Admin API](/docs/admin-overview) must include **2 authorization headers**: - `linked-api-token` – your main token that enables overall Linked API access. - `identification-token` – unique token specific to each managed LinkedIn account. You can obtain these tokens through [our platform](https://app.linkedapi.io/), as demonstrated below: ![](/images/docs/tokens.webp) :::surface http Send both tokens as headers with every request: ::: :::surface node,python In the SDKs you pass both tokens once, when you create the client, and every call sends them: ::: :::surface cli In the CLI, [`linkedin setup`](/cli/getting-started#setup) asks for both tokens once and saves them as an account, and every command sends them. Admin commands send only the Linked API token. ::: ```text tab=HTTP linked-api-token: your-linked-api-token identification-token: your-identification-token ``` ```typescript tab=Node import LinkedApi from "@linkedapi/node"; const linkedapi = new LinkedApi({ linkedApiToken: "your-linked-api-token", identificationToken: "your-identification-token", }); ``` ```python tab=Python from linkedapi import LinkedApi, LinkedApiConfig linkedapi = LinkedApi( LinkedApiConfig( linked_api_token="your-linked-api-token", identification_token="your-identification-token", ) ) ``` ```bash tab=CLI linkedin setup # asks for both tokens and saves them as an account linkedin account list # the accounts saved so far ``` :::surface node,python The [Admin API](/docs/admin-overview#authentication) has its own client, created with the Linked API token only. ::: ## Checking your tokens `GET /account` returns the name and LinkedIn profile URL of the account the identification token belongs to. It runs no workflow, so it is the quickest way to check that both tokens work. Invalid or missing tokens return the [errors any request can return](/docs/common-errors#errors-any-request-can-return). ```bash tab=HTTP curl https://api.linkedapi.io/account \ -H "linked-api-token: your-linked-api-token" \ -H "identification-token: your-identification-token" ``` ```typescript tab=Node const { data } = await linkedapi.getAccountInfo(); console.log(data?.name, data?.url); ``` ```python tab=Python info = linkedapi.get_account_info() print(info.data.name, info.data.url) ``` ```bash tab=CLI linkedin setup # Linked API Token: account_**** # Identification Token: id_**** # Verifying tokens... OK # Account "John Doe" saved and set as active. ``` :::surface node,python The SDK method returns the account in `data` and throws `LinkedApiError` when the request fails. ::: :::surface cli `linkedin setup` checks the tokens this way and saves the account under its LinkedIn name; `linkedin account update` checks new tokens the same way. ::: ```json { "success": true, "result": { "name": "John Doe", "url": "https://www.linkedin.com/in/john-doe" } } ``` ## Response structure All responses in Linked API have the following structure: 1. **For successful requests:** ```json { "success": true, "result": { /* Endpoint specific result */ } } ``` 2. **For requests with errors:** ```json { "success": false, "error": { /* Common or endpoint specific error */ } } ``` ## Data Conventions This page describes how results represent LinkedIn data: which URLs you get back, how LinkedIn URNs identify people and content, how your account relates to them, how times are expressed, and what a missing value looks like. ## URL normalization Linked API normalizes all LinkedIn URLs in responses, regardless of the format provided in action parameters. Normalized URLs consistently follow these rules: - Use `https` protocol. - Include `www` subdomain. - Exclude trailing slash (`/`). For example, if action parameters include a URL like `http://linkedin.com/in/person1/`, the response will return it as `https://www.linkedin.com/in/person1`. Consider this behavior when implementing URL comparisons or storage in your integration. ## LinkedIn URNs Alongside URLs, action results expose LinkedIn's own internal identifiers in **URN** format. A URN is permanent: it does not change when a person edits their profile address or a company renames its page, which makes it a reliable key for storing and deduplicating records on your side. Four types of URNs are returned: - `urn:li:member:123456789` – identifies a person. - `urn:li:organization:1234567` – identifies a company. - `urn:li:jobPosting:1234567890` – identifies a job posting. - `urn:li:activity:1234567890123456789` – identifies a post. A post URN can also be `urn:li:share:` or `urn:li:ugcPost:`, and the same post may be identified by more than one of them. A URN identifies the same entity regardless of where it was found. The person returned by [st.searchPeople](/docs/action-st-search-people) and the same person returned by [nv.openPersonPage](/docs/action-nv-open-person-page) carry an identical `urn`, so results of Standard and Sales Navigator actions can be matched against each other and against previously stored data. The field is named `urn` when it identifies the entity the result is about, and receives a prefix when it points to a different entity. For example, `companyUrn` identifies the current company of a person and `personUrn` identifies the participant of a conversation. Post URNs can also be sent back: every post action accepts `postUrn` in place of `postUrl`, so an identifier returned by one action can address the post in the next one without building a URL. See [addressing a post by URN](/docs/publishing-posts#addressing-a-post-by-urn). > URNs are provided on a best-effort basis. LinkedIn does not expose an identifier on every page, and when an identifier is absent or ambiguous, the field is returned as `null` rather than guessed. Treat URNs as an enrichment of the existing URL fields, not as a replacement for them. ## Viewer state Results that describe a person or a piece of content also say how the account running the workflow relates to it, in a `viewerState` object. It is read from the same page as the rest of the result, so it adds no time to the action. - On a person – search results, employees, decision makers, a person page, and the author of a post or comment: - `connectionDegree` – `1st`, `2nd`, or `3rd+`, as LinkedIn shows it next to the name, or `null` when LinkedIn shows no degree, for example on your own content or on comments read in the feed or from LinkedIn's classic post layout. - On a post or a comment: - `reaction` – your reaction (`like`, `celebrate`, `support`, `love`, `insightful`, `funny`), or `null` if you have not reacted or the page does not show it. Comments read in the feed or from LinkedIn's classic post layout always report `null`, so `null` alone does not prove you have not reacted. - `isOwn` – `true` if your account is the author, `false` if someone else is, or `null` if this cannot be told. Content published as a company page you administer counts as the company's, so it is `false`. ## Timezone normalization All date and time values returned by Linked API are in the **UTC** **timezone**. To display these values correctly in your integration, you should apply the appropriate offset for your user's local timezone. ## Handling missing values When certain data is unavailable on LinkedIn, some fields in action results may return as `null` or empty array (`[]`). Missing fields are always **explicitly included** in the response rather than being omitted. ## Common Errors When a request fails, the response has `success: false` and an `error` object (see [Response structure](/docs/making-requests#response-structure)): ```json { "success": false, "error": { "type": "invalidLinkedApiToken", "message": "The provided 'linked-api-token' is invalid." } } ``` - `type` – the error identifier. Handle errors in your code by `type`. - `message` – a human-readable explanation for logs and people. :::surface http The same request with an invalid `linked-api-token`, and the response it gets: ::: :::surface node,python In the SDKs a failed request throws `LinkedApiError` with the same `type` and `message`: ::: :::surface cli In the CLI a failed request writes the same `type` and `message` to stderr as `{"error", "message"}` and exits with a non-zero [exit code](/cli/flags-and-output#exit-codes): `2` for token errors, `3` for subscription errors, `6` for `tooManyRequests`. ::: ```bash tab=HTTP curl -i -X POST https://api.linkedapi.io/workflows \ -H "Content-Type: application/json" \ -H "linked-api-token: invalid-token" \ -H "identification-token: your-identification-token" \ -d '{"actionType": "st.checkConnectionStatus", "personUrl": "https://www.linkedin.com/in/person1"}' # HTTP/2 401 # {"success":false,"error":{"type":"invalidLinkedApiToken","message":"The provided 'linked-api-token' is invalid."}} ``` ```typescript tab=Node import { LinkedApiError } from "@linkedapi/node"; try { const workflow = await linkedapi.checkConnectionStatus.execute({ personUrl: "https://www.linkedin.com/in/person1" }); } catch (e) { if (e instanceof LinkedApiError) { console.error(e.type, e.message); } } ``` ```python tab=Python from linkedapi import CheckConnectionStatusParams, LinkedApiError try: workflow = linkedapi.check_connection_status.execute( CheckConnectionStatusParams(person_url="https://www.linkedin.com/in/person1") ) except LinkedApiError as e: print(e.type, e.message) ``` ```bash tab=CLI linkedin connection status https://www.linkedin.com/in/person1 echo $? # stderr: {"error":"invalidLinkedApiToken","message":"The provided 'linked-api-token' is invalid."} # stderr: Run "linkedin account update" to refresh your tokens. # 2 ``` :::surface node,python A network failure throws it with the type `httpError`. See [Handling results](/sdks/handling-results). ::: ## Errors any request can return These errors do not depend on the endpoint: they come from checks every request goes through – authorization and the request rate. Admin API requests do not use the `identification-token`, so the two errors about it never apply there. | Type | HTTP status | Cause | What to do | |------|-------------|-------|------------| | `linkedApiTokenRequired` | 401 | The `linked-api-token` header is missing. | Add the header – see [Authorization](/docs/making-requests#authorization). | | `invalidLinkedApiToken` | 401 | The `linked-api-token` value matches no token. | Copy the token again from the [platform](https://app.linkedapi.io/). | | `identificationTokenRequired` | 401 | The `identification-token` header is missing. | Add the token of the LinkedIn account the request is for. | | `invalidIdentificationToken` | 401 | The `identification-token` value matches no LinkedIn account, or the account has been deleted. | Copy the account token again from the [platform](https://app.linkedapi.io/). | | `tooManyRequests` | 429 | More than 100 requests to one endpoint within 60 seconds with one `linked-api-token`, across all its LinkedIn accounts. Checking a workflow result with `GET /workflows/{workflowId}` allows 600. | Wait and retry. Spread requests over time instead of sending them in bursts. | | `unexpectedError` | 400 | The request failed on the Linked API side. | Retry. If the error repeats, contact support. | The `message` of each of these errors is fixed text: | Type | `message` | |------|-----------| | `linkedApiTokenRequired` | `'linked-api-token' is missing in request headers.` | | `invalidLinkedApiToken` | `The provided 'linked-api-token' is invalid.` | | `identificationTokenRequired` | `'identification-token' is missing in request headers.` | | `invalidIdentificationToken` | `The provided 'identification-token' is invalid.` | | `tooManyRequests` | `Too many requests. Please try again later.` | | `unexpectedError` | `Unexpected error: ` – the same for every such failure, without details | ## Errors described elsewhere Errors that belong to one part of the API are described next to it: - **Starting a workflow** – an invalid workflow, a missing subscription or Plus seat, a signed-out account, working hours: [Executing Workflows](/docs/executing-workflows#starting-workflows). - **Actions inside a workflow** – errors an action reports in its result: [Actions Overview](/docs/actions-overview#common-errors) and each action page. - **Signals** (coming soon) – [Managing Signals](/docs/managing-signals#errors). - **Webhooks** – each method of [Managing Webhooks](/docs/admin-webhooks). - **Admin API** – [Admin API Overview](/docs/admin-overview#common-errors). ## Working hours This page explains how per-account working hours affect your API requests, what the off-hours policies do, and how to handle a workflow that is parked until the window reopens. :::surface node,python In the SDKs working hours show up in two places: when the policy rejects a request, `execute()` throws `LinkedApiError` with the type `outsideWorkingHours`; when it parks one, `execute()` and `status()` return `pendingReason` set to `outsideWorkingHours`. ::: :::surface cli In the CLI working hours show up in two places: when the policy rejects a request, the command exits with code `1` and writes the `outsideWorkingHours` error to stderr; when it parks one, the command waits, and `linkedin workflow status ` shows a `message` with the time the window opens. ::: ## What working hours are Each connected LinkedIn account can carry a **weekly activity window** – the hours during which Linked API is allowed to act on it. A LinkedIn account that is active around the clock looks like a user who never sleeps, which is one of the strongest automation signals there is. Giving an account a human-shaped schedule removes that signal without costing you any throughput inside the window. Working hours are configured per account in [our platform](https://app.linkedapi.io/), next to the account limits. There is no API for changing them – they are an account-owner decision, not a per-request one. ![](/images/docs/working-hours-settings.webp) The window is stored with an explicit timezone, so it follows the account's local wall clock across daylight-saving changes rather than drifting by an hour twice a year. | Setting | Meaning | | --- | --- | | Days | Which weekdays the account is active on. | | Time range | Start and end of the daily window, in the account's timezone. | | Timezone | The zone the window is expressed in. Defaults to the timezone of the device you configure it from. | | Outside working hours | What happens to requests that arrive outside the window – see below. | An account with **no** window configured is never gated. If you have never touched this setting, nothing about your integration changes. ## Off-hours policies The policy decides what happens to a request that arrives outside the window. It is the **Outside working hours** selector in the screenshot above. ### Queue until the window opens The workflow is accepted and parked. It starts automatically when the window reopens – you do not need to resubmit it. This is the default for newly connected accounts. ### Reject with an error The request fails immediately with the `outsideWorkingHours` error and nothing is queued. ```json { "success": false, "error": { "type": "outsideWorkingHours", "message": "This LinkedIn account is outside its configured working hours." } } ``` :::surface node,python In the SDKs `execute()` throws `LinkedApiError` with the type `outsideWorkingHours`. ::: :::surface cli The CLI writes `{"error": "outsideWorkingHours", "message": "..."}` to stderr and exits with code `1`. ::: ### Run anyway Your API requests run at any time – the window is not enforced for them. Note that this applies to **your** requests only. Work Linked API schedules for itself – inbox and network synchronisation – stays inside the window under every policy, and the cloud browser behind the account is released outside the window under every policy too. That is where the account-safety and infrastructure benefits of the schedule come from. ## Telling a parked workflow from a queued one Every response describing a workflow that has not started yet carries a `pendingReason`. It appears both in the response to `POST /workflows` and in the [workflow result](/docs/executing-workflows) response. :::surface node,python In the SDKs it is `pendingReason` (Python `pending_reason`) on what `execute()` and `status()` return. ::: :::surface cli The CLI does not print `pendingReason`: `linkedin workflow status ` prints the `status` and the `message`, and for a parked workflow the `message` names the time the window opens. ::: ```json { "success": true, "result": { "workflowId": "wf-64835e7c-a0gc-40ae-8338-108f02sSe643", "workflowStatus": "pending", "pendingReason": "outsideWorkingHours", "message": "This workflow is scheduled and will start when the account working hours open at Mon, Aug 10, 09:00 (Europe/Berlin)." } } ``` | Value | Meaning | | --- | --- | | `queued` | Waiting its turn behind other work on the same account. Minutes, typically. | | `outsideWorkingHours` | Parked until the account working hours reopen. Can be the next working day. | | `null` | The workflow is not pending. | This distinction matters for polling. A `queued` workflow is worth polling every few seconds. An `outsideWorkingHours` one will not move until the window reopens, so polling it in a tight loop achieves nothing – back off until the time named in `message`, or surface that time to your user. ## When a parked workflow expires A parked workflow does not wait forever. If it is still pending 7 days after it was first parked, and the window has opened at least once in that time without the workflow being started, it fails with a dedicated error: ```json { "success": true, "result": { "workflowStatus": "failed", "failure": { "reason": "workingHoursWaitExpired", "message": "This workflow remained pending for 7 days after it was first parked by the account working hours, and was not started." } } } ``` A workflow that expires this way never entered the `running` state, so it emits the `workflow.created` and `workflow.completed` [webhook events](/docs/webhook-event-types#workflow-events) but no `workflow.started`. This is worth watching if you combine a narrow window with a high request volume: an account is only able to run one workflow at a time, so a window of a couple of hours per week puts a hard ceiling on how much work can drain through it. ## Seeing the current state The account list in the platform shows each account's schedule underneath its connection status, and marks the ones that are outside their window right now – so you can tell at a glance why nothing is starting for an account. ![](/images/docs/working-hours-account-list.webp) An account with no schedule line carries no window at all and is never gated. ## Workflows Overview A workflow does something on LinkedIn now, on behalf of one connected account. This page explains what a workflow is made of and how Linked API runs it. ## What a workflow is Every action you ask Linked API to perform on LinkedIn right away – send a connection request, comment on a post, retrieve company data – runs as a **workflow**. Workflows are constructed using building blocks called **actions**. Each action represents a specific operation within your workflow. To learn more about this concept, see the [actions overview](/docs/actions-overview) and [building workflows](/docs/building-workflows) pages. This workflow-based approach, rather than REST-style endpoints, allows you to build any automation sequence imaginable. It provides complete flexibility, which is why we chose workflows as our foundation. ## Request timing Since Linked API [fully emulates](/safety) actions of a real LinkedIn user, requests are not executed instantly. For example, simple workflows like visiting a person's page and liking their latest post might take around 20 seconds, while more complex workflows, such as retrieving detailed company information including a list of its employees, can take several minutes. ## Sequential execution Linked API executes workflows sequentially. While you can send multiple workflow requests in quick succession, they **will not be executed in parallel**. Each workflow request is **accepted immediately**, but its execution will not start until the previous workflow is completed. For example, if you request a workflow to [check a connection status](/docs/checking-connection-status) and immediately request another workflow to [send a message](/docs/sending-message), the second workflow will begin **only after the first workflow is completed**. This approach ensures alignment with realistic user behavior on LinkedIn, as it mirrors how a real user would interact with the platform. ## Executing workflows > For details on how to build workflows, visit the [building workflows](/docs/building-workflows) page. Executing a workflow consists of 2 key steps: 1. Starting a workflow and receiving its `workflowId`, current `workflowStatus`, and human-readable `message`. 2. Periodically checking for the result using the `workflowId`. ## Starting workflows :::surface http To start executing a workflow, make a `POST` request to the following endpoint: ```text POST https://api.linkedapi.io/workflows ``` In the request body, include a JSON that describes your workflow, for example: ::: :::surface node,python,cli Start the workflow with the request it should run, for example: ::: ```json tab=HTTP { "actionType": "st.checkConnectionStatus", "personUrl": "https://www.linkedin.com/in/person1" } ``` ```typescript tab=Node const workflow = await linkedapi.checkConnectionStatus.execute({ personUrl: "https://www.linkedin.com/in/person1", }); console.log(workflow.workflowId); ``` ```python tab=Python from linkedapi import CheckConnectionStatusParams workflow = linkedapi.check_connection_status.execute( CheckConnectionStatusParams(person_url="https://www.linkedin.com/in/person1") ) print(workflow.workflow_id) ``` ```bash tab=CLI linkedin workflow run <<'JSON' { "actionType": "st.checkConnectionStatus", "personUrl": "https://www.linkedin.com/in/person1" } JSON ``` :::surface node,python Every SDK method has `execute()`, which starts the workflow and returns its `workflowId`; any workflow JSON goes through [`customWorkflow`](/sdks/custom-workflow). See [Predefined vs Custom Workflows](/sdks/predefined-vs-custom). ::: :::surface cli Commands such as `linkedin connection status` start the workflow and wait for its result, and so does `linkedin workflow run` for any workflow JSON – see [Custom Workflows](/cli/workflows). The CLI has no separate start step: while it waits it writes the workflow ID and status to stderr as progress (hidden by `--quiet`), and at the end it prints the completion as `data`. The response below is what the API returns to the start request. ::: :::surface http Upon successful request, you will receive the following response: ::: :::surface node,python **Under the hood** – `execute()` sends this request and returns the fields of its `result` directly: `workflowId`, `workflowStatus`, `pendingReason` and `message` (`workflow_id`, `workflow_status`, `pending_reason` and `message` in Python), without the `success` and `result` wrapper: ::: ```json { "success": true, "result": { "workflowId": "wf-64835e7c-a0gc-40ae-8338-108f02sSe643", "workflowStatus": "pending", "pendingReason": "queued", "message": "This workflow is scheduled and will start after 2 other workflows already scheduled ahead of it." } } ``` - `workflowId` – unique workflow identifier for checking the result. - `workflowStatus` – current workflow status. Possible values at start are `pending` and `running`. - `pendingReason` – why the workflow has not started yet. `queued` means it is waiting its turn behind other work on the same account; `outsideWorkingHours` means it is parked until the account [working hours](/docs/working-hours) reopen. It is `null` once the workflow is no longer pending. - `message` – human-readable execution message, such as queue position or estimated duration. This value can change while polling. :::surface http In case of an unsuccessful request, you will receive the following response: ::: :::surface node,python **Errors** – an unsuccessful start throws `LinkedApiError` with the `type` and `message` of this response: ::: :::surface cli **Errors** – the CLI prints an unsuccessful start to stderr as `{"error": "", "message": "…"}` and exits with the matching [exit code](/cli/flags-and-output#exit-codes). The types are the ones below: ::: ```json { "success": false, "error": { "type": "linkedApiTokenRequired", "message": "'linked-api-token' is missing in request headers." } } ``` - `error` – either a [common error](/docs/common-errors) or one of the following specific errors: - `invalidWorkflow` – workflow configuration is not valid due to violated [action constraints](/docs/actions-overview) or invalid [action parameters](/docs/actions-overview), including a parameter the root action does not define: `{validation_details}`. - `subscriptionRequired` – no purchased subscription seats are available for this LinkedIn account (message: `No purchased subscription seats available for this LinkedIn account.`). Add seats, renew the subscription for existing seats, or check for payment issues on the [platform](https://app.linkedapi.io/). - `plusPlanRequired` – the workflow contains Sales Navigator actions (`nv.*`), which need a Plus seat and a Sales Navigator subscription on the LinkedIn account. - `linkedinAccountSignedOut` – the LinkedIn account has been signed out in our cloud browser. Reconnect it on the [platform](https://app.linkedapi.io/). - `outsideWorkingHours` – the account is outside its configured [working hours](/docs/working-hours) and its off-hours policy is set to reject. Nothing is queued. ## Checking for result > Prefer to be notified instead of polling? Register a [webhook](/docs/webhooks) and Linked API will `POST` an event to your endpoint when the workflow completes. After starting your workflow and receiving the `workflowId`, you need to periodically check the workflow result: ```text tab=HTTP GET https://api.linkedapi.io/workflows/{workflowId} ``` ```typescript tab=Node // Waits until the workflow completes const { data, errors } = await linkedapi.checkConnectionStatus.result(workflowId); // Checks once, without waiting const status = await linkedapi.checkConnectionStatus.status(workflowId); ``` ```python tab=Python # Waits until the workflow completes result = linkedapi.check_connection_status.result(workflow_id) # Checks once, without waiting status = linkedapi.check_connection_status.status(workflow_id) ``` ```bash tab=CLI # Check the current status linkedin workflow status abc123 # Wait for completion linkedin workflow status abc123 --wait --json ``` :::surface node,python `result()` polls for you and returns `{ data, errors }` once the workflow completes; `status()` checks once. How the SDK reports workflow and request errors is described in [Handling Results and Errors](/sdks/handling-results). ::: :::surface http Depending on the workflow execution status, you'll receive one of these results: ::: :::surface node,python **Under the hood** – while the workflow is pending or running, `status()` returns its `workflowStatus`, `pendingReason` and `message`. Once it completes, `status()` and `result()` return the method's own `{ data, errors }` mapped from the completion, not the response itself. A failed workflow throws `LinkedApiError` whose `type` is the `failure.reason` below. These are the API responses they read: ::: :::surface cli **Output** – while the workflow is pending or running, `linkedin workflow status` prints `{"success": true, "data": {"workflowId", "status", "message"}}`, without `pendingReason`. Once it completes, it prints the completion as `data`; `--wait` waits for that. A failed workflow prints nothing on stdout: stderr gets `{"error": "", "message": "…"}` and the command exits with that reason's [exit code](/cli/flags-and-output#exit-codes) – `4` for `linkedinAccountSignedOut` and `languageNotSupported`, `1` for any other, such as `cancelledByUser` or `workingHoursWaitExpired`. See [workflow status](/cli/workflows#workflow-status). These are the API responses it reads: ::: 1. **Workflow is pending (queued for execution):** ```json { "success": true, "result": { "workflowStatus": "pending", "pendingReason": "queued", "message": "This workflow is scheduled and will start after 2 other workflows already scheduled ahead of it." } } ``` Workflows are executed sequentially per LinkedIn account. If you submit multiple workflows, the first one starts executing immediately while the others are queued. The `pending` status means the workflow is waiting in the queue and will start running once the previous workflows complete. A workflow can also be pending because the account is outside its [working hours](/docs/working-hours). In that case `pendingReason` is `outsideWorkingHours` and the workflow will not move until the window reopens, which can be the next working day: ```json { "success": true, "result": { "workflowStatus": "pending", "pendingReason": "outsideWorkingHours", "message": "This workflow is scheduled and will start when the account working hours open at Mon, Aug 10, 09:00 (Europe/Berlin)." } } ``` Back off your polling in that case rather than retrying every few seconds – the `message` names the time the window opens. 2. **Workflow is running:** ```json { "success": true, "result": { "workflowStatus": "running", "pendingReason": null, "message": "This workflow usually takes about 30-60 seconds." } } ``` While a workflow is `pending` or `running`, the `message` field may update between polling requests. For example, a queued workflow can first return a queue-position message and later return an estimated-duration message after it starts running. 3. **Workflow completed successfully:** ```json { "success": true, "result": { "workflowStatus": "completed", "completion": { "actionType": "st.checkConnectionStatus", "success": true, "data": { "connectionStatus": "pending" } } } } ``` - `completion` – results of all actions included in this workflow. 4. **Workflow completed with action error:** ```json { "success": true, "result": { "workflowStatus": "completed", "completion": { "actionType": "st.checkConnectionStatus", "success": false, "error": { "type": "limitExceeded", "message": "The configured limit for this action category has been exceeded." } } } } ``` 5. **Workflow failed:** ```json { "success": true, "result": { "workflowStatus": "failed", "failure": { "reason": "linkedinAccountSignedOut", "message": "This LinkedIn account has been signed out in our cloud browser." } } } ``` - `failure` – object describing the workflow failure reason: - `linkedinAccountSignedOut` – your LinkedIn account has been signed out in our cloud browser. This occasionally happens as LinkedIn may sign out accounts after an extended period. You'll need to visit [our platform](https://app.linkedapi.io/) and reconnect your account. - `languageNotSupported` – your LinkedIn account uses a language Linked API does not support yet. Supported languages are English, German, Spanish, French and Portuguese. If you need another one, please contact our support – we prioritize new languages based on user requests. > In case of an unsuccessful request, you'll receive one of the [common errors](/docs/common-errors). ## Cancelling workflows Some workflows in Linked API can take a long time to complete. If you decide you no longer need a workflow to finish, you have the option to cancel it. You can cancel a running or pending workflow directly on [our platform](https://app.linkedapi.io/stats). Simply click the three dots menu next to the workflow and select "Cancel". Alternatively, you can cancel a workflow from your code: ```text tab=HTTP DELETE https://api.linkedapi.io/workflows/{workflowId} ``` ```typescript tab=Node // Call cancel() on the same method you used to start the workflow const cancelled = await linkedapi.checkConnectionStatus.cancel(workflowId); ``` ```python tab=Python # Call cancel() on the same method you used to start the workflow cancelled = linkedapi.check_connection_status.cancel(workflow_id) ``` ```bash tab=CLI # The CLI has no cancel command: send the HTTP request with curl curl -X DELETE "https://api.linkedapi.io/workflows/$WORKFLOW_ID" \ -H "linked-api-token: your-linked-api-token" \ -H "identification-token: your-identification-token" ``` :::surface cli The CLI has no cancel command: send the request with `curl`, as above, or cancel the workflow on the [platform](https://app.linkedapi.io/stats). ::: :::surface http,cli Upon successful cancellation, you will receive the following response: ::: :::surface node,python **Under the hood** – `cancel()` returns `true` (`True` in Python) when this response reports the workflow cancelled; an unsuccessful request throws `LinkedApiError`: ::: ```json { "success": true, "result": { "cancelled": true } } ``` > In case of an unsuccessful request, you'll receive one of the [common errors](/docs/common-errors). **Important notes:** - **Partial execution.** The workflow is cancelled at its current execution point. Any actions that have already been completed cannot be undone. For example, if the workflow has already sent messages or connection requests from your LinkedIn account, these actions will remain executed. - **No intermediate data.** Once a workflow is cancelled, no data is preserved or returned. You will not receive any intermediate results or partial data that may have been collected before cancellation. ## Building workflows Workflows are constructed using building blocks called actions, each having its own purpose (you may learn more about actions on the [actions overview](/docs/actions-overview) page). A workflow, after being successfully executed, produces a `completion`, that contains the results of all actions. See the [executing workflows](/docs/executing-workflows) page for details. Here you'll learn how to build various workflows, from single-action to advanced. > In most cases, you don't need to build workflows from scratch. The left menu contains pages with pre-built workflows for popular scenarios you can simply copy and use. :::surface node In the Node SDK, `customWorkflow` runs a workflow definition as is, so every example below works unchanged and returns its completion in `data`. For a single action, a predefined method builds the workflow for you – see [Predefined vs custom](/sdks/predefined-vs-custom). ::: :::surface python In the Python SDK, `custom_workflow` runs a workflow definition as is, with its keys as written, so every example below works unchanged and returns its completion in `data`. For a single action, a predefined method builds the workflow for you – see [Predefined vs custom](/sdks/predefined-vs-custom). ::: :::surface cli In the CLI, `linkedin workflow run` runs a workflow definition as is and prints its completion. For a single action, a command builds the workflow for you – see [Commands](/cli/commands). ::: ## Single-action workflows Single-action workflows contain exactly one action. You can only use actions that allow [root start in their constraints](/docs/actions-overview). ### Example 1 Let's say you want to build a workflow to check the connection status between your LinkedIn account and another person. You only need to use [st.checkConnectionStatus](/docs/action-st-check-connection-status) action to accomplish this. **Workflow:** ```json tab=HTTP { "actionType": "st.checkConnectionStatus", "personUrl": "https://www.linkedin.com/in/person1" } ``` ```typescript tab=Node const workflow = await linkedapi.customWorkflow.execute({ actionType: "st.checkConnectionStatus", personUrl: "https://www.linkedin.com/in/person1" }); const { data, errors } = await linkedapi.customWorkflow.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.custom_workflow.execute( { "actionType": "st.checkConnectionStatus", "personUrl": "https://www.linkedin.com/in/person1", } ) result = linkedapi.custom_workflow.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin workflow run <<'EOF' { "actionType": "st.checkConnectionStatus", "personUrl": "https://www.linkedin.com/in/person1" } EOF ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns this whole completion in `data`: ::: :::surface cli **Completion** – `linkedin workflow run` prints this whole completion as `data`: ::: ```json { "actionType": "st.checkConnectionStatus", "success": true, "data": { "connectionStatus": "pending" } } ``` ### Example 2 Let's say you want to build a workflow to retrieve basic information about a company. You only need to use [st.openCompanyPage](/docs/action-st-open-company-page) action to accomplish this. **Workflow:** ```json tab=HTTP { "actionType": "st.openCompanyPage", "companyUrl": "https://www.linkedin.com/company/company1", "basicInfo": true } ``` ```typescript tab=Node const workflow = await linkedapi.customWorkflow.execute({ actionType: "st.openCompanyPage", companyUrl: "https://www.linkedin.com/company/company1", basicInfo: true }); const { data, errors } = await linkedapi.customWorkflow.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.custom_workflow.execute( { "actionType": "st.openCompanyPage", "companyUrl": "https://www.linkedin.com/company/company1", "basicInfo": True, } ) result = linkedapi.custom_workflow.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin workflow run <<'EOF' { "actionType": "st.openCompanyPage", "companyUrl": "https://www.linkedin.com/company/company1", "basicInfo": true } EOF ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns this whole completion in `data`: ::: :::surface cli **Completion** – `linkedin workflow run` prints this whole completion as `data`: ::: ```json { "actionType": "st.openCompanyPage", "success": true, "data": { "name": "TechCorp", "publicUrl": "https://www.linkedin.com/company/company1", "description": "TechCorp is a leading provider of innovative technology solutions for businesses worldwide.", "location": "Cupertino, California", "headquarters": "US", "industry": "IT Services and IT Consulting", "specialties": "Cloud Computing, AI, Software Development", "website": "https://techcorp.com", "employeeCount": 500, "yearFounded": 2019, "jobsCount": 12 } } ``` ## Array workflows Array workflows contain multiple actions executed sequentially. You can only use actions that allow [root start in their constraints](/docs/actions-overview). > When you need to perform multiple identical operations, use one array workflow with multiple actions instead of separate single-action workflows. This approach is significantly faster due to API optimizations. ### Example 1 Let's say you want to build a workflow to check the connection status between your LinkedIn account and 5 different people. You need to use [st.checkConnectionStatus](/docs/action-st-check-connection-status) action multiple times to accomplish this. **Workflow:** ```json tab=HTTP [ { "actionType": "st.checkConnectionStatus", "personUrl": "https://www.linkedin.com/in/person1" }, { "actionType": "st.checkConnectionStatus", "personUrl": "https://www.linkedin.com/in/person2" }, { "actionType": "st.checkConnectionStatus", "personUrl": "https://www.linkedin.com/in/person3" }, { "actionType": "st.checkConnectionStatus", "personUrl": "https://www.linkedin.com/in/person4" }, { "actionType": "st.checkConnectionStatus", "personUrl": "https://www.linkedin.com/in/person5" } ] ``` ```typescript tab=Node const workflow = await linkedapi.customWorkflow.execute([ { actionType: "st.checkConnectionStatus", personUrl: "https://www.linkedin.com/in/person1" }, { actionType: "st.checkConnectionStatus", personUrl: "https://www.linkedin.com/in/person2" }, { actionType: "st.checkConnectionStatus", personUrl: "https://www.linkedin.com/in/person3" }, { actionType: "st.checkConnectionStatus", personUrl: "https://www.linkedin.com/in/person4" }, { actionType: "st.checkConnectionStatus", personUrl: "https://www.linkedin.com/in/person5" } ]); const { data, errors } = await linkedapi.customWorkflow.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.custom_workflow.execute( [ { "actionType": "st.checkConnectionStatus", "personUrl": "https://www.linkedin.com/in/person1", }, { "actionType": "st.checkConnectionStatus", "personUrl": "https://www.linkedin.com/in/person2", }, { "actionType": "st.checkConnectionStatus", "personUrl": "https://www.linkedin.com/in/person3", }, { "actionType": "st.checkConnectionStatus", "personUrl": "https://www.linkedin.com/in/person4", }, { "actionType": "st.checkConnectionStatus", "personUrl": "https://www.linkedin.com/in/person5", }, ] ) result = linkedapi.custom_workflow.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin workflow run <<'EOF' [ { "actionType": "st.checkConnectionStatus", "personUrl": "https://www.linkedin.com/in/person1" }, { "actionType": "st.checkConnectionStatus", "personUrl": "https://www.linkedin.com/in/person2" }, { "actionType": "st.checkConnectionStatus", "personUrl": "https://www.linkedin.com/in/person3" }, { "actionType": "st.checkConnectionStatus", "personUrl": "https://www.linkedin.com/in/person4" }, { "actionType": "st.checkConnectionStatus", "personUrl": "https://www.linkedin.com/in/person5" } ] EOF ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns this whole completion in `data`: ::: :::surface cli **Completion** – `linkedin workflow run` prints this whole completion as `data`: ::: ```json [ { "actionType": "st.checkConnectionStatus", "success": true, "data": { "connectionStatus": "connected" } }, { "actionType": "st.checkConnectionStatus", "success": true, "data": { "connectionStatus": "notConnected" } }, { "actionType": "st.checkConnectionStatus", "success": true, "data": { "connectionStatus": "pending" } }, { "actionType": "st.checkConnectionStatus", "success": true, "data": { "connectionStatus": "connected" } }, { "actionType": "st.checkConnectionStatus", "success": true, "data": { "connectionStatus": "connected" } } ] ``` ### Example 2 Let's say you want to build a workflow to retrieve basic information about several people. You need to use [st.openPersonPage](/docs/action-st-open-person-page) action multiple times to accomplish this. **Workflow:** ```json tab=HTTP [ { "actionType": "st.openPersonPage", "label": "person1", "personUrl": "https://www.linkedin.com/in/person1", "basicInfo": true }, { "actionType": "st.openPersonPage", "label": "person2", "personUrl": "https://www.linkedin.com/in/person2", "basicInfo": true } ] ``` ```typescript tab=Node const workflow = await linkedapi.customWorkflow.execute([ { actionType: "st.openPersonPage", label: "person1", personUrl: "https://www.linkedin.com/in/person1", basicInfo: true }, { actionType: "st.openPersonPage", label: "person2", personUrl: "https://www.linkedin.com/in/person2", basicInfo: true } ]); const { data, errors } = await linkedapi.customWorkflow.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.custom_workflow.execute( [ { "actionType": "st.openPersonPage", "label": "person1", "personUrl": "https://www.linkedin.com/in/person1", "basicInfo": True, }, { "actionType": "st.openPersonPage", "label": "person2", "personUrl": "https://www.linkedin.com/in/person2", "basicInfo": True, }, ] ) result = linkedapi.custom_workflow.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin workflow run <<'EOF' [ { "actionType": "st.openPersonPage", "label": "person1", "personUrl": "https://www.linkedin.com/in/person1", "basicInfo": true }, { "actionType": "st.openPersonPage", "label": "person2", "personUrl": "https://www.linkedin.com/in/person2", "basicInfo": true } ] EOF ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns this whole completion in `data`: ::: :::surface cli **Completion** – `linkedin workflow run` prints this whole completion as `data`: ::: ```json [ { "actionType": "st.openPersonPage", "label": "person1", "success": true, "data": { "name": "John Doe", "publicUrl": "https://www.linkedin.com/in/person1", "hashedUrl": "https://www.linkedin.com/in/SInQBmjJ015eLr8OeJoj0mrkxx7Jiuy0", "headline": "Software Engineer at TechCorp", "location": "San Francisco, USA", "countryCode": "US", "position": "Software Engineer", "companyName": "TechCorp", "companyUrl": "https://www.linkedin.com/company/12345678" } }, { "actionType": "st.openPersonPage", "label": "person2", "success": true, "data": { "name": "Jane Doe", "publicUrl": "https://www.linkedin.com/in/person2", "headline": "Product Manager at Cognito Inc.", "location": "Lisbon, Portugal", "countryCode": "PT", "position": "Product Manager", "companyName": "Cognito Inc.", "companyUrl": "https://www.linkedin.com/company/87654321" } } ] ``` ## Advanced workflows With Linked API, you can build **any workflow you can imagine** by combining arrays and parent-child action relationships through `then` parameter. Only two rules apply: - You must follow the [constraints of all actions](/docs/actions-overview) used. - The final workflow cannot exceed **5 levels of nesting**. ### Example 1 Let's say you want to build a workflow that searches for companies using specific filters and keywords, then retrieves basic information about all companies from the search results. You need to use [st.searchCompanies](/docs/action-st-search-companies), [st.doForCompanies](/docs/action-st-do-for-companies) and [st.openCompanyPage](/docs/action-st-open-company-page) actions to accomplish this. **Workflow:** ```json tab=HTTP { "actionType": "st.searchCompanies", "term": "Tech Inc", "filter": { "sizes": ["51-200", "201-500"], "locations": ["San Francisco", "New York"], "industries": ["Software Development", "Robotics Engineering"] }, "then": { "actionType": "st.doForCompanies", "then": { "actionType": "st.openCompanyPage", "basicInfo": true } } } ``` ```typescript tab=Node const workflow = await linkedapi.customWorkflow.execute({ actionType: "st.searchCompanies", term: "Tech Inc", filter: { sizes: ["51-200", "201-500"], locations: ["San Francisco", "New York"], industries: ["Software Development", "Robotics Engineering"] }, then: { actionType: "st.doForCompanies", then: { actionType: "st.openCompanyPage", basicInfo: true } } }); const { data, errors } = await linkedapi.customWorkflow.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.custom_workflow.execute( { "actionType": "st.searchCompanies", "term": "Tech Inc", "filter": { "sizes": ["51-200", "201-500"], "locations": ["San Francisco", "New York"], "industries": ["Software Development", "Robotics Engineering"], }, "then": { "actionType": "st.doForCompanies", "then": {"actionType": "st.openCompanyPage", "basicInfo": True}, }, } ) result = linkedapi.custom_workflow.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin workflow run <<'EOF' { "actionType": "st.searchCompanies", "term": "Tech Inc", "filter": { "sizes": [ "51-200", "201-500" ], "locations": [ "San Francisco", "New York" ], "industries": [ "Software Development", "Robotics Engineering" ] }, "then": { "actionType": "st.doForCompanies", "then": { "actionType": "st.openCompanyPage", "basicInfo": true } } } EOF ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns this whole completion in `data`: ::: :::surface cli **Completion** – `linkedin workflow run` prints this whole completion as `data`: ::: ```json { "actionType": "st.searchCompanies", "success": true, "data": [ { "name": "TechCorp", "publicUrl": "https://www.linkedin.com/company/techcorp", "industry": "IT Services and IT Consulting", "location": "California", "then": { "actionType": "st.openCompanyPage", "success": true, "data": { "name": "TechCorp", "publicUrl": "https://www.linkedin.com/company/techcorp", "description": "TechCorp is a leading provider of innovative technology solutions for businesses worldwide.", "location": "California", "headquarters": "US", "industry": "IT Services and IT Consulting", "specialties": "Cloud Computing, AI, Software Development", "website": "https://techcorp.com", "employeeCount": 500, "yearFounded": 2019, "jobsCount": 12 } } }, { "name": "Techical Life", "publicUrl": "https://www.linkedin.com/company/techlife", "industry": "Software Development", "location": "Mountain View", "then": { "actionType": "st.openCompanyPage", "success": true, "data": { "name": "Techical Life", "publicUrl": "https://www.linkedin.com/company/techlife", "description": "TechLife is a worldwide leader in software development for sustainability.", "location": "Mountain View", "headquarters": "US", "industry": "Software Development", "specialties": "Software Development, AI", "website": "https://techlife.com", "employeeCount": 163, "yearFounded": 2016, "jobsCount": 4 } } } ] } ``` ### Example 2 Let's say you want to build a workflow that retrieves basic company information, finds all managers, gets their basic information and education details, then sends them connection requests. You need to use [st.openCompanyPage](/docs/action-st-open-company-page), [st.retrieveCompanyEmployees](/docs/action-st-retrieve-company-employees), [st.doForPeople](/docs/action-st-do-for-people), [st.openPersonPage](/docs/action-st-open-person-page), [st.retrievePersonEducation](/docs/action-st-retrieve-person-education) and [st.sendConnectionRequest](/docs/action-st-send-connection-request) actions to accomplish this. **Workflow:** ```json tab=HTTP { "actionType": "st.openCompanyPage", "companyUrl": "https://www.linkedin.com/company/techcorp", "basicInfo": true, "then": { "actionType": "st.retrieveCompanyEmployees", "filter": { "position": "Manager" }, "then": { "actionType": "st.doForPeople", "then": { "actionType": "st.openPersonPage", "basicInfo": true, "then": [ { "actionType": "st.retrievePersonEducation" }, { "actionType": "st.sendConnectionRequest" } ] } } } } ``` ```typescript tab=Node const workflow = await linkedapi.customWorkflow.execute({ actionType: "st.openCompanyPage", companyUrl: "https://www.linkedin.com/company/techcorp", basicInfo: true, then: { actionType: "st.retrieveCompanyEmployees", filter: { position: "Manager" }, then: { actionType: "st.doForPeople", then: { actionType: "st.openPersonPage", basicInfo: true, then: [ { actionType: "st.retrievePersonEducation" }, { actionType: "st.sendConnectionRequest" } ] } } } }); const { data, errors } = await linkedapi.customWorkflow.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.custom_workflow.execute( { "actionType": "st.openCompanyPage", "companyUrl": "https://www.linkedin.com/company/techcorp", "basicInfo": True, "then": { "actionType": "st.retrieveCompanyEmployees", "filter": {"position": "Manager"}, "then": { "actionType": "st.doForPeople", "then": { "actionType": "st.openPersonPage", "basicInfo": True, "then": [ {"actionType": "st.retrievePersonEducation"}, {"actionType": "st.sendConnectionRequest"}, ], }, }, }, } ) result = linkedapi.custom_workflow.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin workflow run <<'EOF' { "actionType": "st.openCompanyPage", "companyUrl": "https://www.linkedin.com/company/techcorp", "basicInfo": true, "then": { "actionType": "st.retrieveCompanyEmployees", "filter": { "position": "Manager" }, "then": { "actionType": "st.doForPeople", "then": { "actionType": "st.openPersonPage", "basicInfo": true, "then": [ { "actionType": "st.retrievePersonEducation" }, { "actionType": "st.sendConnectionRequest" } ] } } } } EOF ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns this whole completion in `data`: ::: :::surface cli **Completion** – `linkedin workflow run` prints this whole completion as `data`: ::: ```json { "actionType": "st.openCompanyPage", "success": true, "data": { "name": "TechCorp", "publicUrl": "https://www.linkedin.com/company/techcorp", "description": "TechCorp is a leading provider of innovative technology solutions for businesses worldwide.", "location": "California", "headquarters": "US", "industry": "IT Services and IT Consulting", "specialties": "Cloud Computing, AI, Software Development", "website": "https://techcorp.com", "employeeCount": 500, "yearFounded": 2019, "jobsCount": 12, "then": { "actionType": "st.retrieveCompanyEmployees", "success": true, "data": [ { "name": "John Doe", "publicUrl": "https://www.linkedin.com/in/johndoe", "headline": "Product Manager at TechCorp", "location": "New York, USA", "then": { "actionType": "st.openPersonPage", "success": true, "data": { "name": "John Doe", "publicUrl": "https://www.linkedin.com/in/johndoe", "hashedUrl": "https://www.linkedin.com/in/SInQBmjJ015eLr8", "headline": "Product Manager at TechCorp", "location": "New York, USA", "countryCode": "US", "position": "Product Manager", "companyName": "TechCorp", "hashedCompanyUrl": "https://www.linkedin.com/company/87654321", "then": [ { "actionType": "st.retrievePersonEducation", "success": true, "data": [ { "schoolName": "Harvard University", "schoolHashedUrl": "https://www.linkedin.com/company/12345678", "details": "Master of Science in Computer Science, Artificial Intelligence" }, { "schoolName": "MIT", "schoolHashedUrl": "https://www.linkedin.com/company/87654321", "details": "Bachelor of Science in Electrical Engineering and Computer Science" } ] }, { "actionType": "st.sendConnectionRequest", "success": true } ] } } } ... ] } } } ``` > This page provides examples of [workflows](/docs/building-workflows) and their [completions](/docs/executing-workflows). For detailed documentation on constraints, parameters, and possible results of specific actions, always refer to the corresponding [action documentation pages](/docs/actions-overview). ## Actions overview Each action represents a specific operation within a [workflow](/docs/building-workflows). On this page, you'll find details about action definition and an overview of all available actions. :::surface node In the Node SDK each predefined method is an action: it takes the action's parameters without `actionType`, `label` and `then`, and child actions become options such as `retrieveExperience` on `fetchPerson`. [`customWorkflow`](/sdks/custom-workflow) takes action objects exactly as described on this page. ::: :::surface python In the Python SDK each predefined method is an action: it takes the action's parameters in snake_case, without `actionType`, `label` and `then`, and child actions become options such as `retrieve_experience` on `fetch_person`. [`custom_workflow`](/sdks/custom-workflow) takes action objects exactly as described on this page, with their keys as written. ::: :::surface cli In the CLI each command is an action: it takes the action's parameters as arguments and flags, and options such as `--experience` on `person fetch` add child actions. [`linkedin workflow run`](/cli/workflows#workflow-run) takes action objects exactly as described on this page. ::: ## Action definition Each action is defined by 3 characteristics: **constraints**, **parameters**, and **result options**: ### Constraints Constraints specify the valid parent-child relationships between actions in a workflow (defined using the `then` parameter in action JSON structure). On documentation pages, constraints are described with three elements: > ⏺️ **Root Start:** indicates whether an action can be placed at the beginning of a workflow (in the root position). > ⬆️ **Parent Actions:** specifies which actions can be parent actions to this action. > ⬇️ **Child Actions:** specifies which actions can be child actions of this action. If constraints are violated, you'll receive an `invalidWorkflow` error. ### Parameters Parameters configure the action's behavior and are unique to each action type. However, there are 3 common parameters: ```json { "actionType": "st.openPersonPage", "label": "person1", "personUrl": "https://www.linkedin.com/in/person1", "then": { ... } } ``` - `actionType` – required value that specifies which action is being executed. - `label` (optional) – custom label for tracking this action in workflow completion. When included, this same `label` appears in the result JSON, making it easy to locate the action. - `then` (optional) – object or array of child actions to be executed within this action (see [constraints](/docs/actions-overview) for more details). A parameter the root action does not define is rejected with `invalidWorkflow` rather than ignored. The message names the field and, when a valid one is close enough, suggests it – for example, `unknown field 'filter.fromMember' — did you mean 'fromMembers'?`; otherwise it lists the valid fields. This keeps a misspelled filter from silently running an unfiltered action. Parameters of child actions inside `then` are not checked this way, and actions that take no parameters of their own ignore extra fields. ### Result options Actions can have 2 possible result options: successful and unsuccessful execution, indicated by the `success` field being either `true` or `false`. The result format is unique for each action type. Here are examples: 1. **Successful execution:** ```json { "actionType": "st.checkConnectionStatus", "label": "person1", // if included in parameters "success": true, "data": { "connectionStatus": "pending" } } ``` - `data` – object containing action-specific results and child action results. 2. **Unsuccessful execution:** ```json { "actionType": "st.checkConnectionStatus", "label": "person1", // if included in parameters "success": false, "error": { "type": "personNotFound", "message": "The provided URL is not an existing LinkedIn person." } } ``` - `error` – object containing error details, including `type` and `message`. ### Common errors Some errors can be returned by any action, regardless of its type: - `limitExceeded` – configured limit for this action category has been exceeded. - `unexpectedError` – unexpected error occurred during action execution. In addition to these, each action may define its own specific errors (such as `personNotFound`, `messagingNotAllowed`, etc.). Refer to the individual action pages for their specific error types. ## Available actions Linked API provides 2 types of actions, each with its own namespace: - **Standard actions [st.]**: actions that relate to the standard LinkedIn interface. - **Sales Navigator actions [nv.]**: actions that relate to the Sales Navigator interface. ### Standard actions [st.] - [st.sendMessage](/docs/action-st-send-message) – allows you to send a message to a person. - [st.syncInbox](/docs/action-st-sync-inbox) – allows you to enable [whole-inbox monitoring](/docs/monitoring-inbox) so you can poll every incoming conversation. - [st.syncConversation](/docs/action-st-sync-conversation) – allows you to [load the message history](/docs/working-with-conversations) with a person. - [st.manageConversation](/docs/action-st-manage-conversation) – allows you to manage a conversation thread by archiving, starring, or muting it. - [st.checkConnectionStatus](/docs/action-st-check-connection-status) – allows you to check the connection status between your account and another person. - [st.sendConnectionRequest](/docs/action-st-send-connection-request) – allows you to send a connection request to a person. - [st.withdrawConnectionRequest](/docs/action-st-withdraw-connection-request) – allows you to withdraw the connection request sent to a person. - [st.acceptInvitation](/docs/action-st-accept-invitation) – allows you to accept an incoming connection, company-follow, or newsletter-subscription invitation. - [st.ignoreInvitation](/docs/action-st-ignore-invitation) – allows you to ignore an incoming connection, company-follow, or newsletter-subscription invitation. - [st.retrievePendingRequests](/docs/action-st-retrieve-pending-requests) – allows you to retrieve pending connection requests sent from your account. - [st.retrieveInvitations](/docs/action-st-retrieve-invitations) – allows you to retrieve incoming connection, company-follow, and newsletter-subscription invitations. - [st.retrieveConnections](/docs/action-st-retrieve-connections) – allows you to retrieve your connections and perform additional person-related actions if needed. - [st.removeConnection](/docs/action-st-remove-connection) – allows you to remove a person from your connections. - [st.syncNetwork](/docs/action-st-sync-network) – allows you to enable [network monitoring](/docs/monitoring-network) so you can poll connection events as they happen. - [st.searchCompanies](/docs/action-st-search-companies) – allows you to search for companies applying various filtering criteria. - [st.searchPeople](/docs/action-st-search-people) – allows you to search for people applying various filtering criteria. - [st.searchJobs](/docs/action-st-search-jobs) – allows you to search for jobs applying various filtering criteria. - [st.searchPosts](/docs/action-st-search-posts) – allows you to search for posts applying various filtering criteria. - [st.openCompanyPage](/docs/action-st-open-company-page) – allows you to open a company page to retrieve its basic information and perform additional company-related actions if needed. - [st.retrieveCompanyEmployees](/docs/action-st-retrieve-company-employees) – allows you to retrieve company employees and perform additional person-related actions if needed. - [st.retrieveCompanyDMs](/docs/action-st-retrieve-company-dms) – allows you to retrieve company decision makers and perform additional person-related actions if needed. - [st.retrieveCompanyPosts](/docs/action-st-retrieve-company-posts) – allows you to retrieve posts published by a company and perform additional post-related actions if needed. - [st.openPersonPage](/docs/action-st-open-person-page) – allows you to open a person page to retrieve their basic information and perform additional person-related actions if needed. - [st.retrievePersonExperience](/docs/action-st-retrieve-person-experience) – allows you to retrieve information about a person's experience. - [st.retrievePersonEducation](/docs/action-st-retrieve-person-education) – allows you to retrieve information about a person's education. - [st.retrievePersonSkills](/docs/action-st-retrieve-person-skills) – allows you to retrieve information about a person's skills. - [st.endorsePersonSkill](/docs/action-st-endorse-person-skill) – allows you to endorse a skill on the profile of a person who is your 1st-degree connection. - [st.retrievePersonLanguages](/docs/action-st-retrieve-person-languages) – allows you to retrieve information about a person's languages. - [st.retrievePersonPosts](/docs/action-st-retrieve-person-posts) – allows you to retrieve posts published by a person and perform additional post-related actions if needed. - [st.retrievePersonComments](/docs/action-st-retrieve-person-comments) – allows you to retrieve comments left by a person. - [st.retrievePersonReactions](/docs/action-st-retrieve-person-reactions) – allows you to retrieve reactions made by a person. - [st.openPost](/docs/action-st-open-post) – allows you to open a post to retrieve its data and perform additional post-related actions if needed. - [st.createPost](/docs/action-st-create-post) – allows you to publish a post, optionally with media attachments and mentions. - [st.createRepost](/docs/action-st-create-repost) – allows you to repost a post, either as is or with your own commentary. - [st.reactToPost](/docs/action-st-react-to-post) – allows you to react to a post using any available reaction type. - [st.commentOnPost](/docs/action-st-comment-on-post) – allows you to leave a comment on a post. - [st.retrievePostComments](/docs/action-st-retrieve-post-comments) – allows you to retrieve comments for a post and perform additional comment-related actions if needed. - [st.openComment](/docs/action-st-open-comment) – allows you to open a comment to react to it or reply to it. - [st.reactToComment](/docs/action-st-react-to-comment) – allows you to react to a comment using any available reaction type. - [st.replyToComment](/docs/action-st-reply-to-comment) – allows you to reply to a comment. - [st.openJob](/docs/action-st-open-job) – allows you to open a LinkedIn job and optionally retrieve its details. - [st.doForCompanies](/docs/action-st-do-for-companies) – allows you to apply the actions specified in its `then` parameter to each company provided by the parent action. - [st.doForPeople](/docs/action-st-do-for-people) – allows you to apply the actions specified in its `then` parameter to each person provided by the parent action. - [st.doForPosts](/docs/action-st-do-for-posts) – allows you to apply the actions specified in its `then` parameter to each post provided by the parent action. - [st.doForSkills](/docs/action-st-do-for-skills) – allows you to endorse each skill provided by the parent action, or only the skills whose names match the patterns you specify. - [st.doForComments](/docs/action-st-do-for-comments) – allows you to apply the actions specified in its `then` parameter to each comment provided by the parent action. - [st.doForJobs](/docs/action-st-do-for-jobs) – allows you to apply the actions specified in its `then` parameter to each job provided by the parent action. - [st.retrieveSSI](/docs/action-st-retrieve-ssi) – allows you to retrieve your current [SSI (Social Selling Index)](/guides/linkedin-social-selling-index). - [st.retrievePerformance](/docs/action-st-retrieve-performance) – allows you to retrieve performance analytics from your [LinkedIn dashboard](https://www.linkedin.com/dashboard/). - [st.retrieveFeed](/docs/action-st-retrieve-feed) – allows you to retrieve posts from your own home feed. - [st.retrieveProfileViewers](/docs/action-st-retrieve-profile-viewers) – allows you to retrieve the list of people who recently viewed your own profile. ### Sales Navigator actions [nv.] - [nv.retrieveAlerts](/docs/action-nv-retrieve-alerts) – reads lead and account alerts with filters and sorting. - [nv.retrieveLists](/docs/action-nv-retrieve-lists) – reads your lead or account lists and the IDs used to save into them. - [nv.createList](/docs/action-nv-create-list) – creates a lead or account list with a name you do not already use for that type. - [nv.deleteList](/docs/action-nv-delete-list) – deletes one of your lists; its leads or accounts stay saved. - [nv.renameList](/docs/action-nv-rename-list) – renames one of your custom lists to a name you do not already use for that type. - [nv.retrieveListLeads](/docs/action-nv-retrieve-list-leads) – reads the leads in one of your lead lists. - [nv.retrieveListAccounts](/docs/action-nv-retrieve-list-accounts) – reads the accounts in one of your account lists. - [nv.retrieveSavedSearches](/docs/action-nv-retrieve-saved-searches) – reads your saved lead or account searches and the URLs used to read their results. - [nv.createSavedSearch](/docs/action-nv-create-saved-search) – saves a Sales Navigator lead or account search, given its URL. - [nv.deleteSavedSearch](/docs/action-nv-delete-saved-search) – deletes one of your saved searches by its ID. - [nv.sendMessage](/docs/action-nv-send-message) – allows you to send a message to a person in Sales Navigator. - [nv.syncInbox](/docs/action-nv-sync-inbox) – allows you to enable [whole-inbox monitoring](/docs/monitoring-inbox) in Sales Navigator so you can poll every incoming conversation. - [nv.syncConversation](/docs/action-nv-sync-conversation) – allows you to [load the Sales Navigator message history](/docs/working-with-conversations) with a person. - [nv.manageConversation](/docs/action-nv-manage-conversation) – allows you to manage a conversation thread in Sales Navigator by archiving or unarchiving it. - [nv.searchCompanies](/docs/action-nv-search-companies) – allows you to search for companies in Sales Navigator applying various filtering criteria. - [nv.searchPeople](/docs/action-nv-search-people) – allows you to search for people in Sales Navigator applying various filtering criteria. - [nv.openCompanyPage](/docs/action-nv-open-company-page) – allows you to open a company page in Sales Navigator to retrieve its basic information and perform additional company-related actions if needed. - [nv.saveAccount](/docs/action-nv-save-account) – saves a company as an account, optionally into one of your account lists, so Sales Navigator raises alerts about it. - [nv.unsaveAccount](/docs/action-nv-unsave-account) – unsaves an account; its saved leads stay saved. - [nv.removeAccountFromList](/docs/action-nv-remove-account-from-list) – removes an account from one of your account lists; it stays saved and in your other lists. - [nv.retrieveCompanyEmployees](/docs/action-nv-retrieve-company-employees) – allows you to retrieve company employees from Sales Navigator and perform additional person-related actions if needed. - [nv.retrieveCompanyDMs](/docs/action-nv-retrieve-company-dms) – allows you to retrieve company decision makers from Sales Navigator and perform additional person-related actions if needed. - [nv.openPersonPage](/docs/action-nv-open-person-page) – allows you to open a person page in Sales Navigator to retrieve their basic information and perform additional person-related actions if needed. - [nv.saveLead](/docs/action-nv-save-lead) – saves a person as a lead, optionally into one of your lead lists, so Sales Navigator raises alerts about them. - [nv.unsaveLead](/docs/action-nv-unsave-lead) – unsaves a lead, which also removes them from your custom lead lists. - [nv.removeLeadFromList](/docs/action-nv-remove-lead-from-list) – removes a lead from one of your lead lists; they stay saved and in your other lists. - [nv.doForCompanies](/docs/action-nv-do-for-companies) – allows you to apply the actions specified in its `then` parameter to each company provided by the parent action in Sales Navigator. - [nv.doForPeople](/docs/action-nv-do-for-people) – allows you to apply the actions specified in its `then` parameter to each person provided by the parent action in Sales Navigator. ## Overview Messaging in Linked API covers two things: **sending** messages and **reading** them. For reading, start with the inbox – it catches every new message on the account; load a person's earlier history only once, when you need it. :::surface http | Task | Tool | |---|---| | Send a message to a person | [`st.sendMessage`](/docs/action-st-send-message) with `personUrl` | | Reply into an existing conversation | [`st.sendMessage`](/docs/action-st-send-message) with `threadId` | | Archive, star, or mute a conversation | [`st.manageConversation`](/docs/action-st-manage-conversation) | | Receive new messages from everyone | [`st.syncInbox`](/docs/action-st-sync-inbox) once per account, then [`/inbox/poll`](/docs/monitoring-inbox#polling) or [`inbox.*` webhook events](/docs/webhook-event-types#inbox-events) | | Read the whole conversation with one person | [`/inbox/poll` with `personUrl`](/docs/monitoring-inbox#polling-one-person) | | Get a person's messages from before the inbox was enabled | [`st.syncConversation`](/docs/action-st-sync-conversation) once for that person | ::: :::surface node | Task | Call | |---|---| | Send a message to a person | [`linkedapi.sendMessage`](/docs/action-st-send-message) with `personUrl` | | Reply into an existing conversation | [`linkedapi.sendMessage`](/docs/action-st-send-message) with `threadId` | | Archive, star, or mute a conversation | [`linkedapi.manageConversation`](/docs/action-st-manage-conversation), or `manageConversation` on `sendMessage` | | Receive new messages from everyone | [`linkedapi.syncInbox`](/docs/action-st-sync-inbox) once per account, then [`linkedapi.pollInbox()`](/docs/monitoring-inbox#polling) or [`inbox.*` webhook events](/docs/webhook-event-types#inbox-events) | | Read the whole conversation with one person | [`linkedapi.pollInbox()` with `personUrl`](/docs/monitoring-inbox#polling-one-person) | | Get a person's messages from before the inbox was enabled | [`linkedapi.syncConversation`](/docs/action-st-sync-conversation) once for that person | ::: :::surface python | Task | Call | |---|---| | Send a message to a person | [`linkedapi.send_message`](/docs/action-st-send-message) with `person_url` | | Reply into an existing conversation | [`linkedapi.send_message`](/docs/action-st-send-message) with `thread_id` | | Archive, star, or mute a conversation | [`linkedapi.manage_conversation`](/docs/action-st-manage-conversation), or `manage_conversation` on `send_message` | | Receive new messages from everyone | [`linkedapi.sync_inbox`](/docs/action-st-sync-inbox) once per account, then [`linkedapi.poll_inbox()`](/docs/monitoring-inbox#polling) or [`inbox.*` webhook events](/docs/webhook-event-types#inbox-events) | | Read the whole conversation with one person | [`linkedapi.poll_inbox()` with `person_url`](/docs/monitoring-inbox#polling-one-person) | | Get a person's messages from before the inbox was enabled | [`linkedapi.sync_conversation`](/docs/action-st-sync-conversation) once for that person | ::: :::surface cli | Task | Command | |---|---| | Send a message to a person | [`linkedin message send `](/docs/action-st-send-message) | | Reply into an existing conversation | [`linkedin message send --thread-id `](/docs/action-st-send-message) | | Archive, star, or mute a conversation | [`linkedin message manage `](/docs/action-st-manage-conversation), or `--manage` on `message send` | | Receive new messages from everyone | [`linkedin inbox sync`](/docs/action-st-sync-inbox) once per account, then [`linkedin inbox get`](/docs/monitoring-inbox#polling) | | Read the whole conversation with one person | [`linkedin inbox get --person `](/docs/monitoring-inbox#polling-one-person) | | Get a person's messages from before the inbox was enabled | [`linkedin message get `](/docs/action-st-sync-conversation) once for that person | ::: > 💡 For **Sales Navigator**, use the same flow with the `nv.` actions: [`nv.sendMessage`](/docs/action-nv-send-message) sends InMail to people you are not connected to, and [`nv.syncInbox`](/docs/action-nv-sync-inbox), [`nv.syncConversation`](/docs/action-nv-sync-conversation) and [`nv.manageConversation`](/docs/action-nv-manage-conversation) work like their standard counterparts. The same `/inbox/poll` endpoint returns both inboxes, tagged with a `type`. ## Sending [`st.sendMessage`](/docs/action-st-send-message) sends a message from your account, the same way you would in LinkedIn. Address it by the person's `personUrl` to message a 1st-degree connection, or by a `threadId` from inbox polling to reply into a conversation you already have – no profile URL needed. To archive, star, or mute the conversation right after sending, add [`st.manageConversation`](/docs/action-st-manage-conversation) as a child action; on its own, it manages any conversation by `threadId`. See [Sending messages](/docs/sending-message) for examples. ## Reading Everything you read comes from one endpoint, `/inbox/poll`. It draws on two sources: - **Inbox.** Enable monitoring once per account with [`st.syncInbox`](/docs/action-st-sync-inbox). From that moment, a periodic sync captures every new message in every conversation, both incoming and the ones you send. Poll them with an advancing `since`, or receive them as [webhook events](/docs/webhook-event-types#inbox-events). See [Monitoring inbox](/docs/monitoring-inbox). - **History.** The inbox does not import anything from before it was enabled. When you need earlier messages with a specific person, run [`st.syncConversation`](/docs/action-st-sync-conversation) for them once. It is a one-time load, not a way to check for new messages – those keep arriving through the inbox. See [Loading conversation history](/docs/working-with-conversations). Pass `personUrl` to `/inbox/poll` to get the whole known conversation with one person from both sources, each message once. Its `threads` tell you how far back the history goes: if `historyComplete` is `false` and you need more, that is when to load the history. ### Did this lead reply? A common check after outreach: did the person answer your message? Enable inbox monitoring **before** you send – it captures only messages that arrive after it is turned on, so a reply that came earlier will not be there. Then poll [`/inbox/poll`](/docs/monitoring-inbox#polling-one-person) with their `personUrl` and `since` set a few minutes before you sent your message: ```json tab=HTTP { "personUrl": "https://www.linkedin.com/in/person1", "since": "2023-03-14T10:20:00Z" } ``` ```typescript tab=Node const { data, errors } = await linkedapi.pollInbox({ personUrl: "https://www.linkedin.com/in/person1", since: "2023-03-14T10:20:00Z" }); ``` ```python tab=Python from linkedapi import InboxPersonPollRequest result = linkedapi.poll_inbox( InboxPersonPollRequest( person_url="https://www.linkedin.com/in/person1", since="2023-03-14T10:20:00Z", ) ) ``` ```bash tab=CLI linkedin inbox get --person https://www.linkedin.com/in/person1 --since 2023-03-14T10:20:00Z ``` Message times are whole minutes, so a reply sent in the same minute as your message can carry a time earlier than the exact moment you sent yours. Pass the `type` of your message (`st` or `nv`) and take the **earliest** message with `sender` `us` in the result – the one you sent; later messages of yours, such as follow-ups, must not move this point. Treat a message whose `sender` is `them` and whose `time` is not earlier than it as the reply. If your message is not in the result yet, the periodic sync has not captured it, and the answer is not known yet – not "no reply". A `them` message in the same minute as yours is ambiguous: with minute precision it may have been sent just before yours. If you store people by public URL, see [which URL to pass](/docs/monitoring-inbox#polling-one-person). A reply appears only after the periodic sync captures it, so an empty result means there is no reply **yet** – poll again later, or subscribe to the `inbox.messageReceived` [webhook event](/docs/webhook-event-types#inbox-events) instead of polling. For a walkthrough of the whole flow from the first message to the reply, see [How to automate LinkedIn messages](/guides/how-to-automate-linkedin-messages). ## Sending messages To send a message to a person in LinkedIn, you need to include [st.sendMessage](/docs/action-st-send-message) action in your workflow. Here's an example: :::surface node Each example below has its Node SDK call in the Node tab, and the label over each completion says what that call returns. ::: :::surface python Each example below has its Python SDK call in the Python tab, and the label over each completion says what that call returns. ::: :::surface cli Each example below has its CLI command in the CLI tab, and the label over each completion says what the command prints. ::: **Workflow:** ```json tab=HTTP { "actionType": "st.sendMessage", "personUrl": "https://www.linkedin.com/in/person1", "text": "Hi! I'd love to connect and discuss some ideas." } ``` ```typescript tab=Node const workflow = await linkedapi.sendMessage.execute({ personUrl: "https://www.linkedin.com/in/person1", text: "Hi! I'd love to connect and discuss some ideas." }); const { errors } = await linkedapi.sendMessage.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import SendMessageParams workflow = linkedapi.send_message.execute( SendMessageParams( person_url="https://www.linkedin.com/in/person1", text="Hi! I'd love to connect and discuss some ideas.", ) ) result = linkedapi.send_message.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin message send \ https://www.linkedin.com/in/person1 \ "Hi! I'd love to connect and discuss some ideas." ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – the method returns no `data`; a failed action comes back in `errors`: ::: :::surface cli **Completion** – with `--json` the CLI prints `{"success": true, "data": null}`, or the action's `error`: ::: ```json { "actionType": "st.sendMessage", "success": true } ``` > 💡 If you want to send a message in **Sales Navigator** (spend your Sales Navigator in-mail credits), use [`nv.sendMessage`](/docs/action-nv-send-message) action. > 💡 To reply into a known conversation without resolving the person's profile URL, pass a `threadId` (as returned by [inbox polling](/docs/monitoring-inbox)) instead of `personUrl`. See [`st.sendMessage`](/docs/action-st-send-message). > 💡 To read replies, see the [Messaging overview](/docs/messaging-overview). > This page provides examples of [workflows](/docs/building-workflows) and their [completions](/docs/executing-workflows). For detailed documentation on constraints, parameters, and possible results of specific actions, always refer to the corresponding [action documentation pages](/docs/actions-overview). ## Monitoring inbox Inbox monitoring lets you track **every** incoming conversation on an account, instead of syncing people one by one. It involves 2 key steps: :::surface node In the Node SDK this is two calls: `linkedapi.syncInbox` once per account, then `linkedapi.pollInbox()` to read the messages. ::: :::surface python In the Python SDK this is two calls: `linkedapi.sync_inbox` once per account, then `linkedapi.poll_inbox()` to read the messages. ::: :::surface cli In the CLI this is two commands: `linkedin inbox sync` once per account, then `linkedin inbox get` to read the messages. ::: 1. **Enabling**. Enable inbox sync once per account. From that point on, Linked API watches your whole inbox in the background and captures new messages across all threads. 2. **Polling**. After inbox sync is enabled, poll a single endpoint to retrieve captured messages and receive new ones — **without syncing each conversation**. > 💡 **This is the default way to read messages.** The inbox captures every new message on the account, and the same endpoint returns the whole conversation with one person when you pass [`personUrl`](#polling-one-person). See the [Messaging overview](/docs/messaging-overview) for which tool fits which task. ## Enabling [Execute a workflow](/docs/executing-workflows) with the [`st.syncInbox`](/docs/action-st-sync-inbox) action (or [`nv.syncInbox`](/docs/action-nv-sync-inbox) for Sales Navigator). You only need to do this once per account. Standard and Sales Navigator inboxes can both be enabled on the same account; polled messages are tagged with a `type` so you can tell them apart. ```json tab=HTTP { "actionType": "st.syncInbox" } ``` ```typescript tab=Node const workflow = await linkedapi.syncInbox.execute({}); const { errors } = await linkedapi.syncInbox.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.sync_inbox.execute() result = linkedapi.sync_inbox.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin inbox sync # standard inbox linkedin inbox sync --nv # Sales Navigator inbox ``` :::surface http **Completion:** ```json { "actionType": "st.syncInbox", "success": true } ``` ::: Enabling only switches monitoring on: the action records the setting and returns. The messages themselves are picked up afterwards by a sync that runs periodically, so the first ones appear on the next sync rather than the moment the action completes. > **Note:** When that sync finds new messages in a thread – including messages you send yourself – it opens the profile page of the other participant in that thread to resolve their public URL – but only when Linked API does not already know it, so a person is visited once rather than on every message. Those visits are made from your own account, and such a visit is visible to the person whose profile is opened. ## Polling :::surface http Unlike enabling, you don't execute workflows to poll the inbox. Instead, send a `POST` request to the following endpoint: ```text POST https://api.linkedapi.io/inbox/poll ``` The request body is a single object. All fields are optional: ::: :::surface node,python,cli Unlike enabling, polling is a direct request, not a workflow. All parameters are optional: ::: ```json tab=HTTP { "since": "2023-01-01T00:00:00Z", "type": "st", "threadId": "2-abc123..." } ``` ```typescript tab=Node const { data, errors } = await linkedapi.pollInbox({ since: "2023-01-01T00:00:00Z", // Optional: only messages after this timestamp type: "st", // Optional: "st" | "nv"; omit for both threadId: "2-abc123..." // Optional: restrict to a single thread }); ``` ```python tab=Python from linkedapi import InboxPollRequest result = linkedapi.poll_inbox( InboxPollRequest( since="2023-01-01T00:00:00Z", # Optional: only messages after this timestamp type="st", # Optional: "st" | "nv"; omit for both thread_id="2-abc123...", # Optional: restrict to a single thread ) ) ``` ```bash tab=CLI linkedin inbox get --since 2023-01-01T00:00:00Z --type st --thread-id 2-abc123... ``` :::surface node In the Node SDK this is the `pollInbox` method; it takes the fields below and returns the `result` object below as `data`, so the messages are in `data.messages`. ::: :::surface python In the Python SDK this is the `poll_inbox` method; it takes the fields below as an `InboxPollRequest`. It returns the messages themselves: `result.data` is a list of `InboxMessage` objects with the fields below in snake_case, so iterate `result.data` directly. To read one person's conversation, pass an `InboxPersonPollRequest` instead – see [Polling one person](#polling-one-person). ::: :::surface cli In the CLI this is `linkedin inbox get`: ```bash linkedin inbox get [flags] ``` | Flag | Type | Description | | --- | --- | --- | | `--since` | string | Only retrieve messages after this ISO timestamp | | `--type` | string | Filter by inbox type: `st` or `nv` (default: both) | | `--thread-id` | string | Restrict to a single conversation thread | | `--person` | string | LinkedIn profile URL. Return the whole known conversation with this person, including history loaded by `message get`, instead of the whole inbox | > Requires inbox monitoring to be enabled once with `inbox sync`. With `--person`, history loaded by `message get` is returned even without inbox monitoring. With `--person`, the `--json` output carries `threads` next to `messages`, and each message carries `inboxMessageId`: - `inboxMessageId` – `id` of the same message in `inbox get` output without `--person`, or `null` if the inbox did not capture it. - `threads` – every thread with the person, each with `threadId` (may be `null`), `type`, `personUrn`, `historyFrom` (the earliest message Linked API has) and `historyComplete` (`true` only when the thread was read back to its first message). If `historyComplete` is `false` and you need earlier messages, run `message get ` once. See [Monitoring inbox](/docs/monitoring-inbox#polling-one-person) for the full field reference. ::: - `since` (optional) – timestamp indicating the starting point for retrieving messages. If not provided, all captured messages are returned. - `type` (optional) – enum to filter by inbox type. If omitted, both standard and Sales Navigator messages are returned: - `st` – standard inbox messages only. - `nv` – Sales Navigator inbox messages only. - `threadId` (optional) – restrict the result to a single conversation thread. - `personUrl` (optional) – return the conversation with one person instead of the whole inbox. See [Polling one person](#polling-one-person) for how this changes the response. :::surface http If your request is correct, you will receive the following response: ::: :::surface node **Result** – `data` is the `result` object below: ::: :::surface python **Result** – `result.data` is the `messages` list below, as `InboxMessage` objects with snake_case fields: ::: :::surface cli **Output** – with `--json` or into a pipe, the CLI prints this `result` as `data`, so the messages are in `data.messages`: ::: ```json { "success": true, "result": { "messages": [ { "id": "f4d92946-8821-6da6-ff4c-c36f0671292a", "type": "nv", "threadId": "2-abb123...", "personUrn": "urn:li:member:987654321", "personHashedUrl": "https://www.linkedin.com/in/ACwAA9FmKpQ4T1r7XbNz", "personPublicUrl": null, "sender": "them", "text": "Saw your post on pipeline automation. Can you share more?", "time": "2023-01-02T10:42:00Z" }, { "id": "2a1b7f25-daba-5e20-70e9-c6427bb4f660", "type": "st", "threadId": "2-abc123...", "personUrn": "urn:li:member:123456789", "personHashedUrl": "https://www.linkedin.com/in/ACoAA2DdsSV83B48UDvgO5jPo3Gho0o", "personPublicUrl": "https://www.linkedin.com/in/person1", "sender": "us", "text": "Sure, let's talk this afternoon.", "time": "2023-01-02T10:38:00Z" }, { "id": "f4d92946-8821-6da6-ff4c-c36f0671292a", "type": "st", "threadId": "2-abc123...", "personUrn": "urn:li:member:123456789", "personHashedUrl": "https://www.linkedin.com/in/ACoAA2DdsSV83B48UDvgO5jPo3Gho0o", "personPublicUrl": "https://www.linkedin.com/in/person1", "sender": "them", "text": "Hi! Are you available for a quick chat?", "time": "2023-01-02T10:35:00Z" } ] } } ``` - `messages` – flat array of messages across all threads, ordered newest first. - `id` – unique identifier for the message. - `type` – inbox type the message belongs to (`st` or `nv`). - `threadId` – identifier of the conversation thread. Pass it to [`st.sendMessage`](/docs/action-st-send-message) / [`nv.sendMessage`](/docs/action-nv-send-message) to reply directly into the thread. - `personUrn` – [URN](/docs/data-conventions#linkedin-urns) of the other participant, or `null` if LinkedIn does not expose it. - `personHashedUrl` – [hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the other participant. This is the form the inbox exposes; every action that takes a person URL accepts it. The standard and Sales Navigator inboxes return different hashed values for the same person, so match people on `personUrn` rather than on the `personUrl` string when you need identity across both surfaces. - `personPublicUrl` – [public](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the other participant, or `null` if it has not been resolved. It can be `null` on **any** message, including the first one in a thread. - `personUrl` – **deprecated**, replaced by `personHashedUrl`, which carries the same value. Still returned so existing integrations keep working; do not use it in new code. - `sender` – enum indicating who sent the message. Possible values: - `us` – message was sent by you (through the LinkedIn UI or the Linked API). - `them` – message was sent by the other person. - `text` – message text. - `time` – timestamp when the message was sent or received. > 💡 **Handling `personPublicUrl`.** A person is resolved by the periodic sync, and only when their thread produces a message after monitoring was enabled. The field is therefore `null` for everyone you have not heard from yet, and some people are never resolvable at all – so always handle `null` rather than assuming a message carries a public URL. Messages captured before this field existed, and people whose resolution did not succeed, stay `null` until that person sends another message or Linked API learns their public URL another way, for example through [`st.openPersonPage`](/docs/action-st-open-person-page). `personHashedUrl` is always present and is the safe input for follow-up actions. The inbox only captures messages that arrive after monitoring is enabled – unless you ask for one person with [`personUrl`](#polling-one-person), which also returns history loaded for that person. If inbox monitoring is not enabled on the account, the request still succeeds with an empty `messages` array. **Recommended flow for integrations:** 1. Leave `since` empty on the first request to retrieve everything captured so far. 2. For subsequent requests, pass the **timestamp of the most recent message** you received as `since` to fetch only newer messages. 3. Continue polling with an advancing `since`. Whenever new messages arrive, update `since` to the latest message time. `since` is inclusive and message times are whole minutes, so the messages at the latest time come back on the next request. Remember their `id`s and skip them, so you never process – or reply to – the same message twice. > 💡 For push-based delivery instead of polling, subscribe to the inbox [Webhook Events](/docs/webhook-event-types#inbox-events). They fire for accounts with inbox monitoring enabled and carry the same message fields. ## Polling one person Pass `personUrl` to read the whole known conversation with one person. Besides the messages the inbox captured, the result includes that person's earlier history if it was loaded with [`st.syncConversation`](/docs/action-st-sync-conversation) or [`nv.syncConversation`](/docs/action-nv-sync-conversation) – a message present in both appears once. Loaded history is returned even if inbox monitoring is not enabled on the account. ```json tab=HTTP { "personUrl": "https://www.linkedin.com/in/person1" } ``` ```typescript tab=Node const { data, errors } = await linkedapi.pollInbox({ personUrl: "https://www.linkedin.com/in/person1" }); ``` ```python tab=Python from linkedapi import InboxPersonPollRequest result = linkedapi.poll_inbox( InboxPersonPollRequest( person_url="https://www.linkedin.com/in/person1", ) ) ``` ```bash tab=CLI linkedin inbox get --person https://www.linkedin.com/in/person1 ``` - `personUrl` – [public or hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the person. A hashed URL, standard or Sales Navigator, always matches. A public URL matches only once Linked API knows this person's public URL; if inbox messages from this person carry `personPublicUrl: null`, pass their `personHashedUrl` instead. - `since`, `type` and `threadId` (optional) – work as described above and narrow the messages further. Leave `since` empty to get the full conversation. :::surface http If your request is correct, you will receive the following response: ::: :::surface node **Result** – `data` is the `result` object below, with `messages` and `threads`: ::: :::surface python **Result** – `result.data` is an `InboxPersonPollResult` with the `messages` and `threads` below, in snake_case: ::: :::surface cli **Output** – with `--json` or into a pipe, the CLI prints this `result` as `data`, with `messages` and `threads`: ::: ```json { "success": true, "result": { "messages": [ { "id": "8c0a1f3e-5b7d-4e21-9a6c-2f4d8e1b7c90", "inboxMessageId": "8c0a1f3e-5b7d-4e21-9a6c-2f4d8e1b7c90", "type": "st", "threadId": "2-abc123...", "personUrn": "urn:li:member:123456789", "personHashedUrl": "https://www.linkedin.com/in/ACoAA2DdsSV83B48UDvgO5jPo3Gho0o", "personPublicUrl": "https://www.linkedin.com/in/person1", "sender": "them", "text": "Thanks, the deck looks great. Let's talk next week.", "time": "2023-03-14T16:05:00Z" }, { "id": "2a1b7f25-daba-5e20-70e9-c6427bb4f660", "inboxMessageId": "e61c94d2-0b3a-4f8e-b5d7-91a2c3e4f5a6", "type": "st", "threadId": "2-abc123...", "personUrn": "urn:li:member:123456789", "personHashedUrl": "https://www.linkedin.com/in/ACoAA2DdsSV83B48UDvgO5jPo3Gho0o", "personPublicUrl": "https://www.linkedin.com/in/person1", "sender": "us", "text": "Here is the deck we discussed.", "time": "2023-03-14T10:20:00Z" }, { "id": "f4d92946-8821-6da6-ff4c-c36f0671292a", "inboxMessageId": null, "type": "st", "threadId": "2-abc123...", "personUrn": "urn:li:member:123456789", "personHashedUrl": "https://www.linkedin.com/in/ACoAA2DdsSV83B48UDvgO5jPo3Gho0o", "personPublicUrl": "https://www.linkedin.com/in/person1", "sender": "them", "text": "Hi! Are you available for a quick chat?", "time": "2022-11-02T10:35:00Z" } ], "threads": [ { "threadId": "2-abc123...", "type": "st", "personUrn": "urn:li:member:123456789", "historyFrom": "2022-11-02T10:35:00Z", "historyComplete": true } ] } } ``` - `messages` – messages exchanged with this person across all their threads, ordered newest first. Each message carries the same fields as in the response above, plus `inboxMessageId`: - `id` – identifier of the message in this view. It stays the same between requests, including after new messages arrive, but it can differ from the `id` the same message has in the response without `personUrl`. - `inboxMessageId` – `id` of the same message in the response without `personUrl`, which is also `messageId` in [inbox webhook events](/docs/webhook-event-types#inbox-events), or `null` if the inbox did not capture this message – for example, history from before monitoring was enabled. Use it to match this view against the messages you have already received from the inbox. - `threadId` – may be `null` in this view: a thread whose history was loaded through the person's profile keeps `threadId: null` until Linked API discovers the thread during the syncing period. After `syncUntil`, the same conversation can appear twice in `threads` – once with `threadId: null` (the loaded history, which tells you how far back it goes) and once with the inbox's `threadId`. To reply to such a person, pass `personUrl` to [`st.sendMessage`](/docs/action-st-send-message). - `threads` – every thread with this person that Linked API knows about, listed regardless of `since`. - `threadId` – identifier of the thread, or `null` as described above. - `type` – inbox type of the thread (`st` or `nv`). - `personUrn` – [URN](/docs/data-conventions#linkedin-urns) of the person, or `null` if LinkedIn does not expose it. - `historyFrom` – time of the earliest message Linked API has in this thread, or `null` if it has none. - `historyComplete` – `true` only when Linked API has read this thread back to its very first message, so `historyFrom` is where the conversation starts. `false` means earlier messages may exist that Linked API has not read. If Linked API has no messages with this person, `messages` is empty; `threads` can still list a known thread with `historyFrom: null`. > 💡 If `historyComplete` is `false` and you need earlier messages, see [Loading conversation history](/docs/working-with-conversations). Messages from the inbox and from the loaded history are matched by sender, minute and text within the same thread, so two identical messages sent in the same minute stay two messages. In rare cases the two copies of one message are recorded with a different minute, and then the message appears twice. > 💡 To check whether a person answered your message, see [Did this lead reply?](/docs/messaging-overview#did-this-lead-reply) in the Messaging overview. > This page provides examples of [workflows](/docs/building-workflows) and their [completions](/docs/executing-workflows). For detailed documentation on constraints, parameters, and possible results of specific actions, always refer to the corresponding [action documentation pages](/docs/actions-overview). ## Loading conversation history Use this to load a person's earlier message history. To read messages, use [`/inbox/poll` with `personUrl`](/docs/monitoring-inbox#polling-one-person). :::surface node Each example below has its Node SDK call in the Node tab, and the label over each completion says what that call returns. ::: :::surface python Each example below has its Python SDK call in the Python tab, and the label over each completion says what that call returns. ::: :::surface cli Each example below has its CLI command in the CLI tab, and the label over each completion says what the command prints. ::: [Inbox monitoring](/docs/monitoring-inbox) captures every new message, but only from the moment it is enabled. When you need what was said before that – for example, before following up with a lead you wrote to months ago – load that person's history once. It involves 2 key steps: 1. **Loading**. Execute the [`st.syncConversation`](/docs/action-st-sync-conversation) action for the person. Linked API reads the conversation back to its first message and stores it. 2. **Reading**. Poll [`/inbox/poll` with `personUrl`](/docs/monitoring-inbox#polling-one-person). The loaded history comes back together with the messages the inbox captured, each message once. ## Loading Depending on the number of people whose history you need, [execute a workflow](/docs/executing-workflows) with one or multiple [`st.syncConversation`](/docs/action-st-sync-conversation) actions. Here's an example: **Workflow:** ```json tab=HTTP [ { "actionType": "st.syncConversation", "personUrl": "https://www.linkedin.com/in/person1" }, { "actionType": "st.syncConversation", "personUrl": "https://www.linkedin.com/in/person2", "days": 14 } ] ``` ```typescript tab=Node const workflow = await linkedapi.customWorkflow.execute([ { actionType: "st.syncConversation", personUrl: "https://www.linkedin.com/in/person1" }, { actionType: "st.syncConversation", personUrl: "https://www.linkedin.com/in/person2", days: 14 } ]); const { data, errors } = await linkedapi.customWorkflow.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.custom_workflow.execute( [ { "actionType": "st.syncConversation", "personUrl": "https://www.linkedin.com/in/person1", }, { "actionType": "st.syncConversation", "personUrl": "https://www.linkedin.com/in/person2", "days": 14, }, ] ) result = linkedapi.custom_workflow.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin workflow run <<'EOF' [ { "actionType": "st.syncConversation", "personUrl": "https://www.linkedin.com/in/person1" }, { "actionType": "st.syncConversation", "personUrl": "https://www.linkedin.com/in/person2", "days": 14 } ] EOF ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns this whole completion in `data`: ::: :::surface cli **Completion** – `linkedin workflow run` prints this whole completion as `data`: ::: ```json [ { "actionType": "st.syncConversation", "success": true, "data": { "syncUntil": "2023-01-31T00:00:00Z" } }, { "actionType": "st.syncConversation", "success": true, "data": { "syncUntil": "2023-01-15T00:00:00Z" } } ] ``` > 💡 **`days` is the syncing period, not the depth of history.** It sets how many days new messages keep being added; the action always reads the whole conversation, however old it is. `days` is 1 to 90, 30 by default, and `syncUntil` in the completion tells you when the period ends. With inbox monitoring enabled, new messages from this person keep arriving through the inbox after that moment as well. When the reading reaches the first message of a thread, that thread is reported with `historyComplete: true` in [`/inbox/poll` with `personUrl`](/docs/monitoring-inbox#polling-one-person). A very long conversation may not be read to its start within the action's time limit: the messages read are kept, and the thread stays `historyComplete: false`. Loading history does not enable inbox monitoring and does not produce [inbox webhook events](/docs/webhook-event-types#inbox-events). > 💡 For loading history in **Sales Navigator**, use [`nv.syncConversation`](/docs/action-nv-sync-conversation) action. It finds the person's Sales Navigator threads and reads each of them. ### Sync once Load a person's history once – not before every read. New messages reach you through the [inbox](/docs/monitoring-inbox), so there is no need to run the action again to check for them. If you do run [`st.syncConversation`](/docs/action-st-sync-conversation) again within 24 hours of a completed reading of the same person, it responds quickly: Linked API rereads only the messages since that reading, or responds immediately and finishes the check during the next periodic syncs. In the second case, a message the periodic sync missed can appear in polling later – usually within minutes – rather than by the time the action completes. Running the action again never shortens the period: `syncUntil` stays at the later of the current end and the new one. ## Checking connection status This page describes how to create workflows for checking connection statuses between your LinkedIn account and other people. :::surface node Each example below has its Node SDK call in the Node tab, and the label over each completion says what that call returns. ::: :::surface python Each example below has its Python SDK call in the Python tab, and the label over each completion says what that call returns. ::: :::surface cli Each example below has its CLI command in the CLI tab, and the label over each completion says what the command prints. ::: > 💡 Waiting for people to accept your invitations? Do not re-check their status every day – enable [network monitoring](/docs/monitoring-network) once and receive a `connectionAccepted` event when each of them accepts. ## Single person check To check the connection status between your account and another person, you need to include [`st.checkConnectionStatus`](/docs/action-st-check-connection-status) action in your workflow. Here's an example: **Workflow:** ```json tab=HTTP { "actionType": "st.checkConnectionStatus", "personUrl": "https://www.linkedin.com/in/person1" } ``` ```typescript tab=Node const workflow = await linkedapi.checkConnectionStatus.execute({ personUrl: "https://www.linkedin.com/in/person1" }); const { data, errors } = await linkedapi.checkConnectionStatus.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import CheckConnectionStatusParams workflow = linkedapi.check_connection_status.execute( CheckConnectionStatusParams( person_url="https://www.linkedin.com/in/person1", ) ) result = linkedapi.check_connection_status.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin connection status https://www.linkedin.com/in/person1 ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns its `data` in `data`, and a failed action in `errors`: ::: :::surface cli **Completion** – with `--json` the CLI prints its `data` as `data`, or the action's `error`: ::: ```json { "actionType": "st.checkConnectionStatus", "success": true, "data": { "connectionStatus": "pending" } } ``` ## Multiple people check To check the connection statuses between your account and several people, you need to use [`st.checkConnectionStatus`](/docs/action-st-check-connection-status) multiple times. Here's an example: **Workflow:** ```json tab=HTTP [ { "actionType": "st.checkConnectionStatus", "label": "person1", "personUrl": "https://www.linkedin.com/in/person1" }, { "actionType": "st.checkConnectionStatus", "label": "person2", "personUrl": "https://www.linkedin.com/in/person2" }, { "actionType": "st.checkConnectionStatus", "label": "person3", "personUrl": "https://www.linkedin.com/in/person3" } ] ``` ```typescript tab=Node const workflow = await linkedapi.customWorkflow.execute([ { actionType: "st.checkConnectionStatus", label: "person1", personUrl: "https://www.linkedin.com/in/person1" }, { actionType: "st.checkConnectionStatus", label: "person2", personUrl: "https://www.linkedin.com/in/person2" }, { actionType: "st.checkConnectionStatus", label: "person3", personUrl: "https://www.linkedin.com/in/person3" } ]); const { data, errors } = await linkedapi.customWorkflow.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.custom_workflow.execute( [ { "actionType": "st.checkConnectionStatus", "label": "person1", "personUrl": "https://www.linkedin.com/in/person1", }, { "actionType": "st.checkConnectionStatus", "label": "person2", "personUrl": "https://www.linkedin.com/in/person2", }, { "actionType": "st.checkConnectionStatus", "label": "person3", "personUrl": "https://www.linkedin.com/in/person3", }, ] ) result = linkedapi.custom_workflow.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin workflow run <<'EOF' [ { "actionType": "st.checkConnectionStatus", "label": "person1", "personUrl": "https://www.linkedin.com/in/person1" }, { "actionType": "st.checkConnectionStatus", "label": "person2", "personUrl": "https://www.linkedin.com/in/person2" }, { "actionType": "st.checkConnectionStatus", "label": "person3", "personUrl": "https://www.linkedin.com/in/person3" } ] EOF ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns this whole completion in `data`: ::: :::surface cli **Completion** – `linkedin workflow run` prints this whole completion as `data`: ::: ```json [ { "actionType": "st.checkConnectionStatus", "label": "person1", "success": true, "data": { "connectionStatus": "connected" } }, { "actionType": "st.checkConnectionStatus", "label": "person2", "success": true, "data": { "connectionStatus": "pending" } }, { "actionType": "st.checkConnectionStatus", "label": "person3", "success": true, "data": { "connectionStatus": "notConnected" } } ] ``` > 💡 Use this approach for multiple checks as it's significantly faster than creating separate workflows for each person. > This page provides examples of [workflows](/docs/building-workflows) and their [completions](/docs/executing-workflows). For detailed documentation on constraints, parameters, and possible results of specific actions, always refer to the corresponding [action documentation pages](/docs/actions-overview). ## Working with invitations This page describes how to create workflows for sending and withdrawing connection requests, and retrieving, accepting, and ignoring invitations on LinkedIn. :::surface node Each example below has its Node SDK call in the Node tab, and the label over each completion says what that call returns. ::: :::surface python Each example below has its Python SDK call in the Python tab, and the label over each completion says what that call returns. ::: :::surface cli Each example below has its CLI command in the CLI tab, and the label over each completion says what the command prints. ::: ## Sending connection request To send a connection request from your account to another person, you need to include [`st.sendConnectionRequest`](/docs/action-st-send-connection-request) action in your workflow. Here's an example: **Workflow:** ```json tab=HTTP { "actionType": "st.sendConnectionRequest", "personUrl": "https://www.linkedin.com/in/person1", "note": "Hi, I’d like to connect with you to discuss potential collaboration.", "email": "example1@gmail.com" } ``` ```typescript tab=Node const workflow = await linkedapi.sendConnectionRequest.execute({ personUrl: "https://www.linkedin.com/in/person1", note: "Hi, I’d like to connect with you to discuss potential collaboration.", email: "example1@gmail.com" }); const { errors } = await linkedapi.sendConnectionRequest.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import SendConnectionRequestParams workflow = linkedapi.send_connection_request.execute( SendConnectionRequestParams( person_url="https://www.linkedin.com/in/person1", note="Hi, I’d like to connect with you to discuss potential collaboration.", email="example1@gmail.com", ) ) result = linkedapi.send_connection_request.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin connection send https://www.linkedin.com/in/person1 \ --note "Hi, I’d like to connect with you to discuss potential collaboration." \ --email example1@gmail.com ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – the method returns no `data`; a failed action comes back in `errors`: ::: :::surface cli **Completion** – with `--json` the CLI prints `{"success": true, "data": null}`, or the action's `error`: ::: ```json { "actionType": "st.sendConnectionRequest", "success": true } ``` ## Withdrawing connection request To withdraw the connection request sent from your account, you need to include [`st.withdrawConnectionRequest`](/docs/action-st-withdraw-connection-request) action in your workflow. Here's an example: **Workflow:** ```json tab=HTTP { "actionType": "st.withdrawConnectionRequest", "personUrl": "https://www.linkedin.com/in/person1", "unfollow": true } ``` ```typescript tab=Node const workflow = await linkedapi.withdrawConnectionRequest.execute({ personUrl: "https://www.linkedin.com/in/person1", unfollow: true }); const { errors } = await linkedapi.withdrawConnectionRequest.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import WithdrawConnectionRequestParams workflow = linkedapi.withdraw_connection_request.execute( WithdrawConnectionRequestParams( person_url="https://www.linkedin.com/in/person1", unfollow=True, ) ) result = linkedapi.withdraw_connection_request.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin connection withdraw https://www.linkedin.com/in/person1 --unfollow ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – the method returns no `data`; a failed action comes back in `errors`: ::: :::surface cli **Completion** – with `--json` the CLI prints `{"success": true, "data": null}`, or the action's `error`: ::: ```json { "actionType": "st.withdrawConnectionRequest", "success": true } ``` ## Retrieving pending connection requests To retrieve a list of pending connection requests sent from your account, you need to include [`st.retrievePendingRequests`](/docs/action-st-retrieve-pending-requests) action in your workflow. Here's an example: **Workflow:** ```json tab=HTTP { "actionType": "st.retrievePendingRequests" } ``` ```typescript tab=Node const workflow = await linkedapi.retrievePendingRequests.execute(); const { data, errors } = await linkedapi.retrievePendingRequests.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.retrieve_pending_requests.execute() result = linkedapi.retrieve_pending_requests.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin connection pending ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns its `data` in `data`, and a failed action in `errors`: ::: :::surface cli **Completion** – with `--json` the CLI prints its `data` as `data`, or the action's `error`: ::: ```json { "actionType": "st.retrievePendingRequests", "success": true, "data": [ { "name": "John Doe", "urn": "urn:li:member:123456789", "publicUrl": "https://www.linkedin.com/in/johndoe", "headline": "Founder & CEO at Example Company" }, { "name": "Jane Smith", "urn": "urn:li:member:234567890", "publicUrl": "https://www.linkedin.com/in/janesmith", "headline": "CTO at Tech Solutions" }, { "name": "Carlos Santos", "urn": null, "publicUrl": "https://www.linkedin.com/in/carlossantos", "headline": "Product Manager at Startup Hub" } ] } ``` ## Retrieving invitations Use [`st.retrieveInvitations`](/docs/action-st-retrieve-invitations) to read all incoming connection, company-follow, and newsletter-subscription invitations from the invitation manager. The action is root-only and does not support `then`. > 💡 To react to new connection requests as they arrive instead of polling this action on a schedule, enable [network monitoring](/docs/monitoring-network) with [`st.syncNetwork`](/docs/action-st-sync-network) and consume `connectionRequestReceived` events. **Workflow:** ```json tab=HTTP { "actionType": "st.retrieveInvitations" } ``` ```typescript tab=Node const workflow = await linkedapi.retrieveInvitations.execute(); const { data, errors } = await linkedapi.retrieveInvitations.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.retrieve_invitations.execute() result = linkedapi.retrieve_invitations.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin connection invitations ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns its `data` in `data`, and a failed action in `errors`: ::: :::surface cli **Completion** – with `--json` the CLI prints its `data` as `data`, or the action's `error`: ::: ```json { "actionType": "st.retrieveInvitations", "success": true, "data": [ { "invitationType": "connect", "name": "John Doe", "urn": "urn:li:member:123456789", "publicUrl": "https://www.linkedin.com/in/johndoe", "headline": "Founder & CEO at Example Company", "note": "I would like to connect." }, { "invitationType": "companyFollow", "name": "Jane Smith", "urn": "urn:li:member:234567890", "publicUrl": "https://www.linkedin.com/in/janesmith", "companyUrl": "https://www.linkedin.com/company/example-company", "companyName": "Example Company" }, { "invitationType": "newsletterSubscribe", "name": "Carlos Santos", "urn": null, "publicUrl": "https://www.linkedin.com/in/carlossantos", "newsletterUrl": "https://www.linkedin.com/newsletters/example-1234567890", "newsletterName": "Example Newsletter" } ] } ``` Use the type-specific URL from each item when accepting or ignoring it: | `invitationType` | Required target | | --------------------- | ----------------------------------------------- | | `connect` | `personUrl`, using the item's `publicUrl` value | | `companyFollow` | `companyUrl` | | `newsletterSubscribe` | `newsletterUrl` | ## Accepting an invitation Use [`st.acceptInvitation`](/docs/action-st-accept-invitation) with the invitation type and exactly one matching target URL. ```json tab=HTTP { "actionType": "st.acceptInvitation", "invitationType": "connect", "personUrl": "https://www.linkedin.com/in/johndoe" } ``` ```typescript tab=Node const workflow = await linkedapi.acceptInvitation.execute({ invitationType: "connect", personUrl: "https://www.linkedin.com/in/johndoe" }); const { errors } = await linkedapi.acceptInvitation.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import AcceptInvitationParams workflow = linkedapi.accept_invitation.execute( AcceptInvitationParams( invitation_type="connect", person_url="https://www.linkedin.com/in/johndoe", ) ) result = linkedapi.accept_invitation.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin connection accept connect https://www.linkedin.com/in/johndoe ``` For a company-follow invitation: ```json tab=HTTP { "actionType": "st.acceptInvitation", "invitationType": "companyFollow", "companyUrl": "https://www.linkedin.com/company/example-company" } ``` ```typescript tab=Node const workflow = await linkedapi.acceptInvitation.execute({ invitationType: "companyFollow", companyUrl: "https://www.linkedin.com/company/example-company" }); const { errors } = await linkedapi.acceptInvitation.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import AcceptInvitationParams workflow = linkedapi.accept_invitation.execute( AcceptInvitationParams( invitation_type="companyFollow", company_url="https://www.linkedin.com/company/example-company", ) ) result = linkedapi.accept_invitation.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin connection accept \ companyFollow \ https://www.linkedin.com/company/example-company ``` For a newsletter-subscription invitation: ```json tab=HTTP { "actionType": "st.acceptInvitation", "invitationType": "newsletterSubscribe", "newsletterUrl": "https://www.linkedin.com/newsletters/example-1234567890" } ``` ```typescript tab=Node const workflow = await linkedapi.acceptInvitation.execute({ invitationType: "newsletterSubscribe", newsletterUrl: "https://www.linkedin.com/newsletters/example-1234567890" }); const { errors } = await linkedapi.acceptInvitation.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import AcceptInvitationParams workflow = linkedapi.accept_invitation.execute( AcceptInvitationParams( invitation_type="newsletterSubscribe", newsletter_url="https://www.linkedin.com/newsletters/example-1234567890", ) ) result = linkedapi.accept_invitation.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin connection accept \ newsletterSubscribe \ https://www.linkedin.com/newsletters/example-1234567890 ``` A successful completion contains `"success": true` and no data. ## Ignoring an invitation [`st.ignoreInvitation`](/docs/action-st-ignore-invitation) uses the same target contract: ```json tab=HTTP { "actionType": "st.ignoreInvitation", "invitationType": "connect", "personUrl": "https://www.linkedin.com/in/johndoe" } ``` ```typescript tab=Node const workflow = await linkedapi.ignoreInvitation.execute({ invitationType: "connect", personUrl: "https://www.linkedin.com/in/johndoe" }); const { errors } = await linkedapi.ignoreInvitation.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import IgnoreInvitationParams workflow = linkedapi.ignore_invitation.execute( IgnoreInvitationParams( invitation_type="connect", person_url="https://www.linkedin.com/in/johndoe", ) ) result = linkedapi.ignore_invitation.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin connection ignore connect https://www.linkedin.com/in/johndoe ``` Change `invitationType` and the URL field together for company-follow or newsletter-subscription invitations. A successful completion contains `"success": true` and no data. > This page provides examples of [workflows](/docs/building-workflows) and their [completions](/docs/executing-workflows). For detailed constraints, parameters, and results, refer to the corresponding [action documentation pages](/docs/actions-overview). ## Managing existing connections This page describes how to create workflows for retrieving and removing people from your existing LinkedIn connections. :::surface node Each example below has its Node SDK call in the Node tab, and the label over each completion says what that call returns. ::: :::surface python Each example below has its Python SDK call in the Python tab, and the label over each completion says what that call returns. ::: :::surface cli Each example below has its CLI command in the CLI tab, and the label over each completion says what the command prints. ::: ## Retrieving connections To retrieve your connections, you need to include [`st.retrieveConnections`](/docs/action-st-retrieve-connections) action in your workflow. Here's an example: **Workflow:** ```json tab=HTTP { "actionType": "st.retrieveConnections", "filter": { "firstName": "John", "lastName": "Doe", "position": "CEO", "locations": ["New York", "San Francisco", "London"], "industries": ["Software Development", "Professional Services"], "currentCompanies": ["Tech Solutions", "Innovatech"], "previousCompanies": ["FutureCorp"], "schools": ["Harvard University", "MIT"] } } ``` ```typescript tab=Node const workflow = await linkedapi.retrieveConnections.execute({ filter: { firstName: "John", lastName: "Doe", position: "CEO", locations: ["New York", "San Francisco", "London"], industries: ["Software Development", "Professional Services"], currentCompanies: ["Tech Solutions", "Innovatech"], previousCompanies: ["FutureCorp"], schools: ["Harvard University", "MIT"] } }); const { data, errors } = await linkedapi.retrieveConnections.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import RetrieveConnectionsParams workflow = linkedapi.retrieve_connections.execute( RetrieveConnectionsParams( filter={ "first_name": "John", "last_name": "Doe", "position": "CEO", "locations": ["New York", "San Francisco", "London"], "industries": ["Software Development", "Professional Services"], "current_companies": ["Tech Solutions", "Innovatech"], "previous_companies": ["FutureCorp"], "schools": ["Harvard University", "MIT"], }, ) ) result = linkedapi.retrieve_connections.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin connection list \ --first-name John \ --last-name Doe \ --position CEO \ --locations "New York,San Francisco,London" \ --industries "Software Development,Professional Services" \ --current-companies "Tech Solutions,Innovatech" \ --previous-companies FutureCorp \ --schools "Harvard University,MIT" ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns its `data` in `data`, and a failed action in `errors`: ::: :::surface cli **Completion** – with `--json` the CLI prints its `data` as `data`, or the action's `error`: ::: ```json { "actionType": "st.retrieveConnections", "success": true, "data": [ { "name": "John Doe", "urn": "urn:li:member:123456789", "publicUrl": "https://www.linkedin.com/in/johndoe", "headline": "Founder & CEO at Example Company", "location": "Lisbon, Portugal", "avatarUrl": "https://media.licdn.com/dms/image/v2/D5603AQE/profile-displayphoto-shrink_100_100/0/1700000000000" }, { "name": "Jane Smith", "urn": "urn:li:member:234567890", "publicUrl": "https://www.linkedin.com/in/janesmith", "headline": "CEO at Tech Solutions", "location": "San Francisco Bay Area", "avatarUrl": null }, { "name": "Carlos Santos", "urn": null, "publicUrl": "https://www.linkedin.com/in/carlossantos", "headline": "Project Manager at Startup Hub", "location": "Madrid", "avatarUrl": null } ] } ``` > 💡 If you want to perform actions on the retrieved connections, use [`st.doForPeople`](/docs/action-st-do-for-people) action. ## Removing connection To remove a person from your connections, use [`st.removeConnection`](/docs/action-st-remove-connection) action in your workflow. Here's an example: **Workflow:** ```json tab=HTTP { "actionType": "st.removeConnection", "personUrl": "https://www.linkedin.com/in/person1" } ``` ```typescript tab=Node const workflow = await linkedapi.removeConnection.execute({ personUrl: "https://www.linkedin.com/in/person1" }); const { errors } = await linkedapi.removeConnection.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import RemoveConnectionParams workflow = linkedapi.remove_connection.execute( RemoveConnectionParams( person_url="https://www.linkedin.com/in/person1", ) ) result = linkedapi.remove_connection.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin connection remove https://www.linkedin.com/in/person1 ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – the method returns no `data`; a failed action comes back in `errors`: ::: :::surface cli **Completion** – with `--json` the CLI prints `{"success": true, "data": null}`, or the action's `error`: ::: ```json { "actionType": "st.removeConnection", "success": true } ``` > 💡 If you need to remove several people from your connections, use this action multiple times within an [array workflow](/docs/building-workflows). This approach is significantly faster than creating separate workflows for each person due to API optimizations. > This page provides examples of [workflows](/docs/building-workflows) and their [completions](/docs/executing-workflows). For detailed documentation on constraints, parameters, and possible results of specific actions, always refer to the corresponding [action documentation pages](/docs/actions-overview). ## Monitoring network Network monitoring lets you track changes to an account's connection graph in the background, instead of repeatedly retrieving connections and pending requests and diffing them yourself. It involves 2 key steps: :::surface node In the Node SDK this is two calls: `linkedapi.syncNetwork` once per account, then `linkedapi.pollNetwork()` to read the events. ::: :::surface python In the Python SDK this is two calls: `linkedapi.sync_network` once per account, then `linkedapi.poll_network()` to read the events. ::: :::surface cli In the CLI this is two commands: `linkedin network sync` once per account, then `linkedin network events` to read the events. ::: 1. **Enabling**. Enable network sync once per account. From that point on, Linked API watches the account's network in the background and captures connection events. 2. **Polling**. After network sync is enabled, poll a single endpoint to retrieve captured events and receive new ones — **without retrieving the whole connection list each time**. > 💡 **Monitoring does not import history.** Only changes that happen **after** you enable it are captured — your existing connections and pending invitations are used as a silent baseline and never emitted. When you need the state as it is right now (a full list, a one-off audit, backfilling before monitoring was on), reach for [`st.retrieveConnections`](/docs/action-st-retrieve-connections) and [`st.retrieveInvitations`](/docs/action-st-retrieve-invitations) instead. > 💡 **Coming soon: [signals](/docs/signals-overview).** Signals will watch an account for you in one place – its connections and invitations with the [`network` signal](/docs/signal-network), and also new posts by people, companies or keywords, comments and reactions, and profile viewers. Network monitoring keeps working as it does, separately from them. Once signals launch, if you need to keep an eye on something, a signal is the better way to do it. ## Enabling [Execute a workflow](/docs/executing-workflows) with the [`st.syncNetwork`](/docs/action-st-sync-network) action. You only need to do this once per account. ```json tab=HTTP { "actionType": "st.syncNetwork" } ``` ```typescript tab=Node const workflow = await linkedapi.syncNetwork.execute({}); const { errors } = await linkedapi.syncNetwork.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.sync_network.execute() result = linkedapi.sync_network.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin network sync ``` :::surface http **Completion:** ```json { "actionType": "st.syncNetwork", "success": true } ``` ::: ## Event types Network monitoring emits three kinds of events: - `connectionRequestReceived` – someone sent **you** a connection request. A new incoming pending invitation was observed. - `connectionAccepted` – a new connection that matches a request **you** sent. The other person accepted your outgoing invitation. - `connectionAdded` – a new connection that is **not** attributable to a request you sent. For example, you accepted someone else's incoming request, or the connection was formed outside the API. > 💡 Together, `connectionAccepted` and `connectionAdded` cover every new first-degree connection: `connectionAccepted` is the subset you initiated, `connectionAdded` is everything else. If you only care that the network grew, handle both. ## Polling :::surface http Unlike enabling, you don't execute workflows to poll the network. Instead, send a `POST` request to the following endpoint: ```text POST https://api.linkedapi.io/network/poll ``` The request body is a single object. All fields are optional: ::: :::surface node,python,cli Unlike enabling, polling is a direct request, not a workflow. All parameters are optional: ::: ```json tab=HTTP { "since": "2023-01-01T00:00:00Z", "type": "connectionAccepted" } ``` ```typescript tab=Node const { data, errors } = await linkedapi.pollNetwork({ since: "2023-01-01T00:00:00Z", // Optional: only events after this timestamp type: "connectionAccepted" // Optional: filter by a single event type }); ``` ```python tab=Python from linkedapi import NetworkPollRequest result = linkedapi.poll_network( NetworkPollRequest( since="2023-01-01T00:00:00Z", # Optional: only events after this timestamp type="connectionAccepted", # Optional: filter by a single event type ) ) ``` ```bash tab=CLI linkedin network events --since 2023-01-01T00:00:00Z --type connectionAccepted ``` :::surface node In the Node SDK this is the `pollNetwork` method; it takes the fields below and returns the `result` object below as `data`, so the events are in `data.events`. ::: :::surface python In the Python SDK this is the `poll_network` method; it takes the fields below as a `NetworkPollRequest`. It returns the events themselves: `result.data` is a list of `NetworkEvent` objects with the fields below in snake_case, so iterate `result.data` directly. ::: :::surface cli In the CLI this is `linkedin network events`: ```bash linkedin network events [flags] ``` | Flag | Type | Description | | --- | --- | --- | | `--since` | string | Only retrieve events after this ISO timestamp | | `--type` | string | Filter by event type: `connectionRequestReceived`, `connectionAccepted`, or `connectionAdded` (default: all) | > Requires network monitoring to be enabled once with `network sync`. Events are retained for 90 days. ::: - `since` (optional) – timestamp indicating the starting point for retrieving events. If not provided, all captured events are returned. - `type` (optional) – filter by a single event type. If omitted, all event types are returned: - `connectionRequestReceived` - `connectionAccepted` - `connectionAdded` :::surface http If your request is correct, you will receive the following response: ::: :::surface node **Result** – `data` is the `result` object below: ::: :::surface python **Result** – `result.data` is the `events` list below, as `NetworkEvent` objects with snake_case fields: ::: :::surface cli **Output** – with `--json` or into a pipe, the CLI prints this `result` as `data`, so the events are in `data.events`: ::: ```json { "success": true, "result": { "events": [ { "id": "f4d92946-8821-6da6-ff4c-c36f0671292a", "type": "connectionAccepted", "personUrn": "urn:li:member:123456789", "personUrl": "https://www.linkedin.com/in/person1", "detectedAt": "2023-01-02T10:35:00Z" }, { "id": "2a1b7f25-daba-5e20-70e9-c6427bb4f660", "type": "connectionRequestReceived", "personUrn": null, "personUrl": "https://www.linkedin.com/in/person2", "detectedAt": "2023-01-02T09:12:00Z" } ] } } ``` - `events` – array of connection events, ordered newest first. - `id` – unique identifier for the event. - `type` – one of `connectionRequestReceived`, `connectionAccepted`, or `connectionAdded`. - `personUrn` – [URN](/docs/data-conventions#linkedin-urns) of the other person, or `null` if LinkedIn did not expose an identifier on the row that produced the event. Events recorded before URN support was added always return `null`. - `personUrl` – LinkedIn URL of the other person. - `detectedAt` – timestamp when Linked API observed the event. **Recommended flow for integrations:** 1. Leave `since` empty on the first request to retrieve everything captured so far. 2. For subsequent requests, pass the **timestamp of the most recent event** you received as `since` to fetch only newer events. 3. Continue polling with an advancing `since`. Whenever new events arrive, update `since` to the latest `detectedAt`. > Events are retained for **90 days**. Poll (or receive webhooks) often enough to consume them within that window — older events are pruned and will no longer be returned. > 💡 For push-based delivery instead of polling, subscribe to the network [Webhook Events](/docs/webhook-event-types#network-events). They fire for accounts with network monitoring enabled and carry the same event fields. > This page provides examples of [workflows](/docs/building-workflows) and their [completions](/docs/executing-workflows). For detailed documentation on constraints, parameters, and possible results of specific actions, always refer to the corresponding [action documentation pages](/docs/actions-overview). ## LinkedIn People Search API This is the LinkedIn people search API: to search for people in LinkedIn, include the [`st.searchPeople`](/docs/action-st-search-people) action in your workflow. It runs the search on your own account and returns LinkedIn's people search results as structured JSON. LinkedIn's official APIs offer no general people-search endpoint to standard developer accounts – see [LinkedIn API access](/guides/linkedin-api-access). Searching for companies instead? See [Searching for companies](/docs/searching-for-companies) – the LinkedIn company search API. Here's an example: :::surface node Each example below has its Node SDK call in the Node tab, and the label over each completion says what that call returns. ::: :::surface python Each example below has its Python SDK call in the Python tab, and the label over each completion says what that call returns. ::: :::surface cli Each example below has its CLI command in the CLI tab, and the label over each completion says what the command prints. ::: **Workflow:** ```json tab=HTTP { "actionType": "st.searchPeople", "term": "John Doe", "limit": 2, "filter": { "firstName": "John", "lastName": "Doe", "position": "CEO", "locations": ["New York", "San Francisco", "London"], "industries": ["Software Development", "Professional Services"], "currentCompanies": ["Tech Solutions", "Innovatech"], "previousCompanies": ["FutureCorp"], "schools": ["Harvard University", "MIT"], "connectionDegrees": ["2nd", "3rd+"] } } ``` ```typescript tab=Node const workflow = await linkedapi.searchPeople.execute({ term: "John Doe", limit: 2, filter: { firstName: "John", lastName: "Doe", position: "CEO", locations: ["New York", "San Francisco", "London"], industries: ["Software Development", "Professional Services"], currentCompanies: ["Tech Solutions", "Innovatech"], previousCompanies: ["FutureCorp"], schools: ["Harvard University", "MIT"], connectionDegrees: ["2nd", "3rd+"] } }); const { data, errors } = await linkedapi.searchPeople.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import SearchPeopleParams workflow = linkedapi.search_people.execute( SearchPeopleParams( term="John Doe", limit=2, filter={ "first_name": "John", "last_name": "Doe", "position": "CEO", "locations": ["New York", "San Francisco", "London"], "industries": ["Software Development", "Professional Services"], "current_companies": ["Tech Solutions", "Innovatech"], "previous_companies": ["FutureCorp"], "schools": ["Harvard University", "MIT"], "connection_degrees": ["2nd", "3rd+"], }, ) ) result = linkedapi.search_people.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin person search \ --term "John Doe" \ --limit 2 \ --first-name John \ --last-name Doe \ --position CEO \ --locations "New York,San Francisco,London" \ --industries "Software Development,Professional Services" \ --current-companies "Tech Solutions,Innovatech" \ --previous-companies FutureCorp \ --schools "Harvard University,MIT" \ --connection-degrees 2nd,3rd+ ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns its `data` in `data`, and a failed action in `errors`: ::: :::surface cli **Completion** – with `--json` the CLI prints its `data` as `data`, or the action's `error`: ::: ```json { "actionType": "st.searchPeople", "success": true, "data": [ { "name": "John Doe", "urn": "urn:li:member:123456789", "publicUrl": "https://www.linkedin.com/in/johndoe", "headline": "Founder & CEO at Example Company", "location": "London", "viewerState": { "connectionDegree": "2nd" } }, { "name": "John Doe", "urn": null, "publicUrl": "https://www.linkedin.com/in/johnyd", "headline": "Product Manager at Semsoft", "location": "New York", "viewerState": { "connectionDegree": "3rd+" } } ] } ``` > 💡 If you want to perform actions on people from search results, use [`st.doForPeople`](/docs/action-st-do-for-people) action. > 💡 If you want to search for people in **Sales Navigator**, use [`nv.searchPeople`](/docs/action-nv-search-people) action. > This page provides examples of [workflows](/docs/building-workflows) and their [completions](/docs/executing-workflows). For detailed documentation on constraints, parameters, and possible results of specific actions, always refer to the corresponding [action documentation pages](/docs/actions-overview). ## Retrieving person data This page describes how to create workflows for retrieving various types of LinkedIn person data, including basic information, experience, education, and more. :::surface node Each example below has its Node SDK call in the Node tab, and the label over each completion says what that call returns. ::: :::surface python Each example below has its Python SDK call in the Python tab, and the label over each completion says what that call returns. ::: :::surface cli Each example below has its CLI command in the CLI tab, and the label over each completion says what the command prints. ::: ## Retrieving basic info To retrieve basic information about a person, you need to include [`st.openPersonPage`](/docs/action-st-open-person-page) action in your workflow, with `basicInfo` parameter set to `true`. Here's an example: **Workflow:** ```json tab=HTTP { "actionType": "st.openPersonPage", "personUrl": "https://www.linkedin.com/in/person1", "basicInfo": true } ``` ```typescript tab=Node const workflow = await linkedapi.fetchPerson.execute({ personUrl: "https://www.linkedin.com/in/person1" }); const { data, errors } = await linkedapi.fetchPerson.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import FetchPersonParams workflow = linkedapi.fetch_person.execute( FetchPersonParams( person_url="https://www.linkedin.com/in/person1", ) ) result = linkedapi.fetch_person.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin person fetch https://www.linkedin.com/in/person1 ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns its `data` in `data`, and a failed action in `errors`: ::: :::surface cli **Completion** – with `--json` the CLI prints its `data` as `data`, or the action's `error`: ::: ```json { "actionType": "st.openPersonPage", "success": true, "data": { "name": "John Doe", "urn": "urn:li:member:123456789", "publicUrl": "https://www.linkedin.com/in/person1", "hashedUrl": "https://www.linkedin.com/in/SInQBmjJ015eLr8", "headline": "Software Engineer at TechCorp", "location": "San Francisco, USA", "countryCode": "US", "position": "Software Engineer", "companyName": "TechCorp", "companyHashedUrl": "https://www.linkedin.com/company/12345678", "followersCount": 2322, "viewerState": { "connectionDegree": "2nd" } } } ``` > 💡 If you want to retrieve basic information about a person from **Sales Navigator**, use [`nv.openPersonPage`](/docs/action-nv-open-person-page) action. ## Retrieving experience To retrieve information about a person's experience, you need to include [`st.retrievePersonExperience`](/docs/action-st-retrieve-person-experience) action as a child of [`st.openPersonPage`](/docs/action-st-open-person-page). Here's an example: **Workflow:** ```json tab=HTTP { "actionType": "st.openPersonPage", "personUrl": "https://www.linkedin.com/in/person1", "basicInfo": false, "then": [ { "actionType": "st.retrievePersonExperience" } ] } ``` ```typescript tab=Node const workflow = await linkedapi.fetchPerson.execute({ personUrl: "https://www.linkedin.com/in/person1", retrieveExperience: true }); const { data, errors } = await linkedapi.fetchPerson.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import FetchPersonParams workflow = linkedapi.fetch_person.execute( FetchPersonParams( person_url="https://www.linkedin.com/in/person1", retrieve_experience=True, ) ) result = linkedapi.fetch_person.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin person fetch https://www.linkedin.com/in/person1 --experience ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns its `data`, with the result of [`st.retrievePersonExperience`](/docs/action-st-retrieve-person-experience) in `data.experiences` instead of `then` and with basic information included: ::: :::surface cli **Completion** – with `--json` the CLI prints its `data`, with the result of [`st.retrievePersonExperience`](/docs/action-st-retrieve-person-experience) in `data.experiences` instead of `then` and with basic information included: ::: ```json { "actionType": "st.openPersonPage", "success": true, "data": { "then": [ { "actionType": "st.retrievePersonExperience", "success": true, "data": [ { "position": "Software Engineer", "companyName": "TechCorp", "companyHashedUrl": "https://www.linkedin.com/company/12345678", "employmentType": "fullTime", "locationType": "onSite", "description": "Developing innovative software solutions.", "duration": 24, "startTime": "2021-01-01T00:00:00Z", "endTime": null, "location": "San Francisco, USA" }, { "position": "Junior Developer", "companyName": "CodeBase Inc.", "companyHashedUrl": "https://www.linkedin.com/company/87654321", "employmentType": "internship", "locationType": "remote", "description": "Worked on front-end development tasks.", "duration": 12, "startTime": "2020-01-01T00:00:00Z", "endTime": "2020-12-31T00:00:00Z", "location": null } ] } ] } } ``` ## Retrieving education To retrieve information about a person's education, you need to include [`st.retrievePersonEducation`](/docs/action-st-retrieve-person-education) action as a child of [`st.openPersonPage`](/docs/action-st-open-person-page). Here's an example: **Workflow:** ```json tab=HTTP { "actionType": "st.openPersonPage", "personUrl": "https://www.linkedin.com/in/person1", "basicInfo": false, "then": [ { "actionType": "st.retrievePersonExperience" }, { "actionType": "st.retrievePersonEducation" } ] } ``` ```typescript tab=Node const workflow = await linkedapi.fetchPerson.execute({ personUrl: "https://www.linkedin.com/in/person1", retrieveExperience: true, retrieveEducation: true }); const { data, errors } = await linkedapi.fetchPerson.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import FetchPersonParams workflow = linkedapi.fetch_person.execute( FetchPersonParams( person_url="https://www.linkedin.com/in/person1", retrieve_experience=True, retrieve_education=True, ) ) result = linkedapi.fetch_person.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin person fetch https://www.linkedin.com/in/person1 \ --experience \ --education ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns its `data`, with the result of [`st.retrievePersonExperience`](/docs/action-st-retrieve-person-experience) in `data.experiences` and of [`st.retrievePersonEducation`](/docs/action-st-retrieve-person-education) in `data.education` instead of `then` and with basic information included: ::: :::surface cli **Completion** – with `--json` the CLI prints its `data`, with the result of [`st.retrievePersonExperience`](/docs/action-st-retrieve-person-experience) in `data.experiences` and of [`st.retrievePersonEducation`](/docs/action-st-retrieve-person-education) in `data.education` instead of `then` and with basic information included: ::: ```json { "actionType": "st.openPersonPage", "success": true, "data": { "then": [ { "actionType": "st.retrievePersonExperience", "success": true, "data": [ ... ] }, { "actionType": "st.retrievePersonEducation", "success": true, "data": [ { "schoolName": "Harvard University", "schoolHashedUrl": "https://www.linkedin.com/company/12345678", "details": "Master of Science in Computer Science, Artificial Intelligence" }, { "schoolName": "MIT", "schoolHashedUrl": "https://www.linkedin.com/company/87654321", "details": "Bachelor of Science in Electrical Engineering and Computer Science" } ] } ] } } ``` ## Retrieving other data To retrieve other types of person data, you can use the following actions as children of [`st.openPersonPage`](/docs/action-st-open-person-page) (just as in the examples above): - [`st.retrievePersonSkills`](/docs/action-st-retrieve-person-skills) – allows you to retrieve a person's skills. - [`st.retrievePersonLanguages`](/docs/action-st-retrieve-person-languages) – allows you to retrieve a person's languages. - [`st.retrievePersonPosts`](/docs/action-st-retrieve-person-posts) – allows you to retrieve posts published by a person and perform additional post-related actions if needed. - [`st.retrievePersonComments`](/docs/action-st-retrieve-person-comments) – allows you to retrieve comments left by a person. - [`st.retrievePersonReactions`](/docs/action-st-retrieve-person-reactions) – allows you to retrieve reactions made by a person. > This page provides examples of [workflows](/docs/building-workflows) and their [completions](/docs/executing-workflows). For detailed documentation on constraints, parameters, and possible results of specific actions, always refer to the corresponding [action documentation pages](/docs/actions-overview). ## Visiting person page To visit a person's LinkedIn page so that they see your visit in their profile views, include [`st.openPersonPage`](/docs/action-st-open-person-page) action in your workflow. Here's an example: :::surface node Each example below has its Node SDK call in the Node tab, and the label over each completion says what that call returns. ::: :::surface python Each example below has its Python SDK call in the Python tab, and the label over each completion says what that call returns. ::: :::surface cli Each example below has its CLI command in the CLI tab, and the label over each completion says what the command prints. ::: **Workflow:** ```json tab=HTTP { "actionType": "st.openPersonPage", "personUrl": "https://www.linkedin.com/in/person1", "basicInfo": false } ``` ```typescript tab=Node const workflow = await linkedapi.customWorkflow.execute({ actionType: "st.openPersonPage", personUrl: "https://www.linkedin.com/in/person1", basicInfo: false }); const { data, errors } = await linkedapi.customWorkflow.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.custom_workflow.execute( { "actionType": "st.openPersonPage", "personUrl": "https://www.linkedin.com/in/person1", "basicInfo": False, } ) result = linkedapi.custom_workflow.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin workflow run <<'EOF' { "actionType": "st.openPersonPage", "personUrl": "https://www.linkedin.com/in/person1", "basicInfo": false } EOF ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns this whole completion in `data`: ::: :::surface cli **Completion** – `linkedin workflow run` prints this whole completion as `data`: ::: ```json { "actionType": "st.openPersonPage", "success": true } ``` > This page provides examples of [workflows](/docs/building-workflows) and their [completions](/docs/executing-workflows). For detailed documentation on constraints, parameters, and possible results of specific actions, always refer to the corresponding [action documentation pages](/docs/actions-overview). ## Endorsing skills This page describes how to create workflows for endorsing skills on the profiles of your 1st-degree connections. :::surface node Each example below has its Node SDK call in the Node tab, and the label over each completion says what that call returns. ::: :::surface python Each example below has its Python SDK call in the Python tab, and the label over each completion says what that call returns. ::: :::surface cli Each example below has its CLI command in the CLI tab, and the label over each completion says what the command prints. ::: > LinkedIn lets you endorse skills only of your **1st-degree connections**. Endorsing never removes an endorsement: a skill you have already endorsed is left as it is and reported as a success. ## Endorsing a skill To endorse one skill by its name, you need to include [`st.endorsePersonSkill`](/docs/action-st-endorse-person-skill) action in your workflow. It can also start the workflow on its own, with `personUrl` and `skillName`. Here's an example: **Workflow:** ```json tab=HTTP { "actionType": "st.openPersonPage", "personUrl": "https://www.linkedin.com/in/person1", "basicInfo": false, "then": { "actionType": "st.endorsePersonSkill", "skillName": "Project Management" } } ``` ```typescript tab=Node const workflow = await linkedapi.endorsePersonSkill.execute({ personUrl: "https://www.linkedin.com/in/person1", skillName: "Project Management" }); const { errors } = await linkedapi.endorsePersonSkill.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import EndorsePersonSkillParams workflow = linkedapi.endorse_person_skill.execute( EndorsePersonSkillParams( person_url="https://www.linkedin.com/in/person1", skill_name="Project Management", ) ) result = linkedapi.endorse_person_skill.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin person endorse https://www.linkedin.com/in/person1 \ --skill "Project Management" ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – the method returns no `data`; a failed action comes back in `errors`: ::: :::surface cli **Completion** – with `--json` the CLI prints `{"success": true, "data": null}`, or the action's `error`: ::: ```json { "actionType": "st.openPersonPage", "success": true, "data": { "then": { "actionType": "st.endorsePersonSkill", "success": true } } } ``` ## Endorsing skills that match patterns To endorse every skill whose name matches one or more patterns, you need to include [`st.doForSkills`](/docs/action-st-do-for-skills) with [`st.endorsePersonSkill`](/docs/action-st-endorse-person-skill) as a child of [`st.retrievePersonSkills`](/docs/action-st-retrieve-person-skills). Omit `skillNamePatterns` to endorse every skill. Skill names are in the profile owner's language, so write patterns in that language. > Patterns use [RE2](https://github.com/google/re2/wiki/Syntax) syntax, the dialect of Go `regexp` and Google Sheets `REGEXMATCH`. Ordinary patterns read like JavaScript regular expressions, but lookaround (`(?=…)`, `(?!…)`) and backreferences (`\1`) are not supported. Matching is case-insensitive and searches anywhere in the name; anchor a pattern with `^…$` to match the whole name. See [`st.doForSkills`](/docs/action-st-do-for-skills) for the full rules. :::surface http,node,python Patterns are JSON strings – in the SDKs, ordinary string literals – so each backslash is written twice: `"project\\s*manage"` is the regular expression `project\s*manage`. ::: :::surface cli In the CLI, put each `--pattern` in single quotes so the shell passes `\`, `*`, `|`, `$` and parentheses through unchanged, and write a backslash once: `--pattern 'project\s*manage'`. Give exactly one of `--skill`, `--pattern` (repeatable, up to 20) and `--all` – `--all` endorses every skill. None, or more than one, is rejected with exit code 5 and nothing is endorsed, so the command never endorses every skill by accident. In a terminal, `--pattern` and `--all` print one line per selected skill: `Endorsed: ` or `Not endorsed: - `. With `--json`, or into a pipe, they print the selected skills as `data`, each with `skillName`, `success` and `error`. ::: Here's an example that endorses only skills related to business and project management: **Workflow:** ```json tab=HTTP { "actionType": "st.openPersonPage", "personUrl": "https://www.linkedin.com/in/person1", "basicInfo": false, "then": { "actionType": "st.retrievePersonSkills", "then": { "actionType": "st.doForSkills", "skillNamePatterns": ["business", "project\\s*manage", "^(agile|scrum)$"], "then": { "actionType": "st.endorsePersonSkill" } } } } ``` ```typescript tab=Node const workflow = await linkedapi.endorsePersonSkills.execute({ personUrl: "https://www.linkedin.com/in/person1", skillNamePatterns: ["business", "project\\s*manage", "^(agile|scrum)$"] }); const { data, errors } = await linkedapi.endorsePersonSkills.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import EndorsePersonSkillsParams workflow = linkedapi.endorse_person_skills.execute( EndorsePersonSkillsParams( person_url="https://www.linkedin.com/in/person1", skill_name_patterns=["business", "project\\s*manage", "^(agile|scrum)$"], ) ) result = linkedapi.endorse_person_skills.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin person endorse https://www.linkedin.com/in/person1 \ --pattern business \ --pattern 'project\s*manage' \ --pattern '^(agile|scrum)$' ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns in `data` one item per selected skill, with `skillName`, `success` and `error`. Check every item: `errors` only covers failures to open the profile or read its skills. The workflow behind it completes like this: ::: :::surface cli **Completion** – the CLI prints one item per selected skill, with `skillName`, `success` and `error`, as `data`. Check every item. The workflow behind it completes like this: ::: ```json { "actionType": "st.openPersonPage", "success": true, "data": { "then": { "actionType": "st.retrievePersonSkills", "success": true, "data": [ { "name": "Business Strategy", "then": [ { "actionType": "st.endorsePersonSkill", "success": true } ] }, { "name": "Python" }, { "name": "Project Management", "then": [ { "actionType": "st.endorsePersonSkill", "success": true } ] } ] } } } ``` Every skill of the person is listed; only the selected ones carry a `then` array with the endorsement result. > This page provides examples of [workflows](/docs/building-workflows) and their [completions](/docs/executing-workflows). For detailed documentation on constraints, parameters, and possible results of specific actions, always refer to the corresponding [action documentation pages](/docs/actions-overview). ## Searching for companies – LinkedIn company search API To search for companies in LinkedIn, you need to include [`st.searchCompanies`](/docs/action-st-search-companies) action in your workflow. To turn the companies you find into full records – profile, employees, decision-makers and posts – see the [LinkedIn company scraper](/guides/linkedin-company-scraper) guide. Here's an example: :::surface node Each example below has its Node SDK call in the Node tab, and the label over each completion says what that call returns. ::: :::surface python Each example below has its Python SDK call in the Python tab, and the label over each completion says what that call returns. ::: :::surface cli Each example below has its CLI command in the CLI tab, and the label over each completion says what the command prints. ::: **Workflow:** ```json tab=HTTP { "actionType": "st.searchCompanies", "term": "Tech Inc", "limit": 2, "filter": { "sizes": ["51-200", "201-500"], "locations": ["San Francisco", "New York"], "industries": ["Software Development", "Robotics Engineering"] } } ``` ```typescript tab=Node const workflow = await linkedapi.searchCompanies.execute({ term: "Tech Inc", limit: 2, filter: { sizes: ["51-200", "201-500"], locations: ["San Francisco", "New York"], industries: ["Software Development", "Robotics Engineering"] } }); const { data, errors } = await linkedapi.searchCompanies.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import SearchCompaniesParams workflow = linkedapi.search_companies.execute( SearchCompaniesParams( term="Tech Inc", limit=2, filter={ "sizes": ["51-200", "201-500"], "locations": ["San Francisco", "New York"], "industries": ["Software Development", "Robotics Engineering"], }, ) ) result = linkedapi.search_companies.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin company search \ --term "Tech Inc" \ --limit 2 \ --sizes 51-200,201-500 \ --locations "San Francisco,New York" \ --industries "Software Development,Robotics Engineering" ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns its `data` in `data`, and a failed action in `errors`: ::: :::surface cli **Completion** – with `--json` the CLI prints its `data` as `data`, or the action's `error`: ::: ```json { "actionType": "st.searchCompanies", "success": true, "data": [ { "name": "TechCorp", "urn": "urn:li:organization:1234567", "publicUrl": "https://www.linkedin.com/company/techcorp", "industry": "IT Services and IT Consulting", "location": "California" }, { "name": "Techical Life", "urn": null, "publicUrl": "https://www.linkedin.com/company/techlife", "industry": "Software Development", "location": "Mountain View" } ] } ``` > 💡 If you want to perform actions on companies from search results, use [`st.doForCompanies`](/docs/action-st-do-for-companies) action. > 💡 If you want to search for companies in **Sales Navigator**, use [`nv.searchCompanies`](/docs/action-nv-search-companies) action. > This page provides examples of [workflows](/docs/building-workflows) and their [completions](/docs/executing-workflows). For detailed documentation on constraints, parameters, and possible results of specific actions, always refer to the corresponding [action documentation pages](/docs/actions-overview). ## Retrieving company data This page describes how to create workflows for retrieving various types of LinkedIn company data, including basic information, posts, employees, and decision-makers. For the end-to-end workflow – finding companies, fetching each one and what LinkedIn does not return – see the [LinkedIn company scraper](/guides/linkedin-company-scraper) guide. :::surface node Each example below has its Node SDK call in the Node tab, and the label over each completion says what that call returns. ::: :::surface python Each example below has its Python SDK call in the Python tab, and the label over each completion says what that call returns. ::: :::surface cli Each example below has its CLI command in the CLI tab, and the label over each completion says what the command prints. ::: ## Retrieving basic info To retrieve basic information about a company, you need to include [`st.openСompanyPage`](/docs/action-st-open-company-page) action in your workflow, with `basicInfo` parameter set to `true`. Here's an example: **Workflow:** ```json tab=HTTP { "actionType": "st.openCompanyPage", "companyUrl": "https://www.linkedin.com/company/company1", "basicInfo": true } ``` ```typescript tab=Node const workflow = await linkedapi.fetchCompany.execute({ companyUrl: "https://www.linkedin.com/company/company1" }); const { data, errors } = await linkedapi.fetchCompany.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import FetchCompanyParams workflow = linkedapi.fetch_company.execute( FetchCompanyParams( company_url="https://www.linkedin.com/company/company1", ) ) result = linkedapi.fetch_company.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin company fetch https://www.linkedin.com/company/company1 ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns its `data` in `data`, and a failed action in `errors`: ::: :::surface cli **Completion** – with `--json` the CLI prints its `data` as `data`, or the action's `error`: ::: ```json { "actionType": "st.openCompanyPage", "success": true, "data": { "name": "TechCorp", "urn": "urn:li:organization:1234567", "publicUrl": "https://www.linkedin.com/company/company1", "description": "TechCorp is a leading provider of innovative technology solutions for businesses worldwide.", "location": "Cupertino, California", "headquarters": "US", "industry": "IT Services and IT Consulting", "specialties": "Cloud Computing, AI, Software Development", "website": "https://techcorp.com", "employeesCount": 500, "yearFounded": 2019, "jobsCount": 12 } } ``` > 💡 If you want to retrieve basic information about a company from **Sales Navigator**, use [`nv.openCompanyPage`](/docs/action-nv-open-company-page) action. ## Retrieving employees To retrieve company employees, you need to include [`st.retrieveCompanyEmployees`](/docs/action-st-retrieve-company-employees) action as a child of [`st.openCompanyPage`](/docs/action-st-open-company-page). Here's an example: **Workflow:** ```json tab=HTTP { "actionType": "st.openCompanyPage", "companyUrl": "https://www.linkedin.com/company/company1", "basicInfo": false, "then": [ { "actionType": "st.retrieveCompanyEmployees", "limit": 100, "filter": { "position": "Manager", "locations": ["New York", "San Francisco", "London"], "schools": ["Harvard University", "MIT"] } } ] } ``` ```typescript tab=Node const workflow = await linkedapi.fetchCompany.execute({ companyUrl: "https://www.linkedin.com/company/company1", retrieveEmployees: true, employeesRetrievalConfig: { limit: 100, filter: { position: "Manager", locations: ["New York", "San Francisco", "London"], schools: ["Harvard University", "MIT"] } } }); const { data, errors } = await linkedapi.fetchCompany.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import FetchCompanyParams workflow = linkedapi.fetch_company.execute( FetchCompanyParams( company_url="https://www.linkedin.com/company/company1", retrieve_employees=True, employees_retrieval_config={ "limit": 100, "filter": { "position": "Manager", "locations": ["New York", "San Francisco", "London"], "schools": ["Harvard University", "MIT"], }, }, ) ) result = linkedapi.fetch_company.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin company fetch \ https://www.linkedin.com/company/company1 \ --employees \ --employees-limit 100 \ --employees-position Manager \ --employees-locations "New York,San Francisco,London" \ --employees-schools "Harvard University,MIT" ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns its `data`, with the result of [`st.retrieveCompanyEmployees`](/docs/action-st-retrieve-company-employees) in `data.employees` instead of `then` and with basic information included: ::: :::surface cli **Completion** – with `--json` the CLI prints its `data`, with the result of [`st.retrieveCompanyEmployees`](/docs/action-st-retrieve-company-employees) in `data.employees` instead of `then` and with basic information included: ::: ```json { "actionType": "st.openCompanyPage", "success": true, "data": { "then": [ { "actionType": "st.retrieveCompanyEmployees", "success": true, "data": [ { "name": "John Doe", "urn": "urn:li:member:123456789", "publicUrl": "https://www.linkedin.com/in/johndoe", "headline": "Manager at TechCorp", "location": "New York, USA", "avatarUrl": "https://media.licdn.com/dms/image/v2/D5603AQE/profile-displayphoto-shrink_100_100/0/1700000000000", "viewerState": { "connectionDegree": "2nd" } }, { "name": "Jane Smith", "urn": null, "publicUrl": "https://www.linkedin.com/in/janesmith", "headline": "Software Engineer at TechCorp", "location": "San Francisco, USA", "avatarUrl": null, "viewerState": { "connectionDegree": "3rd+" } } ] } ] } } ``` > 💡 If you want to perform actions on the retrieved employees, use [`st.doForPeople`](/docs/action-st-do-for-people) action. > 💡 If you want to retrieve company employees from **Sales Navigator**, use the following actions: [`nv.openCompanyPage`](/docs/action-nv-open-company-page), [`nv.retrieveCompanyEmployees`](/docs/action-nv-retrieve-company-employees). ## Retrieving decision makers To retrieve company employees, you need to include [`st.retrieveCompanyDMs`](/docs/action-st-retrieve-company-dms) action as a child of [`st.openCompanyPage`](/docs/action-st-open-company-page). Here's an example: **Workflow:** ```json tab=HTTP { "actionType": "st.openCompanyPage", "companyUrl": "https://www.linkedin.com/company/company1", "basicInfo": false, "then": [ { "actionType": "st.retrieveCompanyEmployees", "limit": 100, "filter": { "position": "Manager", "locations": ["New York", "San Francisco", "London"], "schools": ["Harvard University", "MIT"] } }, { "actionType": "st.retrieveCompanyDMs", "limit": 3 } ] } ``` ```typescript tab=Node const workflow = await linkedapi.fetchCompany.execute({ companyUrl: "https://www.linkedin.com/company/company1", retrieveEmployees: true, employeesRetrievalConfig: { limit: 100, filter: { position: "Manager", locations: ["New York", "San Francisco", "London"], schools: ["Harvard University", "MIT"] } }, retrieveDMs: true, dmsRetrievalConfig: { limit: 3 } }); const { data, errors } = await linkedapi.fetchCompany.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import FetchCompanyParams workflow = linkedapi.fetch_company.execute( FetchCompanyParams( company_url="https://www.linkedin.com/company/company1", retrieve_employees=True, employees_retrieval_config={ "limit": 100, "filter": { "position": "Manager", "locations": ["New York", "San Francisco", "London"], "schools": ["Harvard University", "MIT"], }, }, retrieve_dms=True, dms_retrieval_config={"limit": 3}, ) ) result = linkedapi.fetch_company.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin company fetch \ https://www.linkedin.com/company/company1 \ --employees \ --dms \ --employees-limit 100 \ --employees-position Manager \ --employees-locations "New York,San Francisco,London" \ --employees-schools "Harvard University,MIT" \ --dms-limit 3 ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns its `data`, with the result of [`st.retrieveCompanyEmployees`](/docs/action-st-retrieve-company-employees) in `data.employees` and of [`st.retrieveCompanyDMs`](/docs/action-st-retrieve-company-dms) in `data.dms` instead of `then` and with basic information included: ::: :::surface cli **Completion** – with `--json` the CLI prints its `data`, with the result of [`st.retrieveCompanyEmployees`](/docs/action-st-retrieve-company-employees) in `data.employees` and of [`st.retrieveCompanyDMs`](/docs/action-st-retrieve-company-dms) in `data.dms` instead of `then` and with basic information included: ::: ```json { "actionType": "st.openCompanyPage", "success": true, "data": { "then": [ { "actionType": "st.retrieveCompanyEmployees", "success": true, "data": [ ... ] }, { "actionType": "st.retrieveCompanyDMs", "success": true, "data": [ { "name": "John Doe", "urn": "urn:li:member:123456789", "publicUrl": "https://www.linkedin.com/in/johndoe", "headline": "Founder of TechCorp", "location": "New York, USA", "avatarUrl": "https://media.licdn.com/dms/image/v2/D5603AQE/profile-displayphoto-shrink_100_100/0/1700000000000", "countryCode": "US", "viewerState": { "connectionDegree": "2nd" } }, { "name": "Jane Smith", "urn": null, "publicUrl": "https://www.linkedin.com/in/janesmith", "headline": "CEO at TechCorp", "location": "San Francisco, USA", "avatarUrl": null, "countryCode": "US", "viewerState": { "connectionDegree": "3rd+" } } ] } ] } } ``` > 💡 If you want to perform actions on the retrieved decision makers, use [`st.doForPeople`](/docs/action-st-do-for-people) action. > 💡 If you want to retrieve decision makers from **Sales Navigator**, use the following actions: [`nv.openCompanyPage`](/docs/action-nv-open-company-page), [`nv.retrieveCompanyDMs`](/docs/action-nv-retrieve-company-dms). ## Retrieving posts To retrieve posts published by a company, you need to include [`st.retrieveCompanyPosts`](/docs/action-st-retrieve-company-posts) action as a child of [`st.openCompanyPage`](/docs/action-st-open-company-page). Here's an example: **Workflow:** ```json tab=HTTP { "actionType": "st.openCompanyPage", "companyUrl": "https://www.linkedin.com/company/company1", "basicInfo": false, "then": [ { "actionType": "st.retrieveCompanyEmployees", "limit": 100, "filter": { "position": "Manager", "locations": ["New York", "San Francisco", "London"], "schools": ["Harvard University", "MIT"] } }, { "actionType": "st.retrieveCompanyDMs", "limit": 3 }, { "actionType": "st.retrieveCompanyPosts", "limit": 5, "since": "2025-01-01T00:00:00Z" } ] } ``` ```typescript tab=Node const workflow = await linkedapi.fetchCompany.execute({ companyUrl: "https://www.linkedin.com/company/company1", retrieveEmployees: true, employeesRetrievalConfig: { limit: 100, filter: { position: "Manager", locations: ["New York", "San Francisco", "London"], schools: ["Harvard University", "MIT"] } }, retrieveDMs: true, dmsRetrievalConfig: { limit: 3 }, retrievePosts: true, postsRetrievalConfig: { limit: 5, since: "2025-01-01T00:00:00Z" } }); const { data, errors } = await linkedapi.fetchCompany.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import FetchCompanyParams workflow = linkedapi.fetch_company.execute( FetchCompanyParams( company_url="https://www.linkedin.com/company/company1", retrieve_employees=True, employees_retrieval_config={ "limit": 100, "filter": { "position": "Manager", "locations": ["New York", "San Francisco", "London"], "schools": ["Harvard University", "MIT"], }, }, retrieve_dms=True, dms_retrieval_config={"limit": 3}, retrieve_posts=True, posts_retrieval_config={"limit": 5, "since": "2025-01-01T00:00:00Z"}, ) ) result = linkedapi.fetch_company.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin company fetch \ https://www.linkedin.com/company/company1 \ --employees \ --dms \ --posts \ --employees-limit 100 \ --employees-position Manager \ --employees-locations "New York,San Francisco,London" \ --employees-schools "Harvard University,MIT" \ --dms-limit 3 \ --posts-limit 5 \ --posts-since 2025-01-01T00:00:00Z ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns its `data`, with the result of [`st.retrieveCompanyEmployees`](/docs/action-st-retrieve-company-employees) in `data.employees`, of [`st.retrieveCompanyDMs`](/docs/action-st-retrieve-company-dms) in `data.dms` and of [`st.retrieveCompanyPosts`](/docs/action-st-retrieve-company-posts) in `data.posts` instead of `then` and with basic information included: ::: :::surface cli **Completion** – with `--json` the CLI prints its `data`, with the result of [`st.retrieveCompanyEmployees`](/docs/action-st-retrieve-company-employees) in `data.employees`, of [`st.retrieveCompanyDMs`](/docs/action-st-retrieve-company-dms) in `data.dms` and of [`st.retrieveCompanyPosts`](/docs/action-st-retrieve-company-posts) in `data.posts` instead of `then` and with basic information included: ::: ```json { "actionType": "st.openCompanyPage", "success": true, "data": { "then": [ { "actionType": "st.retrieveCompanyEmployees", "success": true, "data": [ ... ] }, { "actionType": "st.retrieveCompanyDMs", "success": true, "data": [ ... ] }, { "actionType": "st.retrieveCompanyPosts", "success": true, "data": [ { "url": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789", "activityUrn": "urn:li:activity:1234567890123456789", "time": "2023-01-02T12:30:00Z", "type": "original", "author": { "type": "company", "name": "Example Company", "urn": "urn:li:organization:1234567", "companyUrl": "https://www.linkedin.com/company/example-company" }, "reposter": null, "repostText": null, "text": "Check out our latest product launch!", "hashtags": ["product", "launch"], "mentions": [], "externalLinks": ["https://example.com/launch"], "images": [ "https://static.linkedin.com/image1.jpg", "https://static.linkedin.com/image2.jpg" ], "documentSlides": [], "hasVideo": false, "videoThumbnail": null, "hasPoll": false, "reactionsCount": 27, "commentsCount": 8, "repostsCount": 2, "viewerState": { "reaction": null, "isOwn": false } }, { "url": "https://www.linkedin.com/feed/update/urn:li:activity:2345678901234567890", "activityUrn": "urn:li:activity:2345678901234567890", "time": "2023-01-01T09:15:00Z", "type": "repost", "author": { "type": "person", "name": "Example Author", "urn": "urn:li:member:123456789", "profileUrl": "https://www.linkedin.com/in/example-author", "headline": null, "viewerState": { "connectionDegree": "2nd" } }, "reposter": { "type": "company", "name": "Example Company", "urn": "urn:li:organization:1234567", "companyUrl": "https://www.linkedin.com/company/example-company" }, "repostText": "Thank you to everyone who joined our webinar!", "text": "Original post content about the webinar", "hashtags": [], "mentions": [], "externalLinks": [], "images": [], "documentSlides": [], "hasVideo": true, "videoThumbnail": "https://media.licdn.com/dms/image/video-cover.jpg", "hasPoll": false, "reactionsCount": 6, "commentsCount": 0, "repostsCount": 1, "viewerState": { "reaction": null, "isOwn": false } } ] } ] } } ``` > 💡 If you want to perform actions on the retrieved posts, use [`st.doForPosts`](/docs/action-st-do-for-posts) action. > This page provides examples of [workflows](/docs/building-workflows) and their [completions](/docs/executing-workflows). For detailed documentation on constraints, parameters, and possible results of specific actions, always refer to the corresponding [action documentation pages](/docs/actions-overview). ## Searching for posts To search for posts in LinkedIn, you need to include [`st.searchPosts`](/docs/action-st-search-posts) action in your workflow. It runs LinkedIn's content search on your own account and returns the results as structured JSON. Here's an example: :::surface node Each example below has its Node SDK call in the Node tab, and the label over each completion says what that call returns. ::: :::surface python Each example below has its Python SDK call in the Python tab, and the label over each completion says what that call returns. ::: :::surface cli Each example below has its CLI command in the CLI tab, and the label over each completion says what the command prints. ::: **Workflow:** ```json tab=HTTP { "actionType": "st.searchPosts", "term": "climate tech", "limit": 2, "filter": { "sort": "latest", "datePosted": "pastWeek", "contentType": "images", "postedBy": ["peopleYouFollow"] } } ``` ```typescript tab=Node const workflow = await linkedapi.searchPosts.execute({ term: "climate tech", limit: 2, filter: { sort: "latest", datePosted: "pastWeek", contentType: "images", postedBy: ["peopleYouFollow"] } }); const { data, errors } = await linkedapi.searchPosts.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import SearchPostsParams workflow = linkedapi.search_posts.execute( SearchPostsParams( term="climate tech", limit=2, filter={ "sort": "latest", "date_posted": "pastWeek", "content_type": "images", "posted_by": ["peopleYouFollow"], }, ) ) result = linkedapi.search_posts.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin post search \ --term "climate tech" \ --limit 2 \ --sort latest \ --date-posted pastWeek \ --content-type images \ --posted-by peopleYouFollow ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns its `data` in `data`, and a failed action in `errors`: ::: :::surface cli **Completion** – with `--json` the CLI prints its `data` as `data`, or the action's `error`: ::: ```json { "actionType": "st.searchPosts", "success": true, "data": [ { "url": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789", "activityUrn": "urn:li:activity:1234567890123456789", "time": "2023-01-02T12:30:00Z", "type": "original", "author": { "type": "person", "name": "Example Person", "profileUrl": "https://www.linkedin.com/in/example-person", "headline": "Product Marketing Lead", "viewerState": { "connectionDegree": "2nd" } }, "reposter": null, "text": "Check out our latest product launch!", "repostText": null, "hashtags": ["product", "launch"], "mentions": ["https://www.linkedin.com/company/example-company"], "externalLinks": ["https://example.com/launch"], "images": ["https://static.linkedin.com/image1.jpg"], "documentSlides": [], "hasVideo": false, "videoThumbnail": null, "hasPoll": false, "reactionsCount": 27, "commentsCount": 8, "repostsCount": 12, "viewerState": { "reaction": "like", "isOwn": false } }, { "url": "https://www.linkedin.com/feed/update/urn:li:activity:2345678901234567890", "activityUrn": "urn:li:activity:2345678901234567890", "time": "2023-01-01T09:15:00Z", "type": "repost", "author": { "type": "company", "name": "Example Company", "companyUrl": "https://www.linkedin.com/company/example-company" }, "reposter": { "type": "person", "name": "Example Reposter", "profileUrl": "https://www.linkedin.com/in/example-reposter", "headline": null }, "text": "Original post content about the webinar.", "repostText": "A useful summary for anyone planning a launch.", "hashtags": [], "mentions": [], "externalLinks": [], "images": [], "documentSlides": [], "hasVideo": true, "videoThumbnail": "https://media.licdn.com/dms/image/video-cover.jpg", "hasPoll": false, "reactionsCount": 6, "commentsCount": 0, "repostsCount": 1, "viewerState": { "reaction": null, "isOwn": false } } ] } ``` ## Narrowing the search by a person or a company `fromMembers` and `fromCompanies` keep only posts published by the people or companies you list, `mentioningMembers` and `mentioningCompanies` keep only posts that mention them, and `authorCompanies` keeps only posts whose author works at them: **Workflow:** ```json tab=HTTP { "actionType": "st.searchPosts", "term": "climate tech", "limit": 5, "filter": { "fromMembers": [ "Bill Gates", { "name": "Example Person", "id": "urn:li:member:123456789" }, { "name": "Another Person", "id": "https://www.linkedin.com/in/another-person" } ], "mentioningCompanies": [ "Microsoft", { "name": "Example Company", "id": "https://www.linkedin.com/company/example-company" } ], "authorIndustries": ["Software Development"] } } ``` ```typescript tab=Node const workflow = await linkedapi.searchPosts.execute({ term: "climate tech", limit: 5, filter: { fromMembers: [ "Bill Gates", { name: "Example Person", id: "urn:li:member:123456789" }, { name: "Another Person", id: "https://www.linkedin.com/in/another-person" } ], mentioningCompanies: [ "Microsoft", { name: "Example Company", id: "https://www.linkedin.com/company/example-company" } ], authorIndustries: ["Software Development"] } }); const { data, errors } = await linkedapi.searchPosts.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import SearchPostsParams workflow = linkedapi.search_posts.execute( SearchPostsParams( term="climate tech", limit=5, filter={ "from_members": [ "Bill Gates", {"name": "Example Person", "id": "urn:li:member:123456789"}, { "name": "Another Person", "id": "https://www.linkedin.com/in/another-person", }, ], "mentioning_companies": [ "Microsoft", { "name": "Example Company", "id": "https://www.linkedin.com/company/example-company", }, ], "author_industries": ["Software Development"], }, ) ) result = linkedapi.search_posts.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin post search \ --term "climate tech" \ --limit 5 \ --author-industries "Software Development" \ --from-members "Bill Gates,Example Person:urn:li:member:123456789,Another Person:https://www.linkedin.com/in/another-person" \ --mentioning-companies "Microsoft,Example Company:https://www.linkedin.com/company/example-company" ``` Each entry is a name, or a name with an `id` – any identifier of the person or company: its URN or its LinkedIn URL, public or hashed. A name alone can match a namesake; with `id` the filter applies to exactly that person or company, and when it cannot, the action fails with [`filterNotApplied`](/docs/action-st-search-posts) rather than filtering by somebody else. ## How many posts come back `limit` defaults to **10** and accepts up to **100**, or up to **20** when child actions are attached. A value above the applicable maximum is rejected when the workflow is submitted. A search may return fewer posts than `limit`, because how many results come back depends on what LinkedIn loads for that account on that search. LinkedIn widens a narrow query on its own and returns loosely related posts, so a non-empty result does not mean your `term` matched. Check the returned posts against your own criteria when an exact match matters. > 💡 If you want to perform actions on posts from search results, use [`st.doForPosts`](/docs/action-st-do-for-posts) action. Search results carry no `urn` on their `author` and `reposter` – nest [`st.openPost`](/docs/action-st-open-post) under it when you need one. > This page provides examples of [workflows](/docs/building-workflows) and their [completions](/docs/executing-workflows). For detailed documentation on constraints, parameters, and possible results of specific actions, always refer to the corresponding [action documentation pages](/docs/actions-overview). ## Publishing posts This page describes how to create workflows for publishing posts, reposting, and mentioning people and companies in post text. :::surface node Each example below has its Node SDK call in the Node tab, and the label over each completion says what that call returns. ::: :::surface python Each example below has its Python SDK call in the Python tab, and the label over each completion says what that call returns. ::: :::surface cli Each example below has its CLI command in the CLI tab, and the label over each completion says what the command prints. ::: ## Creating a post To publish a post, you need to include [`st.createPost`](/docs/action-st-create-post) action in your workflow. Here's an example: **Workflow:** ```json tab=HTTP { "actionType": "st.createPost", "text": "We shipped our new onboarding flow this week." } ``` ```typescript tab=Node const workflow = await linkedapi.createPost.execute({ text: "We shipped our new onboarding flow this week." }); const { data, errors } = await linkedapi.createPost.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import CreatePostParams workflow = linkedapi.create_post.execute( CreatePostParams( text="We shipped our new onboarding flow this week.", ) ) result = linkedapi.create_post.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin post create "We shipped our new onboarding flow this week." ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns its `data` in `data`, and a failed action in `errors`: ::: :::surface cli **Completion** – with `--json` the CLI prints its `data` as `data`, or the action's `error`: ::: ```json { "actionType": "st.createPost", "success": true, "data": { "postUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789", "postUrn": "urn:li:activity:1234567890123456789" } } ``` ## Reposting To repost an existing post, you need to include [`st.createRepost`](/docs/action-st-create-repost) action in your workflow. Without `text` the post is reposted as is; with `text` your commentary is published above it. Here's an example: **Workflow:** ```json tab=HTTP { "actionType": "st.createRepost", "postUrl": "https://www.linkedin.com/posts/post1", "text": "Worth reading, especially the part on onboarding." } ``` ```typescript tab=Node const workflow = await linkedapi.createRepost.execute({ postUrl: "https://www.linkedin.com/posts/post1", text: "Worth reading, especially the part on onboarding." }); const { data, errors } = await linkedapi.createRepost.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import CreateRepostParams workflow = linkedapi.create_repost.execute( CreateRepostParams( post_url="https://www.linkedin.com/posts/post1", text="Worth reading, especially the part on onboarding.", ) ) result = linkedapi.create_repost.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin post repost https://www.linkedin.com/posts/post1 \ --text "Worth reading, especially the part on onboarding." ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns its `data` in `data`, and a failed action in `errors`: ::: :::surface cli **Completion** – with `--json` the CLI prints its `data` as `data`, or the action's `error`: ::: ```json { "actionType": "st.createRepost", "success": true, "data": { "postUrl": "https://www.linkedin.com/feed/update/urn:li:activity:2345678901234567890", "postUrn": "urn:li:activity:2345678901234567890" } } ``` The returned identifiers belong to the repost itself, which is a post of your own account. They are what you pass to further post actions if you want to engage with the repost rather than with the original. > `postUrl` and `postUrn` are `null` when the repost was published but LinkedIn did not return its address. Do not retry: the repost is already live. > `alreadyReposted` is returned only when LinkedIn refuses an instant repost (one without `text`). LinkedIn does not always refuse a repeat repost: a repost of your own post, or a repost with commentary, can be published again. Keep track of what you have already reposted instead of relying on this error. Reposts count toward the same posting limit as [`st.createPost`](/docs/action-st-create-post). ## Mentions Both [`st.createPost`](/docs/action-st-create-post) and [`st.createRepost`](/docs/action-st-create-repost) accept a `mentions` array. Each item binds a placeholder in the text to one person or company: write `@[key]` where the mention should appear, and describe that `key` in `mentions`. Here's an example: **Workflow:** ```json tab=HTTP { "actionType": "st.createPost", "text": "Huge thanks to @[author] and everyone at @[company] for the launch.", "mentions": [ { "key": "author", "name": "Example Person", "personHashedUrl": "https://www.linkedin.com/in/ACwAAAxxxxxxxxx" }, { "key": "company", "name": "Example Company", "urn": "urn:li:organization:1234567" } ] } ``` ```typescript tab=Node const workflow = await linkedapi.createPost.execute({ text: "Huge thanks to @[author] and everyone at @[company] for the launch.", mentions: [ { key: "author", name: "Example Person", personHashedUrl: "https://www.linkedin.com/in/ACwAAAxxxxxxxxx" }, { key: "company", name: "Example Company", urn: "urn:li:organization:1234567" } ] }); const { data, errors } = await linkedapi.createPost.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import CreatePostParams workflow = linkedapi.create_post.execute( CreatePostParams( text="Huge thanks to @[author] and everyone at @[company] for the launch.", mentions=[ { "key": "author", "name": "Example Person", "person_hashed_url": "https://www.linkedin.com/in/ACwAAAxxxxxxxxx", }, { "key": "company", "name": "Example Company", "urn": "urn:li:organization:1234567", }, ], ) ) result = linkedapi.create_post.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin post create \ "Huge thanks to @[author] and everyone at @[company] for the launch." \ --mention "author:Example Person:https://www.linkedin.com/in/ACwAAAxxxxxxxxx" \ --mention "company:Example Company:urn:li:organization:1234567" ``` Each item accepts: - `key` (required) – the placeholder name used in the text as `@[key]`. From 1 to 30 characters: letters, digits, `_` or `-`. - `name` (required) – the name to find the person or company by, from 1 to 100 characters. - `urn` (optional) – [URN](/docs/data-conventions#linkedin-urns) of the entity: `urn:li:member:` for a person, `urn:li:organization:` for a company. - `personHashedUrl` (optional) – hashed LinkedIn profile URL of the person. - `companyHashedUrl` (optional) – hashed LinkedIn company page URL. Provide at most one of `urn`, `personHashedUrl` and `companyHashedUrl`. The workflow is rejected before anything is published when: - more than **20** mentions are supplied; - the text refers to a `@[key]` that is not among the mentions; - a mention is supplied whose `@[key]` does not appear in the text; - two mentions share the same `key`. > `name` is required even when you provide an identifier, because LinkedIn resolves a mention through its own name suggestions. The identifier decides which of the offered namesakes is taken; without one, the first suggestion LinkedIn ranks is used, which is not guaranteed to be the person or company you meant. If none of the suggestions match, the action fails with `mentionNotResolved` and nothing is published. > The published mention shows LinkedIn's own name for the entity, which may differ from the `name` you sent. ## Addressing a post by URN Post actions accept `postUrn` instead of `postUrl`, so identifiers returned by one action can be passed straight into the next without building a URL. This works for [`st.openPost`](/docs/action-st-open-post), [`st.createRepost`](/docs/action-st-create-repost), [`st.reactToPost`](/docs/action-st-react-to-post), [`st.commentOnPost`](/docs/action-st-comment-on-post), [`st.retrievePostComments`](/docs/action-st-retrieve-post-comments) and [`st.retrievePostReactions`](/docs/action-st-retrieve-post-reactions). Here's an example: **Workflow:** ```json tab=HTTP { "actionType": "st.reactToPost", "postUrn": "urn:li:activity:1234567890123456789", "type": "like" } ``` ```typescript tab=Node const workflow = await linkedapi.reactToPost.execute({ postUrn: "urn:li:activity:1234567890123456789", type: "like" }); const { errors } = await linkedapi.reactToPost.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import ReactToPostParams workflow = linkedapi.react_to_post.execute( ReactToPostParams( post_urn="urn:li:activity:1234567890123456789", type="like", ) ) result = linkedapi.react_to_post.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin post react urn:li:activity:1234567890123456789 --type like ``` Provide one of the two. If you provide both, the URL must contain that same URN, otherwise the workflow is rejected. ## Publishing and engaging in one workflow [`st.createPost`](/docs/action-st-create-post) accepts [`st.openPost`](/docs/action-st-open-post) as a child action, which lets you act on the post you have just published. Here's an example that publishes a post and leaves the first comment under it: **Workflow:** ```json tab=HTTP { "actionType": "st.createPost", "text": "We shipped our new onboarding flow this week.", "then": { "actionType": "st.openPost", "basicInfo": false, "then": { "actionType": "st.commentOnPost", "text": "Details and screenshots in the comments below." } } } ``` ```typescript tab=Node const workflow = await linkedapi.customWorkflow.execute({ actionType: "st.createPost", text: "We shipped our new onboarding flow this week.", then: { actionType: "st.openPost", basicInfo: false, then: { actionType: "st.commentOnPost", text: "Details and screenshots in the comments below." } } }); const { data, errors } = await linkedapi.customWorkflow.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.custom_workflow.execute( { "actionType": "st.createPost", "text": "We shipped our new onboarding flow this week.", "then": { "actionType": "st.openPost", "basicInfo": False, "then": { "actionType": "st.commentOnPost", "text": "Details and screenshots in the comments below.", }, }, } ) result = linkedapi.custom_workflow.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin workflow run <<'EOF' { "actionType": "st.createPost", "text": "We shipped our new onboarding flow this week.", "then": { "actionType": "st.openPost", "basicInfo": false, "then": { "actionType": "st.commentOnPost", "text": "Details and screenshots in the comments below." } } } EOF ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns this whole completion in `data`: ::: :::surface cli **Completion** – `linkedin workflow run` prints this whole completion as `data`: ::: ```json { "actionType": "st.createPost", "success": true, "data": { "postUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789", "postUrn": "urn:li:activity:1234567890123456789", "then": { "actionType": "st.openPost", "success": true, "data": { "then": { "actionType": "st.commentOnPost", "success": true, "data": { "commentUrn": "urn:li:comment:(urn:li:activity:1234567890123456789,1122334455)", "commentUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(1122334455%2Curn%3Ali%3Aactivity%3A1234567890123456789)" } } } } } } ``` > `postUrl` and `postUrn` are `null` when the post was published but LinkedIn did not return its address. In that case the child actions in `then` did not run, so the comment above would not be left. Do not retry: the post is already live. > This page provides examples of [workflows](/docs/building-workflows) and their [completions](/docs/executing-workflows). For detailed documentation on constraints, parameters, and possible results of specific actions, always refer to the corresponding [action documentation pages](/docs/actions-overview). ## Reacting and commenting This page describes how to create workflows for reacting and commenting on LinkedIn posts. :::surface node Each example below has its Node SDK call in the Node tab, and the label over each completion says what that call returns. ::: :::surface python Each example below has its Python SDK call in the Python tab, and the label over each completion says what that call returns. ::: :::surface cli Each example below has its CLI command in the CLI tab, and the label over each completion says what the command prints. ::: ## Reacting to post To react to a post, you need to include [`st.reactToPost`](/docs/action-st-react-to-post) action in your workflow. Here's an example: **Workflow:** ```json tab=HTTP { "actionType": "st.reactToPost", "postUrl": "https://www.linkedin.com/posts/post1", "type": "like" } ``` ```typescript tab=Node const workflow = await linkedapi.reactToPost.execute({ postUrl: "https://www.linkedin.com/posts/post1", type: "like" }); const { errors } = await linkedapi.reactToPost.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import ReactToPostParams workflow = linkedapi.react_to_post.execute( ReactToPostParams( post_url="https://www.linkedin.com/posts/post1", type="like", ) ) result = linkedapi.react_to_post.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin post react https://www.linkedin.com/posts/post1 --type like ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – the method returns no `data`; a failed action comes back in `errors`: ::: :::surface cli **Completion** – with `--json` the CLI prints `{"success": true, "data": null}`, or the action's `error`: ::: ```json { "actionType": "st.reactToPost", "success": true } ``` ## Commenting on post To comment on a post, you need to include [`st.commentOnPost`](/docs/action-st-comment-on-post) action in your workflow. Here's an example: **Workflow:** ```json tab=HTTP { "actionType": "st.commentOnPost", "postUrl": "https://www.linkedin.com/posts/post1", "text": "I completely agree with your point." } ``` ```typescript tab=Node const workflow = await linkedapi.commentOnPost.execute({ postUrl: "https://www.linkedin.com/posts/post1", text: "I completely agree with your point." }); const { data, errors } = await linkedapi.commentOnPost.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import CommentOnPostParams workflow = linkedapi.comment_on_post.execute( CommentOnPostParams( post_url="https://www.linkedin.com/posts/post1", text="I completely agree with your point.", ) ) result = linkedapi.comment_on_post.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin post comment \ https://www.linkedin.com/posts/post1 \ "I completely agree with your point." ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns its `data` in `data`, and a failed action in `errors`: ::: :::surface cli **Completion** – with `--json` the CLI prints its `data` as `data`, or the action's `error`: ::: ```json { "actionType": "st.commentOnPost", "success": true } ``` ## Reacting + commenting To react and comment on the same post, you need to include [`st.reactToPost`](/docs/action-st-react-to-post) and [`st.commentOnPost`](/docs/action-st-comment-on-post) as child actions of [`st.openPost`](/docs/action-st-open-post) action. Here's an example: **Workflow:** ```json tab=HTTP { "actionType": "st.openPost", "postUrl": "https://www.linkedin.com/posts/post1", "basicInfo": false, "then": [ { "actionType": "st.reactToPost", "type": "like" }, { "actionType": "st.commentOnPost", "text": "I completely agree with your point." } ] } ``` ```typescript tab=Node const workflow = await linkedapi.customWorkflow.execute({ actionType: "st.openPost", postUrl: "https://www.linkedin.com/posts/post1", basicInfo: false, then: [ { actionType: "st.reactToPost", type: "like" }, { actionType: "st.commentOnPost", text: "I completely agree with your point." } ] }); const { data, errors } = await linkedapi.customWorkflow.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.custom_workflow.execute( { "actionType": "st.openPost", "postUrl": "https://www.linkedin.com/posts/post1", "basicInfo": False, "then": [ {"actionType": "st.reactToPost", "type": "like"}, { "actionType": "st.commentOnPost", "text": "I completely agree with your point.", }, ], } ) result = linkedapi.custom_workflow.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin workflow run <<'EOF' { "actionType": "st.openPost", "postUrl": "https://www.linkedin.com/posts/post1", "basicInfo": false, "then": [ { "actionType": "st.reactToPost", "type": "like" }, { "actionType": "st.commentOnPost", "text": "I completely agree with your point." } ] } EOF ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns this whole completion in `data`: ::: :::surface cli **Completion** – `linkedin workflow run` prints this whole completion as `data`: ::: ```json { "actionType": "st.openPost", "success": true, "data": { "then": [ { "actionType": "st.reactToPost", "success": true }, { "actionType": "st.commentOnPost", "success": true } ] } } ``` ## Reacting to a comment To react to a comment, you need to include [`st.reactToComment`](/docs/action-st-react-to-comment) action in your workflow. It accepts a `commentUrl`, which you can obtain from the `commentUrl` field returned by [`st.commentOnPost`](/docs/action-st-comment-on-post), [`st.replyToComment`](/docs/action-st-reply-to-comment), or [`st.retrievePostComments`](/docs/action-st-retrieve-post-comments). Here's an example: **Workflow:** ```json tab=HTTP { "actionType": "st.reactToComment", "commentUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543210%2Curn%3Ali%3Aactivity%3A1234567890123456789)", "type": "like" } ``` ```typescript tab=Node const workflow = await linkedapi.reactToComment.execute({ commentUrl: "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543210%2Curn%3Ali%3Aactivity%3A1234567890123456789)", type: "like" }); const { errors } = await linkedapi.reactToComment.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import ReactToCommentParams workflow = linkedapi.react_to_comment.execute( ReactToCommentParams( comment_url="https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543210%2Curn%3Ali%3Aactivity%3A1234567890123456789)", type="like", ) ) result = linkedapi.react_to_comment.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin comment react \ "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543210%2Curn%3Ali%3Aactivity%3A1234567890123456789)" \ --type like ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – the method returns no `data`; a failed action comes back in `errors`: ::: :::surface cli **Completion** – with `--json` the CLI prints `{"success": true, "data": null}`, or the action's `error`: ::: ```json { "actionType": "st.reactToComment", "success": true } ``` ## Replying to a comment To reply to a comment, you need to include [`st.replyToComment`](/docs/action-st-reply-to-comment) action in your workflow. It returns the `commentUrn` and `commentUrl` of the created reply. Here's an example: **Workflow:** ```json tab=HTTP { "actionType": "st.replyToComment", "commentUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543210%2Curn%3Ali%3Aactivity%3A1234567890123456789)", "text": "Thanks for sharing your thoughts!" } ``` ```typescript tab=Node const workflow = await linkedapi.replyToComment.execute({ commentUrl: "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543210%2Curn%3Ali%3Aactivity%3A1234567890123456789)", text: "Thanks for sharing your thoughts!" }); const { data, errors } = await linkedapi.replyToComment.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import ReplyToCommentParams workflow = linkedapi.reply_to_comment.execute( ReplyToCommentParams( comment_url="https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543210%2Curn%3Ali%3Aactivity%3A1234567890123456789)", text="Thanks for sharing your thoughts!", ) ) result = linkedapi.reply_to_comment.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin comment reply \ "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543210%2Curn%3Ali%3Aactivity%3A1234567890123456789)" \ 'Thanks for sharing your thoughts!' ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns its `data` in `data`, and a failed action in `errors`: ::: :::surface cli **Completion** – with `--json` the CLI prints its `data` as `data`, or the action's `error`: ::: ```json { "actionType": "st.replyToComment", "success": true, "data": { "commentUrn": "urn:li:comment:(urn:li:activity:1234567890123456789,1122334455)", "commentUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(1122334455%2Curn%3Ali%3Aactivity%3A1234567890123456789)" } } ``` ## Engaging with all comments on a post To react to or reply to every comment on a post without knowing their URLs upfront, retrieve the comments with [`st.retrievePostComments`](/docs/action-st-retrieve-post-comments) and iterate over them with [`st.doForComments`](/docs/action-st-do-for-comments). Each iterated comment can either react/reply directly, or open first with [`st.openComment`](/docs/action-st-open-comment) to run several comment-scoped actions. Here's an example that likes and replies to each of the 3 most relevant comments: **Workflow:** ```json tab=HTTP { "actionType": "st.retrievePostComments", "postUrl": "https://www.linkedin.com/posts/post1", "limit": 3, "sort": "mostRelevant", "then": { "actionType": "st.doForComments", "then": { "actionType": "st.openComment", "then": [ { "actionType": "st.reactToComment", "type": "celebrate" }, { "actionType": "st.replyToComment", "text": "Great point, thanks for sharing!" } ] } } } ``` ```typescript tab=Node const workflow = await linkedapi.customWorkflow.execute({ actionType: "st.retrievePostComments", postUrl: "https://www.linkedin.com/posts/post1", limit: 3, sort: "mostRelevant", then: { actionType: "st.doForComments", then: { actionType: "st.openComment", then: [ { actionType: "st.reactToComment", type: "celebrate" }, { actionType: "st.replyToComment", text: "Great point, thanks for sharing!" } ] } } }); const { data, errors } = await linkedapi.customWorkflow.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.custom_workflow.execute( { "actionType": "st.retrievePostComments", "postUrl": "https://www.linkedin.com/posts/post1", "limit": 3, "sort": "mostRelevant", "then": { "actionType": "st.doForComments", "then": { "actionType": "st.openComment", "then": [ {"actionType": "st.reactToComment", "type": "celebrate"}, { "actionType": "st.replyToComment", "text": "Great point, thanks for sharing!", }, ], }, }, } ) result = linkedapi.custom_workflow.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin workflow run <<'EOF' { "actionType": "st.retrievePostComments", "postUrl": "https://www.linkedin.com/posts/post1", "limit": 3, "sort": "mostRelevant", "then": { "actionType": "st.doForComments", "then": { "actionType": "st.openComment", "then": [ { "actionType": "st.reactToComment", "type": "celebrate" }, { "actionType": "st.replyToComment", "text": "Great point, thanks for sharing!" } ] } } } EOF ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns this whole completion in `data`: ::: :::surface cli **Completion** – `linkedin workflow run` prints this whole completion as `data`: ::: ```json { "actionType": "st.retrievePostComments", "success": true, "data": [ { ... "then": { "actionType": "st.openComment", "success": true, "data": { "commentUrn": "urn:li:comment:(urn:li:activity:1234567890123456789,9876543210)", "commentUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543210%2Curn%3Ali%3Aactivity%3A1234567890123456789)", "then": [ { "actionType": "st.reactToComment", "success": true }, { "actionType": "st.replyToComment", "success": true, "data": { "commentUrn": "urn:li:comment:(urn:li:activity:1234567890123456789,1122334455)", "commentUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(1122334455%2Curn%3Ali%3Aactivity%3A1234567890123456789)" } } ] } } } ] } ``` > This page provides examples of [workflows](/docs/building-workflows) and their [completions](/docs/executing-workflows). For detailed documentation on constraints, parameters, and possible results of specific actions, always refer to the corresponding [action documentation pages](/docs/actions-overview). ## Retrieving post data To retrieve LinkedIn post data, include the [`st.openPost`](/docs/action-st-open-post) action in your workflow and set `basicInfo` to `true`. Here's an example: :::surface node Each example below has its Node SDK call in the Node tab, and the label over each completion says what that call returns. ::: :::surface python Each example below has its Python SDK call in the Python tab, and the label over each completion says what that call returns. ::: :::surface cli Each example below has its CLI command in the CLI tab, and the label over each completion says what the command prints. ::: **Workflow:** ```json tab=HTTP { "actionType": "st.openPost", "postUrl": "https://www.linkedin.com/posts/post1", "basicInfo": true } ``` ```typescript tab=Node const workflow = await linkedapi.fetchPost.execute({ postUrl: "https://www.linkedin.com/posts/post1" }); const { data, errors } = await linkedapi.fetchPost.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import FetchPostParams workflow = linkedapi.fetch_post.execute( FetchPostParams( post_url="https://www.linkedin.com/posts/post1", ) ) result = linkedapi.fetch_post.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin post fetch https://www.linkedin.com/posts/post1 ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns its `data` in `data`, and a failed action in `errors`: ::: :::surface cli **Completion** – with `--json` the CLI prints its `data` as `data`, or the action's `error`: ::: ```json { "actionType": "st.openPost", "success": true, "data": { "url": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789", "activityUrn": "urn:li:activity:1234567890123456789", "time": "2023-01-02T12:30:00Z", "type": "original", "author": { "type": "person", "name": "Example Person", "urn": "urn:li:member:123456789", "profileUrl": "https://www.linkedin.com/in/example-person", "headline": "Product Marketing Lead", "viewerState": { "connectionDegree": "2nd" } }, "reposter": null, "text": "Check out our latest product launch!", "repostText": null, "hashtags": ["product", "launch"], "mentions": ["https://www.linkedin.com/company/example-company"], "externalLinks": ["https://example.com/launch"], "images": [ "https://static.linkedin.com/image1.jpg", "https://static.linkedin.com/image2.jpg" ], "documentSlides": [], "hasVideo": false, "videoThumbnail": null, "hasPoll": false, "reactionsCount": 27, "commentsCount": 8, "repostsCount": 12, "viewerState": { "reaction": null, "isOwn": false } } } ``` > 💡 If you want to react or comment on the opened post, use the following actions as children: [st.reactToPost](/docs/action-st-react-to-post), [st.commentOnPost](/docs/action-st-comment-on-post). > This page provides examples of [workflows](/docs/building-workflows) and their [completions](/docs/executing-workflows). For detailed documentation on constraints, parameters, and possible results of specific actions, always refer to the corresponding [action documentation pages](/docs/actions-overview). ## Searching for jobs To search for jobs in LinkedIn, include the [`st.searchJobs`](/docs/action-st-search-jobs) action in your workflow. Here's an example: :::surface node Each example below has its Node SDK call in the Node tab, and the label over each completion says what that call returns. ::: :::surface python Each example below has its Python SDK call in the Python tab, and the label over each completion says what that call returns. ::: :::surface cli Each example below has its CLI command in the CLI tab, and the label over each completion says what the command prints. ::: For the bigger picture – why there is no public LinkedIn jobs API and how this account-based route compares with scraping APIs and datasets – see the [LinkedIn Jobs API guide](/guides/linkedin-jobs-scraper). **Workflow:** ```json tab=HTTP { "actionType": "st.searchJobs", "term": "product manager", "limit": 2, "location": "San Francisco, California, United States", "filter": { "datePosted": "pastWeek", "experienceLevels": ["midSeniorLevel", "director"], "employmentTypes": ["fullTime"], "workplaceTypes": ["remote", "hybrid"], "easyApply": true } } ``` ```typescript tab=Node const workflow = await linkedapi.searchJobs.execute({ term: "product manager", limit: 2, location: "San Francisco, California, United States", filter: { datePosted: "pastWeek", experienceLevels: ["midSeniorLevel", "director"], employmentTypes: ["fullTime"], workplaceTypes: ["remote", "hybrid"], easyApply: true } }); const { data, errors } = await linkedapi.searchJobs.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import SearchJobsParams workflow = linkedapi.search_jobs.execute( SearchJobsParams( term="product manager", limit=2, location="San Francisco, California, United States", filter={ "date_posted": "pastWeek", "experience_levels": ["midSeniorLevel", "director"], "employment_types": ["fullTime"], "workplace_types": ["remote", "hybrid"], "easy_apply": True, }, ) ) result = linkedapi.search_jobs.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin jobs search \ --term "product manager" \ --limit 2 \ --location "San Francisco, California, United States" \ --date-posted pastWeek \ --experience-levels midSeniorLevel,director \ --employment-types fullTime \ --workplace-types remote,hybrid \ --easy-apply ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns its `data` in `data`, and a failed action in `errors`: ::: :::surface cli **Completion** – with `--json` the CLI prints its `data` as `data`, or the action's `error`: ::: ```json { "actionType": "st.searchJobs", "success": true, "data": [ { "jobId": "4416248954", "urn": "urn:li:jobPosting:4416248954", "jobUrl": "https://www.linkedin.com/jobs/view/4416248954/", "title": "Senior Product Manager", "companyName": "Example Company", "location": "San Francisco, CA", "workplaceType": "remote", "salary": { "currency": "usd", "minAmount": 140000, "maxAmount": 180000, "period": "yearly" }, "easyApply": true, "isPromoted": false, "isSimilarMatch": false }, { "jobId": "4427334841", "urn": "urn:li:jobPosting:4427334841", "jobUrl": "https://www.linkedin.com/jobs/view/4427334841/", "title": "Director of Product", "companyName": "Another Company", "location": "New York, NY", "workplaceType": "hybrid", "salary": null, "easyApply": false, "isPromoted": true, "isSimilarMatch": false } ] } ``` LinkedIn is rolling out an AI-powered jobs search alongside the classic one. Which version an account has is decided by LinkedIn, not by you, and it can change over time. The two versions do not offer the same refinements, so `st.searchJobs` accepts one of two objects: | | `filter` | `preferences` | | --- | --- | --- | | Search version | Classic | AI-powered | | Behavior | Every specified field is applied, or the action fails | Each specified field is applied when LinkedIn offers it for the search | | Coverage | All filters | Fewer filters, plus free-form `keywords` | Send one of them, never both. `location` and `allowSimilarResults` stay outside of them, since they work on both versions. The same request usually works whatever version the account has. When the criteria you sent cannot be applied by the version it has, the action fails with [`searchInterfaceMismatch`](/docs/action-st-search-jobs). Handle it as a normal condition rather than picking an object once and hardcoding it. Here's a search written for the AI-powered version: **Workflow:** ```json tab=HTTP { "actionType": "st.searchJobs", "term": "product manager", "limit": 2, "location": "San Francisco, California, United States", "preferences": { "datePosted": "pastWeek", "experienceLevels": ["senior", "director"], "employmentTypes": ["fullTime"], "remote": true, "keywords": ["Fintech"] } } ``` ```typescript tab=Node const workflow = await linkedapi.searchJobs.execute({ term: "product manager", limit: 2, location: "San Francisco, California, United States", preferences: { datePosted: "pastWeek", experienceLevels: ["senior", "director"], employmentTypes: ["fullTime"], remote: true, keywords: ["Fintech"] } }); const { data, errors } = await linkedapi.searchJobs.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import SearchJobsParams workflow = linkedapi.search_jobs.execute( SearchJobsParams( term="product manager", limit=2, location="San Francisco, California, United States", preferences={ "date_posted": "pastWeek", "experience_levels": ["senior", "director"], "employment_types": ["fullTime"], "remote": True, "keywords": ["Fintech"], }, ) ) result = linkedapi.search_jobs.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin jobs search \ --term "product manager" \ --limit 2 \ --location "San Francisco, California, United States" \ --pref-date-posted pastWeek \ --pref-experience-levels senior,director \ --pref-employment-types fullTime \ --pref-remote \ --pref-keywords Fintech ``` The AI-powered version also decides how strictly to match. When it finds few exact matches, it appends near matches below them, and those come back with `isSimilarMatch` set to `true`. Set `allowSimilarResults` to `false` to exclude them. > 💡 If you want to retrieve full details for each job from the search results, use [`st.doForJobs`](/docs/action-st-do-for-jobs) with [`st.openJob`](/docs/action-st-open-job). > This page provides examples of [workflows](/docs/building-workflows) and their [completions](/docs/executing-workflows). For detailed documentation on constraints, parameters, and possible results of specific actions, always refer to the corresponding [action documentation pages](/docs/actions-overview). ## Retrieving job data To retrieve LinkedIn job data, include the [`st.openJob`](/docs/action-st-open-job) action in your workflow and set `basicInfo` to `true`. Here's an example: :::surface node Each example below has its Node SDK call in the Node tab, and the label over each completion says what that call returns. ::: :::surface python Each example below has its Python SDK call in the Python tab, and the label over each completion says what that call returns. ::: :::surface cli Each example below has its CLI command in the CLI tab, and the label over each completion says what the command prints. ::: For the bigger picture – why there is no public LinkedIn jobs API and how this account-based route compares with scraping APIs and datasets – see the [LinkedIn Jobs API guide](/guides/linkedin-jobs-scraper). **Workflow:** ```json tab=HTTP { "actionType": "st.openJob", "jobUrl": "https://www.linkedin.com/jobs/view/4416248954/", "basicInfo": true } ``` ```typescript tab=Node const workflow = await linkedapi.fetchJob.execute({ jobUrl: "https://www.linkedin.com/jobs/view/4416248954/" }); const { data, errors } = await linkedapi.fetchJob.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import FetchJobParams workflow = linkedapi.fetch_job.execute( FetchJobParams( job_url="https://www.linkedin.com/jobs/view/4416248954/", ) ) result = linkedapi.fetch_job.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin jobs fetch https://www.linkedin.com/jobs/view/4416248954/ ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns its `data` in `data`, and a failed action in `errors`: ::: :::surface cli **Completion** – with `--json` the CLI prints its `data` as `data`, or the action's `error`: ::: ```json { "actionType": "st.openJob", "success": true, "data": { "jobId": "4416248954", "urn": "urn:li:jobPosting:4416248954", "jobUrl": "https://www.linkedin.com/jobs/view/4416248954/", "title": "Senior Product Manager", "companyName": "Example Company", "companyUrl": "https://www.linkedin.com/company/example-company", "location": "San Francisco, CA", "postedDate": "1w", "applicantsCount": 84, "workplaceType": "remote", "employmentType": "Full-time", "salary": { "currency": "usd", "minAmount": 140000, "maxAmount": 180000, "period": "yearly" }, "description": "Example job description text.", "applyUrl": "https://www.linkedin.com/jobs/view/4416248954/apply/", "easyApply": true } } ``` > 💡 If you want to find jobs to retrieve, use [`st.searchJobs`](/docs/action-st-search-jobs) action. > This page provides examples of [workflows](/docs/building-workflows) and their [completions](/docs/executing-workflows). For detailed documentation on constraints, parameters, and possible results of specific actions, always refer to the corresponding [action documentation pages](/docs/actions-overview). ## Retrieving SSI, performance This page describes how to create workflows for retrieving your current [SSI](/guides/linkedin-social-selling-index) and performance analytics from your [LinkedIn dashboard](https://www.linkedin.com/dashboard/). :::surface node Each example below has its Node SDK call in the Node tab, and the label over each completion says what that call returns. ::: :::surface python Each example below has its Python SDK call in the Python tab, and the label over each completion says what that call returns. ::: :::surface cli Each example below has its CLI command in the CLI tab, and the label over each completion says what the command prints. ::: ## Retrieving current SSI To retrieve your current SSI, you need to include [`st.retrieveSSI`](/docs/action-st-retrieve-ssi) action in your workflow. Here's an example: **Workflow:** ```json tab=HTTP { "actionType": "st.retrieveSSI" } ``` ```typescript tab=Node const workflow = await linkedapi.retrieveSSI.execute(); const { data, errors } = await linkedapi.retrieveSSI.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.retrieve_ssi.execute() result = linkedapi.retrieve_ssi.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin stats ssi ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns its `data` in `data`, and a failed action in `errors`: ::: :::surface cli **Completion** – with `--json` the CLI prints its `data` as `data`, or the action's `error`: ::: ```json { "actionType": "st.retrieveSSI", "success": true, "data": { "ssi": 78, "industryTop": 15, "networkTop": 10 } } ``` ## Retrieving performance To retrieve performance analytics from your [LinkedIn dashboard](https://www.linkedin.com/dashboard/), you need to include [`st.retrievePerformance`](/docs/action-st-retrieve-performance) action in your workflow. Here's an example: **Workflow:** ```json tab=HTTP { "actionType": "st.retrievePerformance" } ``` ```typescript tab=Node const workflow = await linkedapi.retrievePerformance.execute(); const { data, errors } = await linkedapi.retrievePerformance.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.retrieve_performance.execute() result = linkedapi.retrieve_performance.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin stats performance ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns its `data` in `data`, and a failed action in `errors`: ::: :::surface cli **Completion** – with `--json` the CLI prints its `data` as `data`, or the action's `error`: ::: ```json { "actionType": "st.retrievePerformance", "success": true, "data": { "followersCount": 1250, "postViewsLast7Days": 523, "profileViewsLast90Days": 342, "searchAppearancesPreviousWeek": 89 } } ``` > This page provides examples of [workflows](/docs/building-workflows) and their [completions](/docs/executing-workflows). For detailed documentation on constraints, parameters, and possible results of specific actions, always refer to the corresponding [action documentation pages](/docs/actions-overview). ## Checking API usage statistics This page explains how to check Linked API usage statistics. You can use this information to stay within LinkedIn limits for your account. :::surface node In the Node SDK this is `linkedapi.getApiUsage()` – the call is below. ::: :::surface python In the Python SDK this is `linkedapi.get_api_usage()` – the call is below. ::: :::surface cli In the CLI this is `linkedin stats usage` – the command is below. ::: > In addition to monitoring usage, you can configure action limits for each account on the [platform](https://app.linkedapi.io/). When a limit is reached, actions will automatically return a `limitExceeded` error instead of executing. We provide statistics as an array of all actions executed during a specific period. To access it, make a `GET` request to the following endpoint with 2 parameters: ```text tab=HTTP GET https://api.linkedapi.io/stats/actions?start={}&end={} ``` ```typescript tab=Node // Get usage stats for the last 7 days const endDate = new Date(); const startDate = new Date(endDate.getTime() - 7 * 24 * 60 * 60 * 1000); const { data } = await linkedapi.getApiUsage({ start: startDate.toISOString(), end: endDate.toISOString() }); ``` ```python tab=Python from datetime import datetime, timedelta, timezone from linkedapi import ApiUsageParams # Get usage stats for the last 7 days end_date = datetime.now(timezone.utc) start_date = end_date - timedelta(days=7) result = linkedapi.get_api_usage( ApiUsageParams( start=start_date.isoformat(), end=end_date.isoformat(), ) ) ``` ```bash tab=CLI linkedin stats usage --start 2024-01-01T00:00:00Z --end 2024-01-31T00:00:00Z --json ``` ## Parameters :::surface node,python In the SDK this is the `getApiUsage` method; it takes `start` and `end` and returns the array below in `data`. ::: :::surface cli In the CLI this is `linkedin stats usage`: ```bash linkedin stats usage --start --end [flags] ``` | Flag | Type | Required | Description | | --- | --- | --- | --- | | `--start` | string | yes | Start date in ISO timestamp | | `--end` | string | yes | End date in ISO timestamp | ::: - `start` – timestamp from which the statistics will be retrieved. - `end` – timestamp up to which the statistics will be retrieved. > The difference between `start` and `end` must not exceed 30 days. ## Result :::surface http In response, you receive an array of actions executed during the specified period: ::: :::surface node,python **Result** – `data` is the `result` array below, one item per action executed during the period: ::: :::surface cli **Output** – with `--json` or into a pipe, the CLI prints this `result` array as `data`: ::: ```json { "success": true, "result": [ { "actionType": "st.openCompanyPage", "success": true, "time": "2023-01-02T12:30:00Z" }, { "actionType": "st.sendMessage", "success": false, "time": "2023-01-03T12:30:00Z" }, { "actionType": "nv.retrieveCompanyEmployees", "success": true, "time": "2023-01-04T12:30:00Z" }, { "actionType": "st.sendConnectionRequest", "success": true, "time": "2023-01-07T12:30:00Z" } ... ] } ``` > In case of an unsuccessful request, you'll receive one of the [common errors](/docs/common-errors). ## st.sendMessage This action allows you to send a message to a person. :::surface node,python In the SDK this is the `sendMessage` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON. It returns no `data`: a failed action comes back in `errors`, with one of the error types below. The SDK also takes `manageConversation`: it runs [`st.manageConversation`](/docs/action-st-manage-conversation) on the same conversation right after the message is sent, so no `threadId` is needed for it. ::: :::surface cli In the CLI this is `linkedin message send` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed, when `personUrl` or `threadId` parameter is provided. > ⬆️ **Parent Actions:** [st.openPersonPage](/docs/action-st-open-person-page). > ⬇️ **Child Actions:** [st.manageConversation](/docs/action-st-manage-conversation). ## Parameters ```json tab=HTTP { "actionType": "st.sendMessage", "label": "person1", "personUrl": "https://www.linkedin.com/in/person1", "text": "Hi! I'd love to connect and discuss some ideas.", "then": { "actionType": "st.manageConversation", "operation": "archive" } } ``` ```typescript tab=Node const workflow = await linkedapi.sendMessage.execute({ personUrl: "https://www.linkedin.com/in/person1", text: "Hi! I'd love to connect and discuss some ideas.", manageConversation: { operation: "archive" } }); const { errors } = await linkedapi.sendMessage.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import SendMessageParams workflow = linkedapi.send_message.execute( SendMessageParams( person_url="https://www.linkedin.com/in/person1", text="Hi! I'd love to connect and discuss some ideas.", manage_conversation={"operation": "archive"}, ) ) result = linkedapi.send_message.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin message send \ https://www.linkedin.com/in/person1 \ "Hi! I'd love to connect and discuss some ideas." \ --manage archive ``` In AI assistants, the MCP server runs this action as the `send_message` tool. :::surface cli In the CLI this is `linkedin message send`: ```bash linkedin message send ``` | Arg | Required | Description | | --- | --- | --- | | `person-url` | conditional | LinkedIn profile URL of the recipient. Optional when `--thread-id` is provided | | `text` | yes | Message text (up to 1900 characters) | | Flag | Type | Description | | --- | --- | --- | | `--thread-id` | string | Reply into an existing conversation thread instead of passing `person-url` | | `--manage` | string | Manage the conversation right after sending, acting on the same thread. One of `archive`, `unarchive`, `star`, `unstar`, `mute`, `unmute` | ::: - `label` (optional) – custom label for tracking this action in workflow completion. - `personUrl` (required for root start unless `threadId` is provided, forbidden for parent start) – [public or hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the person you want to send a message to. - `threadId` (optional) – identifier of an existing conversation thread to reply into, as returned by [inbox polling](/docs/monitoring-inbox), or read from the address bar of an open conversation — the `` in `linkedin.com/messaging/thread/`. Provide either `personUrl` or `threadId`; if both are given, `threadId` takes precedence. - `text` – message text, must be up to **1900** characters. - `then` (optional) – object or array of child actions to be executed within this action. Only [st.manageConversation](/docs/action-st-manage-conversation) is allowed as a child, and it acts on the conversation this message was sent into, so its `threadId` must be omitted — only `operation` is provided. > 💡 Replying by `threadId` sends the message directly into a known conversation, which is convenient when reacting to an inbox event without resolving the person's profile URL first. ## Result options 1. **Successful message sending:** ```json { "actionType": "st.sendMessage", "label": "person1", "success": true, "data": { "then": { ... } } } ``` - `label` – included only if specified in the action parameters. - `data.then` – included only when child actions are provided; contains the results of their execution. 2. **Failed message sending:** ```json { "actionType": "st.sendMessage", "label": "person1", "success": false, "error": { "type": "personNotFound", "message": "The provided URL is not an existing LinkedIn person." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `personNotFound` – provided URL is not an existing LinkedIn person. - `personLikelyChangedPublicUrl` – the provided URL no longer opens, but this person appeared in your account's [network events](/docs/monitoring-network) before, so they most likely changed their public URL. Retry with their [hashed URL](/faq/what-are-hashed-url-and-public-url). - `selfProfileNotAllowed` – action cannot be performed on your own profile. - `messagingNotAllowed` – sending a message to the person is not allowed. This could happen for several reasons: - You are not connected to the person. - LinkedIn has restricted your ability to send messages to the person, for example, due to reaching message limits or the person’s privacy settings. ## st.syncConversation This action loads your message history with a person. Read it, together with the new messages the inbox captures, through [`/inbox/poll` with `personUrl`](/docs/monitoring-inbox#polling-one-person). See [Loading conversation history](/docs/working-with-conversations) for when you need it. :::surface node,python In the SDK this is the `syncConversation` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON, and returns the result below in `data`. ::: :::surface cli In the CLI this is `linkedin message get` – the command is below, under [Parameters](#parameters). ::: > 💡 Run it once per person – not to check for new messages. New messages reach you through [inbox monitoring](/docs/monitoring-inbox). ## Constraints > ⏺️ **Root Start:** allowed, when `personUrl` parameter is provided. > ⬆️ **Parent Actions:** [st.openPersonPage](/docs/action-st-open-person-page). > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "st.syncConversation", "label": "sync1", "personUrl": "https://www.linkedin.com/in/person1", "days": 14 } ``` ```typescript tab=Node const workflow = await linkedapi.syncConversation.execute({ personUrl: "https://www.linkedin.com/in/person1", days: 14 }); const { data, errors } = await linkedapi.syncConversation.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import SyncConversationParams workflow = linkedapi.sync_conversation.execute( SyncConversationParams( person_url="https://www.linkedin.com/in/person1", days=14, ) ) result = linkedapi.sync_conversation.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin message get https://www.linkedin.com/in/person1 --days 14 ``` In AI assistants, the MCP server runs this action as the `sync_conversation` tool. :::surface cli The CLI has no command that only loads history: `linkedin message get` reads one conversation and, when its earlier history was never loaded, loads it with this action first. ```bash linkedin message get [flags] ``` | Flag | Type | Description | | --- | --- | --- | | `--since` | string | Only return messages since this ISO timestamp | | `--days` | integer | Syncing period for the first call, 1–90 (default 30): how many days new messages keep being added to the loaded history, not how far back it is read | ```bash linkedin message get https://www.linkedin.com/in/john-doe --since 2024-01-15T10:30:00Z --json ``` The first call for a conversation takes longer; later calls read what is already loaded. Call it once per person for the earlier history – new messages reach you through `linkedin inbox get --person ` ([`POST /inbox/poll`](/docs/monitoring-inbox?surface=cli)). ::: - `label` (optional) – custom label for tracking this action in workflow completion. - `personUrl` (required for root start, forbidden for parent start) – [public or hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the person whose conversation you want to load. - `days` (optional) – how many days Linked API keeps adding this person's new messages to the loaded history, from 1 to 90. Defaults to 30. ## Syncing period > 💡 **`days` is the syncing period, not the depth of history.** It sets how many days new messages keep being added; the action always reads the whole conversation, however old it is. Linked API keeps adding this person's new messages to the loaded history until the `syncUntil` moment returned by this action, counted from the moment the action starts running. With [inbox monitoring](/docs/monitoring-inbox) enabled, new messages from this person keep arriving through the inbox after that moment as well. After that moment nothing is deleted: [polling](/docs/monitoring-inbox#polling-one-person) keeps returning the messages collected so far. Running this action again for the same person keeps the accumulated history and never shortens the period: `syncUntil` stays at the later of the current end and the new one. A reply from the other person does not extend the period. A thread read back to its first message is reported with `historyComplete: true` when you [poll the person](/docs/monitoring-inbox#polling-one-person). A very long conversation may not be read to its start within the action's time limit: the messages read are kept, and the thread stays `historyComplete: false`. This action does not enable inbox monitoring and does not produce [inbox webhook events](/docs/webhook-event-types#inbox-events). ## Repeating within 24 hours If you run this action again within 24 hours of a completed reading of the same person, it responds quickly instead of reading the whole conversation again: - if Linked API already knows the thread identifier, it rereads only the messages since that reading and then responds; - otherwise it responds immediately, without opening LinkedIn, and the check is finished during the next periodic syncs. In the second case, a message the periodic sync missed can appear in polling later – usually within minutes – rather than by the time the action completes. ## Result options 1. **Successful syncing:** ```json { "actionType": "st.syncConversation", "label": "sync1", "success": true, "data": { "syncUntil": "2026-09-09T09:55:31.582Z" } } ``` - `label` – included only if specified in the action parameters. - `data.syncUntil` – moment until which Linked API keeps adding this person's new messages to the loaded history. 2. **Failed syncing:** ```json { "actionType": "st.syncConversation", "label": "sync1", "success": false, "error": { "type": "personNotFound", "message": "The provided URL is not an existing LinkedIn person." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `personNotFound` – provided URL is not an existing LinkedIn person. - `selfProfileNotAllowed` – action cannot be performed on your own profile. ## st.syncInbox This action enables **whole-inbox monitoring** for your account so you can [poll the inbox](/docs/monitoring-inbox) for messages across every conversation. :::surface node,python In the SDK this is the `syncInbox` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON. It returns no `data`: a failed action comes back in `errors`, with one of the error types below. ::: :::surface cli In the CLI this is `linkedin inbox sync` – the command is below, under [Parameters](#parameters). ::: > 💡 **Recommended first step for reading messages.** See the [Messaging overview](/docs/messaging-overview) for how it fits with the other messaging tools. `st.syncInbox` starts tracking **all** threads in your inbox. Run it once per account. After it succeeds, new messages become available through the [inbox polling endpoint](/docs/monitoring-inbox) — no need to sync each conversation individually. > 💡 Only messages that arrive **after** inbox sync is enabled are captured. To get a person's earlier history, load it once with [`st.syncConversation`](/docs/action-st-sync-conversation) and read it through [inbox polling with `personUrl`](/docs/monitoring-inbox#polling-one-person). This action only switches monitoring on: it records the setting and returns. It does not browse your inbox and does not open anyone's profile. The messages themselves are picked up afterwards by a sync that runs periodically, so the first ones appear on the next sync rather than the moment the action completes. > **Note:** When that sync finds new messages in a thread – including messages you send yourself – it opens the profile page of the other participant in that thread to resolve their public URL – but only when Linked API does not already know it, so a person is visited once, which is what fills `personPublicUrl` on the messages you [poll](/docs/monitoring-inbox) or receive by [webhook](/docs/webhooks). Those visits are made from your own account, and such a visit is visible to the person whose profile is opened. ## Constraints > ⏺️ **Root Start:** allowed. > ⬆️ **Parent Actions:** N/A. > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "st.syncInbox", "label": "enableInbox" } ``` ```typescript tab=Node const workflow = await linkedapi.syncInbox.execute({}); const { errors } = await linkedapi.syncInbox.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.sync_inbox.execute() result = linkedapi.sync_inbox.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin inbox sync ``` In AI assistants, the MCP server runs this action as the `sync_inbox` tool. :::surface cli In the CLI this is `linkedin inbox sync`: ```bash linkedin inbox sync # standard inbox linkedin inbox sync --nv # Sales Navigator inbox ``` | Flag | Type | Description | | --- | --- | --- | | `--nv` | bool | Enable monitoring for the Sales Navigator inbox instead of the standard one | > Only messages that arrive after this runs are captured. To get a person's earlier history, run `message get ` once, then read the whole conversation with `inbox get --person `. ::: - `label` (optional) – custom label for tracking this action in workflow completion. This action takes no other parameters. ## Result options **Successful enabling:** ```json { "actionType": "st.syncInbox", "label": "enableInbox", "success": true } ``` - `label` – included only if specified in the action parameters. ## st.manageConversation This action allows you to manage a conversation thread — archive, star, or mute it — by its `threadId`. :::surface node,python In the SDK this is the `manageConversation` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON. It returns no `data`: a failed action comes back in `errors`, with one of the error types below. ::: :::surface cli In the CLI this is `linkedin message manage` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed, when `threadId` parameter is provided. > ⬆️ **Parent Actions:** [st.sendMessage](/docs/action-st-send-message). > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "st.manageConversation", "label": "thread1", "threadId": "2-Zjhm...", "operation": "archive" } ``` ```typescript tab=Node const workflow = await linkedapi.manageConversation.execute({ threadId: "2-Zjhm...", operation: "archive" }); const { errors } = await linkedapi.manageConversation.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import ManageConversationParams workflow = linkedapi.manage_conversation.execute( ManageConversationParams( thread_id="2-Zjhm...", operation="archive", ) ) result = linkedapi.manage_conversation.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin message manage 2-Zjhm... archive ``` In AI assistants, the MCP server runs this action as the `manage_conversation` tool. :::surface cli In the CLI this is `linkedin message manage`: ```bash linkedin message manage ``` | Arg | Required | Description | | --- | --- | --- | | `thread-id` | yes | Conversation thread identifier, as returned by `inbox get` / `message get`, or the `` in `linkedin.com/messaging/thread/` of an open conversation | | `operation` | yes | One of `archive`, `unarchive`, `star`, `unstar`, `mute`, `unmute` | ::: - `label` (optional) – custom label for tracking this action in workflow completion. - `threadId` (required for root start, forbidden for child start) – identifier of the conversation thread to manage, as returned by [inbox polling](/docs/monitoring-inbox). You can also read it from the address bar of an open conversation — it is the `` in `linkedin.com/messaging/thread/`. When run as a child of [st.sendMessage](/docs/action-st-send-message), the thread is inherited from the parent send and this parameter must be omitted. - `operation` – operation to apply to the thread. One of: - `archive` / `unarchive` – archive or unarchive the conversation. - `star` / `unstar` – star or unstar the conversation. - `mute` / `unmute` – mute or unmute the conversation. ## Result options 1. **Successful operation:** ```json { "actionType": "st.manageConversation", "label": "thread1", "success": true } ``` - `label` – included only if specified in the action parameters. 2. **Failed operation:** ```json { "actionType": "st.manageConversation", "label": "thread1", "success": false, "error": { "type": "threadNotFound", "message": "The provided thread identifier does not match an existing conversation." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `threadNotFound` – provided `threadId` does not match an existing conversation. ## st.checkConnectionStatus This action allows you to check the connection status between your account and another person. :::surface node,python In the SDK this is the `checkConnectionStatus` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON, and returns the result below in `data`. ::: :::surface cli In the CLI this is `linkedin connection status` – the command is below, under [Parameters](#parameters). ::: > If you need to perform several connection status checks, use this action multiple times within an [array workflow](/docs/building-workflows). This approach is significantly faster than creating separate workflows for each check due to API optimizations. ## Constraints > ⏺️ **Root Start:** allowed, when `personUrl` parameter is provided. > ⬆️ **Parent Actions:** [st.openPersonPage](/docs/action-st-open-person-page). > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "st.checkConnectionStatus", "label": "person1", "personUrl": "https://www.linkedin.com/in/person1" } ``` ```typescript tab=Node const workflow = await linkedapi.checkConnectionStatus.execute({ personUrl: "https://www.linkedin.com/in/person1" }); const { data, errors } = await linkedapi.checkConnectionStatus.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import CheckConnectionStatusParams workflow = linkedapi.check_connection_status.execute( CheckConnectionStatusParams( person_url="https://www.linkedin.com/in/person1", ) ) result = linkedapi.check_connection_status.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin connection status https://www.linkedin.com/in/person1 ``` In AI assistants, the MCP server runs this action as the `check_connection_status` tool. :::surface cli In the CLI this is `linkedin connection status`: ```bash linkedin connection status ``` ::: - `personUrl` (required for root start, forbidden for parent start) – [public or hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the person you want to check a connection status with. - `label` (optional) – custom label for tracking this action in workflow completion. ## Result options 1. **Successful connection check:** ```json { "actionType": "st.checkConnectionStatus", "label": "person1", "success": true, "data": { "connectionStatus": "pending" } } ``` - `label` – included only if specified in the action parameters. - `data.connectionStatus` – enum with the following possible values: - `connected` – your account is connected with the person. - `notConnected` – your account is not connected with the person. - `pending` – your account has a pending connection request to the person. - `incoming` – the person has sent your account a connection request that is awaiting your response. 2. **Failed connection check:** ```json { "actionType": "st.checkConnectionStatus", "label": "person1", "success": false, "error": { "type": "personNotFound", "message": "The provided URL is not an existing LinkedIn person." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `personNotFound` – provided URL is not an existing LinkedIn person. - `selfProfileNotAllowed` – action cannot be performed on your own profile. ## st.sendConnectionRequest This action allows you to send a connection request to a person. :::surface node,python In the SDK this is the `sendConnectionRequest` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON. It returns no `data`: a failed action comes back in `errors`, with one of the error types below. ::: :::surface cli In the CLI this is `linkedin connection send` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed, when `personUrl` parameter is provided. > ⬆️ **Parent Actions:** [st.openPersonPage](/docs/action-st-open-person-page). > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "st.sendConnectionRequest", "label": "person1", "personUrl": "https://www.linkedin.com/in/person1", "note": "Hi, I’d like to connect with you to discuss potential collaboration.", "email": "example1@gmail.com" } ``` ```typescript tab=Node const workflow = await linkedapi.sendConnectionRequest.execute({ personUrl: "https://www.linkedin.com/in/person1", note: "Hi, I’d like to connect with you to discuss potential collaboration.", email: "example1@gmail.com" }); const { errors } = await linkedapi.sendConnectionRequest.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import SendConnectionRequestParams workflow = linkedapi.send_connection_request.execute( SendConnectionRequestParams( person_url="https://www.linkedin.com/in/person1", note="Hi, I’d like to connect with you to discuss potential collaboration.", email="example1@gmail.com", ) ) result = linkedapi.send_connection_request.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin connection send https://www.linkedin.com/in/person1 \ --note "Hi, I’d like to connect with you to discuss potential collaboration." \ --email example1@gmail.com ``` In AI assistants, the MCP server runs this action as the `send_connection_request` tool. :::surface cli In the CLI this is `linkedin connection send`: ```bash linkedin connection send [flags] ``` | Flag | Type | Description | | --- | --- | --- | | `--note` | string | Personalized note to include with the request | | `--email` | string | Email address (required by some profiles to connect) | ::: - `label` (optional) – custom label for tracking this action in workflow completion. - `personUrl` (required for root start, forbidden for parent start) – [public or hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the person you want to send a connection request to. - `note` (optional) – note to include with the connection request, must be up to **300** characters (LinkedIn allows **200** for free accounts and **300** for Premium). LinkedIn may also limit how many personalized invitation notes a free account can send. - `email` (optional) – email address required by some people for sending connection requests to them. If it is required and not provided, the connection request will fail. ## Result options 1. **Successful connection request sending:** ```json { "actionType": "st.sendConnectionRequest", "label": "person1", "success": true } ``` - `label` – included only if specified in the action parameters. 2. **Failed connection request sending:** ```json { "actionType": "st.sendConnectionRequest", "label": "person1", "success": false, "error": { "type": "emailRequired", "message": "The person requires an email address to send a connection request." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `personNotFound` – provided URL is not an existing LinkedIn person. - `selfProfileNotAllowed` – action cannot be performed on your own profile. - `alreadyPending` – connection request to this person has already been sent and is still pending. - `alreadyConnected` – your LinkedIn account is already connected with this person. - `invitationAlreadyReceived` – this person has already sent you a connection request. Accept it with [st.acceptInvitation](/docs/action-st-accept-invitation) instead of sending a new one. - `emailRequired` – person requires an email address to send a connection request. - `noteTooLong` – the note exceeds the character limit allowed by LinkedIn. Free accounts are limited to 200 characters, Premium accounts to 300. - `noteLimitExceeded` – your LinkedIn account has reached the limit for personalized invitation notes. Send the connection request without a note, or buy LinkedIn Premium to include one. - `requestNotAllowed` – LinkedIn has restricted sending a connection request to this person. This can happen for the following reasons: - The person has disabled connection requests in their privacy settings. - You recently sent and withdrew a connection request to this person. - You have reached LinkedIn's daily, weekly, or monthly limits for sending connection requests. ## st.withdrawConnectionRequest This action allows you to withdraw the connection request sent to a person. :::surface node,python In the SDK this is the `withdrawConnectionRequest` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON. It returns no `data`: a failed action comes back in `errors`, with one of the error types below. ::: :::surface cli In the CLI this is `linkedin connection withdraw` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed, when `personUrl` parameter is provided. > ⬆️ **Parent Actions:** [st.openPersonPage](/docs/action-st-open-person-page). > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "st.withdrawConnectionRequest", "label": "person1", "personUrl": "https://www.linkedin.com/in/person1", "unfollow": true } ``` ```typescript tab=Node const workflow = await linkedapi.withdrawConnectionRequest.execute({ personUrl: "https://www.linkedin.com/in/person1", unfollow: true }); const { errors } = await linkedapi.withdrawConnectionRequest.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import WithdrawConnectionRequestParams workflow = linkedapi.withdraw_connection_request.execute( WithdrawConnectionRequestParams( person_url="https://www.linkedin.com/in/person1", unfollow=True, ) ) result = linkedapi.withdraw_connection_request.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin connection withdraw https://www.linkedin.com/in/person1 --unfollow ``` In AI assistants, the MCP server runs this action as the `withdraw_connection_request` tool. :::surface cli In the CLI this is `linkedin connection withdraw`: ```bash linkedin connection withdraw [flags] ``` | Flag | Type | Default | Description | | --- | --- | --- | --- | | `--unfollow` / `--no-unfollow` | boolean | `true` | Also unfollow the person | ::: - `label` (optional) – custom label for tracking this action in workflow completion. - `personUrl` (required for root start, forbidden for parent start) – [public or hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the person you want to withdraw the connection request from. - `unfollow` (optional) – boolean indicating whether you want to unfollow the person when withdrawing the request. The default value is `false`: if you omit it, the request is withdrawn and you keep following the person. The CLI is the exception – `linkedin connection withdraw` sends `true` unless you pass `--no-unfollow`. ## Result options 1. **Successful connection request withdrawal:** ```json { "actionType": "st.withdrawConnectionRequest", "success": true, "label": "person1" } ``` - `label` – included only if specified in the action parameters. 2. **Failed connection request withdrawal:** ```json { "actionType": "st.withdrawConnectionRequest", "label": "person1", "success": false, "error": { "type": "notPending", "message": "There is no pending connection request to this person." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `personNotFound` – provided URL is not an existing LinkedIn person. - `selfProfileNotAllowed` – action cannot be performed on your own profile. - `notPending` – there is no pending connection request to this person. ## st.acceptInvitation This action accepts an incoming invitation from the LinkedIn invitation manager. It supports connection requests, company-follow invitations, and newsletter-subscription invitations. :::surface node,python In the SDK this is the `acceptInvitation` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON. It returns no `data`: a failed action comes back in `errors`, with one of the error types below. ::: :::surface cli In the CLI this is `linkedin connection accept ` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed when `invitationType` and its matching target URL are provided. > ⬆️ **Parent Actions:** N/A. > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "st.acceptInvitation", "label": "invitation1", "invitationType": "connect", "personUrl": "https://www.linkedin.com/in/person1" } ``` ```typescript tab=Node const workflow = await linkedapi.acceptInvitation.execute({ invitationType: "connect", personUrl: "https://www.linkedin.com/in/person1" }); const { errors } = await linkedapi.acceptInvitation.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import AcceptInvitationParams workflow = linkedapi.accept_invitation.execute( AcceptInvitationParams( invitation_type="connect", person_url="https://www.linkedin.com/in/person1", ) ) result = linkedapi.accept_invitation.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin connection accept connect https://www.linkedin.com/in/person1 ``` In AI assistants, the MCP server runs this action as the `accept_invitation` tool. :::surface cli In the CLI this is `linkedin connection accept`: ```bash linkedin connection accept ``` ::: - `label` (optional) – custom label for tracking this action in workflow completion. - `invitationType` (required) – one of: - `connect` – requires `personUrl`. - `companyFollow` – requires `companyUrl`. - `newsletterSubscribe` – requires `newsletterUrl`. - `personUrl` – [public or hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn person URL. Allowed only for `connect`. - `companyUrl` – LinkedIn company page URL. Allowed only for `companyFollow`. - `newsletterUrl` – LinkedIn newsletter URL. Allowed only for `newsletterSubscribe`. Provide exactly one target URL: the one required by `invitationType`. ## Result options 1. **Successful invitation acceptance:** ```json { "actionType": "st.acceptInvitation", "label": "invitation1", "success": true } ``` - `label` – included only if specified in the action parameters. 2. **No matching invitation:** ```json { "actionType": "st.acceptInvitation", "label": "invitation1", "success": false, "error": { "type": "noPendingRequest", "message": "There is no matching pending incoming invitation to accept." } } ``` - `error.type` is `noPendingRequest` when no invitation matches the supplied type and target URL. ## st.ignoreInvitation This action ignores an incoming invitation from the LinkedIn invitation manager. It supports connection requests, company-follow invitations, and newsletter-subscription invitations. :::surface node,python In the SDK this is the `ignoreInvitation` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON. It returns no `data`: a failed action comes back in `errors`, with one of the error types below. ::: :::surface cli In the CLI this is `linkedin connection ignore ` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed when `invitationType` and its matching target URL are provided. > ⬆️ **Parent Actions:** N/A. > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "st.ignoreInvitation", "label": "invitation1", "invitationType": "connect", "personUrl": "https://www.linkedin.com/in/person1" } ``` ```typescript tab=Node const workflow = await linkedapi.ignoreInvitation.execute({ invitationType: "connect", personUrl: "https://www.linkedin.com/in/person1" }); const { errors } = await linkedapi.ignoreInvitation.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import IgnoreInvitationParams workflow = linkedapi.ignore_invitation.execute( IgnoreInvitationParams( invitation_type="connect", person_url="https://www.linkedin.com/in/person1", ) ) result = linkedapi.ignore_invitation.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin connection ignore connect https://www.linkedin.com/in/person1 ``` In AI assistants, the MCP server runs this action as the `ignore_invitation` tool. :::surface cli In the CLI this is `linkedin connection ignore`: ```bash linkedin connection ignore ``` ::: - `label` (optional) – custom label for tracking this action in workflow completion. - `invitationType` (required) – one of: - `connect` – requires `personUrl`. - `companyFollow` – requires `companyUrl`. - `newsletterSubscribe` – requires `newsletterUrl`. - `personUrl` – [public or hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn person URL. Allowed only for `connect`. - `companyUrl` – LinkedIn company page URL. Allowed only for `companyFollow`. - `newsletterUrl` – LinkedIn newsletter URL. Allowed only for `newsletterSubscribe`. Provide exactly one target URL: the one required by `invitationType`. ## Result options 1. **Successful invitation dismissal:** ```json { "actionType": "st.ignoreInvitation", "label": "invitation1", "success": true } ``` - `label` – included only if specified in the action parameters. 2. **No matching invitation:** ```json { "actionType": "st.ignoreInvitation", "label": "invitation1", "success": false, "error": { "type": "noPendingRequest", "message": "There is no matching pending incoming invitation to ignore." } } ``` - `error.type` is `noPendingRequest` when no invitation matches the supplied type and target URL. ## st.retrievePendingRequests This action allows you to retrieve pending connection requests sent from your account. :::surface node,python In the SDK this is the `retrievePendingRequests` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON, and returns the result below in `data`. ::: :::surface cli In the CLI this is `linkedin connection pending` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed. > ⬆️ **Parent Actions:** N/A. > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "st.retrievePendingRequests", "label": "listPending1" } ``` ```typescript tab=Node const workflow = await linkedapi.retrievePendingRequests.execute(); const { data, errors } = await linkedapi.retrievePendingRequests.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.retrieve_pending_requests.execute() result = linkedapi.retrieve_pending_requests.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin connection pending ``` In AI assistants, the MCP server runs this action as the `retrieve_pending_requests` tool. :::surface cli In the CLI this is `linkedin connection pending`: ```bash linkedin connection pending --json ``` ::: - `label` (optional) – custom label for tracking this action in workflow completion. ## Result options This action always completes successfully. Even if you have no pending connection requests, it returns an empty array. ```json { "actionType": "st.retrievePendingRequests", "label": "listPending1", "success": true, "data": [ { "name": "John Doe", "urn": "urn:li:member:123456789", "publicUrl": "https://www.linkedin.com/in/johndoe", "headline": "Founder & CEO at Example Company", "sentTime": "2 weeks ago" }, { "name": "Jane Smith", "urn": "urn:li:member:234567890", "publicUrl": "https://www.linkedin.com/in/janesmith", "headline": "CTO at Tech Solutions", "sentTime": "1 month ago" }, { "name": "Carlos Santos", "urn": null, "publicUrl": "https://www.linkedin.com/in/carlossantos", "headline": "Product Manager at Startup Hub", "sentTime": "3 months ago" } ] } ``` - `label` – included only if specified in the action parameters. - `data` – array of pending connection requests. - `name` – full name of the person. - `urn` – [URN](/docs/data-conventions#linkedin-urns) of the person, or `null` if LinkedIn does not expose it. - `publicUrl` – [public](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the person. - `headline` – headline of the person. - `sentTime` – time since the connection request was sent (e.g., "1 month ago"). ## st.retrieveInvitations This action retrieves all incoming invitations currently shown in the LinkedIn invitation manager. :::surface node,python In the SDK this is the `retrieveInvitations` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON, and returns the result below in `data`. ::: :::surface cli In the CLI this is `linkedin connection invitations` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed. > ⬆️ **Parent Actions:** N/A. > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "st.retrieveInvitations", "label": "invitations1" } ``` ```typescript tab=Node const workflow = await linkedapi.retrieveInvitations.execute(); const { data, errors } = await linkedapi.retrieveInvitations.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.retrieve_invitations.execute() result = linkedapi.retrieve_invitations.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin connection invitations ``` In AI assistants, the MCP server runs this action as the `retrieve_invitations` tool. :::surface cli In the CLI this is `linkedin connection invitations`: ```bash linkedin connection invitations --json ``` ::: - `label` (optional) – custom label for tracking this action in workflow completion. - `then` is not supported. ## Result options This action always completes successfully. If there are no incoming invitations, it returns an empty array. ```json { "actionType": "st.retrieveInvitations", "label": "invitations1", "success": true, "data": [ { "invitationType": "connect", "name": "John Doe", "urn": "urn:li:member:123456789", "publicUrl": "https://www.linkedin.com/in/johndoe", "headline": "Founder & CEO at Example Company", "note": "I would like to connect." }, { "invitationType": "companyFollow", "name": "Jane Smith", "urn": "urn:li:member:234567890", "publicUrl": "https://www.linkedin.com/in/janesmith", "companyUrl": "https://www.linkedin.com/company/example-company", "companyName": "Example Company" }, { "invitationType": "newsletterSubscribe", "name": "Carlos Santos", "urn": null, "publicUrl": "https://www.linkedin.com/in/carlossantos", "newsletterUrl": "https://www.linkedin.com/newsletters/example-1234567890", "newsletterName": "Example Newsletter" } ] } ``` Every item contains: - `invitationType` – `connect`, `companyFollow`, or `newsletterSubscribe`. - `name` – name of the person who sent the invitation. - `urn` – [URN](/docs/data-conventions#linkedin-urns) of that person, or `null` if LinkedIn does not expose it. - `publicUrl` – [public](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of that person. Type-specific fields: - `connect`: `headline` and `note` (each can be `null`). - `companyFollow`: `companyUrl` and `companyName` (`companyName` can be `null`). - `newsletterSubscribe`: `newsletterUrl` and `newsletterName` (`newsletterName` can be `null`). ## st.retrieveConnections This action allows you to retrieve your connections and perform additional person-related actions if needed. :::surface node,python In the SDK this is the `retrieveConnections` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON, and returns the result below in `data`. ::: :::surface cli In the CLI this is `linkedin connection list` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed. > ⬆️ **Parent Actions:** N/A. > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "st.retrieveConnections", "label": "listConnections1", "limit": 100, "since": "2022-01-01", "filter": { "firstName": "John", "lastName": "Doe", "position": "CEO", "locations": ["New York", "San Francisco", "London"], "industries": ["Software Development", "Professional Services"], "currentCompanies": ["Tech Solutions", "Innovatech"], "previousCompanies": ["FutureCorp"], "schools": ["Harvard University", "MIT"] } } ``` ```typescript tab=Node const workflow = await linkedapi.retrieveConnections.execute({ limit: 100, since: "2022-01-01", filter: { firstName: "John", lastName: "Doe", position: "CEO", locations: ["New York", "San Francisco", "London"], industries: ["Software Development", "Professional Services"], currentCompanies: ["Tech Solutions", "Innovatech"], previousCompanies: ["FutureCorp"], schools: ["Harvard University", "MIT"] } }); const { data, errors } = await linkedapi.retrieveConnections.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import RetrieveConnectionsParams workflow = linkedapi.retrieve_connections.execute( RetrieveConnectionsParams( limit=100, since="2022-01-01", filter={ "first_name": "John", "last_name": "Doe", "position": "CEO", "locations": ["New York", "San Francisco", "London"], "industries": ["Software Development", "Professional Services"], "current_companies": ["Tech Solutions", "Innovatech"], "previous_companies": ["FutureCorp"], "schools": ["Harvard University", "MIT"], }, ) ) result = linkedapi.retrieve_connections.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin connection list \ --limit 100 \ --since 2022-01-01 \ --first-name John \ --last-name Doe \ --position CEO \ --locations "New York,San Francisco,London" \ --industries "Software Development,Professional Services" \ --current-companies "Tech Solutions,Innovatech" \ --previous-companies FutureCorp \ --schools "Harvard University,MIT" ``` In AI assistants, the MCP server runs this action as the `retrieve_connections` tool. :::surface cli In the CLI this is `linkedin connection list`: ```bash linkedin connection list [flags] ``` | Flag | Type | Description | | --- | --- | --- | | `--limit` | integer | Max connections to return | | `--since` | string | Only connections made since this ISO timestamp | | `--first-name` | string | Filter by first name | | `--last-name` | string | Filter by last name | | `--position` | string | Filter by job position | | `--locations` | string | Comma-separated locations | | `--industries` | string | Comma-separated industries | | `--current-companies` | string | Comma-separated current company names | | `--previous-companies` | string | Comma-separated previous company names | | `--schools` | string | Comma-separated school names | > `--since` only works when no filter flags are used. ::: - `label` (optional) – custom label for tracking this action in workflow completion. - `limit` (optional) – number of connections to return. Returns all connections if not provided. - `since` (optional) – ISO date string that filters connections to only include those made on or after the specified date. Only works when `filter` is not provided. - `filter` (optional) – object that specifies filtering criteria for people. When multiple filter fields are specified, they are combined using `AND` logic. - `firstName` (optional) – first name of person. - `lastName` (optional) – last name of person. - `position` (optional) – job position of person. - `locations` (optional) – array of free-form strings representing locations. Matches if person is located in any of the listed locations. - `industries` (optional) – array of enums representing industries. Matches if person works in any of the listed industries. Takes specific values available in the LinkedIn interface. - `currentCompanies` (optional) – array of company names. Matches if person currently works at any of the listed companies. - `previousCompanies` (optional) – array of company names. Matches if person previously worked at any of the listed companies. - `schools` (optional) – array of institution names. Matches if person currently attends or previously attended any of the listed institutions. ## Result options 1. **Successful retrieval:** ```json { "actionType": "st.retrieveConnections", "label": "listConnections1", "success": true, "data": [ { "name": "John Doe", "urn": "urn:li:member:123456789", "publicUrl": "https://www.linkedin.com/in/johndoe", "headline": "Founder & CEO at Example Company", "connectedAt": "2025-01-02T00:00:00Z" }, { "name": "Jane Smith", "urn": "urn:li:member:234567890", "publicUrl": "https://www.linkedin.com/in/janesmith", "headline": "CEO at Tech Solutions", "connectedAt": "2024-11-22T00:00:00Z" }, { "name": "Carlos Santos", "urn": null, "publicUrl": "https://www.linkedin.com/in/carlossantos", "headline": "Project Manager at Startup Hub", "connectedAt": "2022-07-06T00:00:00Z" } ] } ``` - `label` – included only if specified in the action parameters. - `data` – array of your connections with results of child actions execution. - `name` – full name of the person. - `urn` – [URN](/docs/data-conventions#linkedin-urns) of the person, or `null` if LinkedIn does not expose it. - `publicUrl` – [public](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the person. - `headline` – headline of the person. - `connectedAt` – date when connection was established. Returned only when `filter` is not provided. 2. **Successful retrieval (with filter):** ```json { "actionType": "st.retrieveConnections", "label": "listConnections1", "success": true, "data": [ { "name": "John Doe", "urn": "urn:li:member:123456789", "publicUrl": "https://www.linkedin.com/in/johndoe", "headline": "Founder & CEO at Example Company", "location": "Lisbon, Portugal", "avatarUrl": "https://media.licdn.com/dms/image/v2/D5603AQE/profile-displayphoto-shrink_100_100/0/1700000000000" }, { "name": "Jane Smith", "urn": "urn:li:member:234567890", "publicUrl": "https://www.linkedin.com/in/janesmith", "headline": "CEO at Tech Solutions", "location": "San Francisco Bay Area", "avatarUrl": null }, { "name": "Carlos Santos", "urn": null, "publicUrl": "https://www.linkedin.com/in/carlossantos", "headline": "Project Manager at Startup Hub", "location": "Madrid", "avatarUrl": null } ] } ``` - `label` – included only if specified in the action parameters. - `data` – array of your connections with results of child actions execution. - `name` – full name of the person. - `urn` – [URN](/docs/data-conventions#linkedin-urns) of the person, or `null` if LinkedIn does not expose it. - `publicUrl` – [public](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the person. - `headline` – headline of the person. - `location` – free-form string indicating the person's location. Returned only when `filter` is provided. - `avatarUrl` – URL of the person's profile photo, or `null` if the person has no photo. Returned only when `filter` is provided. 3. **Failed retrieval:** ```json { "actionType": "st.retrieveConnections", "label": "listConnections1", "success": false, "error": { "type": "retrievingNotAllowed", "message": "LinkedIn has blocked performing the retrieval." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `filterNotApplied` – LinkedIn offered no matching option for one or more filter values. The message lists each field and value, so correct or remove them rather than retrying. - `retrievingNotAllowed` – LinkedIn has blocked performing the retrieval due to exceeding limits or other restrictions. ## st.removeConnection This action allows you to remove a person from your connections. :::surface node,python In the SDK this is the `removeConnection` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON. It returns no `data`: a failed action comes back in `errors`, with one of the error types below. ::: :::surface cli In the CLI this is `linkedin connection remove` – the command is below, under [Parameters](#parameters). ::: > If you need to remove several people from your connections, use this action multiple times within an [array workflow](/docs/building-workflows). This approach is significantly faster than creating separate workflows for each person due to API optimizations. ## Constraints > ⏺️ **Root Start:** allowed, when `personUrl` parameter is provided. > ⬆️ **Parent Actions:** [st.openPersonPage](/docs/action-st-open-person-page). > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "st.removeConnection", "label": "remove1", "personUrl": "https://www.linkedin.com/in/person1" } ``` ```typescript tab=Node const workflow = await linkedapi.removeConnection.execute({ personUrl: "https://www.linkedin.com/in/person1" }); const { errors } = await linkedapi.removeConnection.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import RemoveConnectionParams workflow = linkedapi.remove_connection.execute( RemoveConnectionParams( person_url="https://www.linkedin.com/in/person1", ) ) result = linkedapi.remove_connection.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin connection remove https://www.linkedin.com/in/person1 ``` In AI assistants, the MCP server runs this action as the `remove_connection` tool. :::surface cli In the CLI this is `linkedin connection remove`: ```bash linkedin connection remove ``` ::: - `label` (optional) – custom label for tracking this action in workflow completion. - `personUrl` (required for root start, forbidden for parent start) – [public or hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the person you want to remove from your connections. ## Result options 1. **Successful connection removal:** ```json { "actionType": "st.removeConnection", "label": "remove1", "success": true } ``` - `label` – included only if specified in the action parameters. 2. **Failed connection removal:** ```json { "actionType": "st.removeConnection", "label": "remove1", "success": false, "error": { "type": "connectionNotFound", "message": "This person is not in your connections." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `personNotFound` – provided URL is not an existing LinkedIn person. - `connectionNotFound` – person is not in your connections. ## st.syncNetwork This action enables **network monitoring** for your account so you can [poll the network](/docs/monitoring-network) for connection events as they happen. :::surface node,python In the SDK this is the `syncNetwork` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON. It returns no `data`: a failed action comes back in `errors`, with one of the error types below. ::: :::surface cli In the CLI this is `linkedin network sync`: ```bash linkedin network sync ``` > Only changes that happen after this runs are captured. ::: Instead of repeatedly retrieving connections and pending requests and comparing the results, `st.syncNetwork` starts watching the account's network in the background. Run it once per account. After it succeeds, connection events become available through the [network polling endpoint](/docs/monitoring-network) and the network [webhook events](/docs/webhooks). > 💡 Only changes that happen **after** network sync is enabled are captured. The current state predating the moment you enable it is used as a baseline and does not produce events. > 💡 Coming soon: the [`network` signal](/docs/signal-network) will report the same changes, alongside the other [signals](/docs/signals-overview) that watch posts, comments and profile viewers. Network monitoring keeps working separately from it; once signals launch, a signal is the better way to keep an eye on the account. ## Constraints > ⏺️ **Root Start:** allowed. > ⬆️ **Parent Actions:** N/A. > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "st.syncNetwork", "label": "enableNetwork" } ``` ```typescript tab=Node const workflow = await linkedapi.syncNetwork.execute({}); const { errors } = await linkedapi.syncNetwork.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.sync_network.execute() result = linkedapi.sync_network.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin network sync ``` In AI assistants, the MCP server runs this action as the `sync_network` tool. - `label` (optional) – custom label for tracking this action in workflow completion. This action takes no other parameters. ## Result options **Successful enabling:** ```json { "actionType": "st.syncNetwork", "label": "enableNetwork", "success": true } ``` - `label` – included only if specified in the action parameters. ## st.searchPeople This action allows you to search for people applying various filtering criteria. :::surface node,python In the SDK this is the `searchPeople` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON, and returns the result below in `data`. ::: :::surface cli In the CLI this is `linkedin person search` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed. > ⬆️ **Parent Actions:** N/A. > ⬇️ **Child Actions:** [st.doForPeople](/docs/action-st-do-for-people). ## Parameters ```json tab=HTTP { "actionType": "st.searchPeople", "label": "johnDoeSearch1", "term": "John Doe", "limit": 2, "filter": { "firstName": "John", "lastName": "Doe", "position": "CEO", "locations": ["New York", "San Francisco", "London"], "industries": ["Software Development", "Professional Services"], "currentCompanies": ["Tech Solutions", "Innovatech"], "previousCompanies": ["FutureCorp"], "schools": ["Harvard University", "MIT"], "connectionDegrees": ["2nd", "3rd+"] }, "customSearchUrl": "https://www.linkedin.com/search/results/people/?geoUrn=%5B%22103644278%22%5D&keywords=Bill%20Gates", "then": { ... } } ``` ```typescript tab=Node const workflow = await linkedapi.searchPeople.execute({ term: "John Doe", limit: 2, filter: { firstName: "John", lastName: "Doe", position: "CEO", locations: ["New York", "San Francisco", "London"], industries: ["Software Development", "Professional Services"], currentCompanies: ["Tech Solutions", "Innovatech"], previousCompanies: ["FutureCorp"], schools: ["Harvard University", "MIT"], connectionDegrees: ["2nd", "3rd+"] }, customSearchUrl: "https://www.linkedin.com/search/results/people/?geoUrn=%5B%22103644278%22%5D&keywords=Bill%20Gates" }); const { data, errors } = await linkedapi.searchPeople.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import SearchPeopleParams workflow = linkedapi.search_people.execute( SearchPeopleParams( term="John Doe", limit=2, filter={ "first_name": "John", "last_name": "Doe", "position": "CEO", "locations": ["New York", "San Francisco", "London"], "industries": ["Software Development", "Professional Services"], "current_companies": ["Tech Solutions", "Innovatech"], "previous_companies": ["FutureCorp"], "schools": ["Harvard University", "MIT"], "connection_degrees": ["2nd", "3rd+"], }, custom_search_url="https://www.linkedin.com/search/results/people/?geoUrn=%5B%22103644278%22%5D&keywords=Bill%20Gates", ) ) result = linkedapi.search_people.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin person search \ --term "John Doe" \ --limit 2 \ --first-name John \ --last-name Doe \ --position CEO \ --locations "New York,San Francisco,London" \ --industries "Software Development,Professional Services" \ --current-companies "Tech Solutions,Innovatech" \ --previous-companies FutureCorp \ --schools "Harvard University,MIT" \ --connection-degrees 2nd,3rd+ ``` In AI assistants, the MCP server runs this action as the `search_people` tool. :::surface cli In the CLI this is `linkedin person search`: ```bash linkedin person search [flags] ``` | Flag | Type | Description | | --- | --- | --- | | `--term` | string | Search keyword or phrase (required unless `--url` is given) | | `--url` | string | LinkedIn people search URL – the CLI form of `customSearchUrl`; overrides `--term` and the filters | | `--limit` | integer | Max results to return | | `--first-name` | string | Filter by first name | | `--last-name` | string | Filter by last name | | `--position` | string | Filter by job position | | `--locations` | string | Comma-separated locations | | `--industries` | string | Comma-separated industries | | `--current-companies` | string | Comma-separated current company names | | `--previous-companies` | string | Comma-separated previous company names | | `--schools` | string | Comma-separated school names | | `--connection-degrees` | string | Comma-separated connection degrees: `1st`, `2nd`, `3rd+` | ::: - `label` (optional) – custom label for tracking this action in workflow completion. - `term` (optional) – keyword or phrase to search, from 1 to 50 characters. Either `term` or `customSearchUrl` must be provided; a request with neither (for example, with `filter` only) is rejected. - `limit` (optional) – number of search results to return. Defaults to **10**, with a maximum value of **1000**. - `filter` (optional) – object that specifies filtering criteria for people. When multiple filter fields are specified, they are combined using `AND` logic. - `firstName` (optional) – first name of person. - `lastName` (optional) – last name of person. - `position` (optional) – job position of person. - `locations` (optional) – array of free-form strings representing locations. Matches if person is located in any of the listed locations. - `industries` (optional) – array of enums representing industries. Matches if person works in any of the listed industries. Takes specific values available in the LinkedIn interface. - `currentCompanies` (optional) – array of company names. Matches if person currently works at any of the listed companies. - `previousCompanies` (optional) – array of company names. Matches if person previously worked at any of the listed companies. - `schools` (optional) – array of institution names. Matches if person currently attends or previously attended any of the listed institutions. - `connectionDegrees` (optional) – array of enums representing your connection degree to the person. Matches if the person is at any of the listed degrees. Options: - `1st` – your 1st-degree connections. - `2nd` – your 2nd-degree connections. - `3rd+` – 3rd-degree connections and beyond. - `customSearchUrl` (optional) – URL copied from LinkedIn search results page after configuring desired filters. When specified, overrides term and filter parameters. Allows using any search configuration available in the LinkedIn interface. Either `term` or `customSearchUrl` must be provided. - `then` (optional) – object or array of child actions to be executed within this action. ## Result options 1. **Successful search:** ```json { "actionType": "st.searchPeople", "label": "johnDoeSearch1", "success": true, "data": [ { "name": "John Doe", "urn": "urn:li:member:123456789", "publicUrl": "https://www.linkedin.com/in/johndoe", "headline": "Founder & CEO at Example Company", "location": "London", "avatarUrl": "https://media.licdn.com/dms/image/v2/D5603AQE/profile-displayphoto-shrink_100_100/0/1700000000000", "viewerState": { "connectionDegree": "2nd" }, "then": { ... } }, { "name": "John Doe", "urn": null, "publicUrl": "https://www.linkedin.com/in/johnyd", "headline": "Product Manager at Semsoft", "location": "New York", "avatarUrl": null, "viewerState": { "connectionDegree": "3rd+" }, "then": { ... } } ] } ``` - `label` – included only if specified in the action parameters. - `data` – array of search outputs with results of child actions execution. - `name` – full name of the person. - `urn` – [URN](/docs/data-conventions#linkedin-urns) of the person, or `null` if LinkedIn does not expose it. - `publicUrl` – [public](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the person. - `headline` – headline of the person. - `location` – free-form string indicating the person's location. - `avatarUrl` – URL of the person's profile photo, or `null` if the person has no photo. - `viewerState` – how your account relates to the person, see [viewer state](/docs/data-conventions#viewer-state). - `connectionDegree` – `1st`, `2nd`, or `3rd+`, as LinkedIn shows it next to the name, or `null` if LinkedIn does not show it. - `then` – results of child actions execution. 2. **Failed search:** ```json { "actionType": "st.searchPeople", "label": "johnDoeSearch1", "success": false, "error": { "type": "searchingNotAllowed", "message": "LinkedIn has blocked performing the search." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `filterNotApplied` – LinkedIn offered no matching option for one or more filter values. The message lists each field and value, so correct or remove them rather than retrying. - `searchingNotAllowed` – LinkedIn has blocked performing the search due to exceeding limits or other restrictions. ## st.openPersonPage This action allows you to open a person page to retrieve their basic information and perform additional person-related actions if needed. :::surface node In the Node SDK this is `linkedapi.fetchPerson` – the call is below, under [Parameters](#parameters). ::: :::surface python In the Python SDK this is `linkedapi.fetch_person` – the call is below, under [Parameters](#parameters). ::: :::surface cli In the CLI this is `linkedin person fetch` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed, when `personUrl` parameter is provided. > ⬆️ **Parent Actions:** [st.doForPeople](/docs/action-st-do-for-people), [nv.openPersonPage](/docs/action-nv-open-person-page). > ⬇️ **Child Actions:** [st.sendMessage](/docs/action-st-send-message), [st.syncConversation](/docs/action-st-sync-conversation), [nv.syncConversation](/docs/action-nv-sync-conversation), [st.checkConnectionStatus](/docs/action-st-check-connection-status), [st.sendConnectionRequest](/docs/action-st-send-connection-request), [st.withdrawConnectionRequest](/docs/action-st-withdraw-connection-request), [st.removeConnection](/docs/action-st-remove-connection), [st.retrievePersonExperience](/docs/action-st-retrieve-person-experience), [st.retrievePersonEducation](/docs/action-st-retrieve-person-education), [st.retrievePersonSkills](/docs/action-st-retrieve-person-skills), [st.endorsePersonSkill](/docs/action-st-endorse-person-skill), [st.retrievePersonLanguages](/docs/action-st-retrieve-person-languages), [st.retrievePersonPosts](/docs/action-st-retrieve-person-posts), [st.retrievePersonComments](/docs/action-st-retrieve-person-comments), [st.retrievePersonReactions](/docs/action-st-retrieve-person-reactions), [nv.openPersonPage](/docs/action-nv-open-person-page). ## Parameters ```json tab=HTTP { "actionType": "st.openPersonPage", "label": "person1", "personUrl": "https://www.linkedin.com/in/person1", "basicInfo": true, "then": { ... } } ``` ```typescript tab=Node const workflow = await linkedapi.fetchPerson.execute({ personUrl: "https://www.linkedin.com/in/person1" }); const { data, errors } = await linkedapi.fetchPerson.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import FetchPersonParams workflow = linkedapi.fetch_person.execute( FetchPersonParams( person_url="https://www.linkedin.com/in/person1", ) ) result = linkedapi.fetch_person.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin person fetch https://www.linkedin.com/in/person1 ``` In AI assistants, the MCP server runs this action as the `fetch_person` tool. :::surface node,python In the SDK this is the `fetchPerson` method. It always returns basic information: `basicInfo`, like `label` and `then`, exists only in workflow JSON. It takes the other parameters below and returns the result below in `data`. Each `retrieve…` flag of `fetchPerson` adds one child action, and its data comes back under its own property of `data`: | Flag | Child action | Configuration | Property of `data` | | --- | --- | --- | --- | | `retrieveExperience` | [`st.retrievePersonExperience`](/docs/action-st-retrieve-person-experience) | – | `experiences` | | `retrieveEducation` | [`st.retrievePersonEducation`](/docs/action-st-retrieve-person-education) | – | `education` | | `retrieveSkills` | [`st.retrievePersonSkills`](/docs/action-st-retrieve-person-skills) | – | `skills` | | `retrieveLanguages` | [`st.retrievePersonLanguages`](/docs/action-st-retrieve-person-languages) | – | `languages` | | `retrievePosts` | [`st.retrievePersonPosts`](/docs/action-st-retrieve-person-posts) | `postsRetrievalConfig`: `limit`, `since` | `posts` | | `retrieveComments` | [`st.retrievePersonComments`](/docs/action-st-retrieve-person-comments) | `commentsRetrievalConfig`: `limit`, `since` | `comments` | | `retrieveReactions` | [`st.retrievePersonReactions`](/docs/action-st-retrieve-person-reactions) | `reactionsRetrievalConfig`: `limit`, `since` | `reactions` | A configuration object takes effect only with its flag set to `true`, and takes the parameters of its child action – their defaults and limits are on the child's page. For example, the 50 most recent posts since a date: ::: :::surface node ```typescript const workflow = await linkedapi.fetchPerson.execute({ personUrl: "https://www.linkedin.com/in/person1", retrievePosts: true, postsRetrievalConfig: { limit: 50, since: "2026-01-01T00:00:00Z" } }); ``` ::: :::surface python ```python from linkedapi import FetchPersonParams workflow = linkedapi.fetch_person.execute( FetchPersonParams( person_url="https://www.linkedin.com/in/person1", retrieve_posts=True, posts_retrieval_config={"limit": 50, "since": "2026-01-01T00:00:00Z"}, ) ) ``` ::: :::surface node,python When a child action fails, its error comes back in `errors` and the rest of `data` is still returned. ::: :::surface cli In the CLI this is `linkedin person fetch`: ```bash linkedin person fetch [flags] ``` | Arg | Required | Description | | --- | --- | --- | | `url` | yes | LinkedIn profile URL | | Flag | Type | Description | | --- | --- | --- | | `--experience` | boolean | Include work experience | | `--education` | boolean | Include education history | | `--skills` | boolean | Include skills | | `--languages` | boolean | Include languages | | `--posts` | boolean | Include recent posts | | `--comments` | boolean | Include recent comments | | `--reactions` | boolean | Include recent reactions | | `--posts-limit` | integer | Max posts to retrieve (requires `--posts`) | | `--posts-since` | string | Posts since ISO timestamp (requires `--posts`) | | `--comments-limit` | integer | Max comments to retrieve (requires `--comments`) | | `--comments-since` | string | Comments since ISO timestamp (requires `--comments`) | | `--reactions-limit` | integer | Max reactions to retrieve (requires `--reactions`) | | `--reactions-since` | string | Reactions since ISO timestamp (requires `--reactions`) | ::: - `label` (optional) – custom label for tracking this action in workflow completion. - `personUrl` (required for root start, forbidden for parent start) – [public or hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the person. - `basicInfo` (optional, default: `false`) – when set to `true`, the action includes basic person information in the results. - `then` (optional) – object or array of child actions to be executed within this action. ## Result options 1. **Successful page opening with `basicInfo` set to `true`:** ```json { "actionType": "st.openPersonPage", "label": "person1", "success": true, "data": { "name": "John Doe", "urn": "urn:li:member:123456789", "publicUrl": "https://www.linkedin.com/in/person1", "hashedUrl": "https://www.linkedin.com/in/SInQBmjJ015eLr8", "headline": "Software Engineer at TechCorp", "location": "San Francisco, USA", "countryCode": "US", "position": "Software Engineer", "about": "Software Engineer with 8+ years of experience building scalable web applications.", "companyName": "TechCorp", "companyHashedUrl": "https://www.linkedin.com/company/12345678", "followersCount": 37, "avatarUrl": "https://media.licdn.com/dms/image/v2/D5603AQE/profile-displayphoto-shrink_100_100/0/1700000000000", "viewerState": { "connectionDegree": "2nd" }, "then": { ... } } } ``` - `label` – included only if specified in the action parameters. - `data` – basic information about the person and results of child actions execution. - `name` – full name of the person. - `urn` – [URN](/docs/data-conventions#linkedin-urns) of the person, or `null` if LinkedIn does not expose it. - `publicUrl` – [public](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the person. - `hashedUrl` – [hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the person. - `headline` – headline of the person. - `location` – free-form string indicating the person's location. - `countryCode` – two-character code of the person's country. - `position` – current job position of the person. - `about` – "About" section text from the person's profile. - `companyName` – name of the person's current company. - `companyHashedUrl` – [hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the person's current company. - `followersCount` – number of followers the person has. - `avatarUrl` – URL of the person's profile photo, or `null` if the person has no photo. - `viewerState` – how your account relates to the person, see [viewer state](/docs/data-conventions#viewer-state). - `connectionDegree` – `1st`, `2nd`, or `3rd+`, as LinkedIn shows it next to the name, or `null` if LinkedIn does not show it. - `then` – results of child actions execution. 2. **Successful page opening with `basicInfo` set to `false`:** ```json { "actionType": "st.openPersonPage", "label": "person1", "success": true, "data": { "then": { ... } } } ``` - `label` – included only if specified in the action parameters. - `data.then` – results of child actions execution. 3. **Failed page opening:** ```json { "actionType": "st.openPersonPage", "label": "person1", "success": false, "error": { "type": "personNotFound", "message": "The provided URL is not an existing LinkedIn person." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `personNotFound` – provided URL is not an existing LinkedIn person. - `personLikelyChangedPublicUrl` – the provided URL no longer opens, but this person appeared in your account's [network events](/docs/monitoring-network) before, so they most likely changed their public URL. Retry with their [hashed URL](/faq/what-are-hashed-url-and-public-url). - `selfProfileNotAllowed` – action cannot be performed on your own profile. ## st.retrievePersonExperience This action allows you to retrieve information about a person's experience. :::surface node,python In the SDK this action runs inside `fetchPerson` with `retrieveExperience` enabled; its result comes back in `data.experiences`, and its errors in `errors`. ::: :::surface cli In the CLI this action runs inside `linkedin person fetch` with `--experience`; that command's other options are on [`st.openPersonPage`](/docs/action-st-open-person-page). ::: ## Constraints > ⏺️ **Root Start:** not allowed. > ⬆️ **Parent Actions:** [st.openPersonPage](/docs/action-st-open-person-page). > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "st.retrievePersonExperience", "label": "person1Experience" } ``` ```typescript tab=Node const workflow = await linkedapi.fetchPerson.execute({ personUrl: "https://www.linkedin.com/in/person1", retrieveExperience: true, }); const { data, errors } = await linkedapi.fetchPerson.result(workflow.workflowId); console.log(data?.experiences); console.log(errors); ``` ```python tab=Python from linkedapi import FetchPersonParams workflow = linkedapi.fetch_person.execute( FetchPersonParams( person_url="https://www.linkedin.com/in/person1", retrieve_experience=True, ) ) result = linkedapi.fetch_person.result(workflow.workflow_id) if result.data: print(result.data.experiences) print(result.errors) ``` ```bash tab=CLI linkedin person fetch https://www.linkedin.com/in/person1 --experience --json ``` - `label` (optional) – custom label for tracking this action in workflow completion. ## Result options This action always completes successfully. Even if the person has no experience records, it returns an empty array. ```json { "actionType": "st.retrievePersonExperience", "label": "person1Experience", "success": true, "data": [ { "position": "Software Engineer", "companyName": "TechCorp", "companyHashedUrl": "https://www.linkedin.com/company/12345678", "employmentType": "fullTime", "locationType": "onSite", "description": "Developing innovative software solutions.", "duration": 24, "startTime": "2021-01-01T00:00:00Z", "endTime": null, "location": "San Francisco, USA" }, { "position": "Junior Developer", "companyName": "CodeBase Inc.", "companyHashedUrl": "https://www.linkedin.com/company/87654321", "employmentType": "internship", "locationType": "remote", "description": "Worked on front-end development tasks.", "duration": 12, "startTime": "2020-01-01T00:00:00Z", "endTime": "2020-12-31T00:00:00Z", "location": null } ] } ``` - `label` – included only if specified in the action parameters. - `data` – array of person experience records. - `position` – job position held by the person. - `companyName` – name of the company where the person worked. - `companyHashedUrl` – [hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the company where the person worked. - `employmentType` – type of employment. Enum with the following values: - `fullTime` – full-time employment. - `partTime` – part-time employment. - `selfEmployed` – self-employed work. - `freelance` – freelance work. - `contract` – contract-based employment. - `internship` – internship position. - `apprenticeship` – apprenticeship program. - `seasonal` – seasonal employment. - `locationType` – type of location. Enum with the following values: - `remote` – position is fully remote. - `onSite` – position requires on-site work. - `hybrid` – position is a mix of remote and on-site work. - `description` – description of the job or responsibilities. - `duration` – number of months the person worked in the position. - `startTime` – timestamp of **the first day of the month** when the person started the position. - `endTime` – timestamp **of the last day of the month** when the person ended the position. Returns `null` if the person is still working in this position. - `location` – free-form string indicating the location of the position. ## st.retrievePersonEducation This action allows you to retrieve information about a person's education. :::surface node,python In the SDK this action runs inside `fetchPerson` with `retrieveEducation` enabled; its result comes back in `data.education`, and its errors in `errors`. ::: :::surface cli In the CLI this action runs inside `linkedin person fetch` with `--education`; that command's other options are on [`st.openPersonPage`](/docs/action-st-open-person-page). ::: ## Constraints > ⏺️ **Root Start:** not allowed. > ⬆️ **Parent Actions:** [st.openPersonPage](/docs/action-st-open-person-page). > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "st.retrievePersonEducation", "label": "person1Education" } ``` ```typescript tab=Node const workflow = await linkedapi.fetchPerson.execute({ personUrl: "https://www.linkedin.com/in/person1", retrieveEducation: true, }); const { data, errors } = await linkedapi.fetchPerson.result(workflow.workflowId); console.log(data?.education); console.log(errors); ``` ```python tab=Python from linkedapi import FetchPersonParams workflow = linkedapi.fetch_person.execute( FetchPersonParams( person_url="https://www.linkedin.com/in/person1", retrieve_education=True, ) ) result = linkedapi.fetch_person.result(workflow.workflow_id) if result.data: print(result.data.education) print(result.errors) ``` ```bash tab=CLI linkedin person fetch https://www.linkedin.com/in/person1 --education --json ``` - `label` (optional) – custom label for tracking this action in workflow completion. ## Result options This action always completes successfully. Even if the person has no education records, it returns an empty array. ```json { "actionType": "st.retrievePersonEducation", "label": "person1Education", "success": true, "data": [ { "schoolName": "Harvard University", "schoolHashedUrl": "https://www.linkedin.com/company/12345678", "details": "Master of Science in Computer Science, Artificial Intelligence" }, { "schoolName": "MIT", "schoolHashedUrl": "https://www.linkedin.com/company/87654321", "details": "Bachelor of Science in Electrical Engineering and Computer Science" } ] } ``` - `label` – included only if specified in the action parameters. - `data` – array of person education records. - `schoolName` – name of the institution. - `schoolHashedUrl` – [hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the institution. - `details` – information about the person's education, such as the degree, major, field of study, and other related details. ## st.retrievePersonSkills This action allows you to retrieve information about a person's skills. :::surface node,python In the SDK this action runs inside `fetchPerson` with `retrieveSkills` enabled; its result comes back in `data.skills`, and its errors in `errors`. ::: :::surface cli In the CLI this action runs inside `linkedin person fetch` with `--skills`; that command's other options are on [`st.openPersonPage`](/docs/action-st-open-person-page). ::: ## Constraints > ⏺️ **Root Start:** not allowed. > ⬆️ **Parent Actions:** [st.openPersonPage](/docs/action-st-open-person-page). > ⬇️ **Child Actions:** [st.doForSkills](/docs/action-st-do-for-skills). ## Parameters ```json tab=HTTP { "actionType": "st.retrievePersonSkills", "label": "person1Skills", "then": { ... } } ``` ```typescript tab=Node const workflow = await linkedapi.fetchPerson.execute({ personUrl: "https://www.linkedin.com/in/person1", retrieveSkills: true, }); const { data, errors } = await linkedapi.fetchPerson.result(workflow.workflowId); console.log(data?.skills); console.log(errors); ``` ```python tab=Python from linkedapi import FetchPersonParams workflow = linkedapi.fetch_person.execute( FetchPersonParams( person_url="https://www.linkedin.com/in/person1", retrieve_skills=True, ) ) result = linkedapi.fetch_person.result(workflow.workflow_id) if result.data: print(result.data.skills) print(result.errors) ``` ```bash tab=CLI linkedin person fetch https://www.linkedin.com/in/person1 --skills --json ``` - `label` (optional) – custom label for tracking this action in workflow completion. - `then` (optional) – [st.doForSkills](/docs/action-st-do-for-skills) action to [endorse](/docs/endorsing-skills) all of the person's skills or only those whose names match the patterns you specify. ## Result options This action always completes successfully. Even if the person has no mentioned skills, it returns an empty array. ```json { "actionType": "st.retrievePersonSkills", "label": "person1Skills", "success": true, "data": [ { "name": "Computer Science" }, { "name": "Java" }, { "name": "Project Management" }, { "name": "Marketing" } ] } ``` - `label` – included only if specified in the action parameters. - `data` – array of person skills. - `name` – name of the skill, as the profile owner entered it, in the owner's language. - `then` – array with the results of child actions. Present only on the skills that [st.doForSkills](/docs/action-st-do-for-skills) selected. ## st.endorsePersonSkill This action allows you to endorse a skill on the profile of a person who is your 1st-degree connection. :::surface node,python In the SDK this is the `endorsePersonSkill` method: it endorses one skill by name and returns no `data`, with a failed endorsement in `errors`. To endorse every skill whose name matches `skillNamePatterns`, or all of them, use `endorsePersonSkills`: it returns in `data` one item per selected skill, with `skillName`, `success` and `error`, so check every item – see [Endorsing skills](/docs/endorsing-skills). ::: :::surface cli In the CLI this is `linkedin person endorse --skill `. `--pattern ` (repeatable) or `--all` endorse every matching skill instead and print one item per selected skill, with `skillName`, `success` and `error`. ::: > LinkedIn lets you endorse skills only of your **1st-degree connections**. For anyone else, the action endorses nothing and returns `connectionNotFound`. > The action never removes an endorsement. If you have already endorsed the skill, the action leaves it as it is and returns success. > To endorse every skill whose name matches one or more patterns, use [st.doForSkills](/docs/action-st-do-for-skills) under [st.retrievePersonSkills](/docs/action-st-retrieve-person-skills). ## Constraints > ⏺️ **Root Start:** allowed, when `personUrl` and `skillName` parameters are provided. > ⬆️ **Parent Actions:** [st.openPersonPage](/docs/action-st-open-person-page), [st.doForSkills](/docs/action-st-do-for-skills). > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "st.endorsePersonSkill", "personUrl": "https://www.linkedin.com/in/person1", "skillName": "Project Management", "label": "person1Skill" } ``` ```typescript tab=Node const workflow = await linkedapi.endorsePersonSkill.execute({ personUrl: "https://www.linkedin.com/in/person1", skillName: "Project Management" }); const { errors } = await linkedapi.endorsePersonSkill.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import EndorsePersonSkillParams workflow = linkedapi.endorse_person_skill.execute( EndorsePersonSkillParams( person_url="https://www.linkedin.com/in/person1", skill_name="Project Management", ) ) result = linkedapi.endorse_person_skill.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin person endorse https://www.linkedin.com/in/person1 \ --skill "Project Management" ``` - `personUrl` (required for root start, forbidden for parent start) – [public or hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the person whose skill you want to endorse. - `skillName` (required for root start and under [st.openPersonPage](/docs/action-st-open-person-page), forbidden under [st.doForSkills](/docs/action-st-do-for-skills)) – name of the skill to endorse, up to 200 characters. It must equal the skill's name on the person's profile; letter case and extra spaces are ignored. It is not a pattern. Skill names are shown as the profile owner entered them, in the owner's language, whatever your own LinkedIn language: a German profile lists `Projektmanagement`, not `Project Management`. Under [st.doForSkills](/docs/action-st-do-for-skills), the skill comes from the iteration. - `label` (optional) – custom label for tracking this action in workflow completion. The action searches the person's full skills list, not only the top skills shown on their profile page. Each successful execution counts toward the `stEndorsements` [limit](/docs/admin-limits#endorsement-limits), including one where the skill was already endorsed. ## Result options 1. **Successful skill endorsement:** ```json { "actionType": "st.endorsePersonSkill", "success": true, "label": "person1Skill" } ``` - `label` – included only if specified in the action parameters. 2. **Failed skill endorsement:** ```json { "actionType": "st.endorsePersonSkill", "success": false, "label": "person1Skill", "error": { "type": "skillNotFound", "message": "The person has no skill with this name." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `personNotFound` – provided URL is not an existing LinkedIn person. - `connectionNotFound` – person is not your 1st-degree connection, so LinkedIn doesn't let you endorse their skills. - `skillNotFound` – person's profile has no skill with this name. - `endorsementUnavailable` – person has the skill, but LinkedIn offers no way to endorse it, for example because they turned endorsements off. ## st.retrievePersonLanguages This action allows you to retrieve information about a person's languages. :::surface node,python In the SDK this action runs inside `fetchPerson` with `retrieveLanguages` enabled; its result comes back in `data.languages`, and its errors in `errors`. ::: :::surface cli In the CLI this action runs inside `linkedin person fetch` with `--languages`; that command's other options are on [`st.openPersonPage`](/docs/action-st-open-person-page). ::: ## Constraints > ⏺️ **Root Start:** not allowed. > ⬆️ **Parent Actions:** [st.openPersonPage](/docs/action-st-open-person-page). > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "st.retrievePersonLanguages", "label": "person1Languages" } ``` ```typescript tab=Node const workflow = await linkedapi.fetchPerson.execute({ personUrl: "https://www.linkedin.com/in/person1", retrieveLanguages: true, }); const { data, errors } = await linkedapi.fetchPerson.result(workflow.workflowId); console.log(data?.languages); console.log(errors); ``` ```python tab=Python from linkedapi import FetchPersonParams workflow = linkedapi.fetch_person.execute( FetchPersonParams( person_url="https://www.linkedin.com/in/person1", retrieve_languages=True, ) ) result = linkedapi.fetch_person.result(workflow.workflow_id) if result.data: print(result.data.languages) print(result.errors) ``` ```bash tab=CLI linkedin person fetch https://www.linkedin.com/in/person1 --languages --json ``` - `label` (optional) – custom label for tracking this action in workflow completion. ## Result options This action always completes successfully. Even if the person has no mentioned languages, it returns an empty array. ```json { "actionType": "st.retrievePersonLanguages", "label": "person1Languages", "success": true, "data": [ { "name": "English", "proficiency": "nativeOrBilingual" }, { "name": "Spanish", "proficiency": "professionalWorking" }, { "name": "French", "proficiency": "limitedWorking" } ] } ``` - `label` – included only if specified in the action parameters. - `data` – array of person languages. - `name` – name of the language. - `proficiency` – proficiency level in the language. Enum with the following possible values: - `elementary` – basic understanding. - `limitedWorking` – limited ability for routine tasks. - `professionalWorking` – effective in professional settings. - `fullProfessional` – near-native proficiency. - `nativeOrBilingual` – fluent, like a native speaker. ## st.retrievePersonPosts This action allows you to retrieve posts published by a person and perform additional post-related actions if needed. :::surface node,python In the SDK this action runs inside `fetchPerson` with `retrievePosts` enabled; its result comes back in `data.posts`, and its errors in `errors`. ::: :::surface cli In the CLI this action runs inside `linkedin person fetch` with `--posts`; that command's other options are on [`st.openPersonPage`](/docs/action-st-open-person-page). ::: ## Constraints > ⏺️ **Root Start:** not allowed. > ⬆️ **Parent Actions:** [st.openPersonPage](/docs/action-st-open-person-page). > ⬇️ **Child Actions:** [st.doForPosts](/docs/action-st-do-for-posts). ## Parameters ```json tab=HTTP { "actionType": "st.retrievePersonPosts", "label": "person1Posts", "limit": 10, "since": "2023-01-01T00:00:00Z", "then": { ... } } ``` ```typescript tab=Node const workflow = await linkedapi.fetchPerson.execute({ personUrl: "https://www.linkedin.com/in/person1", retrievePosts: true, }); const { data, errors } = await linkedapi.fetchPerson.result(workflow.workflowId); console.log(data?.posts); console.log(errors); ``` ```python tab=Python from linkedapi import FetchPersonParams workflow = linkedapi.fetch_person.execute( FetchPersonParams( person_url="https://www.linkedin.com/in/person1", retrieve_posts=True, ) ) result = linkedapi.fetch_person.result(workflow.workflow_id) if result.data: print(result.data.posts) print(result.errors) ``` ```bash tab=CLI linkedin person fetch https://www.linkedin.com/in/person1 --posts --json ``` - `label` (optional) – custom label for tracking this action in workflow completion. - `limit` (optional) – number of posts to retrieve. Defaults to **20**, with a maximum value of **100**. - `since` (optional) – timestamp to filter posts published after the specified time. - `then` (optional) – object or array of child actions to be executed within this action. **Note**: both `limit` and `since` conditions are applied simultaneously. For example: - If `limit` is 10, but there are more than 10 posts since the specified timestamp, only 10 posts will be returned. - If `limit` is 15, but only 5 posts exist after the specified timestamp, only those 5 posts will be returned. ## Result options This action always completes successfully. Even if the person has no posts, it returns an empty array. ```json { "actionType": "st.retrievePersonPosts", "label": "person1Posts", "success": true, "data": [ { "url": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789", "activityUrn": "urn:li:activity:1234567890123456789", "time": "2023-01-02T12:30:00Z", "type": "original", "author": { "type": "person", "name": "Example Person", "urn": "urn:li:member:123456789", "profileUrl": "https://www.linkedin.com/in/example-person", "headline": "Product Marketing Lead", "viewerState": { "connectionDegree": "2nd" } }, "reposter": null, "text": "Check out our latest product launch!", "repostText": null, "hashtags": ["product", "launch"], "mentions": ["https://www.linkedin.com/company/example-company"], "externalLinks": ["https://example.com/launch"], "images": [ "https://static.linkedin.com/image1.jpg", "https://static.linkedin.com/image2.jpg" ], "documentSlides": [], "hasVideo": false, "videoThumbnail": null, "hasPoll": false, "reactionsCount": 27, "commentsCount": 8, "repostsCount": 12, "viewerState": { "reaction": "like", "isOwn": false }, "then": { ... } }, { "url": "https://www.linkedin.com/feed/update/urn:li:activity:2345678901234567890", "activityUrn": "urn:li:activity:2345678901234567890", "time": "2023-01-01T09:15:00Z", "type": "repost", "author": { "type": "company", "name": "Example Company", "urn": "urn:li:organization:1234567", "companyUrl": "https://www.linkedin.com/company/example-company" }, "reposter": { "type": "person", "name": "Example Reposter", "urn": "urn:li:member:234567890", "profileUrl": "https://www.linkedin.com/in/example-reposter", "headline": null }, "text": "Original post content about the webinar.", "repostText": "A useful summary for anyone planning a launch.", "hashtags": [], "mentions": [], "externalLinks": [], "images": [], "documentSlides": [], "hasVideo": true, "videoThumbnail": "https://media.licdn.com/dms/image/video-cover.jpg", "hasPoll": false, "reactionsCount": 6, "commentsCount": 0, "repostsCount": 1, "viewerState": { "reaction": null, "isOwn": false }, "then": { ... } } ] } ``` - `label` – included only if specified in the action parameters. - `data` – array of person posts with results of child actions execution. - `url` – URL of the post. - `activityUrn` – LinkedIn activity or UGC URN of the post, if available. - `time` – timestamp when the post was published. - `type` – type of the post. Enum with possible values: - `original` – for original posts. - `repost` – for reposts. - `author` – original content creator. Can be `null` if the actor cannot be parsed. - For person authors: `type`, `name`, `urn`, `profileUrl`, `headline`, `viewerState` with `connectionDegree` – `1st`, `2nd`, `3rd+`, or `null` if LinkedIn does not show it (see [viewer state](/docs/data-conventions#viewer-state)). - For company authors: `type`, `name`, `urn`, `companyUrl`. - `reposter` – person or company that reshared the post. Non-null only when `type` is `repost`. - For person reposters: `type`, `name`, `urn`, `profileUrl`, `headline`. - For company reposters: `type`, `name`, `urn`, `companyUrl`. - `urn` on an actor – [URN](/docs/data-conventions#linkedin-urns) of that person or company, or `null` when LinkedIn does not expose an identifier for the actor. - `text` – original author's post text, if available. - `repostText` – text added by the reposter on a repost with comment, if available. - `hashtags` – array of hashtags found in the post text, without leading `#`. - `mentions` – array of person and company profile URLs found in the post text. - `externalLinks` – array of outbound URLs found in the post text. - `images` – array of up to 3 preview image URLs, if available. - `documentSlides` – array of carousel or document slide image URLs, if available. - `hasVideo` – boolean indicating if the post contains a video. - `videoThumbnail` – URL of the video thumbnail, if available. - `hasPoll` – boolean indicating if the post contains a poll. - `reactionsCount` – number of reactions on the post. - `commentsCount` – number of comments on the post. - `repostsCount` – number of reposts on the post. - `viewerState` – what your account has done with the post, see [viewer state](/docs/data-conventions#viewer-state). - `reaction` – your reaction to the post (`like`, `celebrate`, `support`, `love`, `insightful`, `funny`), or `null` if you have not reacted or it could not be read. - `isOwn` – `true` if your account is the post author, `false` if someone else is, or `null` if this cannot be told. - `then` – results of child actions execution. ## st.retrievePersonComments This action allows you to retrieve comments left by a person. :::surface node,python In the SDK this action runs inside `fetchPerson` with `retrieveComments` enabled; its result comes back in `data.comments`, and its errors in `errors`. ::: :::surface cli In the CLI this action runs inside `linkedin person fetch` with `--comments`; that command's other options are on [`st.openPersonPage`](/docs/action-st-open-person-page). ::: ## Constraints > ⏺️ **Root Start:** not allowed. > ⬆️ **Parent Actions:** [st.openPersonPage](/docs/action-st-open-person-page). > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "st.retrievePersonComments", "label": "person1Comments", "limit": 10, "since": "2023-01-01T00:00:00Z" } ``` ```typescript tab=Node const workflow = await linkedapi.fetchPerson.execute({ personUrl: "https://www.linkedin.com/in/person1", retrieveComments: true, }); const { data, errors } = await linkedapi.fetchPerson.result(workflow.workflowId); console.log(data?.comments); console.log(errors); ``` ```python tab=Python from linkedapi import FetchPersonParams workflow = linkedapi.fetch_person.execute( FetchPersonParams( person_url="https://www.linkedin.com/in/person1", retrieve_comments=True, ) ) result = linkedapi.fetch_person.result(workflow.workflow_id) if result.data: print(result.data.comments) print(result.errors) ``` ```bash tab=CLI linkedin person fetch https://www.linkedin.com/in/person1 --comments --json ``` - `limit` (optional) – number of comments to retrieve. Defaults to **20**, with a maximum value of **100**. - `since` (optional) – timestamp to filter comments made after the specified time. - `label` (optional) – custom label for tracking this action in workflow completion. **Note**: both `limit` and `since` conditions are applied simultaneously. For example: - If `limit` is 10, but there are more than 10 comments since the specified timestamp, only 10 comments will be returned. - If `limit` is 15, but only 5 comments exist after the specified timestamp, only those 5 reactions will be returned. ## Result options This action always completes successfully. Even if the person has no comments, it returns an empty array. ```json { "actionType": "st.retrievePersonComments", "label": "person1Comments", "success": true, "data": [ { "postUrl": "https://www.linkedin.com/posts/example1", "time": "2023-01-02T10:30:00Z", "text": "Great work!", "image": null, "reactionsCount": 3 }, { "postUrl": "https://www.linkedin.com/posts/example2", "time": "2023-01-03T10:30:00Z", "text": "Feeling the same :)", "image": "https://static.linkedin.com/image1.jpg", "reactionsCount": 0 } ] } ``` - `label` – included only if specified in the action parameters. - `data` – array of person comments. - `postUrl` – URL of the post the comment belongs to. - `time` – timestamp when the comment was left. - `text` – text content of the comment, if available. - `image` – URL of the comment's image, if available. - `reactionsCount` – number of reactions on the comment. ## st.retrievePersonReactions This action allows you to retrieve reactions made by a person. :::surface node In the Node SDK this action runs inside `fetchPerson` with `retrieveReactions` enabled; its result comes back in `data.reactions`, and its errors in `errors`. > Up to `@linkedapi/node` 2.3.21 the `TReaction` type declares the reaction kind as `reactionType`, while the API returns it as `type`, described below. At runtime the value is in `type`; `reactionType` is always undefined. Since 2.3.22 the type declares `type`. ::: :::surface python In the Python SDK this action runs inside `fetch_person` with `retrieve_reactions` enabled; its result comes back in `result.data.reactions`, and its errors in `result.errors`. > Up to `linkedapi` 1.4.9 the `Reaction` model drops the reaction kind: the API returns it as `type`, described below, but `reaction_type` is always `None` and the model has no `type`. Since 1.4.10 the model has `type`, and `reaction_type` returns the same value. ::: :::surface cli In the CLI this action runs inside `linkedin person fetch` with `--reactions`; that command's other options are on [`st.openPersonPage`](/docs/action-st-open-person-page). ::: ## Constraints > ⏺️ **Root Start:** not allowed. > ⬆️ **Parent Actions:** [st.openPersonPage](/docs/action-st-open-person-page). > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "st.retrievePersonReactions", "label": "person1Reactions", "limit": 10, "since": "2023-01-01T00:00:00Z" } ``` ```typescript tab=Node const workflow = await linkedapi.fetchPerson.execute({ personUrl: "https://www.linkedin.com/in/person1", retrieveReactions: true, }); const { data, errors } = await linkedapi.fetchPerson.result(workflow.workflowId); console.log(data?.reactions); console.log(errors); ``` ```python tab=Python from linkedapi import FetchPersonParams workflow = linkedapi.fetch_person.execute( FetchPersonParams( person_url="https://www.linkedin.com/in/person1", retrieve_reactions=True, ) ) result = linkedapi.fetch_person.result(workflow.workflow_id) if result.data: print(result.data.reactions) print(result.errors) ``` ```bash tab=CLI linkedin person fetch https://www.linkedin.com/in/person1 --reactions --json ``` - `label` (optional) – custom label for tracking this action in workflow completion. - `limit` (optional) – number of reactions to retrieve. Defaults to **20**, with a maximum value of **100**. - `since` (optional) – timestamp to filter reactions made after the specified time. **Note**: both `limit` and `since` conditions are applied simultaneously. For example: - If `limit` is 10, but there are more than 10 reactions since the specified timestamp, only 10 reactions will be returned. - If `limit` is 15, but only 5 reactions exist after the specified timestamp, only those 5 reactions will be returned. ## Result options This action always completes successfully. Even if the person has no reactions, it returns an empty array. ```json { "actionType": "st.retrievePersonReactions", "label": "person1Reactions", "success": true, "data": [ { "postUrl": "https://www.linkedin.com/posts/example1", "time": "2023-01-02T12:30:00Z", "type": "like" }, { "postUrl": "https://www.linkedin.com/posts/example2", "time": "2023-01-03T12:30:00Z", "type": "celebrate" } ] } ``` - `label` – included only if specified in the action parameters. - `data` – array of person reactions. - `postUrl` – URL of the post the reaction belongs to. - `time` – timestamp when the reaction was made. - `type` – enum describing the reaction type. May take one of the following values: - `like` – standard "like". - `celebrate` – celebrates an achievement. - `support` – shows support. - `love` – expresses love or admiration. - `insightful` – appreciates insightful content. - `funny` – reacts to something humorous. ## st.searchCompanies This action allows you to search for companies applying various filtering criteria. :::surface node,python In the SDK this is the `searchCompanies` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON, and returns the result below in `data`. ::: :::surface cli In the CLI this is `linkedin company search` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed. > ⬆️ **Parent Actions:** N/A. > ⬇️ **Child Actions:** [st.doForCompanies](/docs/action-st-do-for-companies). ## Parameters ```json tab=HTTP { "actionType": "st.searchCompanies", "label": "techIncSearch1", "term": "Tech Inc", "limit": 2, "filter": { "sizes": ["51-200", "201-500"], "locations": ["San Francisco", "New York"], "industries": ["Software Development", "Robotics Engineering"] }, "customSearchUrl": "https://www.linkedin.com/search/results/companies/?companySize=%5B%22B%22%5D&keywords=Linked%20API", "then": { ... } } ``` ```typescript tab=Node const workflow = await linkedapi.searchCompanies.execute({ term: "Tech Inc", limit: 2, filter: { sizes: ["51-200", "201-500"], locations: ["San Francisco", "New York"], industries: ["Software Development", "Robotics Engineering"] }, customSearchUrl: "https://www.linkedin.com/search/results/companies/?companySize=%5B%22B%22%5D&keywords=Linked%20API" }); const { data, errors } = await linkedapi.searchCompanies.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import SearchCompaniesParams workflow = linkedapi.search_companies.execute( SearchCompaniesParams( term="Tech Inc", limit=2, filter={ "sizes": ["51-200", "201-500"], "locations": ["San Francisco", "New York"], "industries": ["Software Development", "Robotics Engineering"], }, custom_search_url="https://www.linkedin.com/search/results/companies/?companySize=%5B%22B%22%5D&keywords=Linked%20API", ) ) result = linkedapi.search_companies.result(workflow.workflow_id) ``` ```bash tab=CLI # Not available in the CLI: customSearchUrl linkedin company search \ --term "Tech Inc" \ --limit 2 \ --sizes 51-200,201-500 \ --locations "San Francisco,New York" \ --industries "Software Development,Robotics Engineering" ``` In AI assistants, the MCP server runs this action as the `search_companies` tool. :::surface cli In the CLI this is `linkedin company search`: ```bash linkedin company search [flags] ``` | Flag | Type | Description | | --- | --- | --- | | `--term` | string | Search keyword or phrase | | `--limit` | integer | Max results to return | | `--sizes` | string | Company sizes, comma-separated (`1-10`, `11-50`, `51-200`, `201-500`, `501-1000`, `1001-5000`, `5001-10000`, `10001+`) | | `--locations` | string | Comma-separated locations | | `--industries` | string | Comma-separated industries | ::: - `label` (optional) – custom label for tracking this action in workflow completion. - `term` (optional) – keyword or phrase to search, from 1 to 50 characters. Either `term` or `customSearchUrl` must be provided; a request with neither (for example, with `filter` only) is rejected. - `limit` (optional) – number of search results to return. Defaults to **10**, with a maximum value of **1000**. - `filter` (optional) – object that specifies filtering criteria for companies. When multiple filter fields are specified, they are combined using `AND` logic. - `sizes` (optional) – array of enums representing employee count ranges. Matches if company’s size falls within any of the listed ranges. Options: - `1-10`. - `11-50`. - `51-200`. - `201-500`. - `501-1000`. - `1001-5000`. - `5001-10000`. - `10001+`. - `locations` (optional) – array of free-form strings representing locations. Matches if company is headquartered in any of the listed locations. - `industries` (optional) – array of enums representing industries. Matches if company operates in any of the listed industries. Takes specific values available in the LinkedIn interface. - `customSearchUrl` (optional) – URL copied from LinkedIn search results page after configuring desired filters. When specified, overrides term and filter parameters. Allows using any search configuration available in the LinkedIn interface. Either `term` or `customSearchUrl` must be provided. - `then` (optional) – object or array of child actions to be executed within this action. ## Result options 1. **Successful search:** ```json { "actionType": "st.searchCompanies", "label": "techIncSearch1", "success": true, "data": [ { "name": "TechCorp", "urn": "urn:li:organization:1234567", "publicUrl": "https://www.linkedin.com/company/techcorp", "industry": "IT Services and IT Consulting", "location": "California", "logoUrl": "https://media.licdn.com/dms/image/v2/C4D0BAQE/company-logo_100_100/0/1700000000000", "then": { ... } }, { "name": "Techical Life", "urn": null, "publicUrl": "https://www.linkedin.com/company/techlife", "industry": "Software Development", "location": "Mountain View", "logoUrl": null, "then": { ... } } ] } ``` - `label` – included only if specified in the action parameters. - `data` – array of search outputs with results of child actions execution. - `name` – name of the company. - `urn` – [URN](/docs/data-conventions#linkedin-urns) of the company, or `null` if LinkedIn does not expose it. - `publicUrl` – [public](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the company. - `industry` – enum representing the company industry. Takes specific values available in the LinkedIn interface. - `location` – free-form string representing the company headquarters location. - `logoUrl` – URL of the company's logo, or `null` if the company has no logo. - `then` – results of child actions execution. 2. **Failed search:** ```json { "actionType": "st.searchCompanies", "label": "techIncSearch1", "success": false, "error": { "type": "searchingNotAllowed", "message": "LinkedIn has blocked performing the search." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `filterNotApplied` – LinkedIn offered no matching option for one or more filter values. The message lists each field and value, so correct or remove them rather than retrying. - `searchingNotAllowed` – LinkedIn has blocked performing the search due to exceeding limits or other restrictions. ## st.openCompanyPage This action allows you to open a company page to retrieve its basic information and perform additional company-related actions if needed. :::surface node In the Node SDK this is `linkedapi.fetchCompany` – the call is below, under [Parameters](#parameters). ::: :::surface python In the Python SDK this is `linkedapi.fetch_company` – the call is below, under [Parameters](#parameters). ::: :::surface cli In the CLI this is `linkedin company fetch` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed, when `companyUrl` parameter is provided. > ⬆️ **Parent Actions:** [st.doForCompanies](/docs/action-st-do-for-companies), [nv.openCompanyPage](/docs/action-nv-open-company-page). > ⬇️ **Child Actions:** [st.retrieveCompanyEmployees](/docs/action-st-retrieve-company-employees), [st.retrieveCompanyDMs](/docs/action-st-retrieve-company-dms), [st.retrieveCompanyPosts](/docs/action-st-retrieve-company-posts), [nv.openCompanyPage](/docs/action-nv-open-company-page). ## Parameters ```json tab=HTTP { "actionType": "st.openCompanyPage", "label": "company1", "companyUrl": "https://www.linkedin.com/company/company1", "basicInfo": true, "then": { ... } } ``` ```typescript tab=Node const workflow = await linkedapi.fetchCompany.execute({ companyUrl: "https://www.linkedin.com/company/company1" }); const { data, errors } = await linkedapi.fetchCompany.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import FetchCompanyParams workflow = linkedapi.fetch_company.execute( FetchCompanyParams( company_url="https://www.linkedin.com/company/company1", ) ) result = linkedapi.fetch_company.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin company fetch https://www.linkedin.com/company/company1 ``` In AI assistants, the MCP server runs this action as the `fetch_company` tool. :::surface node,python In the SDK this is the `fetchCompany` method. It always returns basic information: `basicInfo`, like `label` and `then`, exists only in workflow JSON. It takes the other parameters below and returns the result below in `data`. Each `retrieve…` flag of `fetchCompany` adds one child action, and its data comes back under its own property of `data`: | Flag | Child action | Configuration | Property of `data` | | --- | --- | --- | --- | | `retrieveEmployees` | [`st.retrieveCompanyEmployees`](/docs/action-st-retrieve-company-employees) | `employeesRetrievalConfig`: `limit`, `filter` | `employees` | | `retrieveDMs` | [`st.retrieveCompanyDMs`](/docs/action-st-retrieve-company-dms) | `dmsRetrievalConfig`: `limit` | `dms` | | `retrievePosts` | [`st.retrieveCompanyPosts`](/docs/action-st-retrieve-company-posts) | `postsRetrievalConfig`: `limit`, `since` | `posts` | A configuration object takes effect only with its flag set to `true`, and takes the parameters of its child action – their defaults, limits and the employee `filter` fields are on the child's page. For example, up to 5 decision makers: ::: :::surface node ```typescript const workflow = await linkedapi.fetchCompany.execute({ companyUrl: "https://www.linkedin.com/company/company1", retrieveDMs: true, dmsRetrievalConfig: { limit: 5 } }); ``` ::: :::surface python ```python from linkedapi import FetchCompanyParams workflow = linkedapi.fetch_company.execute( FetchCompanyParams( company_url="https://www.linkedin.com/company/company1", retrieve_dms=True, dms_retrieval_config={"limit": 5}, ) ) ``` ::: :::surface node,python When a child action fails, its error comes back in `errors` and the rest of `data` is still returned. ::: :::surface cli In the CLI this is `linkedin company fetch`: ```bash linkedin company fetch [flags] ``` | Arg | Required | Description | | --- | --- | --- | | `url` | yes | LinkedIn company URL | | Flag | Type | Description | | --- | --- | --- | | `--employees` | boolean | Include employee data | | `--dms` | boolean | Include decision makers | | `--posts` | boolean | Include company posts | | `--employees-limit` | integer | Max employees to retrieve | | `--employees-first-name` | string | Filter employees by first name | | `--employees-last-name` | string | Filter employees by last name | | `--employees-position` | string | Filter employees by position | | `--employees-locations` | string | Filter employees by locations, comma-separated | | `--employees-industries` | string | Filter employees by industries, comma-separated | | `--employees-schools` | string | Filter employees by schools, comma-separated | | `--employees-connection-degrees` | string | Filter employees by connection degrees (`1st`, `2nd`, `3rd+`), comma-separated | | `--dms-limit` | integer | Max decision makers to retrieve | | `--posts-limit` | integer | Max posts to retrieve | | `--posts-since` | string | Posts since ISO timestamp | ::: - `label` (optional) – custom label for tracking this action in workflow completion. - `companyUrl` (required for root start, forbidden for parent start) – [public or hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the company. - `basicInfo` (optional, default: `false`) – when set to `true`, the action includes basic company information in the results. - `then` (optional) – object or array of child actions to be executed within this action. ## Result options 1. **Successful page opening with `basicInfo` set to `true`:** ```json { "actionType": "st.openCompanyPage", "label": "company1", "success": true, "data": { "name": "TechCorp", "urn": "urn:li:organization:1234567", "publicUrl": "https://www.linkedin.com/company/company1", "description": "TechCorp is a leading provider of innovative technology solutions for businesses worldwide.", "location": "Cupertino, California", "headquarters": "US", "industry": "IT Services and IT Consulting", "specialties": "Cloud Computing, AI, Software Development", "website": "https://techcorp.com", "employeesCount": 500, "yearFounded": 2019, "jobsCount": 12, "logoUrl": "https://media.licdn.com/dms/image/v2/C4D0BAQE/company-logo_200_200/0/1700000000000", "then": { ... } } } ``` - `label` – included only if specified in the action parameters. - `data` – basic information about the company and results of child actions execution. - `name` – name of the company. - `urn` – [URN](/docs/data-conventions#linkedin-urns) of the company, or `null` if LinkedIn does not expose it. - `publicUrl` – [public](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the company. - `description` – description of the company. - `location` – free-form string representing the company headquarters location. - `headquarters` – two-character country code (e.g., "US", "UK") representing headquarters location. - `industry` – enum representing the company industry. Takes specific values available in the LinkedIn interface. - `specialties` – comma-separated list of company's specialties. - `website` – company's official website URL. - `employeesCount` – total number of employees associated with the company. - `yearFounded` – year the company was established, if available. - `jobsCount` – number of current job vacancies posted by the company. - `logoUrl` – URL of the company's logo, or `null` if the company has no logo. - `then` – results of child actions execution. 2. **Successful page opening with `basicInfo` set to `false`:** ```json { "actionType": "st.openCompanyPage", "label": "company1", "success": true, "data": { "then": { ... } } } ``` - `label` – included only if specified in the action parameters. - `data.then` – results of child actions execution. 3. **Failed page opening:** ```json { "actionType": "st.openCompanyPage", "label": "company1", "success": false, "error": { "type": "companyNotFound", "message": "The provided URL is not an existing LinkedIn company." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `companyNotFound` – provided URL is not an existing LinkedIn company. ## st.retrieveCompanyEmployees This action allows you to retrieve company employees and perform additional person-related actions if needed. :::surface node,python In the SDK this action runs inside `fetchCompany` with `retrieveEmployees` enabled; its result comes back in `data.employees`, and its errors in `errors`. ::: :::surface cli In the CLI this action runs inside `linkedin company fetch` with `--employees`; that command's other options are on [`st.openCompanyPage`](/docs/action-st-open-company-page). ::: ## Constraints > ⏺️ **Root Start:** not allowed. > ⬆️ **Parent Actions:** [st.openCompanyPage](/docs/action-st-open-company-page). > ⬇️ **Child Actions:** [st.doForPeople](/docs/action-st-do-for-people). ## Parameters ```json tab=HTTP { "actionType": "st.retrieveCompanyEmployees", "label": "company1Employees", "limit": 300, "filter": { "firstName": "John", "lastName": "Doe", "position": "Manager", "locations": ["New York", "San Francisco", "London"], "industries": ["Software Development", "Professional Services"], "schools": ["Harvard University", "MIT"], "connectionDegrees": ["2nd"] }, "then": { ... } } ``` ```typescript tab=Node const workflow = await linkedapi.fetchCompany.execute({ companyUrl: "https://www.linkedin.com/company/company1", retrieveEmployees: true, }); const { data, errors } = await linkedapi.fetchCompany.result(workflow.workflowId); console.log(data?.employees); console.log(errors); ``` ```python tab=Python from linkedapi import FetchCompanyParams workflow = linkedapi.fetch_company.execute( FetchCompanyParams( company_url="https://www.linkedin.com/company/company1", retrieve_employees=True, ) ) result = linkedapi.fetch_company.result(workflow.workflow_id) if result.data: print(result.data.employees) print(result.errors) ``` ```bash tab=CLI linkedin company fetch https://www.linkedin.com/company/company1 --employees --json ``` - `label` (optional) – custom label for tracking this action in workflow completion. - `limit` – (optional) maximum number of employees to retrieve. Defaults to **10**, with a maximum value of **1000**. - `filter` (optional) – object that specifies filtering criteria for employees. When multiple filter fields are specified, they are combined using `AND` logic. - `firstName` (optional) – first name of employee. - `lastName` (optional) – last name of employee. - `position` (optional) – job position of employee. - `locations` (optional) – array of free-form strings representing locations. Matches if employee is located in any of the listed locations. - `industries` (optional) – array of enums representing industries. Matches if employee works in any of the listed industries. Takes specific values available in the LinkedIn interface. - `schools` (optional) – array of institution names. Matches if employee currently attends or previously attended any of the listed institutions. - `connectionDegrees` (optional) – array of enums representing your connection degree to the employee. Matches if the employee is at any of the listed degrees. Options: - `1st` – your 1st-degree connections. - `2nd` – your 2nd-degree connections. - `3rd+` – 3rd-degree connections and beyond. - `then` (optional) – object or array of child actions to be executed within this action. ## Result options 1. **Successful retrieval:** ```json { "actionType": "st.retrieveCompanyEmployees", "label": "company1Employees", "success": true, "data": [ { "name": "John Doe", "urn": "urn:li:member:123456789", "publicUrl": "https://www.linkedin.com/in/johndoe", "headline": "Manager at TechCorp", "location": "New York, USA", "avatarUrl": "https://media.licdn.com/dms/image/v2/D5603AQE/profile-displayphoto-shrink_100_100/0/1700000000000", "viewerState": { "connectionDegree": "2nd" }, "then": { ... } }, { "name": "Jane Smith", "urn": null, "publicUrl": "https://www.linkedin.com/in/janesmith", "headline": "Software Engineer at TechCorp", "location": "San Francisco, USA", "avatarUrl": null, "viewerState": { "connectionDegree": "2nd" }, "then": { ... } } ] } ``` - `label` – included only if specified in the action parameters. - `data` – array of company employees with results of child actions execution. - `name` – full name of the employee. - `urn` – [URN](/docs/data-conventions#linkedin-urns) of the employee, or `null` if LinkedIn does not expose it. - `publicUrl` – [public](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the employee. - `headline` – headline of the employee. - `location` – free-form string indicating the employee's location. - `avatarUrl` – URL of the employee's profile photo, or `null` if the employee has no photo. - `viewerState` – how your account relates to the employee, see [viewer state](/docs/data-conventions#viewer-state). - `connectionDegree` – `1st`, `2nd`, or `3rd+`, as LinkedIn shows it next to the name, or `null` if LinkedIn does not show it. 2. **Failed retrieval:** ```json { "actionType": "st.retrieveCompanyEmployees", "label": "company1Employees", "success": false, "error": { "type": "retrievingNotAllowed", "message": "LinkedIn has blocked performing the retrieval." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `filterNotApplied` – LinkedIn offered no matching option for one or more filter values. The message lists each field and value, so correct or remove them rather than retrying. - `retrievingNotAllowed` – LinkedIn has blocked performing the retrieval due to exceeding limits or other restrictions. ## st.retrieveCompanyDMs This action allows you to retrieve company decision makers and perform additional person-related actions if needed. :::surface node,python In the SDK this action runs inside `fetchCompany` with `retrieveDMs` enabled; its result comes back in `data.dms`, and its errors in `errors`. ::: :::surface cli In the CLI this action runs inside `linkedin company fetch` with `--dms`; that command's other options are on [`st.openCompanyPage`](/docs/action-st-open-company-page). ::: > Decision makers are ranked by seniority, starting with the highest-level positions. For example, founders and C-level executives are returned first, followed by VPs, directors, and so on. ## Constraints > ⏺️ **Root Start:** not allowed. > ⬆️ **Parent Actions:** [st.openCompanyPage](/docs/action-st-open-company-page). > ⬇️ **Child Actions:** [st.doForPeople](/docs/action-st-do-for-people). ## Parameters ```json tab=HTTP { "actionType": "st.retrieveCompanyDMs", "label": "company1DMs", "limit": 3, "then": { ... } } ``` ```typescript tab=Node const workflow = await linkedapi.fetchCompany.execute({ companyUrl: "https://www.linkedin.com/company/company1", retrieveDMs: true, }); const { data, errors } = await linkedapi.fetchCompany.result(workflow.workflowId); console.log(data?.dms); console.log(errors); ``` ```python tab=Python from linkedapi import FetchCompanyParams workflow = linkedapi.fetch_company.execute( FetchCompanyParams( company_url="https://www.linkedin.com/company/company1", retrieve_dms=True, ) ) result = linkedapi.fetch_company.result(workflow.workflow_id) if result.data: print(result.data.dms) print(result.errors) ``` ```bash tab=CLI linkedin company fetch https://www.linkedin.com/company/company1 --dms --json ``` - `label` (optional) – custom label for tracking this action in workflow completion. - `limit` (optional) – number of decision makers to retrieve. Defaults to **20**, with a maximum value of **20**. If a company has fewer decision makers than specified, only the available ones will be returned. - `then` (optional) – object or array of child actions to be executed within this action. ## Result options 1. **Successful retrieval:** ```json { "actionType": "st.retrieveCompanyDMs", "label": "company1DMs", "success": true, "data": [ { "name": "John Doe", "urn": "urn:li:member:123456789", "publicUrl": "https://www.linkedin.com/in/johndoe", "headline": "Founder of TechCorp", "location": "New York, USA", "avatarUrl": "https://media.licdn.com/dms/image/v2/D5603AQE/profile-displayphoto-shrink_100_100/0/1700000000000", "countryCode": "US", "viewerState": { "connectionDegree": "2nd" }, "then": { ... } }, { "name": "Jane Smith", "urn": null, "publicUrl": "https://www.linkedin.com/in/janesmith", "headline": "CEO at TechCorp", "location": "San Francisco, USA", "avatarUrl": null, "countryCode": "US", "viewerState": { "connectionDegree": "3rd+" }, "then": { ... } } ] } ``` - `label` – included only if specified in the action parameters. - `data` – array of decision makers with results of child actions execution. - `name` – full name of the decision-maker. - `urn` – [URN](/docs/data-conventions#linkedin-urns) of the decision-maker, or `null` if LinkedIn does not expose it. - `publicUrl` – [public](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the decision-maker. - `headline` – headline of the decision-maker. - `location` – free-form string indicating the decision-maker's location. - `avatarUrl` – URL of the decision-maker's profile photo, or `null` if the decision-maker has no photo. - `countryCode` – two-character code of the decision-maker's country. - `viewerState` – how your account relates to the decision-maker, see [viewer state](/docs/data-conventions#viewer-state). - `connectionDegree` – `1st`, `2nd`, or `3rd+`, as LinkedIn shows it next to the name, or `null` if LinkedIn does not show it. - `then` – results of child actions execution. 2. **Failed retrieval:** ```json { "actionType": "st.retrieveCompanyDMs", "label": "company1DMs", "success": false, "error": { "type": "retrievingNotAllowed", "message": "LinkedIn has blocked performing the retrieval." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `retrievingNotAllowed` – LinkedIn has blocked performing the retrieval due to exceeding limits or other restrictions. ## st.retrieveCompanyPosts This action allows you to retrieve posts published by a company and perform additional post-related actions if needed. :::surface node,python In the SDK this action runs inside `fetchCompany` with `retrievePosts` enabled; its result comes back in `data.posts`, and its errors in `errors`. ::: :::surface cli In the CLI this action runs inside `linkedin company fetch` with `--posts`; that command's other options are on [`st.openCompanyPage`](/docs/action-st-open-company-page). ::: ## Constraints > ⏺️ **Root Start:** not allowed. > ⬆️ **Parent Actions:** [st.openCompanyPage](/docs/action-st-open-company-page). > ⬇️ **Child Actions:** [st.doForPosts](/docs/action-st-do-for-posts). ## Parameters ```json tab=HTTP { "actionType": "st.retrieveCompanyPosts", "label": "company1Posts", "limit": 10, "since": "2023-01-01T00:00:00Z", "then": { ... } } ``` ```typescript tab=Node const workflow = await linkedapi.fetchCompany.execute({ companyUrl: "https://www.linkedin.com/company/company1", retrievePosts: true, }); const { data, errors } = await linkedapi.fetchCompany.result(workflow.workflowId); console.log(data?.posts); console.log(errors); ``` ```python tab=Python from linkedapi import FetchCompanyParams workflow = linkedapi.fetch_company.execute( FetchCompanyParams( company_url="https://www.linkedin.com/company/company1", retrieve_posts=True, ) ) result = linkedapi.fetch_company.result(workflow.workflow_id) if result.data: print(result.data.posts) print(result.errors) ``` ```bash tab=CLI linkedin company fetch https://www.linkedin.com/company/company1 --posts --json ``` - `label` (optional) – custom label for tracking this action in workflow completion. - `limit` (optional) – number of posts to retrieve. Defaults to **20**, with a maximum value of **20**. - `since` (optional) – timestamp to filter posts published after the specified time. - `then` (optional) – object or array of child actions to be executed within this action. **Note**: both `limit` and `since` conditions are applied simultaneously. For example: - If `limit` is 10, but there are more than 10 posts since the specified timestamp, only 10 posts will be returned. - If `limit` is 15, but only 5 posts exist after the specified timestamp, only those 5 posts will be returned. ## Result options This action always completes successfully. Even if the company has no posts, it returns an empty array. ```json { "actionType": "st.retrieveCompanyPosts", "label": "company1Posts", "success": true, "data": [ { "url": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789", "activityUrn": "urn:li:activity:1234567890123456789", "time": "2023-01-02T12:30:00Z", "type": "original", "author": { "type": "company", "name": "Example Company", "urn": "urn:li:organization:1234567", "companyUrl": "https://www.linkedin.com/company/example-company" }, "reposter": null, "text": "Check out our latest product launch!", "repostText": null, "hashtags": ["product", "launch"], "mentions": [], "externalLinks": ["https://example.com/launch"], "images": [ "https://static.linkedin.com/image1.jpg", "https://static.linkedin.com/image2.jpg" ], "documentSlides": [], "hasVideo": false, "videoThumbnail": null, "hasPoll": false, "reactionsCount": 27, "commentsCount": 8, "repostsCount": 2, "viewerState": { "reaction": "like", "isOwn": false }, "then": { ... } }, { "url": "https://www.linkedin.com/feed/update/urn:li:activity:2345678901234567890", "activityUrn": "urn:li:activity:2345678901234567890", "time": "2023-01-01T09:15:00Z", "type": "repost", "author": { "type": "person", "name": "Example Author", "urn": "urn:li:member:123456789", "profileUrl": "https://www.linkedin.com/in/example-author", "headline": null, "viewerState": { "connectionDegree": "2nd" } }, "reposter": { "type": "company", "name": "Example Company", "urn": "urn:li:organization:1234567", "companyUrl": "https://www.linkedin.com/company/example-company" }, "text": "Original post content about the webinar.", "repostText": "Thank you to everyone who joined our webinar.", "hashtags": [], "mentions": [], "externalLinks": [], "images": [], "documentSlides": [], "hasVideo": true, "videoThumbnail": "https://media.licdn.com/dms/image/video-cover.jpg", "hasPoll": false, "reactionsCount": 6, "commentsCount": 0, "repostsCount": 1, "viewerState": { "reaction": null, "isOwn": false }, "then": { ... } } ] } ``` - `label` – included only if specified in the action parameters. - `data` – array of company posts with results of child actions execution. - `url` – URL of the post. - `activityUrn` – LinkedIn activity or UGC URN of the post, if available. - `time` – timestamp when the post was published. - `type` – type of the post. Enum with possible values: - `original` – for original posts. - `repost` – for reposts. - `author` – original content creator. Can be `null` if the actor cannot be parsed. - For person authors: `type`, `name`, `urn`, `profileUrl`, `headline`, `viewerState` with `connectionDegree` – `1st`, `2nd`, `3rd+`, or `null` if LinkedIn does not show it (see [viewer state](/docs/data-conventions#viewer-state)). - For company authors: `type`, `name`, `urn`, `companyUrl`. - `reposter` – person or company that reshared the post. Non-null only when `type` is `repost`. - For person reposters: `type`, `name`, `urn`, `profileUrl`, `headline`. - For company reposters: `type`, `name`, `urn`, `companyUrl`. - `urn` on an actor – [URN](/docs/data-conventions#linkedin-urns) of that person or company, or `null` when LinkedIn does not expose an identifier for the actor. - `text` – original author's post text, if available. - `repostText` – text added by the reposter on a repost with comment, if available. - `hashtags` – array of hashtags found in the post text, without leading `#`. - `mentions` – array of person and company profile URLs found in the post text. - `externalLinks` – array of outbound URLs found in the post text. - `images` – array of up to 3 preview image URLs, if available. - `documentSlides` – array of carousel or document slide image URLs, if available. - `hasVideo` – boolean indicating if the post contains a video. - `videoThumbnail` – URL of the video thumbnail, if available. - `hasPoll` – boolean indicating if the post contains a poll. - `reactionsCount` – number of reactions on the post. - `commentsCount` – number of comments on the post. - `repostsCount` – number of reposts on the post. - `viewerState` – what your account has done with the post, see [viewer state](/docs/data-conventions#viewer-state). - `reaction` – your reaction to the post (`like`, `celebrate`, `support`, `love`, `insightful`, `funny`), or `null` if you have not reacted or it could not be read. - `isOwn` – `true` if your account is the post author, `false` if someone else is, or `null` if this cannot be told. - `then` – results of child actions execution. ## st.searchPosts This action allows you to search for posts applying various filtering criteria. :::surface node,python In the SDK this is the `searchPosts` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON, and returns the result below in `data`. ::: :::surface cli In the CLI this is `linkedin post search` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed. > ⬆️ **Parent Actions:** N/A. > ⬇️ **Child Actions:** [st.doForPosts](/docs/action-st-do-for-posts). ## Parameters ```json tab=HTTP { "actionType": "st.searchPosts", "label": "climateTechSearch1", "term": "climate tech", "limit": 20, "filter": { "sort": "latest", "datePosted": "pastWeek", "contentType": "images", "postedBy": ["firstConnections", "peopleYouFollow"], "fromMembers": [ { "name": "Bill Gates", "id": "urn:li:member:251749025" } ], "fromCompanies": ["Example Company"], "mentioningMembers": [ { "name": "Example Person", "id": "https://www.linkedin.com/in/example-person" } ], "mentioningCompanies": [ { "name": "Another Company", "id": "https://www.linkedin.com/company/another-company" } ], "authorCompanies": [ { "name": "Example Company", "id": "urn:li:organization:1234567" } ], "authorIndustries": ["Software Development"] }, "customSearchUrl": "https://www.linkedin.com/search/results/content/?keywords=climate%20tech", "then": { ... } } ``` ```typescript tab=Node const workflow = await linkedapi.searchPosts.execute({ term: "climate tech", limit: 20, filter: { sort: "latest", datePosted: "pastWeek", contentType: "images", postedBy: ["firstConnections", "peopleYouFollow"], fromMembers: [ { name: "Bill Gates", id: "urn:li:member:251749025" } ], fromCompanies: ["Example Company"], mentioningMembers: [ { name: "Example Person", id: "https://www.linkedin.com/in/example-person" } ], mentioningCompanies: [ { name: "Another Company", id: "https://www.linkedin.com/company/another-company" } ], authorCompanies: [ { name: "Example Company", id: "urn:li:organization:1234567" } ], authorIndustries: ["Software Development"] }, customSearchUrl: "https://www.linkedin.com/search/results/content/?keywords=climate%20tech" }); const { data, errors } = await linkedapi.searchPosts.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import SearchPostsParams workflow = linkedapi.search_posts.execute( SearchPostsParams( term="climate tech", limit=20, filter={ "sort": "latest", "date_posted": "pastWeek", "content_type": "images", "posted_by": ["firstConnections", "peopleYouFollow"], "from_members": [ {"name": "Bill Gates", "id": "urn:li:member:251749025"}, ], "from_companies": ["Example Company"], "mentioning_members": [ { "name": "Example Person", "id": "https://www.linkedin.com/in/example-person", }, ], "mentioning_companies": [ { "name": "Another Company", "id": "https://www.linkedin.com/company/another-company", }, ], "author_companies": [ { "name": "Example Company", "id": "urn:li:organization:1234567", }, ], "author_industries": ["Software Development"], }, custom_search_url="https://www.linkedin.com/search/results/content/?keywords=climate%20tech", ) ) result = linkedapi.search_posts.result(workflow.workflow_id) ``` ```bash tab=CLI # Not available in the CLI: customSearchUrl linkedin post search \ --term "climate tech" \ --limit 20 \ --sort latest \ --date-posted pastWeek \ --content-type images \ --posted-by firstConnections,peopleYouFollow \ --author-industries "Software Development" \ --from-members "Bill Gates:urn:li:member:251749025" \ --from-companies "Example Company" \ --mentioning-members "Example Person:https://www.linkedin.com/in/example-person" \ --mentioning-companies "Another Company:https://www.linkedin.com/company/another-company" \ --author-companies "Example Company:urn:li:organization:1234567" ``` In AI assistants, the MCP server runs this action as the `search_posts` tool. :::surface cli In the CLI this is `linkedin post search`: ```bash linkedin post search [flags] ``` | Flag | Type | Description | | --- | --- | --- | | `--term` | string | Search keyword or phrase, up to 50 characters | | `--limit` | integer | Max results to return, up to 100 | | `--sort` | string | One of `topMatch`, `latest` | | `--date-posted` | string | One of `past24Hours`, `pastWeek`, `pastMonth` | | `--content-type` | string | One of `videos`, `images`, `jobPosts`, `liveVideos`, `documents` | | `--posted-by` | string | Comma-separated: `me`, `firstConnections`, `peopleYouFollow` | | `--from-members` | string | Comma-separated people whose posts to keep | | `--from-companies` | string | Comma-separated companies whose posts to keep | | `--mentioning-members` | string | Comma-separated people the post must mention | | `--mentioning-companies` | string | Comma-separated companies the post must mention | | `--author-companies` | string | Comma-separated companies the author works at | | `--author-industries` | string | Comma-separated industries the author works in | Each element of the member and company flags is `name` or `name:identifier`. The identifier is a URN or a LinkedIn URL of that person or company, and pins the filter to exactly them; a name alone may match a namesake. When no match is found, the action fails with `filterNotApplied`. ```bash linkedin post search --term "ai" --from-members "Bill Gates,Example Person:urn:li:member:123456789" --json ``` > A Sales Navigator URL that contains a comma cannot be used inside the comma-separated list. A search may return fewer posts than `--limit`, because how many results come back depends on what LinkedIn loads for that account on that search. LinkedIn also widens a narrow query on its own, so a non-empty result does not mean your term matched. See [searching for posts](/docs/searching-for-posts). > Search results carry no `urn` on their `author` and `reposter` – run `post fetch` on a result's `url` when you need one. ::: - `label` (optional) – custom label for tracking this action in workflow completion. - `term` (optional) – keyword or phrase to search, from 1 to 50 characters. Either `term` or `customSearchUrl` must be provided; a request with neither (for example, with `filter` only) is rejected. - `limit` (optional) – number of search results to return. Defaults to **10**, with a maximum value of **100**, or **20** when child actions are used. A value above the applicable maximum is rejected when the workflow is submitted. A search may return fewer posts than `limit`, because how many results come back depends on what LinkedIn loads for that account on that search. - `filter` (optional) – object that specifies filtering criteria for posts. Every specified field is applied, or the action fails. When multiple filter fields are specified, they are combined using `AND` logic. Ignored entirely when `customSearchUrl` is specified. - `sort` (optional) – enum with possible values: - `topMatch`. - `latest`. - `datePosted` (optional) – enum with possible values: - `past24Hours`. - `pastWeek`. - `pastMonth`. - `contentType` (optional) – enum with possible values: - `videos`. - `images`. - `jobPosts`. - `liveVideos`. - `documents`. - `postedBy` (optional) – array of enums with possible values: - `me`. - `firstConnections`. - `peopleYouFollow`. - `fromMembers` (optional) – array of people whose posts to keep. Matches if the post was published by any of the listed people. - `fromCompanies` (optional) – array of companies whose posts to keep. Matches if the post was published by any of the listed companies. - `mentioningMembers` (optional) – array of people to look for in post text. Matches if the post mentions any of the listed people. - `mentioningCompanies` (optional) – array of companies to look for in post text. Matches if the post mentions any of the listed companies. - `authorCompanies` (optional) – array of companies the author works at. Matches if the post's author works at any of the listed companies. - `authorIndustries` (optional) – array of industry names the author works in. Matches if the post's author works in any of the listed industries. Takes specific values available in the LinkedIn interface. An industry is a taxonomy value rather than an entity, so it is matched by name only. - `customSearchUrl` (optional) – URL copied from a LinkedIn content search page after configuring desired filters. When specified, `filter` is ignored entirely and the facets already encoded in the URL are the only ones applied. Either `term` or `customSearchUrl` must be provided. - `then` (optional) – object or array of child actions to be executed within this action. LinkedIn widens a narrow query on its own and returns loosely related posts, so a non-empty result does not mean your `term` matched. Check the returned posts against your own criteria when an exact match matters. ### Identifying people and companies in filters Each entry of `fromMembers`, `fromCompanies`, `mentioningMembers`, `mentioningCompanies`, and `authorCompanies` is a name, or a name with an `id`: ```json { "fromMembers": [ "Bill Gates", { "name": "Satya Nadella", "id": "https://www.linkedin.com/in/satyanadella" } ], "fromCompanies": [ "Microsoft", { "name": "Example Company", "id": "urn:li:organization:1234567" } ] } ``` - `name` (required) – name of the person or company as typed into LinkedIn's filter panel, from 1 to 100 characters. When `id` is a member URN or a Sales Navigator URL, the person must appear among LinkedIn's suggestions for this name. - `id` (optional) – [URN](/docs/data-conventions#linkedin-urns), [public or hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL (Sales Navigator URLs included), or, for a company, numeric ID. Pins the filter to exactly that person or company. A person's public URL is opened once from your account to read their identifier, so they may see one profile visit; a company's public URL is opened on every search, so prefer its URN or numeric ID. > A name alone may match a namesake: Linked API takes the LinkedIn suggestion whose name matches yours, ignoring case, punctuation and a trailing legal form such as `Inc` or `GmbH`, or else the first one that starts with it as a whole word, so `Anta` can become `Anta International` but never `Antal`. If no suggestion matches, the action fails with `filterNotApplied`. ## Result options 1. **Successful search:** ```json { "actionType": "st.searchPosts", "label": "climateTechSearch1", "success": true, "data": [ { "url": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789", "activityUrn": "urn:li:activity:1234567890123456789", "time": "2023-01-02T12:30:00Z", "type": "original", "author": { "type": "person", "name": "Example Person", "profileUrl": "https://www.linkedin.com/in/example-person", "headline": "Product Marketing Lead", "viewerState": { "connectionDegree": "2nd" } }, "reposter": null, "text": "Check out our latest product launch!", "repostText": null, "hashtags": ["product", "launch"], "mentions": ["https://www.linkedin.com/company/example-company"], "externalLinks": ["https://example.com/launch"], "images": [ "https://static.linkedin.com/image1.jpg", "https://static.linkedin.com/image2.jpg" ], "documentSlides": [], "hasVideo": false, "videoThumbnail": null, "hasPoll": false, "reactionsCount": 27, "commentsCount": 8, "repostsCount": 12, "viewerState": { "reaction": "like", "isOwn": false }, "then": { ... } }, { "url": "https://www.linkedin.com/feed/update/urn:li:activity:2345678901234567890", "activityUrn": "urn:li:activity:2345678901234567890", "time": "2023-01-01T09:15:00Z", "type": "repost", "author": { "type": "company", "name": "Example Company", "companyUrl": "https://www.linkedin.com/company/example-company" }, "reposter": { "type": "person", "name": "Example Reposter", "profileUrl": "https://www.linkedin.com/in/example-reposter", "headline": null }, "text": "Original post content about the webinar.", "repostText": "A useful summary for anyone planning a launch.", "hashtags": [], "mentions": [], "externalLinks": [], "images": [], "documentSlides": [], "hasVideo": true, "videoThumbnail": "https://media.licdn.com/dms/image/video-cover.jpg", "hasPoll": false, "reactionsCount": 6, "commentsCount": 0, "repostsCount": 1, "viewerState": { "reaction": null, "isOwn": false }, "then": { ... } } ] } ``` - `label` – included only if specified in the action parameters. - `data` – array of search outputs with results of child actions execution. - `url` – URL of the post. - `activityUrn` – LinkedIn activity or UGC URN of the post, if available. - `time` – timestamp when the post was published. - `type` – type of the post. Enum with possible values: - `original` – for original posts. - `repost` – for reposts. - `author` – original content creator. Can be `null` if the actor cannot be parsed. - For person authors: `type`, `name`, `profileUrl`, `headline`, `viewerState` with `connectionDegree` – `1st`, `2nd`, `3rd+`, or `null` if LinkedIn does not show it (see [viewer state](/docs/data-conventions#viewer-state)). - For company authors: `type`, `name`, `companyUrl`. - `reposter` – person or company that reshared the post. Non-null only when `type` is `repost`. - For person reposters: `type`, `name`, `profileUrl`, `headline`. - For company reposters: `type`, `name`, `companyUrl`. - `text` – original author's post text, if available. - `repostText` – text added by the reposter on a repost with comment, if available. - `hashtags` – array of hashtags found in the post text, without leading `#`. - `mentions` – array of person and company profile URLs found in the post text. - `externalLinks` – array of outbound URLs found in the post text. - `images` – array of up to 3 preview image URLs, if available. - `documentSlides` – array of carousel or document slide image URLs, if available. - `hasVideo` – boolean indicating if the post contains a video. - `videoThumbnail` – URL of the video thumbnail, if available. - `hasPoll` – boolean indicating if the post contains a poll. - `reactionsCount` – number of reactions on the post. - `commentsCount` – number of comments on the post. - `repostsCount` – number of reposts on the post. - `viewerState` – what your account has done with the post, see [viewer state](/docs/data-conventions#viewer-state). - `reaction` – your reaction to the post (`like`, `celebrate`, `support`, `love`, `insightful`, `funny`), or `null` if you have not reacted or it could not be read. - `isOwn` – `true` if your account is the post author, `false` if someone else is, or `null` if this cannot be told. - `then` – results of child actions execution. > Unlike posts returned by [st.openPost](/docs/action-st-open-post), the `author` and `reposter` of a search result carry **no** `urn` field. The URN is read from the post's own page, so open the post with [st.doForPosts](/docs/action-st-do-for-posts) and [st.openPost](/docs/action-st-open-post) when you need it. 2. **Failed search:** ```json { "actionType": "st.searchPosts", "label": "climateTechSearch1", "success": false, "error": { "type": "searchingNotAllowed", "message": "LinkedIn has blocked performing the search." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `filterNotApplied` – one or more filter values could not be applied: no LinkedIn option matched a name, or the person or company an `id` names could not be found or is not among LinkedIn's suggestions for `name`. It does not mean the person or company is gone; the message lists each field, value, and reason, so correct or remove the entry rather than retrying. - `searchingNotAllowed` – LinkedIn has blocked performing the search due to exceeding limits or other restrictions. ## st.openPost This action allows you to open a post to retrieve its data and perform additional post-related actions if needed. :::surface node In the Node SDK this is `linkedapi.fetchPost` – the call is below, under [Parameters](#parameters). ::: :::surface python In the Python SDK this is `linkedapi.fetch_post` – the call is below, under [Parameters](#parameters). ::: :::surface cli In the CLI this is `linkedin post fetch` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed, when `postUrl` or `postUrn` parameter is provided. > ⬆️ **Parent Actions:** [st.createPost](/docs/action-st-create-post), [st.doForPosts](/docs/action-st-do-for-posts). > ⬇️ **Child Actions:** [st.reactToPost](/docs/action-st-react-to-post), [st.createRepost](/docs/action-st-create-repost), [st.commentOnPost](/docs/action-st-comment-on-post), [st.retrievePostComments](/docs/action-st-retrieve-post-comments), [st.retrievePostReactions](/docs/action-st-retrieve-post-reactions). ## Parameters ```json tab=HTTP { "actionType": "st.openPost", "label": "post1", "postUrl": "https://www.linkedin.com/posts/post1", "basicInfo": true, "then": { ... } } ``` ```typescript tab=Node const workflow = await linkedapi.fetchPost.execute({ postUrl: "https://www.linkedin.com/posts/post1" }); const { data, errors } = await linkedapi.fetchPost.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import FetchPostParams workflow = linkedapi.fetch_post.execute( FetchPostParams( post_url="https://www.linkedin.com/posts/post1", ) ) result = linkedapi.fetch_post.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin post fetch https://www.linkedin.com/posts/post1 ``` In AI assistants, the MCP server runs this action as the `fetch_post` tool. :::surface node,python In the SDK this is the `fetchPost` method. It always returns basic information: `basicInfo`, like `label` and `then`, exists only in workflow JSON. It takes the other parameters below and returns the result below in `data`. Each `retrieve…` flag of `fetchPost` adds one child action, and its data comes back under its own property of `data`: | Flag | Child action | Configuration | Property of `data` | | --- | --- | --- | --- | | `retrieveComments` | [`st.retrievePostComments`](/docs/action-st-retrieve-post-comments) | `commentsRetrievalConfig`: `limit`, `sort`, `replies` | `comments` | | `retrieveReactions` | [`st.retrievePostReactions`](/docs/action-st-retrieve-post-reactions) | `reactionsRetrievalConfig`: `limit` | `reactions` | A configuration object takes effect only with its flag set to `true`, and takes the parameters of its child action – their defaults and limits are on the child's page. For example, the 20 most recent comments with their replies: ::: :::surface node ```typescript const workflow = await linkedapi.fetchPost.execute({ postUrl: "https://www.linkedin.com/posts/post1", retrieveComments: true, commentsRetrievalConfig: { limit: 20, sort: "mostRecent", replies: true } }); ``` ::: :::surface python ```python from linkedapi import FetchPostParams workflow = linkedapi.fetch_post.execute( FetchPostParams( post_url="https://www.linkedin.com/posts/post1", retrieve_comments=True, comments_retrieval_config={"limit": 20, "sort": "mostRecent", "replies": True}, ) ) ``` ::: :::surface node,python When a child action fails, its error comes back in `errors` and the rest of `data` is still returned. ::: :::surface cli In the CLI this is `linkedin post fetch`: ```bash linkedin post fetch [flags] ``` | Flag | Type | Description | | --- | --- | --- | | `--comments` | boolean | Include comments | | `--reactions` | boolean | Include reactions | | `--comments-limit` | integer | Max comments to retrieve | | `--comments-sort` | string | Sort order: `mostRelevant` or `mostRecent` | | `--comments-replies` | boolean | Include replies to comments | | `--reactions-limit` | integer | Max reactions to retrieve | > With `--comments`, each returned comment includes `commentUrn` and `commentUrl`. Pass a `commentUrl` to `comment react` / `comment reply` to engage with that comment. ::: - `label` (optional) – custom label for tracking this action in workflow completion. - `postUrl` (required for root start unless `postUrn` is provided, forbidden for parent start) – LinkedIn URL of the post. - `postUrn` (optional) – [URN](/docs/data-conventions#linkedin-urns) of the post, accepted instead of `postUrl`. When both are provided, the URL must contain that same URN. - `basicInfo` (optional, default: `false`) – when set to `true`, the action includes basic post information in the results. - `then` (optional) – object or array of child actions to be executed within this action. ## Result options 1. **Successful post opening with `basicInfo` set to `true`:** ```json { "actionType": "st.openPost", "label": "post1", "success": true, "data": { "url": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789", "activityUrn": "urn:li:activity:1234567890123456789", "time": "2023-01-02T12:30:00Z", "type": "original", "author": { "type": "person", "name": "Example Person", "urn": "urn:li:member:123456789", "profileUrl": "https://www.linkedin.com/in/example-person", "headline": "Product Marketing Lead", "viewerState": { "connectionDegree": "2nd" } }, "reposter": null, "text": "Check out our latest product launch!", "repostText": null, "hashtags": ["product", "launch"], "mentions": ["https://www.linkedin.com/company/example-company"], "externalLinks": ["https://example.com/launch"], "images": [ "https://static.linkedin.com/image1.jpg", "https://static.linkedin.com/image2.jpg" ], "documentSlides": [], "hasVideo": false, "videoThumbnail": null, "hasPoll": false, "reactionsCount": 27, "commentsCount": 8, "repostsCount": 12, "viewerState": { "reaction": "like", "isOwn": false }, "then": { ... } } } ``` - `label` – included only if specified in the action parameters. - `data` – basic information about the post and results of child actions execution. - `url` – URL of the post. - `activityUrn` – LinkedIn activity or UGC URN of the post, if available. - `time` – timestamp when the post was published. - `type` – type of the post. Enum with possible values: - `original` – for original posts. - `repost` – for reposts. - `author` – original content creator. Can be `null` if the actor cannot be parsed. - For person authors: `type`, `name`, `urn`, `profileUrl`, `headline`, `viewerState` with `connectionDegree` – `1st`, `2nd`, `3rd+`, or `null` if LinkedIn does not show it (see [viewer state](/docs/data-conventions#viewer-state)). - For company authors: `type`, `name`, `urn`, `companyUrl`. - `reposter` – person or company that reshared the post. Non-null only when `type` is `repost`. - For person reposters: `type`, `name`, `urn`, `profileUrl`, `headline`. - For company reposters: `type`, `name`, `urn`, `companyUrl`. - `urn` on an actor – [URN](/docs/data-conventions#linkedin-urns) of that person or company, or `null` when LinkedIn does not expose an identifier for the actor. - `text` – original author's post text, if available. - `repostText` – text added by the reposter on a repost with comment, if available. - `hashtags` – array of hashtags found in the post text, without leading `#`. - `mentions` – array of person and company profile URLs found in the post text. - `externalLinks` – array of outbound URLs found in the post text. - `images` – array of up to 3 preview image URLs, if available. - `documentSlides` – array of carousel or document slide image URLs, if available. - `hasVideo` – boolean indicating if the post contains a video. - `videoThumbnail` – URL of the video thumbnail, if available. - `hasPoll` – boolean indicating if the post contains a poll. - `reactionsCount` – number of reactions on the post. - `commentsCount` – number of comments on the post. - `repostsCount` – number of reposts on the post. - `viewerState` – what your account has done with the post, see [viewer state](/docs/data-conventions#viewer-state). - `reaction` – your reaction to the post (`like`, `celebrate`, `support`, `love`, `insightful`, `funny`), or `null` if you have not reacted or it could not be read. - `isOwn` – `true` if your account is the post author, `false` if someone else is, or `null` if this cannot be told. - `then` – results of child actions execution. > This action reads actor identifiers from the post page itself, so it resolves `urn` for actors that post listings such as [st.retrieveFeed](/docs/action-st-retrieve-feed) or [st.retrievePersonPosts](/docs/action-st-retrieve-person-posts) cannot. If you need URNs for the authors of many posts, open the posts you care about rather than relying on the listing alone. 2. **Successful repost opening with `basicInfo` set to `true`:** ```json { "actionType": "st.openPost", "label": "post1", "success": true, "data": { "url": "https://www.linkedin.com/feed/update/urn:li:activity:2345678901234567890", "activityUrn": "urn:li:activity:2345678901234567890", "time": "2023-01-03T09:15:00Z", "type": "repost", "author": { "type": "company", "name": "Example Company", "urn": "urn:li:organization:1234567", "companyUrl": "https://www.linkedin.com/company/example-company" }, "reposter": { "type": "person", "name": "Example Reposter", "urn": "urn:li:member:234567890", "profileUrl": "https://www.linkedin.com/in/example-reposter", "headline": null }, "text": "Original post content about the webinar.", "repostText": "A useful summary for anyone planning a launch.", "hashtags": [], "mentions": [], "externalLinks": [], "images": [], "documentSlides": [], "hasVideo": true, "videoThumbnail": "https://media.licdn.com/dms/image/video-cover.jpg", "hasPoll": false, "reactionsCount": 6, "commentsCount": 0, "repostsCount": 1, "viewerState": { "reaction": null, "isOwn": false }, "then": { ... } } } ``` 3. **Successful post opening with `basicInfo` set to `false`:** ```json { "actionType": "st.openPost", "label": "post1", "success": true, "data": { "then": { ... } } } ``` - `label` – included only if specified in the action parameters. - `data.then` – results of child actions execution. 4. **Failed post opening:** ```json { "actionType": "st.openPost", "label": "post1", "success": false, "error": { "type": "postNotFound", "message": "The provided URL is not an existing LinkedIn post." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `postNotFound` – provided URL is not an existing LinkedIn post. ## st.createPost This action allows you to create a post on LinkedIn. You can post as yourself or on behalf of a company page you have admin access to. The action supports text content with optional mentions of people and companies, and media attachments including images, videos, and documents. :::surface node,python In the SDK this is the `createPost` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON, and returns the result below in `data`. ::: :::surface cli In the CLI this is `linkedin post create` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed. > ⬆️ **Parent Actions:** N/A. > ⬇️ **Child Actions:** [st.openPost](/docs/action-st-open-post). ## Parameters ```json tab=HTTP { "actionType": "st.createPost", "label": "post1", "text": "Excited to share my latest insights on building scalable APIs, together with @[teammate]!", "mentions": [ { "key": "teammate", "name": "Example Person", "personHashedUrl": "https://www.linkedin.com/in/ACwAAAxxxxxxxxx" } ], "attachments": [ { "url": "https://example.com/images/team-photo.jpg", "type": "image" } ], "companyUrl": "https://www.linkedin.com/company/microsoft" } ``` ```typescript tab=Node const workflow = await linkedapi.createPost.execute({ text: "Excited to share my latest insights on building scalable APIs, together with @[teammate]!", mentions: [ { key: "teammate", name: "Example Person", personHashedUrl: "https://www.linkedin.com/in/ACwAAAxxxxxxxxx" } ], attachments: [ { url: "https://example.com/images/team-photo.jpg", type: "image" } ], companyUrl: "https://www.linkedin.com/company/microsoft" }); const { data, errors } = await linkedapi.createPost.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import CreatePostParams workflow = linkedapi.create_post.execute( CreatePostParams( text="Excited to share my latest insights on building scalable APIs, together with @[teammate]!", mentions=[ { "key": "teammate", "name": "Example Person", "person_hashed_url": "https://www.linkedin.com/in/ACwAAAxxxxxxxxx", }, ], attachments=[ { "url": "https://example.com/images/team-photo.jpg", "type": "image", }, ], company_url="https://www.linkedin.com/company/microsoft", ) ) result = linkedapi.create_post.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin post create \ 'Excited to share my latest insights on building scalable APIs, together with @[teammate]!' \ --company-url https://www.linkedin.com/company/microsoft \ --mention "teammate:Example Person:https://www.linkedin.com/in/ACwAAAxxxxxxxxx" \ --attachments https://example.com/images/team-photo.jpg:image ``` In AI assistants, the MCP server runs this action as the `create_post` tool. :::surface cli In the CLI this is `linkedin post create`: ```bash linkedin post create [flags] ``` | Arg | Required | Description | | --- | --- | --- | | `text` | yes | Post text (up to 3000 characters) | | Flag | Type | Description | | --- | --- | --- | | `--company-url` | string | Post on behalf of a company page (requires admin access) | | `--attachments` | string | Attachments as `url:type` or `url:type:name`. Types: `image`, `video`, `document`. Can be specified multiple times. | | `--mention` | string | One mention, bound to `@[key]` in the text. Can be specified multiple times, up to 20. | > Attachment limits: up to 9 images, or 1 video, or 1 document. Cannot mix types. **Passing mentions** Write `@[key]` in the post text where the mention should appear, then describe that key with `--mention`. The value takes one of two forms: ``` key:name key:name:identifier ``` - `key` – the placeholder name used in the text as `@[key]`. Letters, digits, `_` or `-`. - `name` – the name to find the person or company by. Always required. - `identifier` – optional. One of a member URN, an organization URN, a hashed profile URL, or a hashed company URL. Everything after the second `:` is the identifier, so its own colons and `://` need no escaping. Quote the whole value, because names contain spaces. ```bash # Name only – LinkedIn's first suggestion for that name is used linkedin post create 'Thanks @[author]!' \ --mention "author:Example Person" # Pinned by member URN linkedin post create 'Thanks @[author]!' \ --mention "author:Example Person:urn:li:member:123456789" # Pinned by hashed profile URL linkedin post create 'Thanks @[author]!' \ --mention "author:Example Person:https://www.linkedin.com/in/ACwAAAxxxxxxxxx" # A company, and two mentions at once linkedin post create 'Great work @[author] and everyone at @[company]!' \ --mention "author:Example Person:urn:li:member:123456789" \ --mention "company:Example Company:urn:li:organization:1234567" ``` > Without an identifier, LinkedIn's first suggestion for `name` is used, which may not be the entity you meant. The published mention shows LinkedIn's own name for the entity, which can differ from the `name` you passed. Every `@[key]` in the text must have a matching `--mention` and vice versa, and keys cannot repeat – otherwise the command fails before anything is published. The post's `postUrl` and `postUrn` are printed on success (use `--json` for the full object). ::: - `label` (optional) – custom label for tracking this action in workflow completion. - `text` (required) – post text, must be up to **3000** characters. - `mentions` (optional) – people and companies to mention in `text`. Write `@[key]` where the mention should appear, and describe that `key` here. Maximum **20** items. - `key` (required) – placeholder name used in the text as `@[key]`. From **1** to **30** characters: letters, digits, `_` or `-`. - `name` (required) – name to find the person or company by, from **1** to **100** characters. - `urn` (optional) – [URN](/docs/data-conventions#linkedin-urns) of the entity: `urn:li:member:` for a person, `urn:li:organization:` for a company. - `personHashedUrl` (optional) – hashed LinkedIn profile URL of the person. - `companyHashedUrl` (optional) – hashed LinkedIn company page URL. - `attachments` (optional) – array of media attachments. Maximum **9** items. - `url` (required) – publicly accessible URL of the file to attach. - `type` (required) – type of attachment: `image`, `video`, or `document`. - `name` (required when type is `document`) – display name for the document. - `companyUrl` (optional) – LinkedIn company page URL. When provided, the post will be published on behalf of the company. Requires content admin access to the company page. - `then` (optional) – object or array of child actions to be executed on the created post. ### Mention rules - Provide at most one of `urn`, `personHashedUrl` and `companyHashedUrl` per mention. - Every `@[key]` in the text must have a matching mention, and every mention must appear in the text. - Two mentions cannot share the same `key`. - `name` is required even when an identifier is given, because LinkedIn resolves a mention through its own name suggestions. The identifier only decides which of the offered namesakes is taken. See [publishing posts](/docs/publishing-posts) for the full explanation. ### Attachment limits - Maximum **9 images** per post (JPEG, PNG, GIF, WebP, max 8mb). - Maximum **1 video** per post (MP4, MOV, WebM, max 200 mb). - Maximum **1 document** per post (PDF, max 100 mb). - Cannot mix different attachment types (e.g., images and video together). ## Result options 1. **Successful post creation:** ```json { "actionType": "st.createPost", "label": "post1", "success": true, "data": { "postUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789", "postUrn": "urn:li:activity:1234567890123456789", "then": { ... } } } ``` - `label` – included only if specified in the action parameters. - `data.postUrl` – URL of the created post. - `data.postUrn` – [URN](/docs/data-conventions#linkedin-urns) of the created post. - `data.then` – results of child actions execution. > `postUrl` and `postUrn` are `null` when the post was published but LinkedIn did not return its address. In that case the child actions in `then` did not run. Do not retry: the post is already live. 2. **Failed post creation:** ```json { "actionType": "st.createPost", "label": "weeklyUpdate1", "success": false, "error": { "type": "companyNotFound", "message": "Provided URL is not an existing LinkedIn company." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `textTooLong` – post text exceeds 3000 characters limit. - `companyNotFound` – specified company page was not found on LinkedIn. - `noPostingPermission` – no permission to post on behalf of this company. - `mentionNotResolved` – a person or company the post text mentions was not among the options LinkedIn offered for that name. Nothing was published. - `unsupportedAttachmentType` – attachment type is not supported. Use `image`, `video`, or `document`. - `missingDocumentName` – document attachment requires a `name` field. - `urlNotAccessible` – attachment URL is not publicly accessible or returned an error. - `fileTooLarge` – attachment file exceeds the maximum allowed size. - `unsupportedMimeType` – file's MIME type is not supported by LinkedIn. - `tooManyAttachments` – more than 9 attachments were provided. - `mixingNotAllowed` – cannot mix different attachment types (e.g., images with video). ## st.createRepost This action allows you to repost someone else's post or your own. You can repost it as is, or add your own commentary with optional mentions of people and companies. :::surface node,python In the SDK this is the `createRepost` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON, and returns the result below in `data`. ::: :::surface cli In the CLI this is `linkedin post repost` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed, when `postUrl` or `postUrn` parameter is provided. > ⬆️ **Parent Actions:** [st.openPost](/docs/action-st-open-post), [st.doForPosts](/docs/action-st-do-for-posts). > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "st.createRepost", "label": "repost1", "postUrl": "https://www.linkedin.com/posts/post1", "text": "Worth reading, especially the part on onboarding. Great work @[author]!", "mentions": [ { "key": "author", "name": "Example Person", "personHashedUrl": "https://www.linkedin.com/in/ACwAAAxxxxxxxxx" } ] } ``` ```typescript tab=Node const workflow = await linkedapi.createRepost.execute({ postUrl: "https://www.linkedin.com/posts/post1", text: "Worth reading, especially the part on onboarding. Great work @[author]!", mentions: [ { key: "author", name: "Example Person", personHashedUrl: "https://www.linkedin.com/in/ACwAAAxxxxxxxxx" } ] }); const { data, errors } = await linkedapi.createRepost.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import CreateRepostParams workflow = linkedapi.create_repost.execute( CreateRepostParams( post_url="https://www.linkedin.com/posts/post1", text="Worth reading, especially the part on onboarding. Great work @[author]!", mentions=[ { "key": "author", "name": "Example Person", "person_hashed_url": "https://www.linkedin.com/in/ACwAAAxxxxxxxxx", }, ], ) ) result = linkedapi.create_repost.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin post repost https://www.linkedin.com/posts/post1 \ --text 'Worth reading, especially the part on onboarding. Great work @[author]!' \ --mention "author:Example Person:https://www.linkedin.com/in/ACwAAAxxxxxxxxx" ``` In AI assistants, the MCP server runs this action as the `create_repost` tool. :::surface cli In the CLI this is `linkedin post repost`: ```bash linkedin post repost [flags] ``` | Arg | Required | Description | | --- | --- | --- | | `url` | yes | URL or URN of the post to repost | | Flag | Type | Description | | --- | --- | --- | | `--text` | string | Your own commentary (up to 3000 characters). Without it the post is reposted as is. | | `--mention` | string | One mention, bound to `@[key]` in `--text`. Same format as for `post create` – see [passing mentions](/docs/action-st-create-post?surface=cli#parameters). Can be specified multiple times, up to 20. | The repost's own `postUrl` and `postUrn` are printed on success – not those of the post you reposted. They are empty when the repost was published but LinkedIn did not return its address; do not retry, the repost is already live. > `alreadyReposted` is returned only when LinkedIn refuses an instant repost (one without `--text`). LinkedIn does not always refuse a repeat repost: a repost of your own post, or a repost with commentary, can be published again. Keep track of what you have already reposted instead of relying on this error. > Reposts count toward the same posting limit as `post create`. ::: - `label` (optional) – custom label for tracking this action in workflow completion. - `postUrl` (required for root start unless `postUrn` is provided, forbidden for parent start) – LinkedIn URL of the post to repost. - `postUrn` (optional) – [URN](/docs/data-conventions#linkedin-urns) of the post, accepted instead of `postUrl`. When both are provided, the URL must contain that same URN. - `text` (optional) – your own commentary, up to **3000** characters. Without it the post is reposted as is. - `mentions` (optional) – people and companies to mention in `text`. Write `@[key]` where the mention should appear, and describe that `key` here. Maximum **20** items. - `key` (required) – placeholder name used in the text as `@[key]`. From **1** to **30** characters: letters, digits, `_` or `-`. - `name` (required) – name to find the person or company by, from **1** to **100** characters. - `urn` (optional) – [URN](/docs/data-conventions#linkedin-urns) of the entity: `urn:li:member:` for a person, `urn:li:organization:` for a company. - `personHashedUrl` (optional) – hashed LinkedIn profile URL of the person. - `companyHashedUrl` (optional) – hashed LinkedIn company page URL. ### Mention rules - Provide at most one of `urn`, `personHashedUrl` and `companyHashedUrl` per mention. - Every `@[key]` in the text must have a matching mention, and every mention must appear in the text. - Two mentions cannot share the same `key`. - `name` is required even when an identifier is given, because LinkedIn resolves a mention through its own name suggestions. The identifier only decides which of the offered namesakes is taken. See [publishing posts](/docs/publishing-posts) for the full explanation. ## Result options 1. **Successful repost:** ```json { "actionType": "st.createRepost", "label": "repost1", "success": true, "data": { "postUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789", "postUrn": "urn:li:activity:1234567890123456789" } } ``` - `label` – included only if specified in the action parameters. - `data.postUrl` – URL of the repost. A repost is a post of your own account, so this is not the URL of the post you reposted. - `data.postUrn` – [URN](/docs/data-conventions#linkedin-urns) of the repost. > `postUrl` and `postUrn` are `null` when the repost was published but LinkedIn did not return its address. Do not retry: the repost is already live. 2. **Failed repost:** ```json { "actionType": "st.createRepost", "label": "repost1", "success": false, "error": { "type": "alreadyReposted", "message": "LinkedIn declined this repost because the account has already reposted this post." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `postNotFound` – provided URL is not an existing LinkedIn post. - `repostNotAllowed` – LinkedIn offers no repost control for this post. - `alreadyReposted` – the account has already reposted this post and LinkedIn declined to repost it again. - `mentionNotResolved` – a person or company the text mentions was not among the options LinkedIn offered for that name. ## st.reactToPost This action allows you to react to a post using any available reaction type. :::surface node,python In the SDK this is the `reactToPost` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON. It returns no `data`: a failed action comes back in `errors`, with one of the error types below. ::: :::surface cli In the CLI this is `linkedin post react` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed, when `postUrl` or `postUrn` parameter is provided. > ⬆️ **Parent Actions:** [st.openPost](/docs/action-st-open-post), [st.doForPosts](/docs/action-st-do-for-posts). > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "st.reactToPost", "postUrl": "https://www.linkedin.com/posts/post1", "companyUrl": "https://www.linkedin.com/company/company1", "type": "like", "label": "post1" } ``` ```typescript tab=Node const workflow = await linkedapi.reactToPost.execute({ postUrl: "https://www.linkedin.com/posts/post1", companyUrl: "https://www.linkedin.com/company/company1", type: "like" }); const { errors } = await linkedapi.reactToPost.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import ReactToPostParams workflow = linkedapi.react_to_post.execute( ReactToPostParams( post_url="https://www.linkedin.com/posts/post1", company_url="https://www.linkedin.com/company/company1", type="like", ) ) result = linkedapi.react_to_post.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin post react https://www.linkedin.com/posts/post1 \ --type like \ --company-url https://www.linkedin.com/company/company1 ``` In AI assistants, the MCP server runs this action as the `react_to_post` tool. :::surface cli In the CLI this is `linkedin post react`: ```bash linkedin post react --type [flags] ``` | Flag | Type | Required | Description | | --- | --- | --- | --- | | `--type` | string | yes | Reaction type: `like`, `love`, `support`, `celebrate`, `insightful`, `funny` | | `--company-url` | string | no | React on behalf of a company page | ::: - `postUrl` (required for root start unless `postUrn` is provided, forbidden for parent start) – LinkedIn URL of the post. - `postUrn` (optional) – [URN](/docs/data-conventions#linkedin-urns) of the post, accepted instead of `postUrl`. When both are provided, the URL must contain that same URN. - `type` – enum describing the reaction type. - `like` – standard "like". - `celebrate` – to celebrate an achievement. - `support` – to show support. - `love` – to express love or admiration. - `insightful` – to appreciate insightful content. - `funny` – to react to something humorous. - `companyUrl` (optional) – LinkedIn company page URL. When provided, the reaction will be posted on behalf of the company. Requires content admin access to the company page. - `label` (optional) – custom label for tracking this action in workflow completion. ## Result options 1. **Successful post reaction:** ```json { "actionType": "st.reactToPost", "success": true, "label": "post1" } ``` - `label` – included only if specified in the action parameters. 2. **Failed post reaction:** ```json { "actionType": "st.reactToPost", "success": false, "label": "post1", "error": { "type": "postNotFound", "message": "The provided URL is not an existing LinkedIn post." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `postNotFound` – provided URL is not an existing LinkedIn post. - `noPostingPermission` – no permission to react on behalf of this company. ## st.commentOnPost This action allows you to leave a comment on a post. :::surface node,python In the SDK this is the `commentOnPost` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON, and returns the result below in `data`. ::: :::surface cli In the CLI this is `linkedin post comment` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed, when `postUrl` or `postUrn` parameter is provided. > ⬆️ **Parent Actions:** [st.openPost](/docs/action-st-open-post), [st.doForPosts](/docs/action-st-do-for-posts). > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "st.commentOnPost", "label": "post1", "postUrl": "https://www.linkedin.com/posts/post1", "companyUrl": "https://www.linkedin.com/company/company1", "text": "I completely agree with your point." } ``` ```typescript tab=Node const workflow = await linkedapi.commentOnPost.execute({ postUrl: "https://www.linkedin.com/posts/post1", companyUrl: "https://www.linkedin.com/company/company1", text: "I completely agree with your point." }); const { data, errors } = await linkedapi.commentOnPost.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import CommentOnPostParams workflow = linkedapi.comment_on_post.execute( CommentOnPostParams( post_url="https://www.linkedin.com/posts/post1", company_url="https://www.linkedin.com/company/company1", text="I completely agree with your point.", ) ) result = linkedapi.comment_on_post.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin post comment \ https://www.linkedin.com/posts/post1 \ "I completely agree with your point." \ --company-url https://www.linkedin.com/company/company1 ``` In AI assistants, the MCP server runs this action as the `comment_on_post` tool. :::surface cli In the CLI this is `linkedin post comment`: ```bash linkedin post comment [flags] ``` | Arg | Required | Description | | --- | --- | --- | | `url` | yes | LinkedIn post URL | | `text` | yes | Comment text (up to 1000 characters) | | Flag | Type | Description | | --- | --- | --- | | `--company-url` | string | Comment on behalf of a company page | > The same text on the same post, already published through Linked API within 24 hours, is not published again – the command fails with `duplicateComment` and links the earlier comment when it is known. A comment published with `--company-url` is counted separately from a personal one. ::: - `label` (optional) – custom label for tracking this action in workflow completion. - `postUrl` (required for root start unless `postUrn` is provided, forbidden for parent start) – LinkedIn URL of the post. - `postUrn` (optional) – [URN](/docs/data-conventions#linkedin-urns) of the post, accepted instead of `postUrl`. When both are provided, the URL must contain that same URN. - `text` – comment text, must be up to **1000** characters. - `companyUrl` (optional) – LinkedIn company page URL. When provided, the comment will be posted on behalf of the company. Requires content admin access to the company page. ## Result options 1. **Successful post commenting:** ```json { "actionType": "st.commentOnPost", "label": "post1", "success": true, "data": { "commentUrn": "urn:li:comment:(urn:li:activity:1234567890123456789,9876543210)", "commentUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543210%2Curn%3Ali%3Aactivity%3A1234567890123456789)" } } ``` - `label` – included only if specified in the action parameters. - `data` – information about the created comment. - `commentUrn` – LinkedIn URN of the created comment, if available. - `commentUrl` – canonical deep-link URL of the created comment, if available. It can be used as the `commentUrl` input for [st.openComment](/docs/action-st-open-comment), [st.reactToComment](/docs/action-st-react-to-comment), or [st.replyToComment](/docs/action-st-reply-to-comment). 2. **Failed post commenting:** ```json { "actionType": "st.commentOnPost", "label": "post1", "success": false, "error": { "type": "commentingNotAllowed", "message": "Commenting is not allowed on this post." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `postNotFound` – provided URL is not an existing LinkedIn post. - `duplicateComment` – this account already published the same text on this post through Linked API within the last 24 hours, so it was not published again. Text is compared after trimming and collapsing whitespace, and a comment published as a company page is counted separately from a personal one. The message links the earlier comment when it is known. - `commentingNotAllowed` – commenting is not allowed on this post. This could be due to the post author's privacy settings, LinkedIn restrictions on commenting, or because the post type does not support comments. - `noPostingPermission` – no permission to comment on behalf of this company. ## st.retrievePostComments This action allows you to retrieve comments for a certain post. :::surface node,python In the SDK this action runs inside `fetchPost` with `retrieveComments` enabled; its result comes back in `data.comments`, and its errors in `errors`. ::: :::surface cli In the CLI this action runs inside `linkedin post fetch` with `--comments`; that command's other options are on [`st.openPost`](/docs/action-st-open-post). ::: ## Constraints > ⏺️ **Root Start:** allowed, when `postUrl` or `postUrn` parameter is provided. > ⬆️ **Parent Actions:** [st.openPost](/docs/action-st-open-post), [st.doForPosts](/docs/action-st-do-for-posts). > ⬇️ **Child Actions:** [st.doForComments](/docs/action-st-do-for-comments). ## Parameters ```json tab=HTTP { "actionType": "st.retrievePostComments", "postUrl": "https://www.linkedin.com/posts/post1", "replies": true, "limit": 10, "sort": "mostRelevant", "label": "post1Comments", "then": { ... } } ``` ```typescript tab=Node const workflow = await linkedapi.fetchPost.execute({ postUrl: "https://www.linkedin.com/posts/post1", retrieveComments: true, }); const { data, errors } = await linkedapi.fetchPost.result(workflow.workflowId); console.log(data?.comments); console.log(errors); ``` ```python tab=Python from linkedapi import FetchPostParams workflow = linkedapi.fetch_post.execute( FetchPostParams( post_url="https://www.linkedin.com/posts/post1", retrieve_comments=True, ) ) result = linkedapi.fetch_post.result(workflow.workflow_id) if result.data: print(result.data.comments) print(result.errors) ``` ```bash tab=CLI linkedin post fetch https://www.linkedin.com/posts/post1 --comments --json ``` - `postUrl` (required for root start unless `postUrn` is provided, forbidden for parent start) – LinkedIn URL of the post. - `postUrn` (optional) – [URN](/docs/data-conventions#linkedin-urns) of the post, accepted instead of `postUrl`. When both are provided, the URL must contain that same URN. - `replies` (optional, default: `true`) – when set to `true`, the action includes replies to the comments in the results. - `limit` (optional) – number of comments to retrieve. Also applies to the replies if `replies` set to `true`. Defaults to **10**, with a maximum value of **500**. - `sort` (optional, default: `mostRelevant`) – enum representing comments sorting. Options: - `mostRelevant` – show most relevant comments first. - `mostRecent` – show most recent comments first. - `label` (optional) – custom label for tracking this action in workflow completion. - `then` (optional) – object or array of child actions to be executed for each retrieved comment (see [st.doForComments](/docs/action-st-do-for-comments)). ## Result options 1. **Successful comments retrieval:** ```json { "actionType": "st.retrievePostComments", "label": "post1Comments", "success": true, "data": [ { "commentUrn": "urn:li:comment:(urn:li:activity:1234567890123456789,9876543210)", "commentUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543210%2Curn%3Ali%3Aactivity%3A1234567890123456789)", "author": { "type": "person", "name": "John Doe", "profileUrl": "https://www.linkedin.com/in/john-doe", "headline": "Product Manager", "viewerState": { "connectionDegree": "2nd" } }, "time": "3d", "text": "Great work!", "image": null, "isReply": false, "reactionsCount": 3, "repliesCount": 2, "viewerState": { "reaction": "like", "isOwn": false } }, { "commentUrn": "urn:li:comment:(urn:li:activity:1234567890123456789,9876543211)", "commentUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543211%2Curn%3Ali%3Aactivity%3A1234567890123456789)", "author": { "type": "person", "name": "Jane Doe", "profileUrl": "https://www.linkedin.com/in/person1", "headline": "Helping companies to use AI", "viewerState": { "connectionDegree": "3rd+" } }, "time": "3d", "text": "Agree with you!", "image": null, "isReply": true, "reactionsCount": 0, "repliesCount": 0, "viewerState": { "reaction": null, "isOwn": false } }, { "commentUrn": "urn:li:comment:(urn:li:activity:1234567890123456789,9876543212)", "commentUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543212%2Curn%3Ali%3Aactivity%3A1234567890123456789)", "author": { "type": "company", "name": "CloseAI", "companyUrl": "https://www.linkedin.com/company/company1" }, "time": "1w", "text": null, "image": "https://static.linkedin.com/image1.jpg", "isReply": false, "reactionsCount": 8, "repliesCount": 4, "viewerState": { "reaction": null, "isOwn": false } } ] } ``` - `label` – included only if specified in the action parameters. - `data` – array of comments. - `commentUrn` – LinkedIn URN of the comment, if available. It can be used to build a `commentUrl` for comment-scoped actions. - `commentUrl` – canonical deep-link URL of the comment, if available. It can be used as the `commentUrl` input for [st.openComment](/docs/action-st-open-comment), [st.reactToComment](/docs/action-st-react-to-comment), or [st.replyToComment](/docs/action-st-reply-to-comment). - `author` – person or company who wrote the comment. - For person authors: `type`, `name`, `profileUrl`, `headline`, `viewerState` with `connectionDegree` – `1st`, `2nd`, `3rd+`, or `null` if LinkedIn does not show it, which is always the case for comments read in the feed or from LinkedIn's classic post layout (see [viewer state](/docs/data-conventions#viewer-state)). - For company authors: `type`, `name`, `companyUrl`. - `time` – relative time when the comment was posted, as shown by LinkedIn (e.g. `3d`, `1w`). - `text` – text of the comment, if available. - `image` – URL of an image attached to the comment, if available. - `isReply` – boolean indicating whether the comment is a reply to another comment. - `reactionsCount` – number of reactions on the comment. - `repliesCount` – number of replies to the comment. - `viewerState` – what your account has done with the comment, see [viewer state](/docs/data-conventions#viewer-state). - `reaction` – your reaction to the comment (`like`, `celebrate`, `support`, `love`, `insightful`, `funny`), or `null` if you have not reacted or the page does not show it. Comments read in the feed or from LinkedIn's classic post layout always report `null`. - `isOwn` – `true` if your account wrote the comment, `false` if someone else did, or `null` if this cannot be told. - `then` – results of child actions execution, present only when child actions are applied via [st.doForComments](/docs/action-st-do-for-comments). 2. **Failed comments retrieval:** ```json { "actionType": "st.retrievePostComments", "success": false, "label": "post1", "error": { "type": "postNotFound", "message": "The provided URL is not an existing LinkedIn post." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `postNotFound` – provided URL is not an existing LinkedIn post. ## st.retrievePostReactions This action allows you to retrieve reactions for a certain post. :::surface node,python In the SDK this action runs inside `fetchPost` with `retrieveReactions` enabled; its result comes back in `data.reactions`, and its errors in `errors`. ::: :::surface cli In the CLI this action runs inside `linkedin post fetch` with `--reactions`; that command's other options are on [`st.openPost`](/docs/action-st-open-post). ::: ## Constraints > ⏺️ **Root Start:** allowed, when `postUrl` or `postUrn` parameter is provided. > ⬆️ **Parent Actions:** [st.openPost](/docs/action-st-open-post), [st.doForPosts](/docs/action-st-do-for-posts). > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "st.retrievePostReactions", "postUrl": "https://www.linkedin.com/posts/post1", "limit": 100, "label": "post1Reactions" } ``` ```typescript tab=Node const workflow = await linkedapi.fetchPost.execute({ postUrl: "https://www.linkedin.com/posts/post1", retrieveReactions: true, }); const { data, errors } = await linkedapi.fetchPost.result(workflow.workflowId); console.log(data?.reactions); console.log(errors); ``` ```python tab=Python from linkedapi import FetchPostParams workflow = linkedapi.fetch_post.execute( FetchPostParams( post_url="https://www.linkedin.com/posts/post1", retrieve_reactions=True, ) ) result = linkedapi.fetch_post.result(workflow.workflow_id) if result.data: print(result.data.reactions) print(result.errors) ``` ```bash tab=CLI linkedin post fetch https://www.linkedin.com/posts/post1 --reactions --json ``` - `postUrl` (required for root start unless `postUrn` is provided, forbidden for parent start) – LinkedIn URL of the post. - `postUrn` (optional) – [URN](/docs/data-conventions#linkedin-urns) of the post, accepted instead of `postUrl`. When both are provided, the URL must contain that same URN. - `limit` (optional) – number of reactions to retrieve. Defaults to **10**, with a maximum value of **500**. - `label` (optional) – custom label for tracking this action in workflow completion. ## Result options 1. **Successful reactions retrieval:** ```json { "actionType": "st.retrievePostReactions", "label": "post1Reactions", "success": true, "data": [ { "actor": { "type": "person", "name": "John Doe", "urn": null, "profileUrl": "https://www.linkedin.com/in/john-doe", "headline": "Product Manager", "viewerState": { "connectionDegree": "2nd" } }, "type": "like" }, { "actor": { "type": "person", "name": "Jane Doe", "urn": null, "profileUrl": "https://www.linkedin.com/in/person1", "headline": "Helping companies to use AI", "viewerState": { "connectionDegree": "3rd+" } }, "type": "support" } ] } ``` - `label` – included only if specified in the action parameters. - `data` – array of reactions. - `actor` – person or company who reacted. - For person actors: `type`, `name`, `urn`, `profileUrl`, `headline`, `viewerState` with `connectionDegree` – `1st`, `2nd`, `3rd+`, or `null` if LinkedIn does not show it (see [viewer state](/docs/data-conventions#viewer-state)). - For company actors: `type`, `name`, `urn`, `companyUrl`. - `urn` – [URN](/docs/data-conventions#linkedin-urns) of the person or company, or `null` if LinkedIn does not expose it. - `type` – enum describing the reaction type. Possible values: - `like` – standard "like". - `celebrate` – to celebrate an achievement. - `support` – to show support. - `love` – to express love or admiration. - `insightful` – to appreciate insightful content. - `funny` – to react to something humorous. 2. **Failed reactions retrieval:** ```json { "actionType": "st.retrievePostReactions", "success": false, "label": "post1", "error": { "type": "postNotFound", "message": "The provided URL is not an existing LinkedIn post." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `postNotFound` – provided URL is not an existing LinkedIn post. ## st.openComment This action allows you to open a comment to react to it or reply to it. :::surface node,python The SDK has no dedicated method for this action – run it with [`customWorkflow`](/sdks/custom-workflow), as in the example. ::: :::surface cli The CLI has no dedicated command for this action – run it with [`linkedin workflow run`](/cli/workflows), as in the example. ::: ## Constraints > ⏺️ **Root Start:** allowed, when `commentUrl` parameter is provided. > ⬆️ **Parent Actions:** [st.doForComments](/docs/action-st-do-for-comments). > ⬇️ **Child Actions:** [st.reactToComment](/docs/action-st-react-to-comment), [st.replyToComment](/docs/action-st-reply-to-comment). ## Parameters ```json tab=HTTP { "actionType": "st.openComment", "label": "comment1", "commentUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543210%2Curn%3Ali%3Aactivity%3A1234567890123456789)", "then": { ... } } ``` ```typescript tab=Node const workflow = await linkedapi.customWorkflow.execute({ "actionType": "st.openComment", "label": "comment1", "commentUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543210%2Curn%3Ali%3Aactivity%3A1234567890123456789)" }); const { data, errors } = await linkedapi.customWorkflow.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.custom_workflow.execute({ "actionType": "st.openComment", "label": "comment1", "commentUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543210%2Curn%3Ali%3Aactivity%3A1234567890123456789)" }) result = linkedapi.custom_workflow.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin workflow run <<'JSON' { "actionType": "st.openComment", "label": "comment1", "commentUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543210%2Curn%3Ali%3Aactivity%3A1234567890123456789)" } JSON ``` - `label` (optional) – custom label for tracking this action in workflow completion. - `commentUrl` (required for root start, forbidden for parent start) – LinkedIn URL of the comment. - `then` (optional) – object or array of child actions to be executed within this action. ## Result options 1. **Successful comment opening:** ```json { "actionType": "st.openComment", "label": "comment1", "success": true, "data": { "commentUrn": "urn:li:comment:(urn:li:activity:1234567890123456789,9876543210)", "commentUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543210%2Curn%3Ali%3Aactivity%3A1234567890123456789)", "then": { ... } } } ``` - `label` – included only if specified in the action parameters. - `data` – information about the opened comment and results of child actions execution. - `commentUrn` – LinkedIn URN of the comment, if available. - `commentUrl` – canonical deep-link URL of the comment, if available. - `then` – results of child actions execution. 2. **Failed comment opening:** ```json { "actionType": "st.openComment", "label": "comment1", "success": false, "error": { "type": "commentNotFound", "message": "The comment could not be opened or no longer exists." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `commentNotFound` – the comment could not be opened or no longer exists. ## st.reactToComment This action allows you to react to a comment using any available reaction type. :::surface node,python In the SDK this is the `reactToComment` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON. It returns no `data`: a failed action comes back in `errors`, with one of the error types below. ::: :::surface cli In the CLI this is `linkedin comment react` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed, when `commentUrl` parameter is provided. > ⬆️ **Parent Actions:** [st.doForComments](/docs/action-st-do-for-comments), [st.openComment](/docs/action-st-open-comment). > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "st.reactToComment", "commentUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543210%2Curn%3Ali%3Aactivity%3A1234567890123456789)", "type": "like", "label": "comment1" } ``` ```typescript tab=Node const workflow = await linkedapi.reactToComment.execute({ commentUrl: "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543210%2Curn%3Ali%3Aactivity%3A1234567890123456789)", type: "like" }); const { errors } = await linkedapi.reactToComment.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import ReactToCommentParams workflow = linkedapi.react_to_comment.execute( ReactToCommentParams( comment_url="https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543210%2Curn%3Ali%3Aactivity%3A1234567890123456789)", type="like", ) ) result = linkedapi.react_to_comment.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin comment react \ "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543210%2Curn%3Ali%3Aactivity%3A1234567890123456789)" \ --type like ``` In AI assistants, the MCP server runs this action as the `react_to_comment` tool. :::surface cli In the CLI this is `linkedin comment react`: ```bash linkedin comment react --type ``` | Arg | Required | Description | | --- | --- | --- | | `commentUrl` | yes | Deep-link URL of the comment, from `post fetch --comments` or a `comment reply` result | | Flag | Type | Required | Description | | --- | --- | --- | --- | | `--type` | string | yes | Reaction type: `like`, `love`, `support`, `celebrate`, `insightful`, `funny` | ::: - `commentUrl` (required for root start, forbidden for parent start) – LinkedIn URL of the comment. - `type` (optional, default: `like`) – enum describing the reaction type. - `like` – standard "like". - `celebrate` – to celebrate an achievement. - `support` – to show support. - `love` – to express love or admiration. - `insightful` – to appreciate insightful content. - `funny` – to react to something humorous. - `label` (optional) – custom label for tracking this action in workflow completion. ## Result options 1. **Successful comment reaction:** ```json { "actionType": "st.reactToComment", "success": true, "label": "comment1" } ``` - `label` – included only if specified in the action parameters. 2. **Failed comment reaction:** ```json { "actionType": "st.reactToComment", "success": false, "label": "comment1", "error": { "type": "commentNotFound", "message": "The comment could not be opened or no longer exists." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `commentNotFound` – the comment could not be opened or no longer exists. ## st.replyToComment This action allows you to reply to a comment. :::surface node,python In the SDK this is the `replyToComment` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON, and returns the result below in `data`. ::: :::surface cli In the CLI this is `linkedin comment reply` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed, when `commentUrl` parameter is provided. > ⬆️ **Parent Actions:** [st.doForComments](/docs/action-st-do-for-comments), [st.openComment](/docs/action-st-open-comment). > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "st.replyToComment", "label": "comment1", "commentUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543210%2Curn%3Ali%3Aactivity%3A1234567890123456789)", "text": "Thanks for sharing your thoughts!" } ``` ```typescript tab=Node const workflow = await linkedapi.replyToComment.execute({ commentUrl: "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543210%2Curn%3Ali%3Aactivity%3A1234567890123456789)", text: "Thanks for sharing your thoughts!" }); const { data, errors } = await linkedapi.replyToComment.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import ReplyToCommentParams workflow = linkedapi.reply_to_comment.execute( ReplyToCommentParams( comment_url="https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543210%2Curn%3Ali%3Aactivity%3A1234567890123456789)", text="Thanks for sharing your thoughts!", ) ) result = linkedapi.reply_to_comment.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin comment reply \ "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543210%2Curn%3Ali%3Aactivity%3A1234567890123456789)" \ 'Thanks for sharing your thoughts!' ``` In AI assistants, the MCP server runs this action as the `reply_to_comment` tool. :::surface cli In the CLI this is `linkedin comment reply`: ```bash linkedin comment reply [flags] ``` | Arg | Required | Description | | --- | --- | --- | | `commentUrl` | yes | Deep-link URL of the comment to reply to | | `text` | yes | Reply text | The reply's `commentUrn` and `commentUrl` are printed on success (use `--json` for the full object). The same reply text to the same comment, already published through Linked API within 24 hours, is not published again – the command fails with `duplicateComment`. ::: - `label` (optional) – custom label for tracking this action in workflow completion. - `commentUrl` (required for root start, forbidden for parent start) – LinkedIn URL of the comment. - `text` – reply text. ## Result options 1. **Successful comment reply:** ```json { "actionType": "st.replyToComment", "label": "comment1", "success": true, "data": { "commentUrn": "urn:li:comment:(urn:li:activity:1234567890123456789,1122334455)", "commentUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(1122334455%2Curn%3Ali%3Aactivity%3A1234567890123456789)" } } ``` - `label` – included only if specified in the action parameters. - `data` – information about the created reply. - `commentUrn` – LinkedIn URN of the created reply, if available. - `commentUrl` – canonical deep-link URL of the created reply, if available. 2. **Failed comment reply:** ```json { "actionType": "st.replyToComment", "label": "comment1", "success": false, "error": { "type": "commentNotFound", "message": "The comment could not be opened or no longer exists." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `commentNotFound` – the comment could not be opened or no longer exists. - `replyingNotAllowed` – replying is not allowed on this comment. - `duplicateComment` – this account already replied with the same text to this comment through Linked API within the last 24 hours, so the reply was not published again. Text is compared after trimming and collapsing whitespace. The message links the earlier reply when it is known. ## st.searchJobs This action allows you to search for jobs applying various filtering criteria. :::surface node,python In the SDK this is the `searchJobs` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON, and returns the result below in `data`. ::: :::surface cli In the CLI this is `linkedin jobs search` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed. > ⬆️ **Parent Actions:** N/A. > ⬇️ **Child Actions:** [st.doForJobs](/docs/action-st-do-for-jobs). ## Parameters ```json tab=HTTP { "actionType": "st.searchJobs", "label": "productManagerSearch1", "term": "product manager", "limit": 2, "location": "San Francisco, California, United States", "allowSimilarResults": true, "filter": { "datePosted": "pastWeek", "experienceLevels": ["midSeniorLevel", "director"], "employmentTypes": ["fullTime"], "workplaceTypes": ["remote", "hybrid"], "companies": ["Example Company"], "industries": ["Software Development"], "jobFunctions": ["Product Management"], "easyApply": true, "hasVerifications": true }, "customSearchUrl": "https://www.linkedin.com/jobs/search/?keywords=product%20manager" } ``` ```typescript tab=Node const workflow = await linkedapi.searchJobs.execute({ term: "product manager", limit: 2, location: "San Francisco, California, United States", allowSimilarResults: true, filter: { datePosted: "pastWeek", experienceLevels: ["midSeniorLevel", "director"], employmentTypes: ["fullTime"], workplaceTypes: ["remote", "hybrid"], companies: ["Example Company"], industries: ["Software Development"], jobFunctions: ["Product Management"], easyApply: true, hasVerifications: true }, customSearchUrl: "https://www.linkedin.com/jobs/search/?keywords=product%20manager" }); const { data, errors } = await linkedapi.searchJobs.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import SearchJobsParams workflow = linkedapi.search_jobs.execute( SearchJobsParams( term="product manager", limit=2, location="San Francisco, California, United States", allow_similar_results=True, filter={ "date_posted": "pastWeek", "experience_levels": ["midSeniorLevel", "director"], "employment_types": ["fullTime"], "workplace_types": ["remote", "hybrid"], "companies": ["Example Company"], "industries": ["Software Development"], "job_functions": ["Product Management"], "easy_apply": True, "has_verifications": True, }, custom_search_url="https://www.linkedin.com/jobs/search/?keywords=product%20manager", ) ) result = linkedapi.search_jobs.result(workflow.workflow_id) ``` ```bash tab=CLI # Not available in the CLI: customSearchUrl linkedin jobs search \ --term "product manager" \ --limit 2 \ --location "San Francisco, California, United States" \ --date-posted pastWeek \ --experience-levels midSeniorLevel,director \ --employment-types fullTime \ --workplace-types remote,hybrid \ --companies "Example Company" \ --industries "Software Development" \ --job-functions "Product Management" \ --easy-apply \ --has-verifications ``` In AI assistants, the MCP server runs this action as the `search_jobs` tool. :::surface cli In the CLI this is `linkedin jobs search`: ```bash linkedin jobs search [flags] ``` | Flag | Type | Description | | --- | --- | --- | | `--term` | string | Search keyword or phrase | | `--limit` | integer | Max results to return | | `--location` | string | Location, applied on both versions of LinkedIn jobs search | | `--exclude-similar-results` | boolean | Exclude near matches, which only the AI-powered search returns | | `--date-posted` | string | One of `anyTime`, `past24Hours`, `pastWeek`, `pastMonth` | | `--experience-levels` | string | Comma-separated: `internship`, `entryLevel`, `associate`, `midSeniorLevel`, `director`, `executive` | | `--employment-types` | string | Comma-separated: `fullTime`, `partTime`, `contract`, `temporary`, `volunteer`, `internship`, `other` | | `--workplace-types` | string | Comma-separated: `onSite`, `remote`, `hybrid` | | `--companies` | string | Comma-separated company names | | `--industries` | string | Comma-separated industries | | `--job-functions` | string | Comma-separated job functions | | `--easy-apply` | boolean | Only jobs with Easy Apply | | `--has-verifications` | boolean | Only jobs with verification signals | | `--under-10-applicants` | boolean | Only jobs with fewer than 10 applicants | | `--in-your-network` | boolean | Only jobs from your network | | `--fair-chance-employer` | boolean | Only fair chance employer jobs | ```bash linkedin jobs search --term "product manager" --location "San Francisco" --limit 20 linkedin jobs search --term "engineer" --workplace-types "remote,hybrid" --easy-apply --json ``` **AI-powered search** LinkedIn is rolling out an AI-powered jobs search alongside the classic one, and the two do not offer the same refinements. The flags above target the classic version. To target the AI-powered one, use the `--pref-*` flags instead: | Flag | Type | Description | | --- | --- | --- | | `--pref-date-posted` | string | One of `anyTime`, `past24Hours`, `pastWeek`, `pastMonth` | | `--pref-experience-levels` | string | Comma-separated: `entryLevel`, `senior`, `manager`, `director`, `executive` | | `--pref-employment-types` | string | Comma-separated: `fullTime`, `partTime`, `contract`, `internship`, `volunteer` | | `--pref-companies` | string | Comma-separated company names | | `--pref-remote` | boolean | Only remote jobs | | `--pref-easy-apply` | boolean | Only jobs with Easy Apply | | `--pref-under-10-applicants` | boolean | Only jobs with fewer than 10 applicants | | `--pref-in-your-network` | boolean | Only jobs from your network | | `--pref-keywords` | string | Comma-separated skills, technologies, or topics, such as `AWS` or `Fintech` | The `--pref-*` flags cannot be combined with the classic filter flags. Which version an account has is decided by LinkedIn and can change over time, so a search whose criteria the account's version cannot apply fails with `searchInterfaceMismatch`. See [two versions of LinkedIn jobs search](/docs/searching-for-jobs). ::: - `label` (optional) – custom label for tracking this action in workflow completion. - `term` (optional) – keyword or phrase to search, from 1 to 200 characters. If omitted, Linked API starts from a broad jobs search and applies the provided criteria. - `limit` (optional) – number of search results to return. Defaults to **10**, with a maximum value of **1000**. - `location` (optional) – free-form location string selected through LinkedIn jobs location search. Applied on both [versions of LinkedIn jobs search](/docs/searching-for-jobs). - `allowSimilarResults` (optional) – defaults to **true**. When set to `false`, near matches are excluded from the results, and since LinkedIn places them after the exact ones, the search stops at the first near match and may return fewer results than `limit`. Only relevant to the AI-powered LinkedIn jobs search. - `filter` (optional) – object that specifies filtering criteria for the **classic** LinkedIn jobs search. Every specified field is applied, or the action fails. When multiple filter fields are specified, they are combined using `AND` logic. - `location` (optional) – use the top-level `location` instead. Still accepted here, but the top-level value takes precedence. - `datePosted` (optional) – enum with possible values: - `anyTime`. - `past24Hours`. - `pastWeek`. - `pastMonth`. - `experienceLevels` (optional) – array of enums with possible values: - `internship`. - `entryLevel`. - `associate`. - `midSeniorLevel`. - `director`. - `executive`. - `employmentTypes` (optional) – array of enums with possible values: - `fullTime`. - `partTime`. - `contract`. - `temporary`. - `volunteer`. - `internship`. - `other`. - `workplaceTypes` (optional) – array of enums with possible values: - `onSite`. - `remote`. - `hybrid`. - `companies` (optional) – array of company names selected through LinkedIn jobs company search. - `industries` (optional) – array of industry names selected through LinkedIn jobs industry search. - `jobFunctions` (optional) – array of job function names selected through LinkedIn jobs job-function search. - `easyApply` (optional) – when `true`, filters to jobs with Easy Apply. - `hasVerifications` (optional) – when `true`, filters to jobs with verification signals. - `under10Applicants` (optional) – when `true`, filters to jobs with fewer than 10 applicants. - `inYourNetwork` (optional) – when `true`, filters to jobs from your network. - `fairChanceEmployer` (optional) – when `true`, filters to fair chance employer jobs. - `preferences` (optional) – object that specifies filtering criteria for the **AI-powered** LinkedIn jobs search. LinkedIn decides which of them it offers for a given search, and the ones it does not offer are skipped instead of failing the action. When multiple preference fields are specified, they are combined using `AND` logic. - `datePosted` (optional) – enum with possible values: - `anyTime`. - `past24Hours`. - `pastWeek`. - `pastMonth`. - `experienceLevels` (optional) – array of enums with possible values, where `senior` corresponds to `midSeniorLevel` in `filter`: - `entryLevel`. - `senior`. - `manager`. - `director`. - `executive`. - `employmentTypes` (optional) – array of enums with possible values: - `fullTime`. - `partTime`. - `contract`. - `internship`. - `volunteer`. - `companies` (optional) – array of company names selected through LinkedIn jobs company search. - `remote` (optional) – when `true`, filters to remote jobs. The AI-powered search has no on-site or hybrid equivalent. - `easyApply` (optional) – when `true`, filters to jobs with Easy Apply. - `under10Applicants` (optional) – when `true`, filters to jobs with fewer than 10 applicants. - `inYourNetwork` (optional) – when `true`, filters to jobs from your network. - `keywords` (optional) – array of free-form skills, technologies, or topics to narrow the search by, such as `AWS` or `Fintech`. LinkedIn suggests a different set for every search. - `customSearchUrl` (optional) – URL copied from a LinkedIn jobs search page after configuring desired filters. When specified, it overrides `term`, `location`, `filter`, and `preferences`. The URL has to come from the same version of LinkedIn jobs search as the account has, otherwise the action fails with `searchInterfaceMismatch`. - `then` (optional) – object or array of child actions to be executed within this action. > `filter` and `preferences` are mutually exclusive, and sending both is rejected when the workflow is submitted. See [two versions of LinkedIn jobs search](/docs/searching-for-jobs) to learn which one to send. ## Result options 1. **Successful search:** ```json { "actionType": "st.searchJobs", "label": "productManagerSearch1", "success": true, "data": [ { "jobId": "4416248954", "urn": "urn:li:jobPosting:4416248954", "jobUrl": "https://www.linkedin.com/jobs/view/4416248954/", "title": "Senior Product Manager", "companyName": "Example Company", "location": "San Francisco, CA", "workplaceType": "remote", "salary": { "currency": "usd", "minAmount": 140000, "maxAmount": 180000, "period": "yearly" }, "easyApply": true, "isPromoted": false, "isSimilarMatch": false, "then": { ... } } ] } ``` - `label` – included only if specified in the action parameters. - `data` – array of search outputs with results of child actions execution. - `jobId` – LinkedIn job identifier, when it can be extracted. - `urn` – [URN](/docs/data-conventions#linkedin-urns) of the job posting, when `jobId` can be extracted. - `jobUrl` – LinkedIn job URL, when `jobId` can be extracted. - `title` – job title. - `companyName` – company name, if available. - `location` – free-form job location, if available. - `workplaceType` – workplace type label as shown by LinkedIn (such as `remote`, `hybrid`, or `on-site`), if available. Not one of the `workplaceTypes` filter values. - `salary` – parsed salary range, if LinkedIn shows one. - `currency` – lowercase currency code, such as `usd`, `eur`, or `gbp`. - `minAmount` – minimum amount in the parsed range. - `maxAmount` – maximum amount in the parsed range. - `period` – salary period. Possible values are `yearly`, `monthly`, and `hourly`. - `easyApply` – boolean indicating whether the search card mentions Easy Apply. - `isPromoted` – boolean indicating whether the search card is promoted. - `isSimilarMatch` – boolean indicating whether LinkedIn returned the job as a near match rather than an exact one. Always `false` on the classic LinkedIn jobs search. - `then` – results of child actions execution. 2. **Failed search:** ```json { "actionType": "st.searchJobs", "label": "productManagerSearch1", "success": false, "error": { "type": "searchingNotAllowed", "message": "LinkedIn has blocked performing the search." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `searchInterfaceMismatch` – the version of LinkedIn jobs search the account has cannot apply the criteria that were sent. Criteria that exist in only one of the two objects are the usual cause. Which version an account has is decided by LinkedIn and can change over time, so handle this as a normal condition rather than as a permanent setting. - `searchingNotAllowed` – LinkedIn has blocked performing the search due to exceeding limits or other restrictions. ## st.openJob This action allows you to open a LinkedIn job and optionally retrieve its details. :::surface node,python In the SDK this is the `fetchJob` method. It always returns basic information: `basicInfo`, like `label` and `then`, exists only in workflow JSON. It takes the other parameters below and returns the result below in `data`. ::: :::surface cli In the CLI this is `linkedin jobs fetch` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed, when `jobUrl` parameter is provided. > ⬆️ **Parent Actions:** [st.doForJobs](/docs/action-st-do-for-jobs). > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "st.openJob", "label": "job1", "jobUrl": "https://www.linkedin.com/jobs/view/4416248954/", "basicInfo": true } ``` ```typescript tab=Node const workflow = await linkedapi.fetchJob.execute({ jobUrl: "https://www.linkedin.com/jobs/view/4416248954/" }); const { data, errors } = await linkedapi.fetchJob.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import FetchJobParams workflow = linkedapi.fetch_job.execute( FetchJobParams( job_url="https://www.linkedin.com/jobs/view/4416248954/", ) ) result = linkedapi.fetch_job.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin jobs fetch https://www.linkedin.com/jobs/view/4416248954/ ``` In AI assistants, the MCP server runs this action as the `fetch_job` tool. :::surface cli In the CLI this is `linkedin jobs fetch`: ```bash linkedin jobs fetch ``` | Arg | Required | Description | | --- | --- | --- | | `url` | yes | LinkedIn job URL | ::: - `label` (optional) – custom label for tracking this action in workflow completion. - `jobUrl` (required for root start, omitted for parent start) – LinkedIn job URL. When `st.openJob` is used under [`st.doForJobs`](/docs/action-st-do-for-jobs), the URL is injected from the parent search result. - `basicInfo` (optional, default: `false`) – when set to `true`, the action includes job details in the result. ## Result options 1. **Successful job opening with `basicInfo` set to `true`:** ```json { "actionType": "st.openJob", "label": "job1", "success": true, "data": { "jobId": "4416248954", "urn": "urn:li:jobPosting:4416248954", "jobUrl": "https://www.linkedin.com/jobs/view/4416248954/", "title": "Senior Product Manager", "companyName": "Example Company", "companyUrl": "https://www.linkedin.com/company/example-company", "location": "San Francisco, CA", "postedDate": "1w", "applicantsCount": 84, "workplaceType": "remote", "employmentType": "Full-time", "salary": { "currency": "usd", "minAmount": 140000, "maxAmount": 180000, "period": "yearly" }, "description": "Example job description text.", "applyUrl": "https://www.linkedin.com/jobs/view/4416248954/apply/", "easyApply": true } } ``` - `label` – included only if specified in the action parameters. - `data` – job details. - `jobId` – LinkedIn job identifier. - `urn` – [URN](/docs/data-conventions#linkedin-urns) of the job posting. - `jobUrl` – normalized LinkedIn job URL. - `title` – job title. - `companyName` – company name, if available. - `companyUrl` – normalized LinkedIn company URL, if available. - `location` – free-form job location, if available. - `postedDate` – compact relative date, such as `1w`, `3d`, or `2mo`, if available. - `applicantsCount` – number of applicants, if LinkedIn shows it. - `workplaceType` – workplace type label as shown by LinkedIn (such as `remote`, `hybrid`, or `on-site`), if available. Not one of the `workplaceTypes` filter values. - `employmentType` – employment type label as shown by LinkedIn (such as `Full-time`), if available. Not one of the `employmentTypes` filter values. - `salary` – parsed salary range, if LinkedIn shows one. - `currency` – lowercase currency code, such as `usd`, `eur`, or `gbp`. - `minAmount` – minimum amount in the parsed range. - `maxAmount` – maximum amount in the parsed range. - `period` – salary period. Possible values are `yearly`, `monthly`, and `hourly`. - `description` – job description text, if available. - `applyUrl` – Easy Apply or external application URL, if available. - `easyApply` – boolean indicating whether the job uses LinkedIn Easy Apply. 2. **Successful job opening with `basicInfo` set to `false`:** ```json { "actionType": "st.openJob", "label": "job1", "success": true } ``` - `label` – included only if specified in the action parameters. - The action opens the job but does not include job details in the result. 3. **Failed job opening:** ```json { "actionType": "st.openJob", "label": "job1", "success": false, "error": { "type": "jobNotFound", "message": "The job could not be opened or no longer exists." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `jobNotFound` – the job could not be opened or no longer exists. ## st.retrieveSSI This action allows you to retrieve your current SSI (Social Selling Index). :::surface node,python In the SDK this is the `retrieveSSI` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON, and returns the result below in `data`. ::: :::surface cli In the CLI this is `linkedin stats ssi` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed. > ⬆️ **Parent Actions:** N/A. > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "st.retrieveSSI", "label": "ssi" } ``` ```typescript tab=Node const workflow = await linkedapi.retrieveSSI.execute(); const { data, errors } = await linkedapi.retrieveSSI.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.retrieve_ssi.execute() result = linkedapi.retrieve_ssi.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin stats ssi ``` In AI assistants, the MCP server runs this action as the `retrieve_ssi` tool. :::surface cli In the CLI this is `linkedin stats ssi`: ```bash linkedin stats ssi [flags] ``` ::: - `label` (optional) – custom label for tracking this action in workflow completion. ## Result options 1. **Successful retrieval:** ```json { "actionType": "st.retrieveSSI", "label": "ssi", "success": true, "data": { "ssi": 78, "industryTop": 15, "networkTop": 10 } } ``` - `label` – included only if specified in the action parameters. - `data.ssi` – number (1-100) representing your current Social Selling Index. - `data.industryTop` – percentage (1-100) showing your industry ranking by SSI score. For example, a value of 5 means you are in the top 5% of your industry. - `data.networkTop` – percentage (1-100) showing your network ranking by SSI score. For example, a value of 10 means you are in the top 10% of your network. 2. **Failed retrieval:** ```json { "actionType": "st.retrieveSSI", "label": "ssi", "success": false, "error": { "type": "ssiNotAvailable", "message": "LinkedIn is not serving a Social Selling Index for this account right now. SSI is becoming a Sales Navigator feature, and accounts without it lose access to the page." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `ssiNotAvailable` – LinkedIn does not show a Social Selling Index for this account. SSI is becoming a Sales Navigator feature, and accounts without Sales Navigator lose access to it, so retrying does not help. ## st.retrievePerformance This action allows you to retrieve performance analytics from your [LinkedIn dashboard](https://www.linkedin.com/dashboard/). :::surface node,python In the SDK this is the `retrievePerformance` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON, and returns the result below in `data`. ::: :::surface cli In the CLI this is `linkedin stats performance` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed. > ⬆️ **Parent Actions:** N/A. > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "st.retrievePerformance", "label": "performance" } ``` ```typescript tab=Node const workflow = await linkedapi.retrievePerformance.execute(); const { data, errors } = await linkedapi.retrievePerformance.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.retrieve_performance.execute() result = linkedapi.retrieve_performance.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin stats performance ``` In AI assistants, the MCP server runs this action as the `retrieve_performance` tool. :::surface cli In the CLI this is `linkedin stats performance`: ```bash linkedin stats performance [flags] ``` ::: - `label` (optional) – custom label for tracking this action in workflow completion. ## Result options This action always completes successfully. ```json { "actionType": "st.retrievePerformance", "label": "performance", "success": true, "data": { "followersCount": 1250, "postViewsLast7Days": 523, "profileViewsLast90Days": 342, "searchAppearancesPreviousWeek": 89 } } ``` - `label` – included only if specified in the action parameters. - `data.followersCount` – total number of your followers. - `data.postViewsLast7Days` – number of views on your posts in the last 7 days. - `data.profileViewsLast90Days` – number of views on your profile in the last 90 days. - `data.searchAppearancesPreviousWeek` – number of times your profile appeared in LinkedIn searches during the previous week. ## st.retrieveFeed This action allows you to retrieve posts from your own LinkedIn home feed. :::surface node,python In the SDK this is the `retrieveFeed` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON, and returns the result below in `data`. ::: :::surface cli In the CLI this is `linkedin feed retrieve` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed. > ⬆️ **Parent Actions:** N/A. > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "st.retrieveFeed", "label": "feed", "limit": 20 } ``` ```typescript tab=Node const workflow = await linkedapi.retrieveFeed.execute({ limit: 20 }); const { data, errors } = await linkedapi.retrieveFeed.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import RetrieveFeedParams workflow = linkedapi.retrieve_feed.execute( RetrieveFeedParams( limit=20, ) ) result = linkedapi.retrieve_feed.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin feed retrieve --limit 20 ``` In AI assistants, the MCP server runs this action as the `retrieve_feed` tool. :::surface cli In the CLI this is `linkedin feed retrieve`: ```bash linkedin feed retrieve [flags] ``` | Flag | Type | Description | | --- | --- | --- | | `--limit` | integer | Maximum posts to retrieve (1–100, default 20) | Each post uses the standard post result shape and includes `feedContext`, localized explanation of why the post appears in the feed. ::: - `label` (optional) – custom label for tracking this action in workflow completion. - `limit` (optional) – number of posts to retrieve. Defaults to **20**, with a maximum value of **100**. ## Result options This action always completes successfully. ```json { "actionType": "st.retrieveFeed", "label": "feed", "success": true, "data": [ { "url": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789", "activityUrn": "urn:li:activity:1234567890123456789", "time": "2023-01-02T12:30:00Z", "type": "original", "author": { "type": "person", "name": "Example Person", "urn": "urn:li:member:123456789", "profileUrl": "https://www.linkedin.com/in/example-person", "headline": "Product Marketing Lead", "viewerState": { "connectionDegree": "2nd" } }, "reposter": null, "text": "Check out our latest product launch!", "repostText": null, "hashtags": ["product", "launch"], "mentions": ["https://www.linkedin.com/company/example-company"], "externalLinks": ["https://example.com/launch"], "images": [ "https://static.linkedin.com/image1.jpg", "https://static.linkedin.com/image2.jpg" ], "documentSlides": [], "hasVideo": false, "videoThumbnail": null, "hasPoll": false, "reactionsCount": 27, "commentsCount": 8, "repostsCount": 12, "viewerState": { "reaction": "like", "isOwn": false }, "feedContext": "Example Reactor reacted to this" }, { "url": "https://www.linkedin.com/feed/update/urn:li:activity:2345678901234567890", "activityUrn": "urn:li:activity:2345678901234567890", "time": "2023-01-01T09:15:00Z", "type": "repost", "author": { "type": "company", "name": "Example Company", "urn": "urn:li:organization:1234567", "companyUrl": "https://www.linkedin.com/company/example-company" }, "reposter": { "type": "person", "name": "Example Reposter", "urn": "urn:li:member:234567890", "profileUrl": "https://www.linkedin.com/in/example-reposter", "headline": null }, "text": "Original post content about the webinar.", "repostText": "A useful summary for anyone planning a launch.", "hashtags": [], "mentions": [], "externalLinks": [], "images": [], "documentSlides": [], "hasVideo": true, "videoThumbnail": "https://media.licdn.com/dms/image/video-cover.jpg", "hasPoll": false, "reactionsCount": 6, "commentsCount": 0, "repostsCount": 1, "viewerState": { "reaction": null, "isOwn": false }, "feedContext": "Example Reposter reposted this" } ] } ``` - `label` – included only if specified in the action parameters. - `data` – array of posts from your home feed. Sponsored (promoted) posts are included as regular posts. - `url` – URL of the post. - `activityUrn` – LinkedIn activity or UGC URN of the post, if available. - `time` – timestamp when the post was published. - `type` – type of the post. Enum with possible values: - `original` – for original posts. - `repost` – for reposts. - `author` – original content creator. Can be `null` if the actor cannot be parsed. - For person authors: `type`, `name`, `urn`, `profileUrl`, `headline`, `viewerState` with `connectionDegree` – `1st`, `2nd`, `3rd+`, or `null` if LinkedIn does not show it (see [viewer state](/docs/data-conventions#viewer-state)). - For company authors: `type`, `name`, `urn`, `companyUrl`. - `reposter` – person or company that reshared the post. Non-null only when `type` is `repost`. - For person reposters: `type`, `name`, `urn`, `profileUrl`, `headline`. - For company reposters: `type`, `name`, `urn`, `companyUrl`. - `urn` on an actor – [URN](/docs/data-conventions#linkedin-urns) of that person or company, or `null` when LinkedIn does not expose an identifier for the actor. - `text` – original author's post text, if available. - `repostText` – text added by the reposter on a repost with comment, if available. - `hashtags` – array of hashtags found in the post text, without leading `#`. - `mentions` – array of person and company profile URLs found in the post text. - `externalLinks` – array of outbound URLs found in the post text. - `images` – array of up to 3 preview image URLs, if available. - `documentSlides` – array of carousel or document slide image URLs, if available. - `hasVideo` – boolean indicating if the post contains a video. - `videoThumbnail` – URL of the video thumbnail, if available. - `hasPoll` – boolean indicating if the post contains a poll. - `reactionsCount` – number of reactions on the post. - `commentsCount` – number of comments on the post. - `repostsCount` – number of reposts on the post. - `viewerState` – what your account has done with the post, see [viewer state](/docs/data-conventions#viewer-state). - `reaction` – your reaction to the post (`like`, `celebrate`, `support`, `love`, `insightful`, `funny`), or `null` if you have not reacted or it could not be read. - `isOwn` – `true` if your account is the post author, `false` if someone else is, or `null` if this cannot be told. - `feedContext` – verbatim localized context line explaining why the post appears in your feed (for example, "Example Reactor reacted to this", "Example Reposter reposted this", or "Promoted"). `null` when no context line is present. ## st.retrieveProfileViewers This action allows you to retrieve the list of people who recently viewed your own LinkedIn profile, as shown on your [profile viewers page](https://www.linkedin.com/analytics/profile-views/). :::surface node,python In the SDK this is the `retrieveProfileViewers` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON, and returns the result below in `data`. ::: :::surface cli In the CLI this is `linkedin stats viewers`: ```bash linkedin stats viewers [flags] ``` | Flag | Type | Required | Description | | --- | --- | --- | --- | | `--limit` | number | no | Max viewers to retrieve, from 1 to 300. Defaults to 20 | | `--since` | string | no | Only viewers seen at or after this ISO timestamp | Each viewer is either `identified` – carrying `name`, `publicUrl` and `urn` – or `anonymous`, carrying only the description LinkedIn showed and a `searchUrl` holding the criteria it disclosed. `urn` is not always available, and `viewedAt` is an estimate derived from the relative age LinkedIn displays. ::: > 💡 This action is verified against LinkedIn's SDUI layout of the profile viewers page. ## Constraints > ⏺️ **Root Start:** allowed. > ⬆️ **Parent Actions:** N/A. > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "st.retrieveProfileViewers", "label": "viewers1", "limit": 50, "since": "2026-08-01T00:00:00Z" } ``` ```typescript tab=Node const workflow = await linkedapi.retrieveProfileViewers.execute({ limit: 50, since: "2026-08-01T00:00:00Z" }); const { data, errors } = await linkedapi.retrieveProfileViewers.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import RetrieveProfileViewersParams workflow = linkedapi.retrieve_profile_viewers.execute( RetrieveProfileViewersParams( limit=50, since="2026-08-01T00:00:00Z", ) ) result = linkedapi.retrieve_profile_viewers.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin stats viewers --limit 50 --since 2026-08-01T00:00:00Z ``` In AI assistants, the MCP server runs this action as the `retrieve_profile_viewers` tool. - `label` (optional) – custom label for tracking this action in workflow completion. - `limit` (optional) – number of viewers to retrieve. Defaults to **20**, with a maximum value of **300**. - `since` (optional) – ISO 8601 timestamp. Only viewers seen at or after it are returned, and the action stops reading the list once it reaches older views. Combine it with `limit`: whichever boundary is hit first ends the retrieval. - `then` is not supported. > 💡 `since` is matched against `viewedAt`, which is an **estimate** derived from the relative age LinkedIn displays (see the note below the result fields). A boundary that falls inside the displayed unit – for example a `since` in the middle of an hour when LinkedIn only says `6h` – can therefore include or exclude a view near the edge. A viewer whose relative age could not be parsed at all is kept rather than dropped, since nothing proves it is older than the boundary. > 💡 LinkedIn itself decides how much of your viewer history it shows. On an account without LinkedIn Premium, LinkedIn shows only part of the list, and the action returns what is visible – which can be fewer viewers than the requested `limit`. That is a **successful** result, not an error: there is no `noPremium` error and no truncation flag in the response. ## Result options This action always completes successfully. ```json { "actionType": "st.retrieveProfileViewers", "label": "viewers1", "success": true, "data": [ { "viewerType": "identified", "viewedAt": "2026-08-11T07:20:00.000Z", "viewedAgo": "6h", "name": "Nicolai Elmqvist", "publicUrl": "https://www.linkedin.com/in/elmqvist", "urn": "urn:li:member:123456789", "headline": "Turn live event audiences into video creators", "connectionDegree": 2, "avatarUrl": "https://media.licdn.com/dms/image/profile-photo.jpg" }, { "viewerType": "anonymous", "viewedAt": "2026-08-11T01:20:00.000Z", "viewedAgo": "12h", "description": "Business Strategist in the Computer and Network Security industry from Washington DC-Baltimore Area", "searchUrl": "https://www.linkedin.com/search/results/people/?keywords=Business+Strategist&origin=WHO_VIEWED_ME&industry=118&geoUrn=90000097" }, { "viewerType": "anonymous", "viewedAt": "2026-08-11T09:20:00.000Z", "viewedAgo": "4h", "description": "Someone at Example Company", "searchUrl": "https://www.linkedin.com/search/results/people/?keywords=&origin=WHO_VIEWED_ME¤tCompany=71168977" } ] } ``` - `label` – included only if specified in the action parameters. - `data` – array of profile viewers, in the order LinkedIn shows them. An empty array is a legal, successful result: it means the profile viewers page rendered and there were no viewers to read from it. Every item contains: - `viewerType` – how much LinkedIn revealed about the viewer. Enum with possible values: - `identified` – the viewer is shown with their profile. - `anonymous` – the viewer browsed semi-privately, so LinkedIn withholds their profile and describes them only by the criteria it chose to disclose, such as a role, an industry and a region, or just a company. Viewers in full private mode disclose nothing, so they are not returned. - `viewedAt` – estimated timestamp of the view, in ISO 8601. `null` when LinkedIn's relative time could not be recognized. - `viewedAgo` – normalized relative age of the view, such as `6h`, `3d`, `2w`, or `1mo`. `null` when LinkedIn's relative time could not be recognized. Type-specific fields: - `identified`: - `name` – name of the viewer. Always present. - `publicUrl` – [public](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the viewer. Always present. - `urn` – stable LinkedIn member URN of the viewer, in the form `urn:li:member:`. Unlike the public URL, it does not change when the viewer edits their vanity name, so it is the better identifier to store. **It is not always available:** LinkedIn exposes it only for some viewers, so expect `null` on part of the list and fall back to `publicUrl` when it is missing. - `headline` – headline of the viewer. `null` when LinkedIn did not show it. - `connectionDegree` – your connection degree with the viewer as a number: `1`, `2`, or `3`, where `3` also covers 3rd+. `null` when the degree badge is absent or not recognized. - `avatarUrl` – URL of the viewer's profile picture. `null` when LinkedIn did not show it. - `anonymous`: - `description` – verbatim description line shown by LinkedIn, for example "Business Strategist in the Computer and Network Security industry from Washington DC-Baltimore Area" or "Someone at Example Company". Always present. - `searchUrl` – LinkedIn people-search URL that LinkedIn itself offers for this anonymous viewer, carrying the criteria it disclosed. Always present. Open it to look for the viewer among matching people, or pass it to [`st.searchPeople`](/docs/action-st-search-people) as `customSearchUrl`. > Linked API deliberately returns these two fields as LinkedIn produced them, without splitting the description into position, industry, location, or company name. Those parts are stated in prose whose wording differs per interface language, so parsing them would silently produce wrong values on a language we have not verified. The criteria are also available in machine-readable form as the query parameters of `searchUrl`, so parse them there if you need them. > 💡 `viewedAt` is an **estimate**. It is calculated as the moment the action ran minus the relative age LinkedIn displayed, so it is only as accurate as the unit LinkedIn showed: `6h` means ±1 hour, `2mo` means ±1 month. Months are counted as 30 days and weeks as 7 days. `viewedAgo` is the **normalized** relative age parsed from LinkedIn's own wording rather than the string LinkedIn displayed, so it is language-independent: a German account showing "vor 3 Tagen" returns `3d`. ## st.doForCompanies This action allows you to apply the actions specified in its `then` parameter to each company provided by the parent action. :::surface node,python This action cannot start a workflow, so the SDK has no method for it: put it under its parent action in the workflow you pass to [`customWorkflow`](/sdks/custom-workflow) – see [Building Workflows](/docs/building-workflows). ::: :::surface cli This action cannot start a workflow, so the CLI has no command for it: put it under its parent action in the workflow you pass to [`linkedin workflow run`](/cli/workflows) – see [Building Workflows](/docs/building-workflows). ::: > There is a limit of 20 companies that this action can be applied to. If the parent action provides more than 20 companies, only the first 20 will be processed. ## Constraints > ⏺️ **Root Start:** not allowed. > ⬆️ **Parent Actions:** [st.searchCompanies](/docs/action-st-search-companies). > ⬇️ **Child Actions:** [st.openCompanyPage](/docs/action-st-open-company-page). ## Parameters ```json tab=HTTP,CLI { "actionType": "st.doForCompanies", "then": { ... } } ``` ```typescript tab=Node { actionType: "st.doForCompanies", then: { ... } } ``` ```python tab=Python { "actionType": "st.doForCompanies", "then": {...}, } ``` - `then` – object or array of child actions to apply to each company from the parent action. ## Result options This action doesn't produce its own distinct result. The effects are visible in the companies that were involved, as they will contain a `then` field with the results of the applied actions. See usage examples for more details. ## Usage examples 1. **Retrieving basic information about searched companies:** **Workflow:** ```json tab=HTTP { "actionType": "st.searchCompanies", "term": "Tech Inc", "filter": { "sizes": ["51-200", "201-500"], "locations": ["San Francisco", "New York"], "industries": ["Software Development", "Robotics Engineering"] }, "then": { "actionType": "st.doForCompanies", "then": { "actionType": "st.openCompanyPage", "basicInfo": true } } } ``` ```typescript tab=Node const workflow = await linkedapi.customWorkflow.execute({ actionType: "st.searchCompanies", term: "Tech Inc", filter: { sizes: ["51-200", "201-500"], locations: ["San Francisco", "New York"], industries: ["Software Development", "Robotics Engineering"] }, then: { actionType: "st.doForCompanies", then: { actionType: "st.openCompanyPage", basicInfo: true } } }); const { data, errors } = await linkedapi.customWorkflow.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.custom_workflow.execute( { "actionType": "st.searchCompanies", "term": "Tech Inc", "filter": { "sizes": ["51-200", "201-500"], "locations": ["San Francisco", "New York"], "industries": ["Software Development", "Robotics Engineering"], }, "then": { "actionType": "st.doForCompanies", "then": { "actionType": "st.openCompanyPage", "basicInfo": True, }, }, } ) result = linkedapi.custom_workflow.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin workflow run <<'EOF' { "actionType": "st.searchCompanies", "term": "Tech Inc", "filter": { "sizes": [ "51-200", "201-500" ], "locations": [ "San Francisco", "New York" ], "industries": [ "Software Development", "Robotics Engineering" ] }, "then": { "actionType": "st.doForCompanies", "then": { "actionType": "st.openCompanyPage", "basicInfo": true } } } EOF ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns this whole completion in `data`: ::: :::surface cli **Completion** – `linkedin workflow run` prints this whole completion as `data`: ::: ```json { "actionType": "st.searchCompanies", "success": true, "data": [ { "name": "TechCorp", "publicUrl": "https://www.linkedin.com/company/techcorp", "industry": "IT Services and IT Consulting", "location": "California", "then": { "actionType": "st.openCompanyPage", "success": true, "data": { "name": "TechCorp", "publicUrl": "https://www.linkedin.com/company/techcorp", "description": "TechCorp is a leading provider of innovative technology solutions for businesses worldwide.", "location": "California", "headquarters": "US", "industry": "IT Services and IT Consulting", "specialties": "Cloud Computing, AI, Software Development", "website": "https://techcorp.com", "employeeCount": 500, "yearFounded": 2019, "jobsCount": 12 } } }, { "name": "Techical Life", "publicUrl": "https://www.linkedin.com/company/techlife", "industry": "Software Development", "location": "Mountain View", "then": { "actionType": "st.openCompanyPage", "success": true, "data": { "name": "Techical Life", "publicUrl": "https://www.linkedin.com/company/techlife", "description": "TechLife is a worldwide leader in software development for sustainability.", "location": "Mountain View", "headquarters": "US", "industry": "Software Development", "specialties": "Software Development, AI", "website": "https://techlife.com", "employeeCount": 163, "yearFounded": 2016, "jobsCount": 4 } } } ] } ``` 2. **Retrieving decision makers of searched companies:** **Workflow:** ```json tab=HTTP { "actionType": "st.searchCompanies", "term": "Tech Inc", "filter": { "sizes": ["51-200", "201-500"], "locations": ["San Francisco", "New York", "London"], "industries": ["Software Development", "Robotics Engineering"] }, "then": { "actionType": "st.doForCompanies", "then": { "actionType": "st.openCompanyPage", "then": { "actionType": "st.retrieveCompanyDMs" } } } } ``` ```typescript tab=Node const workflow = await linkedapi.customWorkflow.execute({ actionType: "st.searchCompanies", term: "Tech Inc", filter: { sizes: ["51-200", "201-500"], locations: ["San Francisco", "New York", "London"], industries: ["Software Development", "Robotics Engineering"] }, then: { actionType: "st.doForCompanies", then: { actionType: "st.openCompanyPage", then: { actionType: "st.retrieveCompanyDMs" } } } }); const { data, errors } = await linkedapi.customWorkflow.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.custom_workflow.execute( { "actionType": "st.searchCompanies", "term": "Tech Inc", "filter": { "sizes": ["51-200", "201-500"], "locations": ["San Francisco", "New York", "London"], "industries": ["Software Development", "Robotics Engineering"], }, "then": { "actionType": "st.doForCompanies", "then": { "actionType": "st.openCompanyPage", "then": { "actionType": "st.retrieveCompanyDMs", }, }, }, } ) result = linkedapi.custom_workflow.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin workflow run <<'EOF' { "actionType": "st.searchCompanies", "term": "Tech Inc", "filter": { "sizes": [ "51-200", "201-500" ], "locations": [ "San Francisco", "New York", "London" ], "industries": [ "Software Development", "Robotics Engineering" ] }, "then": { "actionType": "st.doForCompanies", "then": { "actionType": "st.openCompanyPage", "then": { "actionType": "st.retrieveCompanyDMs" } } } } EOF ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns this whole completion in `data`: ::: :::surface cli **Completion** – `linkedin workflow run` prints this whole completion as `data`: ::: ```json { "actionType": "st.searchCompanies", "success": true, "data": [ { "name": "TechCorp", "publicUrl": "https://www.linkedin.com/company/techcorp", "industry": "IT Services and IT Consulting", "location": "California", "then": { "actionType": "st.openCompanyPage", "success": true, "data": { "then": { "actionType": "st.retrieveCompanyDMs", "success": true, "data": [ { "name": "John Doe", "publicUrl": "https://www.linkedin.com/in/johndoe", "headline": "Founder of TechCorp", "location": "New York, USA", "countryCode": "US" }, { "name": "Jane Smith", "publicUrl": "https://www.linkedin.com/in/janesmith", "headline": "CEO at TechCorp", "location": "San Francisco, USA", "countryCode": "US" } ] } } } }, { "name": "Techical Life", "publicUrl": "https://www.linkedin.com/company/techlife", "industry": "Software Development", "location": "Mountain View", "then": { "actionType": "st.openCompanyPage", "success": true, "data": { "then": { "actionType": "st.retrieveCompanyDMs", "success": true, "data": [ { "name": "Row Pitterson", "publicUrl": "https://www.linkedin.com/in/robby", "headline": "Founder of AweSome", "location": "London, UK", "countryCode": "UK" }, { "name": "Angela White", "publicUrl": "https://www.linkedin.com/in/anglwiteh", "headline": "CEO at FunnyFace Inc.", "location": "San Francisco, USA", "countryCode": "US" } ] } } } } ] } ``` ## st.doForPeople This action allows you to apply the actions specified in its `then` parameter to each person provided by the parent action. :::surface node,python This action cannot start a workflow, so the SDK has no method for it: put it under its parent action in the workflow you pass to [`customWorkflow`](/sdks/custom-workflow) – see [Building Workflows](/docs/building-workflows). ::: :::surface cli This action cannot start a workflow, so the CLI has no command for it: put it under its parent action in the workflow you pass to [`linkedin workflow run`](/cli/workflows) – see [Building Workflows](/docs/building-workflows). ::: > There is a limit of 20 people that this action can be applied to. If the parent action provides more than 20 people, only the first 20 will be processed. ## Constraints > ⏺️ **Root Start:** not allowed. > ⬆️ **Parent Actions:** [st.searchPeople](/docs/action-st-search-people), [st.retrieveCompanyEmployees](/docs/action-st-retrieve-company-employees), [st.retrieveCompanyDMs](/docs/action-st-retrieve-company-dms). > ⬇️ **Child Actions:** [st.openPersonPage](/docs/action-st-open-person-page). ## Parameters ```json tab=HTTP,CLI { "actionType": "st.doForPeople", "then": { ... } } ``` ```typescript tab=Node { actionType: "st.doForPeople", then: { ... } } ``` ```python tab=Python { "actionType": "st.doForPeople", "then": {...}, } ``` - `then` – object or array of child actions to apply to each person from the parent action. ## Result options This action doesn't produce its own distinct result. The effects are visible in the people that were involved, as they will contain a `then` field with the results of the applied actions. See usage examples for more details. ## Usage examples 1. **Retrieving basic information about the first 2 people from the search results:** **Workflow:** ```json tab=HTTP { "actionType": "st.searchPeople", "term": "John Doe", "limit": 2, "filter": { "position": "CEO", "locations": ["New York", "San Francisco", "London"] }, "then": { "actionType": "st.doForPeople", "then": { "actionType": "st.openPersonPage", "basicInfo": true } } } ``` ```typescript tab=Node const workflow = await linkedapi.customWorkflow.execute({ actionType: "st.searchPeople", term: "John Doe", limit: 2, filter: { position: "CEO", locations: ["New York", "San Francisco", "London"] }, then: { actionType: "st.doForPeople", then: { actionType: "st.openPersonPage", basicInfo: true } } }); const { data, errors } = await linkedapi.customWorkflow.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.custom_workflow.execute( { "actionType": "st.searchPeople", "term": "John Doe", "limit": 2, "filter": { "position": "CEO", "locations": ["New York", "San Francisco", "London"], }, "then": { "actionType": "st.doForPeople", "then": { "actionType": "st.openPersonPage", "basicInfo": True, }, }, } ) result = linkedapi.custom_workflow.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin workflow run <<'EOF' { "actionType": "st.searchPeople", "term": "John Doe", "limit": 2, "filter": { "position": "CEO", "locations": [ "New York", "San Francisco", "London" ] }, "then": { "actionType": "st.doForPeople", "then": { "actionType": "st.openPersonPage", "basicInfo": true } } } EOF ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns this whole completion in `data`: ::: :::surface cli **Completion** – `linkedin workflow run` prints this whole completion as `data`: ::: ```json { "actionType": "st.searchPeople", "success": true, "data": [ { "name": "John Doe", "publicUrl": "https://www.linkedin.com/in/johndoe", "headline": "Software Engineer at TechCorp", "location": "San Francisco, USA", "then": { "actionType": "st.openPersonPage", "success": true, "data": { "name": "John Doe", "publicUrl": "https://www.linkedin.com/in/johndoe", "hashedUrl": "https://www.linkedin.com/in/SInQBmjJ015eLr8", "headline": "Software Engineer at TechCorp", "location": "San Francisco, USA", "countryCode": "US", "position": "Software Engineer", "companyName": "TechCorp", "companyHashedUrl": "https://www.linkedin.com/company/12345678" } } }, { "name": "John Doe", "publicUrl": "https://www.linkedin.com/in/johnyde", "headline": "Product Manager at TechCorp", "location": "New York, USA", "then": { "actionType": "st.openPersonPage", "success": true, "data": { "name": "John Doe", "publicUrl": "https://www.linkedin.com/in/johnyd", "hashedUrl": "https://www.linkedin.com/in/Hs763KsjdB153e", "headline": "Product Manager at TechCorp", "location": "New York, USA", "countryCode": "US", "position": "Product Manager", "companyName": "TechCorp", "companyHashedUrl": "https://www.linkedin.com/company/12345678" } } } ] } ``` 2. **Sending connection requests to all the company's decision makers:** **Workflow:** ```json tab=HTTP { "actionType": "st.openCompanyPage", "companyUrl": "https://www.linkedin.com/company/techcorp", "then": { "actionType": "st.retrieveCompanyDMs", "then": { "actionType": "st.doForPeople", "then": { "actionType": "st.openPersonPage", "then": { "actionType": "st.sendConnectionRequest" } } } } } ``` ```typescript tab=Node const workflow = await linkedapi.customWorkflow.execute({ actionType: "st.openCompanyPage", companyUrl: "https://www.linkedin.com/company/techcorp", then: { actionType: "st.retrieveCompanyDMs", then: { actionType: "st.doForPeople", then: { actionType: "st.openPersonPage", then: { actionType: "st.sendConnectionRequest" } } } } }); const { data, errors } = await linkedapi.customWorkflow.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.custom_workflow.execute( { "actionType": "st.openCompanyPage", "companyUrl": "https://www.linkedin.com/company/techcorp", "then": { "actionType": "st.retrieveCompanyDMs", "then": { "actionType": "st.doForPeople", "then": { "actionType": "st.openPersonPage", "then": { "actionType": "st.sendConnectionRequest", }, }, }, }, } ) result = linkedapi.custom_workflow.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin workflow run <<'EOF' { "actionType": "st.openCompanyPage", "companyUrl": "https://www.linkedin.com/company/techcorp", "then": { "actionType": "st.retrieveCompanyDMs", "then": { "actionType": "st.doForPeople", "then": { "actionType": "st.openPersonPage", "then": { "actionType": "st.sendConnectionRequest" } } } } } EOF ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns this whole completion in `data`: ::: :::surface cli **Completion** – `linkedin workflow run` prints this whole completion as `data`: ::: ```json { "actionType": "st.openCompanyPage", "success": true, "data": { "then": { "actionType": "st.retrieveCompanyDMs", "success": true, "data": [ { "name": "John Doe", "publicUrl": "https://www.linkedin.com/in/johndoe", "headline": "CEO at TechCorp", "location": "New York, USA", "then": { "actionType": "st.openPersonPage", "success": true, "data": { "then": { "actionType": "st.sendConnectionRequest", "success": true } } } }, { "name": "CTO Smith", "publicUrl": "https://www.linkedin.com/in/janesmith", "headline": "Software Engineer at TechCorp", "location": "San Francisco, USA", "then": { "actionType": "st.openPersonPage", "success": true, "data": { "then": { "actionType": "st.sendConnectionRequest", "success": true } } } } ] } } } ``` ## st.doForPosts This action allows you to apply the actions specified in its `then` parameter to each post provided by the parent action. :::surface node,python This action cannot start a workflow, so the SDK has no method for it: put it under its parent action in the workflow you pass to [`customWorkflow`](/sdks/custom-workflow) – see [Building Workflows](/docs/building-workflows). ::: :::surface cli This action cannot start a workflow, so the CLI has no command for it: put it under its parent action in the workflow you pass to [`linkedin workflow run`](/cli/workflows) – see [Building Workflows](/docs/building-workflows). ::: > There is a limit of 20 posts that this action can be applied to. If the parent action provides more than 20 posts, only the first 20 will be processed. Under [st.searchPosts](/docs/action-st-search-posts) the parent's own `limit` may not exceed 20 when child actions are used. > Post-scoped actions can be nested directly under `st.doForPosts`, or wrapped in [st.openPost](/docs/action-st-open-post) first when you also need the post's data or want to run several post-scoped actions together for each post. ## Constraints > ⏺️ **Root Start:** not allowed. > ⬆️ **Parent Actions:** [st.searchPosts](/docs/action-st-search-posts), [st.retrieveCompanyPosts](/docs/action-st-retrieve-company-posts), [st.retrievePersonPosts](/docs/action-st-retrieve-person-posts). > ⬇️ **Child Actions:** [st.openPost](/docs/action-st-open-post), [st.reactToPost](/docs/action-st-react-to-post), [st.createRepost](/docs/action-st-create-repost), [st.commentOnPost](/docs/action-st-comment-on-post), [st.retrievePostComments](/docs/action-st-retrieve-post-comments), [st.retrievePostReactions](/docs/action-st-retrieve-post-reactions). ## Parameters ```json tab=HTTP,CLI { "actionType": "st.doForPosts", "then": { ... } } ``` ```typescript tab=Node { actionType: "st.doForPosts", then: { ... } } ``` ```python tab=Python { "actionType": "st.doForPosts", "then": {...}, } ``` - `then` – object or array of child actions to apply to each post from the parent action. ## Result options This action doesn't produce its own distinct result. The effects are visible in the posts that were involved, as they will contain a `then` field with the results of the applied actions. See usage examples for more details. ## Usage examples 1. **Liking the latest 3 posts from the company:** **Workflow:** ```json tab=HTTP { "actionType": "st.openCompanyPage", "companyUrl": "https://www.linkedin.com/company/company1", "then": { "actionType": "st.retrieveCompanyPosts", "limit": 3, "then": { "actionType": "st.doForPosts", "then": { "actionType": "st.openPost", "basicInfo": false, "then": { "actionType": "st.reactToPost", "type": "like" } } } } } ``` ```typescript tab=Node const workflow = await linkedapi.customWorkflow.execute({ actionType: "st.openCompanyPage", companyUrl: "https://www.linkedin.com/company/company1", then: { actionType: "st.retrieveCompanyPosts", limit: 3, then: { actionType: "st.doForPosts", then: { actionType: "st.openPost", basicInfo: false, then: { actionType: "st.reactToPost", type: "like" } } } } }); const { data, errors } = await linkedapi.customWorkflow.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.custom_workflow.execute( { "actionType": "st.openCompanyPage", "companyUrl": "https://www.linkedin.com/company/company1", "then": { "actionType": "st.retrieveCompanyPosts", "limit": 3, "then": { "actionType": "st.doForPosts", "then": { "actionType": "st.openPost", "basicInfo": False, "then": { "actionType": "st.reactToPost", "type": "like", }, }, }, }, } ) result = linkedapi.custom_workflow.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin workflow run <<'EOF' { "actionType": "st.openCompanyPage", "companyUrl": "https://www.linkedin.com/company/company1", "then": { "actionType": "st.retrieveCompanyPosts", "limit": 3, "then": { "actionType": "st.doForPosts", "then": { "actionType": "st.openPost", "basicInfo": false, "then": { "actionType": "st.reactToPost", "type": "like" } } } } } EOF ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns this whole completion in `data`: ::: :::surface cli **Completion** – `linkedin workflow run` prints this whole completion as `data`: ::: ```json { "actionType": "st.openCompanyPage", "success": true, "data": { ... "then": { "actionType": "st.retrieveCompanyPosts", "success": true, "data": [ { ... "then": { "actionType": "st.openPost", "success": true, "data": { "then": { "actionType": "st.reactToPost", "success": true } } } }, { ... "then": { "actionType": "st.openPost", "success": true, "data": { "then": { "actionType": "st.reactToPost", "success": true } } } }, { ... "then": { "actionType": "st.openPost", "success": true, "data": { "then": { "actionType": "st.reactToPost", "success": true } } } } ] } } } ``` 2. **Commenting on the person's latest post:** **Workflow:** ```json tab=HTTP { "actionType": "st.openPersonPage", "personUrl": "https://www.linkedin.com/in/person1", "then": { "actionType": "st.retrievePersonPosts", "limit": 1, "then": { "actionType": "st.doForPosts", "then": { "actionType": "st.openPost", "basicInfo": false, "then": { "actionType": "st.commentOnPost", "text": "Great post! Thanks for sharing." } } } } } ``` ```typescript tab=Node const workflow = await linkedapi.customWorkflow.execute({ actionType: "st.openPersonPage", personUrl: "https://www.linkedin.com/in/person1", then: { actionType: "st.retrievePersonPosts", limit: 1, then: { actionType: "st.doForPosts", then: { actionType: "st.openPost", basicInfo: false, then: { actionType: "st.commentOnPost", text: "Great post! Thanks for sharing." } } } } }); const { data, errors } = await linkedapi.customWorkflow.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.custom_workflow.execute( { "actionType": "st.openPersonPage", "personUrl": "https://www.linkedin.com/in/person1", "then": { "actionType": "st.retrievePersonPosts", "limit": 1, "then": { "actionType": "st.doForPosts", "then": { "actionType": "st.openPost", "basicInfo": False, "then": { "actionType": "st.commentOnPost", "text": "Great post! Thanks for sharing.", }, }, }, }, } ) result = linkedapi.custom_workflow.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin workflow run <<'EOF' { "actionType": "st.openPersonPage", "personUrl": "https://www.linkedin.com/in/person1", "then": { "actionType": "st.retrievePersonPosts", "limit": 1, "then": { "actionType": "st.doForPosts", "then": { "actionType": "st.openPost", "basicInfo": false, "then": { "actionType": "st.commentOnPost", "text": "Great post! Thanks for sharing." } } } } } EOF ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns this whole completion in `data`: ::: :::surface cli **Completion** – `linkedin workflow run` prints this whole completion as `data`: ::: ```json { "actionType": "st.openPersonPage", "success": true, "data": { ... "then": { "actionType": "st.retrievePersonPosts", "success": true, "data": [ { ... "then": { "actionType": "st.openPost", "success": true, "data": { "then": { "actionType": "st.commentOnPost", "success": true } } } } ] } } } ``` 3. **Opening every post from a content search to get its author URN:** **Workflow:** ```json tab=HTTP { "actionType": "st.searchPosts", "term": "climate tech", "limit": 5, "filter": { "datePosted": "pastWeek" }, "then": { "actionType": "st.doForPosts", "then": { "actionType": "st.openPost", "basicInfo": true } } } ``` ```typescript tab=Node const workflow = await linkedapi.customWorkflow.execute({ actionType: "st.searchPosts", term: "climate tech", limit: 5, filter: { datePosted: "pastWeek" }, then: { actionType: "st.doForPosts", then: { actionType: "st.openPost", basicInfo: true } } }); const { data, errors } = await linkedapi.customWorkflow.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.custom_workflow.execute( { "actionType": "st.searchPosts", "term": "climate tech", "limit": 5, "filter": { "datePosted": "pastWeek", }, "then": { "actionType": "st.doForPosts", "then": { "actionType": "st.openPost", "basicInfo": True, }, }, } ) result = linkedapi.custom_workflow.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin workflow run <<'EOF' { "actionType": "st.searchPosts", "term": "climate tech", "limit": 5, "filter": { "datePosted": "pastWeek" }, "then": { "actionType": "st.doForPosts", "then": { "actionType": "st.openPost", "basicInfo": true } } } EOF ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns this whole completion in `data`: ::: :::surface cli **Completion** – `linkedin workflow run` prints this whole completion as `data`: ::: ```json { "actionType": "st.searchPosts", "success": true, "data": [ { ... "then": { "actionType": "st.openPost", "success": true, "data": { ... "author": { "type": "person", "name": "Example Person", "urn": "urn:li:member:123456789", "profileUrl": "https://www.linkedin.com/in/example-person", "headline": "Product Marketing Lead" } } } } ] } ``` > Search results carry no `urn` on their `author` and `reposter`. The URN is read from the post's own page, so nest [st.openPost](/docs/action-st-open-post) as above when you need it. 4. **Liking the latest 3 posts from a person directly, without opening them:** **Workflow:** ```json tab=HTTP { "actionType": "st.openPersonPage", "personUrl": "https://www.linkedin.com/in/person1", "then": { "actionType": "st.retrievePersonPosts", "limit": 3, "then": { "actionType": "st.doForPosts", "then": { "actionType": "st.reactToPost", "type": "like" } } } } ``` ```typescript tab=Node const workflow = await linkedapi.customWorkflow.execute({ actionType: "st.openPersonPage", personUrl: "https://www.linkedin.com/in/person1", then: { actionType: "st.retrievePersonPosts", limit: 3, then: { actionType: "st.doForPosts", then: { actionType: "st.reactToPost", type: "like" } } } }); const { data, errors } = await linkedapi.customWorkflow.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.custom_workflow.execute( { "actionType": "st.openPersonPage", "personUrl": "https://www.linkedin.com/in/person1", "then": { "actionType": "st.retrievePersonPosts", "limit": 3, "then": { "actionType": "st.doForPosts", "then": { "actionType": "st.reactToPost", "type": "like", }, }, }, } ) result = linkedapi.custom_workflow.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin workflow run <<'EOF' { "actionType": "st.openPersonPage", "personUrl": "https://www.linkedin.com/in/person1", "then": { "actionType": "st.retrievePersonPosts", "limit": 3, "then": { "actionType": "st.doForPosts", "then": { "actionType": "st.reactToPost", "type": "like" } } } } EOF ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns this whole completion in `data`: ::: :::surface cli **Completion** – `linkedin workflow run` prints this whole completion as `data`: ::: ```json { "actionType": "st.openPersonPage", "success": true, "data": { ... "then": { "actionType": "st.retrievePersonPosts", "success": true, "data": [ { ... "then": { "actionType": "st.reactToPost", "success": true } } ] } } } ``` ## st.doForSkills This action allows you to endorse each skill provided by the parent action, or only the skills whose names match the patterns you specify. :::surface node This action cannot start a workflow on its own. The Node SDK's [`endorsePersonSkills`](/docs/endorsing-skills#endorsing-skills-that-match-patterns) method runs it for you: it opens the profile, reads the skills and endorses the ones `skillNamePatterns` selects, or all of them. To combine it with other actions, put it under [st.retrievePersonSkills](/docs/action-st-retrieve-person-skills) in the workflow you pass to [`customWorkflow`](/sdks/custom-workflow) – see [Building Workflows](/docs/building-workflows). ::: :::surface python This action cannot start a workflow on its own. The Python SDK's [`endorse_person_skills`](/docs/endorsing-skills#endorsing-skills-that-match-patterns) method runs it for you: it opens the profile, reads the skills and endorses the ones `skill_name_patterns` selects, or all of them. To combine it with other actions, put it under [st.retrievePersonSkills](/docs/action-st-retrieve-person-skills) in the workflow you pass to [`custom_workflow`](/sdks/custom-workflow), where the action keeps its JSON keys such as `skillNamePatterns` – see [Building Workflows](/docs/building-workflows). ::: :::surface cli This action cannot start a workflow on its own. `linkedin person endorse --pattern …` (or `--all`) runs it for you: it opens the profile, reads the skills and endorses the ones the patterns select – see [Endorsing skills](/docs/endorsing-skills#endorsing-skills-that-match-patterns) for the CLI rules. To combine it with other actions, put it under [st.retrievePersonSkills](/docs/action-st-retrieve-person-skills) in the workflow you pass to [`linkedin workflow run`](/cli/workflows). ::: > Skill names are shown as the profile owner entered them, in the owner's language, whatever your own LinkedIn language. A German profile lists `Projektmanagement`, not `Project Management`. Write patterns in the language of the profiles you target, or cover several languages in one pattern, such as `"proje[ck]t\\s*management"`. ## Constraints > ⏺️ **Root Start:** not allowed. > ⬆️ **Parent Actions:** [st.retrievePersonSkills](/docs/action-st-retrieve-person-skills). > ⬇️ **Child Actions:** [st.endorsePersonSkill](/docs/action-st-endorse-person-skill). ## Parameters ```json tab=HTTP,CLI { "actionType": "st.doForSkills", "skillNamePatterns": ["business", "project\\s*manage", "^(agile|scrum)$"], "then": { "actionType": "st.endorsePersonSkill" } } ``` ```typescript tab=Node { actionType: "st.doForSkills", skillNamePatterns: ["business", "project\\s*manage", "^(agile|scrum)$"], then: { actionType: "st.endorsePersonSkill" } } ``` ```python tab=Python { "actionType": "st.doForSkills", "skillNamePatterns": ["business", "project\\s*manage", "^(agile|scrum)$"], "then": { "actionType": "st.endorsePersonSkill", }, } ``` - `skillNamePatterns` (optional) – array of regular expressions that select skills by name. A skill is selected when **any** of the patterns matches its name. If omitted, every skill is selected. - The syntax is [RE2](https://github.com/google/re2/wiki/Syntax), the dialect of Go `regexp` and Google Sheets `REGEXMATCH`. Ordinary patterns read like JavaScript regular expressions, but lookaround (`(?=…)`, `(?!…)`, `(?<=…)`, `(?>> result.data [PersonSkillEndorsement(skill_name='Business Strategy', success=True, error=None), PersonSkillEndorsement(skill_name='Project Management', success=True, error=None), PersonSkillEndorsement(skill_name='Scrum', success=False, error=LinkedApiActionError(type='limitExceeded', message='The configured limit for this action category has been exceeded.'))] >>> result.errors [] ``` ```json tab=CLI { "success": true, "data": [ { "skillName": "Business Strategy", "success": true }, { "skillName": "Project Management", "success": true }, { "skillName": "Scrum", "success": false, "error": { "type": "limitExceeded", "message": "The configured limit for this action category has been exceeded." } } ] } ``` `Python` matches none of the patterns. `Agile Coaching` is not selected either, because `^(agile|scrum)$` must match the whole name. `Scrum` was selected, but the account had reached its endorsement limit by then, so it was not endorsed. 2. **Endorsing every skill of a person:** **Workflow:** ```json tab=HTTP { "actionType": "st.openPersonPage", "personUrl": "https://www.linkedin.com/in/person1", "basicInfo": false, "then": { "actionType": "st.retrievePersonSkills", "then": { "actionType": "st.doForSkills", "then": { "actionType": "st.endorsePersonSkill" } } } } ``` ```typescript tab=Node const workflow = await linkedapi.endorsePersonSkills.execute({ personUrl: "https://www.linkedin.com/in/person1" }); const { data, errors } = await linkedapi.endorsePersonSkills.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import EndorsePersonSkillsParams workflow = linkedapi.endorse_person_skills.execute( EndorsePersonSkillsParams( person_url="https://www.linkedin.com/in/person1", ) ) result = linkedapi.endorse_person_skills.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin person endorse https://www.linkedin.com/in/person1 --all ``` :::surface http **Completion:** ::: :::surface node **Result** – `result()` returns in `data` one item per selected skill, with `skillName`, `success` and `error`; skills the patterns did not select are left out. Check every item: `errors` only covers failures to open the profile or read its skills. ::: :::surface python **Result** – `result()` returns in `data` one `PersonSkillEndorsement` per selected skill, with `skill_name`, `success` and `error`; skills the patterns did not select are left out. Check every item: `errors` only covers failures to open the profile or read its skills. ::: :::surface cli **Output** – `linkedin person endorse` prints one item per selected skill, with `skillName`, `success` and `error`, as `data`; skills the patterns did not select are left out. This is the JSON it prints with `--json` or into a pipe; check every item. ::: ```json tab=HTTP { "actionType": "st.openPersonPage", "success": true, "data": { "then": { "actionType": "st.retrievePersonSkills", "success": true, "data": [ { "name": "Business Strategy", "then": [ { "actionType": "st.endorsePersonSkill", "success": true } ] }, { "name": "Python", "then": [ { "actionType": "st.endorsePersonSkill", "success": true } ] } ] } } } ``` ```json tab=Node { "data": [ { "skillName": "Business Strategy", "success": true }, { "skillName": "Python", "success": true } ], "errors": [] } ``` ```text tab=Python >>> result.data [PersonSkillEndorsement(skill_name='Business Strategy', success=True, error=None), PersonSkillEndorsement(skill_name='Python', success=True, error=None)] >>> result.errors [] ``` ```json tab=CLI { "success": true, "data": [ { "skillName": "Business Strategy", "success": true }, { "skillName": "Python", "success": true } ] } ``` ## st.doForComments This action allows you to apply the actions specified in its `then` parameter to each comment provided by the parent action. :::surface node,python This action cannot start a workflow, so the SDK has no method for it: put it under its parent action in the workflow you pass to [`customWorkflow`](/sdks/custom-workflow) – see [Building Workflows](/docs/building-workflows). ::: :::surface cli This action cannot start a workflow, so the CLI has no command for it: put it under its parent action in the workflow you pass to [`linkedin workflow run`](/cli/workflows) – see [Building Workflows](/docs/building-workflows). ::: > The comments this action iterates over are the ones returned by the parent [st.retrievePostComments](/docs/action-st-retrieve-post-comments) action, so their number is controlled by its `limit` parameter. ## Constraints > ⏺️ **Root Start:** not allowed. > ⬆️ **Parent Actions:** [st.retrievePostComments](/docs/action-st-retrieve-post-comments). > ⬇️ **Child Actions:** [st.openComment](/docs/action-st-open-comment), [st.reactToComment](/docs/action-st-react-to-comment), [st.replyToComment](/docs/action-st-reply-to-comment). ## Parameters ```json tab=HTTP,CLI { "actionType": "st.doForComments", "then": { ... } } ``` ```typescript tab=Node { actionType: "st.doForComments", then: { ... } } ``` ```python tab=Python { "actionType": "st.doForComments", "then": {...}, } ``` - `then` – object or array of child actions to apply to each comment from the parent action. ## Result options This action doesn't produce its own distinct result. The effects are visible in the comments that were involved, as they will contain a `then` field with the results of the applied actions. See usage examples for more details. ## Usage examples 1. **Liking the 5 most relevant comments on a post:** **Workflow:** ```json tab=HTTP { "actionType": "st.retrievePostComments", "postUrl": "https://www.linkedin.com/posts/post1", "limit": 5, "sort": "mostRelevant", "then": { "actionType": "st.doForComments", "then": { "actionType": "st.reactToComment", "type": "like" } } } ``` ```typescript tab=Node const workflow = await linkedapi.customWorkflow.execute({ actionType: "st.retrievePostComments", postUrl: "https://www.linkedin.com/posts/post1", limit: 5, sort: "mostRelevant", then: { actionType: "st.doForComments", then: { actionType: "st.reactToComment", type: "like" } } }); const { data, errors } = await linkedapi.customWorkflow.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.custom_workflow.execute( { "actionType": "st.retrievePostComments", "postUrl": "https://www.linkedin.com/posts/post1", "limit": 5, "sort": "mostRelevant", "then": { "actionType": "st.doForComments", "then": { "actionType": "st.reactToComment", "type": "like", }, }, } ) result = linkedapi.custom_workflow.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin workflow run <<'EOF' { "actionType": "st.retrievePostComments", "postUrl": "https://www.linkedin.com/posts/post1", "limit": 5, "sort": "mostRelevant", "then": { "actionType": "st.doForComments", "then": { "actionType": "st.reactToComment", "type": "like" } } } EOF ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns this whole completion in `data`: ::: :::surface cli **Completion** – `linkedin workflow run` prints this whole completion as `data`: ::: ```json { "actionType": "st.retrievePostComments", "success": true, "data": [ { ... "then": { "actionType": "st.reactToComment", "success": true } }, { ... "then": { "actionType": "st.reactToComment", "success": true } } ] } ``` 2. **Reacting to and replying to each comment through the `st.openComment` wrapper:** **Workflow:** ```json tab=HTTP { "actionType": "st.retrievePostComments", "postUrl": "https://www.linkedin.com/posts/post1", "limit": 3, "then": { "actionType": "st.doForComments", "then": { "actionType": "st.openComment", "then": [ { "actionType": "st.reactToComment", "type": "celebrate" }, { "actionType": "st.replyToComment", "text": "Well said, thanks for sharing!" } ] } } } ``` ```typescript tab=Node const workflow = await linkedapi.customWorkflow.execute({ actionType: "st.retrievePostComments", postUrl: "https://www.linkedin.com/posts/post1", limit: 3, then: { actionType: "st.doForComments", then: { actionType: "st.openComment", then: [ { actionType: "st.reactToComment", type: "celebrate" }, { actionType: "st.replyToComment", text: "Well said, thanks for sharing!" } ] } } }); const { data, errors } = await linkedapi.customWorkflow.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.custom_workflow.execute( { "actionType": "st.retrievePostComments", "postUrl": "https://www.linkedin.com/posts/post1", "limit": 3, "then": { "actionType": "st.doForComments", "then": { "actionType": "st.openComment", "then": [ { "actionType": "st.reactToComment", "type": "celebrate", }, { "actionType": "st.replyToComment", "text": "Well said, thanks for sharing!", }, ], }, }, } ) result = linkedapi.custom_workflow.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin workflow run <<'EOF' { "actionType": "st.retrievePostComments", "postUrl": "https://www.linkedin.com/posts/post1", "limit": 3, "then": { "actionType": "st.doForComments", "then": { "actionType": "st.openComment", "then": [ { "actionType": "st.reactToComment", "type": "celebrate" }, { "actionType": "st.replyToComment", "text": "Well said, thanks for sharing!" } ] } } } EOF ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns this whole completion in `data`: ::: :::surface cli **Completion** – `linkedin workflow run` prints this whole completion as `data`: ::: ```json { "actionType": "st.retrievePostComments", "success": true, "data": [ { ... "then": { "actionType": "st.openComment", "success": true, "data": { "commentUrn": "urn:li:comment:(urn:li:activity:1234567890123456789,9876543210)", "commentUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543210%2Curn%3Ali%3Aactivity%3A1234567890123456789)", "then": [ { "actionType": "st.reactToComment", "success": true }, { "actionType": "st.replyToComment", "success": true, "data": { "commentUrn": "urn:li:comment:(urn:li:activity:1234567890123456789,1122334455)", "commentUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(1122334455%2Curn%3Ali%3Aactivity%3A1234567890123456789)" } } ] } } } ] } ``` ## st.doForJobs This action allows you to apply the actions specified in its `then` parameter to each job provided by the parent action. :::surface node,python This action cannot start a workflow, so the SDK has no method for it: put it under its parent action in the workflow you pass to [`customWorkflow`](/sdks/custom-workflow) – see [Building Workflows](/docs/building-workflows). ::: :::surface cli This action cannot start a workflow, so the CLI has no command for it: put it under its parent action in the workflow you pass to [`linkedin workflow run`](/cli/workflows) – see [Building Workflows](/docs/building-workflows). ::: ## Constraints > ⏺️ **Root Start:** not allowed. > ⬆️ **Parent Actions:** [st.searchJobs](/docs/action-st-search-jobs). > ⬇️ **Child Actions:** [st.openJob](/docs/action-st-open-job). ## Parameters ```json tab=HTTP,CLI { "actionType": "st.doForJobs", "then": { ... } } ``` ```typescript tab=Node { actionType: "st.doForJobs", then: { ... } } ``` ```python tab=Python { "actionType": "st.doForJobs", "then": {...}, } ``` - `then` – object or array of child actions to apply to each job from the parent action. ## Result options This action doesn't produce its own distinct result. The effects are visible in the jobs that were involved, as they will contain a `then` field with the results of the applied actions. See usage examples for more details. ## Usage examples 1. **Retrieving details for jobs from search results:** **Workflow:** ```json tab=HTTP { "actionType": "st.searchJobs", "term": "product manager", "limit": 2, "then": { "actionType": "st.doForJobs", "then": { "actionType": "st.openJob", "basicInfo": true } } } ``` ```typescript tab=Node const workflow = await linkedapi.customWorkflow.execute({ actionType: "st.searchJobs", term: "product manager", limit: 2, then: { actionType: "st.doForJobs", then: { actionType: "st.openJob", basicInfo: true } } }); const { data, errors } = await linkedapi.customWorkflow.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.custom_workflow.execute( { "actionType": "st.searchJobs", "term": "product manager", "limit": 2, "then": { "actionType": "st.doForJobs", "then": { "actionType": "st.openJob", "basicInfo": True, }, }, } ) result = linkedapi.custom_workflow.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin workflow run <<'EOF' { "actionType": "st.searchJobs", "term": "product manager", "limit": 2, "then": { "actionType": "st.doForJobs", "then": { "actionType": "st.openJob", "basicInfo": true } } } EOF ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns this whole completion in `data`: ::: :::surface cli **Completion** – `linkedin workflow run` prints this whole completion as `data`: ::: ```json { "actionType": "st.searchJobs", "success": true, "data": [ { "jobId": "4416248954", "jobUrl": "https://www.linkedin.com/jobs/view/4416248954/", "title": "Senior Product Manager", "companyName": "Example Company", "location": "San Francisco, CA", "workplaceType": "remote", "salary": { "currency": "usd", "minAmount": 140000, "maxAmount": 180000, "period": "yearly" }, "easyApply": true, "isPromoted": false, "isSimilarMatch": false, "then": { "actionType": "st.openJob", "success": true, "data": { "jobId": "4416248954", "jobUrl": "https://www.linkedin.com/jobs/view/4416248954/", "title": "Senior Product Manager", "companyName": "Example Company", "companyUrl": "https://www.linkedin.com/company/example-company", "location": "San Francisco, CA", "postedDate": "1w", "applicantsCount": 84, "workplaceType": "remote", "employmentType": "Full-time", "salary": { "currency": "usd", "minAmount": 140000, "maxAmount": 180000, "period": "yearly" }, "description": "Example job description text.", "applyUrl": "https://www.linkedin.com/jobs/view/4416248954/apply/", "easyApply": true } } } ] } ``` ## nv.retrieveAlerts Read lead and account alerts from your Sales Navigator home feed. Use the alert's type and timestamp to decide when to reach out, then open its subject with [`nv.openPersonPage`](/docs/action-nv-open-person-page) or [`nv.openCompanyPage`](/docs/action-nv-open-company-page). Sales Navigator raises these alerts for the leads and accounts you save. To start following a subject, save it with [`nv.saveLead`](/docs/action-nv-save-lead) or [`nv.saveAccount`](/docs/action-nv-save-account); to stop following it, unsave it with [`nv.unsaveLead`](/docs/action-nv-unsave-lead) or [`nv.unsaveAccount`](/docs/action-nv-unsave-account). With default filters, alerts about unsaved subjects can still be returned; to read only alerts about subjects you saved, set `filter.excludeSuggested` to `true`. An alert's `subject.url` can be passed to these actions as it is. An active Sales Navigator subscription is required. By default, the action includes saved and unsaved subjects, as well as subjects with unknown saved state. Set `filter.excludeSuggested` to `true` to return only subjects confirmed as saved. This excludes all unsaved and unknown-state subjects, including alerts without a "Suggested" label in Sales Navigator. :::surface node,python In the SDK this is the `nvRetrieveAlerts` method. The result below is returned in `data`. ::: :::surface cli The command is `linkedin navigator alerts`. Its flags are listed below. ::: ## Constraints > ⏺️ **Root Start:** allowed. > ⬆️ **Parent Actions:** N/A. > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "nv.retrieveAlerts", "label": "companySignals", "limit": 50, "sort": "latest", "filter": { "category": "account", "types": ["ACCOUNT_SHARED_UPDATE", "ACCOUNT_SENIOR_HIRE"], "since": "2026-10-01T00:00:00Z", "excludeSuggested": false } } ``` ```typescript tab=Node const workflow = await linkedapi.nvRetrieveAlerts.execute({ limit: 50, sort: "latest", filter: { category: "account", types: ["ACCOUNT_SHARED_UPDATE", "ACCOUNT_SENIOR_HIRE"], since: "2026-10-01T00:00:00Z", excludeSuggested: false } }); const { data, errors } = await linkedapi.nvRetrieveAlerts.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import NvRetrieveAlertsParams workflow = linkedapi.nv_retrieve_alerts.execute( NvRetrieveAlertsParams( limit=50, sort="latest", filter={ "category": "account", "types": ["ACCOUNT_SHARED_UPDATE", "ACCOUNT_SENIOR_HIRE"], "since": "2026-10-01T00:00:00Z", "exclude_suggested": False, }, ) ) result = linkedapi.nv_retrieve_alerts.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin navigator alerts \ --limit 50 \ --sort latest \ --category account \ --types ACCOUNT_SHARED_UPDATE,ACCOUNT_SENIOR_HIRE \ --since 2026-10-01T00:00:00Z \ --json ``` In AI assistants, the MCP tool is `nv_retrieve_alerts`. The n8n action is **Retrieve alerts in Sales Navigator**; the Make module is **Retrieve Alerts in Sales Navigator**. | Parameter | Description | | --- | --- | | `label` | Optional label included in workflow completion. | | `limit` | Maximum matching alerts to return, from 1 to 1000. Defaults to 50. | | `sort` | `latest` (default): newest first. `relevance`: Sales Navigator's main alert feed order, preserving relative order when filtering by category. | | `filter.category` | Filter by `subject.type`: `lead` or `account`, consistently for both sort orders. Omit to retrieve both. Sales Navigator's tabs can group the same alerts differently. | | `filter.types` | Exact machine codes from an alert's `type` field. Omit or pass an empty array for all types. | | `filter.since` | Inclusive timestamp in extended ISO 8601 calendar format with a timezone, such as `2026-10-01T00:00:00Z`. Only alerts published at or after this time are included. | | `filter.excludeSuggested` | Defaults to `false`: include saved, unsaved, and unknown-state subjects. Set to `true` to return only subjects confirmed as saved, whether or not the UI labels the excluded alerts as suggestions. | | `filter.listId` | Only alerts about the leads or accounts in one of your lists, as returned in `id` by [`nv.retrieveLists`](/docs/action-nv-retrieve-lists). Pass it as a string of digits. Works only with `sort` set to `latest`; with `relevance` the workflow is rejected. See [Alerts for a list or for chosen subjects](#alerts-for-a-list-or-for-chosen-subjects). | | `filter.subjects` | Only alerts about these leads or accounts: an array of an alert's `subject.url` or `subject.urn`, or of `hashedUrl` values from Sales Navigator results. Public profile and company URLs are rejected. Omit or pass an empty array for all subjects. See [Alerts for a list or for chosen subjects](#alerts-for-a-list-or-for-chosen-subjects). | All filter conditions are combined with AND. Values within `filter.types` are alternatives, and so are values within `filter.subjects`. The action reads additional feed pages when needed to find matching alerts; `limit` counts matches, not scanned records. Fewer matches, including an empty array, are a successful result when the available feed is exhausted. For example, an accepted-invitation alert about an unsaved lead is included by default, even if Sales Navigator shows no "Suggested" label. Setting `filter.excludeSuggested` to `true` excludes it. Unknown saved state stays `null` and is included by default; it is excluded when `filter.excludeSuggested` is `true`, because it is not confirmation that the subject is saved. :::surface cli | Flag | Description | | --- | --- | | `--limit` | Maximum matching alerts, 1–1000; default 50. | | `--sort` | `latest` or `relevance`; default `latest`. | | `--category` | `lead` or `account`; omit for both. | | `--types` | Comma-separated machine type codes. | | `--since` | Inclusive ISO timestamp cutoff. | | `--exclude-suggested` | Return only subjects confirmed as saved; excludes unsaved and unknown saved states. Defaults to `false`. | | `--list-id` | Only alerts about the members of one of your lists. Requires `--sort latest`, the default. | | `--subject` | Only alerts about this lead or account: an alert's `subject.url` or `subject.urn`, or a `hashedUrl`. Repeat the flag once per subject; values are not comma-separated, because Sales Navigator URLs and URNs can contain commas. | ::: ## Alerts for a list or for chosen subjects Two filters narrow the feed to the subjects you care about. Both combine with the other filters by AND. **`filter.listId`: the members of one list.** The action applies Sales Navigator's own list filter, so it returns only alerts about the leads or accounts in that list. - **Any of your lists.** Pass the `id` of one of your lead or account lists from [`nv.retrieveLists`](/docs/action-nv-retrieve-lists); no list type is needed. A list that is not one of yours, including one someone else shared with you, fails with `listNotFound`. - **Newest first only.** Sales Navigator applies its list filter only to the newest-first feed. Use `sort` set to `latest`, the default. A workflow that combines `filter.listId` with `sort` set to `relevance` is rejected with `invalidWorkflow` before it starts; the sort is never changed for you. - **Read to the end of the list's feed.** The action keeps reading the list's alerts until it has `limit` matches or the list's feed ends. A list feed that cannot be read to its end fails with `unexpectedError` rather than returning a partial result. - **`since` with large lists.** For a list of up to 189 members (`entityCount` in [`nv.retrieveLists`](/docs/action-nv-retrieve-lists)), reading stops at the first alert older than `filter.since`. For a larger list, or one whose `entityCount` is `null`, the action reads the list's whole feed and keeps only alerts at or after `filter.since`, so the call takes longer. ```json tab=HTTP { "actionType": "nv.retrieveAlerts", "label": "emeaLeadAlerts", "limit": 100, "filter": { "listId": "7420000000000000001", "since": "2026-11-01T00:00:00Z" } } ``` ```typescript tab=Node const workflow = await linkedapi.nvRetrieveAlerts.execute({ limit: 100, filter: { listId: "7420000000000000001", since: "2026-11-01T00:00:00Z" } }); const { data, errors } = await linkedapi.nvRetrieveAlerts.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import NvRetrieveAlertsParams workflow = linkedapi.nv_retrieve_alerts.execute( NvRetrieveAlertsParams( limit=100, filter={ "list_id": "7420000000000000001", "since": "2026-11-01T00:00:00Z", }, ) ) result = linkedapi.nv_retrieve_alerts.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin navigator alerts \ --list-id 7420000000000000001 \ --since 2026-11-01T00:00:00Z \ --limit 100 \ --json ``` **`filter.subjects`: chosen leads or accounts.** The action returns only alerts whose subject is one of the leads or accounts you list. It works with both sort orders, and several subjects return alerts about any of them. - **Accepted values.** An alert's `subject.url` (`/sales/lead/…` or `/sales/company/…`) or `subject.urn`, or a `hashedUrl` from [`nv.searchPeople`](/docs/action-nv-search-people), [`nv.searchCompanies`](/docs/action-nv-search-companies), [`nv.retrieveListLeads`](/docs/action-nv-retrieve-list-leads) or [`nv.retrieveListAccounts`](/docs/action-nv-retrieve-list-accounts). - **Matched by identity.** A lead's hashed URL matches alerts about that person whichever URL form the alert uses, and the same goes for a company and its numeric ID. - **Rejected values.** Public URLs such as `linkedin.com/in/` or `linkedin.com/company/` are rejected with `invalidWorkflow` before the workflow starts, because resolving each one would cost a page load. So are `urn` values from search results (`urn:li:member:…`, `urn:li:organization:…`): pass the result's `hashedUrl` instead. ```json { "actionType": "nv.retrieveAlerts", "label": "twoAccounts", "sort": "relevance", "filter": { "subjects": [ "https://www.linkedin.com/sales/company/12345", "https://www.linkedin.com/company/67890" ] } } ``` ## Alert types The `type` field preserves Sales Navigator's machine code. Types observed on the live feed include: | Type | Signal | | --- | --- | | `LEAD_SHARED_UPDATE` | A lead shared a post or update. | | `LEAD_ACCEPTED_INVITATION` | A lead accepted an invitation. | | `LEAD_PROFILE_VIEW_SIGNAL` | A lead viewed your profile. | | `ACCOUNT_SHARED_UPDATE` | A company shared a post or update. | | `ACCOUNT_SENIOR_HIRE` | A company hired a senior decision maker. | | `ACCOUNT_HEADCOUNT_ACCELERATED_FLOW` | Increased employee movement involving companies. | This is an open set: other types can appear as Sales Navigator adds signals. Filter on codes returned in `type`, rather than matching the localized headline. A type filter with no matching alerts returns an empty array. ## Result options ```json { "actionType": "nv.retrieveAlerts", "label": "companySignals", "success": true, "data": [ { "id": "urn:li:notificationV2:example-alert", "type": "ACCOUNT_SHARED_UPDATE", "publishedAt": "2026-10-30T09:00:00.000Z", "subject": { "type": "account", "urn": "urn:li:fs_salesCompany:12345", "name": "Example Labs", "url": "https://www.linkedin.com/sales/company/12345", "saved": true }, "headline": "Example Labs shared an update.", "text": "Meet our latest product update.", "subline": "Software Development", "url": "https://www.linkedin.com/feed/sales-navigator/urn:li:share:1234567890", "relatedEntityUrn": "urn:li:share:1234567890" } ] } ``` | Field | Meaning | | --- | --- | | `id` | Sales Navigator's opaque alert URN. Store it to recognize alerts returned by earlier retrievals. | | `type` | Machine alert code, independent of interface language. | | `publishedAt` | Exact publication timestamp supplied by Sales Navigator, in ISO 8601 UTC. | | `subject.type` | `lead` or `account`. | | `subject.urn` | The subject's Sales Navigator URN. | | `subject.name` | Subject name, or `null` when matching identity metadata is unavailable. | | `subject.url` | Subject URL usable with `nv.openPersonPage` or `nv.openCompanyPage`, with [`nv.saveLead`](/docs/action-nv-save-lead) / [`nv.unsaveLead`](/docs/action-nv-unsave-lead) / [`nv.removeLeadFromList`](/docs/action-nv-remove-lead-from-list) or [`nv.saveAccount`](/docs/action-nv-save-account) / [`nv.unsaveAccount`](/docs/action-nv-unsave-account) / [`nv.removeAccountFromList`](/docs/action-nv-remove-account-from-list), and in `filter.subjects`. | | `subject.saved` | `true` or `false` when Sales Navigator supplies matching saved-state metadata; otherwise `null`. | | `headline` | Alert headline in the account's interface language, or `null`. | | `text` | Alert body or post text when supplied, otherwise `null`. | | `subline` | Additional context supplied with the alert, or `null`. | | `url` | Alert's destination URL, or `null`. It can point to a related person, post or search rather than the subject. | | `relatedEntityUrn` | Related post, position or other entity named by the alert, or `null`. | A lead's `subject.url` uses `/sales/lead/…`; an account's uses `/sales/company/…`. Subject metadata is associated by identity. When an alert describes several entities, a name or saved state belonging to another entity is not attached to the subject. ## Retrieval and history Each call reads the feed currently available to your account. Linked API does not store alerts, track a polling cursor or send alert webhooks. To check for new alerts, call again with `filter.since` and deduplicate by `id`; the inclusive timestamp lets you retain events sharing the same publication time. Sales Navigator controls which alerts remain available. `since` filters the available feed and does not recover expired or cleared alerts. No fixed history period is guaranteed. Saved-search email notifications and shared-list system notifications are outside this action's lead and account feed. The action reads alerts without clearing, bookmarking or saving them. With `filter.excludeSuggested` set to `true`, an account with no confirmed saved leads or accounts returns an empty result even when Sales Navigator shows suggestions. A missing or unreadable feed response is reported as a failure, not as an empty successful result. Retrieval resets the home feed's filters and applies the requested sort; with `filter.listId`, it opens the feed filtered to that list instead. These view settings can remain selected when you next use Sales Navigator. Category and subject filtering is applied to the returned subjects. ## Error result An unsuccessful action returns `success: false` with an `error` object. Possible `error.type` values: - `noSalesNavigator` — the account does not have an active Sales Navigator subscription. - `listNotFound` — `filter.listId` is not one of your lead or account lists. This includes a list someone else shared with you. - `unexpectedError` — the feed could not be retrieved or parsed, including a list's feed that could not be read to its end. ## nv.retrieveLists Retrieve the Sales Navigator lead lists or account lists you own. Use a list's `id` as `listId` in [`nv.saveLead`](/docs/action-nv-save-lead) or [`nv.saveAccount`](/docs/action-nv-save-account). To create a list, use [`nv.createList`](/docs/action-nv-create-list); to rename one, use [`nv.renameList`](/docs/action-nv-rename-list); to delete one, use [`nv.deleteList`](/docs/action-nv-delete-list). To read the leads or accounts in a list, use [`nv.retrieveListLeads`](/docs/action-nv-retrieve-list-leads) or [`nv.retrieveListAccounts`](/docs/action-nv-retrieve-list-accounts). An active Sales Navigator subscription is required. :::surface node,python In the SDK this is the `nvRetrieveLists` method. It takes the parameters below except `label`, which exists only in workflow JSON. The result below is returned in `data`. ::: :::surface cli The command is `linkedin navigator lists`. Its flag is listed below. ::: ## Constraints > ⏺️ **Root Start:** allowed. > ⬆️ **Parent Actions:** N/A. > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "nv.retrieveLists", "label": "leadLists", "type": "lead" } ``` ```typescript tab=Node const workflow = await linkedapi.nvRetrieveLists.execute({ type: "lead" }); const { data, errors } = await linkedapi.nvRetrieveLists.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import NvRetrieveListsParams workflow = linkedapi.nv_retrieve_lists.execute( NvRetrieveListsParams( type="lead", ) ) result = linkedapi.nv_retrieve_lists.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin navigator lists --type lead --json ``` In AI assistants, the MCP tool is `nv_retrieve_lists`. The n8n action is **Retrieve lists in Sales Navigator**; the Make module is **Retrieve Lists in Sales Navigator**. | Parameter | Description | | --- | --- | | `label` | Optional label included in workflow completion. | | `type` | Required. `lead` for lead lists or `account` for account lists. | :::surface cli | Flag | Description | | --- | --- | | `--type` | Required. `lead` or `account`. | ::: ## Result options ```json { "actionType": "nv.retrieveLists", "label": "leadLists", "success": true, "data": [ { "id": "7420000000000000001", "name": "Q4 outreach", "type": "lead", "source": "MANUAL", "entityCount": 12, "url": "https://www.linkedin.com/sales/lists/people/7420000000000000001" }, { "id": "7420000000000000002", "name": "Recommended Leads", "type": "lead", "source": "RECOMMENDATION", "entityCount": null, "url": "https://www.linkedin.com/sales/lists/people/7420000000000000002" } ] } ``` | Field | Meaning | | --- | --- | | `id` | List ID, as a string. Pass it as `listId` to save into this list. | | `name` | List name as shown in Sales Navigator. | | `type` | `lead` or `account`, matching the requested `type`. | | `source` | Sales Navigator's own list source code: `MANUAL` for lists you created, in Sales Navigator or with [`nv.createList`](/docs/action-nv-create-list); system lists carry other codes, such as `RECOMMENDATION` or `BOOK_OF_BUSINESS` ("My Current Accounts"). This is an open set. | | `entityCount` | Number of leads or accounts in the list, or `null` when Sales Navigator does not report it. | | `url` | Opens the list in Sales Navigator. | List IDs are long numeric strings, often 19 digits – beyond what a JavaScript number holds exactly. Keep them as strings; converting one to a number can change it. The result includes every list of the requested type that you own, including Sales Navigator's system lists. Not every list can be a save target: | Subject | Lists you can save to | | --- | --- | | Leads, with [`nv.saveLead`](/docs/action-nv-save-lead) | Your custom lead lists (`source` is `MANUAL`). | | Accounts, with [`nv.saveAccount`](/docs/action-nv-save-account) | Your custom account lists (`source` is `MANUAL`) and "My Current Accounts" (`source` is `BOOK_OF_BUSINESS`). | Saving to any other list returns `listNotFound`. Sales Navigator's system lists, such as Recommended Leads and My Current Accounts, cannot be deleted or renamed: [`nv.deleteList`](/docs/action-nv-delete-list) returns `listNotDeletable` and [`nv.renameList`](/docs/action-nv-rename-list) returns `listNotRenamable` for them. ## Error result An unsuccessful action returns `success: false` with an `error` object. Possible `error.type` values: - `noSalesNavigator` — the account does not have an active Sales Navigator subscription. - `unexpectedError` — the lists could not be retrieved or parsed. ## nv.createList Create a lead list or an account list in Sales Navigator. For example, create one list per region, then save search results into each with [`nv.saveLead`](/docs/action-nv-save-lead) or [`nv.saveAccount`](/docs/action-nv-save-account), passing the new list's `id` as `listId`. An active Sales Navigator subscription is required. To see the lists you already have, call [`nv.retrieveLists`](/docs/action-nv-retrieve-lists). :::surface node,python In the SDK this is the `nvCreateList` method. It takes the parameters below except `label`, which exists only in workflow JSON. The result below is returned in `data`. ::: :::surface cli The command is `linkedin navigator lists create`. Its flags are listed below. ::: ## Constraints > ⏺️ **Root Start:** allowed. > ⬆️ **Parent Actions:** N/A. > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "nv.createList", "label": "emeaLeads", "type": "lead", "name": "EMEA leads", "description": "Heads of Sales in EMEA to follow up with" } ``` ```typescript tab=Node const workflow = await linkedapi.nvCreateList.execute({ type: "lead", name: "EMEA leads", description: "Heads of Sales in EMEA to follow up with" }); const { data, errors } = await linkedapi.nvCreateList.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import NvCreateListParams workflow = linkedapi.nv_create_list.execute( NvCreateListParams( type="lead", name="EMEA leads", description="Heads of Sales in EMEA to follow up with", ) ) result = linkedapi.nv_create_list.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin navigator lists create \ --type lead \ --name "EMEA leads" \ --description "Heads of Sales in EMEA to follow up with" \ --json ``` In AI assistants, the MCP tool is `nv_create_list`. The n8n action is **Create list in Sales Navigator**; the Make module is **Create List in Sales Navigator**. | Parameter | Description | | --- | --- | | `label` | Optional label included in workflow completion. | | `type` | Required. `lead` to create a lead list or `account` to create an account list. | | `name` | Required. List name on a single line, from 1 to 75 characters after spaces at the start and end are removed (an emoji counts as two). No list of the same type that you own may already have this name (see [List names](#list-names)). | | `description` | Optional. List description, up to 350 characters after spaces at the start and end are removed, as Sales Navigator stores it (an emoji counts as two). Line breaks are allowed, but a carriage return (`\r`) is rejected. A description that is blank after removing them is treated as omitted. Omit it for a list without a description; `null` is rejected. | A `name` or `description` outside these limits is rejected with `invalidWorkflow` before the workflow starts. Nothing is ever shortened. :::surface python In Python, `NvCreateListParams` also checks the lengths itself, counting each character once: a name outside 1–75 characters or a description over 350 raises pydantic's `ValidationError` when the params object is built, before any request is sent. Line breaks and emoji are checked by the API. ::: :::surface cli | Flag | Description | | --- | --- | | `--type` | Required. `lead` or `account`. | | `--name` | Required. List name, 1 to 75 characters. | | `--description` | Optional. List description, up to 350 characters. | ::: ## List names Sales Navigator itself lets several of your lists share a name. This action never creates such a duplicate, because the save menu used by [`nv.saveLead`](/docs/action-nv-save-lead) and [`nv.saveAccount`](/docs/action-nv-save-account) shows lists by name only, so lists that share a name cannot be told apart there. - **One name per type.** Before creating anything, the action reads all lists of the requested type that you own, Sales Navigator's system lists included. If one of them already has this name, the call fails with `listAlreadyExists` and no list is created. - **What counts as the same name.** Names are compared after removing spaces at the start and end, and letter case counts. `EMEA leads` is the same name with or without spaces around it; `EMEA Leads` is a different name. - **System lists count.** Sales Navigator's own lists, such as Recommended Leads and My Current Accounts, are among the lists you own. So a lead list cannot be named `Recommended Leads`, and an account list cannot be named `My Current Accounts`. - **Lead and account lists are separate.** A lead list and an account list can have the same name. ## Creating behaviour - **One call creates one list.** The result describes the list this call created, including its `id`. - **Repeating the call does not create a second list.** Calling again with the same `type` and `name` fails with `listAlreadyExists`, because the first call's list now has that name. If you lost the first call's result, find the list's `id` with [`nv.retrieveLists`](/docs/action-nv-retrieve-lists). - **A custom list.** The new list appears in [`nv.retrieveLists`](/docs/action-nv-retrieve-lists) with `source` set to `MANUAL`, and can be used as `listId` when saving leads (for a lead list) or accounts (for an account list). - **English interface only, for now.** This is a current limitation: creating and deleting lists work only with an English Sales Navigator interface. On a German, Spanish, French or Portuguese interface, the call fails with `interfaceLanguageNotSupported`. To delete a list, use [`nv.deleteList`](/docs/action-nv-delete-list). ## Result options ```json { "actionType": "nv.createList", "label": "emeaLeads", "success": true, "data": { "id": "7420000000000000004", "name": "EMEA leads", "type": "lead", "url": "https://www.linkedin.com/sales/lists/people/7420000000000000004" } } ``` | Field | Meaning | | --- | --- | | `id` | ID of the new list, as a string. Pass it as `listId` to save into this list or to delete it. | | `name` | List name as Sales Navigator stored it, without spaces at the start and end. | | `type` | `lead` or `account`, matching the requested `type`. | | `url` | Opens the list in Sales Navigator, in the same form as `url` in [`nv.retrieveLists`](/docs/action-nv-retrieve-lists). | List IDs are long numeric strings, often 19 digits – beyond what a JavaScript number holds exactly. Keep them as strings; converting one to a number can change it. `label` is included only if specified in the action parameters. ## Error result An unsuccessful action returns `success: false` with an `error` object: ```json { "actionType": "nv.createList", "label": "emeaLeads", "success": false, "error": { "type": "listAlreadyExists", "message": "A Sales Navigator list of this type with this name already exists." } } ``` Possible `error.type` values: - `noSalesNavigator` — the account does not have an active Sales Navigator subscription. - `listAlreadyExists` — you already own a list of this type with this name (see [List names](#list-names)). No list is created. - `interfaceLanguageNotSupported` — the account's Sales Navigator interface is German, Spanish, French or Portuguese rather than English. No list is created; this is a current limitation (see above). - `unexpectedError` — the list could not be created, or Linked API could not read all of your lists of this type to check the name; in that case no list is created. It is safe to call again: if the failed call did create the list, the new call fails with `listAlreadyExists` instead of creating a second one. ## nv.deleteList Delete one of your lead lists or account lists in Sales Navigator. Only the list is deleted: its leads or accounts stay saved and stay in their other lists. An active Sales Navigator subscription is required. To find a list's ID, call [`nv.retrieveLists`](/docs/action-nv-retrieve-lists). :::surface node,python In the SDK this is the `nvDeleteList` method. It takes the parameters below except `label`, which exists only in workflow JSON. It returns no `data`: a failed action comes back in `errors`, with one of the error types below. ::: :::surface cli The command is `linkedin navigator lists delete`. Its argument is listed below. ::: ## Constraints > ⏺️ **Root Start:** allowed. > ⬆️ **Parent Actions:** N/A. > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "nv.deleteList", "label": "deleteEmeaLeads", "listId": "7420000000000000004" } ``` ```typescript tab=Node const workflow = await linkedapi.nvDeleteList.execute({ listId: "7420000000000000004" }); const { errors } = await linkedapi.nvDeleteList.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import NvDeleteListParams workflow = linkedapi.nv_delete_list.execute( NvDeleteListParams( list_id="7420000000000000004", ) ) result = linkedapi.nv_delete_list.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin navigator lists delete 7420000000000000004 --json ``` In AI assistants, the MCP tool is `nv_delete_list`. The n8n action is **Delete list in Sales Navigator**; the Make module is **Delete List in Sales Navigator**. | Parameter | Description | | --- | --- | | `label` | Optional label included in workflow completion. | | `listId` | Required. ID of one of your lead or account lists, as returned in `id` by [`nv.retrieveLists`](/docs/action-nv-retrieve-lists) or [`nv.createList`](/docs/action-nv-create-list). Pass it as a string; a number is rejected. This is the only parameter: do not pass `type`, which is rejected as an unknown field. | Invalid parameters are rejected with `invalidWorkflow` before the workflow starts. :::surface cli | Arg | Required | Description | | --- | --- | --- | | `list-id` | yes | ID of one of your lead or account lists | ::: ## Deleting behaviour - **Only the list.** The list with this `listId` is deleted, and nothing else. Its leads or accounts stay saved and stay in any other lists they are in. Sales Navigator's own delete dialog can also unsave the list's members; Linked API always keeps them saved. To unsave members, use [`nv.unsaveLead`](/docs/action-nv-unsave-lead) or [`nv.unsaveAccount`](/docs/action-nv-unsave-account) for each of them. - **Exactly the list you name.** The list is found by its ID, so another list with the same name is never touched. - **System lists cannot be deleted.** Sales Navigator offers no Delete for its own lists, such as Recommended Leads and My Current Accounts. Passing one of their IDs fails with `listNotDeletable`, and nothing is deleted. - **Only your own lists.** `listId` must be a list you own, as returned by [`nv.retrieveLists`](/docs/action-nv-retrieve-lists). A list someone else shared with you, or an ID that is not one of your lists, fails with `listNotFound`. - **Deleting twice.** A list that is already deleted is no longer one of your lists, so deleting it again fails with `listNotFound`. - **English interface only, for now.** This is a current limitation: creating and deleting lists work only with an English Sales Navigator interface. On a German, Spanish, French or Portuguese interface, the call fails with `interfaceLanguageNotSupported`. To create a list, use [`nv.createList`](/docs/action-nv-create-list). ## Result options ```json { "actionType": "nv.deleteList", "label": "deleteEmeaLeads", "success": true } ``` A successful delete has no `data`. `label` is included only if specified in the action parameters. ## Error result An unsuccessful action returns `success: false` with an `error` object: ```json { "actionType": "nv.deleteList", "label": "deleteEmeaLeads", "success": false, "error": { "type": "listNotDeletable", "message": "This Sales Navigator list cannot be deleted." } } ``` Possible `error.type` values: - `noSalesNavigator` — the account does not have an active Sales Navigator subscription. - `listNotFound` — `listId` is not one of your lead or account lists. This includes a list that is already deleted and a list someone else shared with you. Nothing is deleted. - `listNotDeletable` — the list is one of your lists, but Sales Navigator does not allow deleting it, as with system lists such as Recommended Leads and My Current Accounts. Nothing is deleted. - `interfaceLanguageNotSupported` — the account's Sales Navigator interface is German, Spanish, French or Portuguese rather than English. Nothing is deleted; this is a current limitation (see above). - `unexpectedError` — the list could not be deleted. ## nv.renameList Rename one of your custom lead or account lists in Sales Navigator. Only the name changes: the list keeps its ID, its description and its leads or accounts. An active Sales Navigator subscription is required. To find a list's ID and current name, call [`nv.retrieveLists`](/docs/action-nv-retrieve-lists). :::surface node,python In the SDK this is the `nvRenameList` method. It takes the parameters below except `label`, which exists only in workflow JSON. The result below is returned in `data`. ::: :::surface cli The command is `linkedin navigator lists rename`. Its argument and flag are listed below. ::: ## Constraints > ⏺️ **Root Start:** allowed. > ⬆️ **Parent Actions:** N/A. > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "nv.renameList", "label": "renameEmea", "listId": "7420000000000000004", "name": "EMEA leads 2027" } ``` ```typescript tab=Node const workflow = await linkedapi.nvRenameList.execute({ listId: "7420000000000000004", name: "EMEA leads 2027" }); const { data, errors } = await linkedapi.nvRenameList.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import NvRenameListParams workflow = linkedapi.nv_rename_list.execute( NvRenameListParams( list_id="7420000000000000004", name="EMEA leads 2027", ) ) result = linkedapi.nv_rename_list.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin navigator lists rename 7420000000000000004 \ --name "EMEA leads 2027" \ --json ``` In AI assistants, the MCP tool is `nv_rename_list`. The n8n action is **Rename list in Sales Navigator**; the Make module is **Rename List in Sales Navigator**. | Parameter | Description | | --- | --- | | `label` | Optional label included in workflow completion. | | `listId` | Required. ID of one of your custom lead or account lists, as returned in `id` by [`nv.retrieveLists`](/docs/action-nv-retrieve-lists) or [`nv.createList`](/docs/action-nv-create-list). Pass it as a string; a number is rejected. No list `type` is needed. | | `name` | Required. New list name on a single line, from 1 to 75 characters after spaces at the start and end are removed (an emoji counts as two), as for [`nv.createList`](/docs/action-nv-create-list). No other list of the same type that you own may already have this name (see [Renaming behaviour](#renaming-behaviour)). | A `name` outside these limits is rejected with `invalidWorkflow` before the workflow starts. Nothing is ever shortened. :::surface cli | Arg | Required | Description | | --- | --- | --- | | `list-id` | yes | ID of one of your custom lead or account lists | | Flag | Description | | --- | --- | | `--name` | Required. New list name, 1 to 75 characters. | ::: ## Renaming behaviour - **Only the name.** The list keeps its `id`, its description and its members, so saved `listId` values keep working. - **One name per type.** Sales Navigator itself lets you rename a list to a name another of your lists already has. This action never does, because the save menu used by [`nv.saveLead`](/docs/action-nv-save-lead) and [`nv.saveAccount`](/docs/action-nv-save-account) shows lists by name only. If another list of the same type that you own already has the new name, the call fails with `listAlreadyExists` and nothing is renamed. Names are compared as in [`nv.createList`](/docs/action-nv-create-list#list-names): after removing spaces at the start and end, with letter case counting, and Sales Navigator's system lists included. - **The same name.** Renaming a list to the name it already has succeeds without changing anything. - **Custom lists only.** Only lists you created, in Sales Navigator or with [`nv.createList`](/docs/action-nv-create-list), can be renamed: their `source` in [`nv.retrieveLists`](/docs/action-nv-retrieve-lists) is `MANUAL`. Sales Navigator's system lists, such as Recommended Leads and My Current Accounts, fail with `listNotRenamable`, and nothing is renamed. - **Only your own lists.** `listId` must be a list you own. A list someone else shared with you, or an ID that is not one of your lists, fails with `listNotFound`. - **English interface only, for now.** This is a current limitation: renaming lists works only with an English Sales Navigator interface. On a German, Spanish, French or Portuguese interface, the call fails with `interfaceLanguageNotSupported`. ## Result options ```json { "actionType": "nv.renameList", "label": "renameEmea", "success": true, "data": { "id": "7420000000000000004", "name": "EMEA leads 2027", "type": "lead", "url": "https://www.linkedin.com/sales/lists/people/7420000000000000004" } } ``` | Field | Meaning | | --- | --- | | `id` | ID of the renamed list, as a string. It does not change. | | `name` | The list's name after the call, without spaces at the start and end. | | `type` | `lead` or `account`: the type of the list with this `listId`. | | `url` | Opens the list in Sales Navigator, in the same form as `url` in [`nv.retrieveLists`](/docs/action-nv-retrieve-lists). | `label` is included only if specified in the action parameters. ## Error result An unsuccessful action returns `success: false` with an `error` object: ```json { "actionType": "nv.renameList", "label": "renameEmea", "success": false, "error": { "type": "listAlreadyExists", "message": "A Sales Navigator list of this type with this name already exists." } } ``` Possible `error.type` values: - `noSalesNavigator` — the account does not have an active Sales Navigator subscription. - `listNotFound` — `listId` is not one of your lead or account lists. This includes a list that is already deleted and a list someone else shared with you. - `listAlreadyExists` — another list of the same type that you own already has this name (see [Renaming behaviour](#renaming-behaviour)). Nothing is renamed. - `listNotRenamable` — the list is one of Sales Navigator's system lists, such as Recommended Leads or My Current Accounts. Only custom lists can be renamed. Nothing is renamed. - `interfaceLanguageNotSupported` — the account's Sales Navigator interface is German, Spanish, French or Portuguese rather than English. Nothing is renamed; this is a current limitation (see above). - `unexpectedError` — the list could not be renamed. It is safe to call again with the same `listId` and `name`: if the failed call did rename the list, the new call succeeds without changing anything. ## nv.retrieveListLeads Retrieve the leads in one of your Sales Navigator lead lists. For example, export a list to your CRM, or check who is in it before removing someone with [`nv.removeLeadFromList`](/docs/action-nv-remove-lead-from-list). Each lead's `hashedUrl` can be passed straight to [`nv.openPersonPage`](/docs/action-nv-open-person-page), [`nv.saveLead`](/docs/action-nv-save-lead) or [`nv.removeLeadFromList`](/docs/action-nv-remove-lead-from-list). An active Sales Navigator subscription is required. To find a list's ID, call [`nv.retrieveLists`](/docs/action-nv-retrieve-lists) with `type` set to `lead`. For the companies in an account list, use [`nv.retrieveListAccounts`](/docs/action-nv-retrieve-list-accounts). :::surface node,python In the SDK this is the `nvRetrieveListLeads` method. It takes the parameters below except `label`, which exists only in workflow JSON. The result below is returned in `data`. ::: :::surface cli The command is `linkedin navigator lists leads`. Its argument and flag are listed below. ::: ## Constraints > ⏺️ **Root Start:** allowed. > ⬆️ **Parent Actions:** N/A. > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "nv.retrieveListLeads", "label": "emeaLeads", "listId": "7420000000000000001", "limit": 100 } ``` ```typescript tab=Node const workflow = await linkedapi.nvRetrieveListLeads.execute({ listId: "7420000000000000001", limit: 100 }); const { data, errors } = await linkedapi.nvRetrieveListLeads.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import NvRetrieveListLeadsParams workflow = linkedapi.nv_retrieve_list_leads.execute( NvRetrieveListLeadsParams( list_id="7420000000000000001", limit=100, ) ) result = linkedapi.nv_retrieve_list_leads.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin navigator lists leads 7420000000000000001 --limit 100 --json ``` In AI assistants, the MCP tool is `nv_retrieve_list_leads`. The n8n action is **Retrieve list leads in Sales Navigator**; the Make module is **Retrieve List Leads in Sales Navigator**. | Parameter | Description | | --- | --- | | `label` | Optional label included in workflow completion. | | `listId` | Required. ID of one of your lead lists, as returned in `id` by [`nv.retrieveLists`](/docs/action-nv-retrieve-lists) or [`nv.createList`](/docs/action-nv-create-list). Pass it as a string; a number is rejected. | | `limit` | Optional. Maximum number of leads to return, from 1 to 1000. Defaults to 25. | Invalid parameters are rejected with `invalidWorkflow` before the workflow starts. :::surface cli | Arg | Required | Description | | --- | --- | --- | | `list-id` | yes | ID of one of your lead lists | | Flag | Description | | --- | --- | | `--limit` | Maximum number of leads to return, 1–1000; default 25. | ::: ## Reading behaviour - **Only your own lead lists.** `listId` must be one of the lead lists [`nv.retrieveLists`](/docs/action-nv-retrieve-lists) returns for you. An account list's ID, a list someone else shared with you, or an ID that is not one of your lists fails with `listNotFound`. - **In Sales Navigator's order, up to `limit`.** Leads are returned in the order the list shows them. Linked API reads the list 25 leads at a time until it has `limit` leads or reaches the end of the list. An empty list returns an empty array. - **Ready for other actions.** `urn` and `hashedUrl` have the same form as in [`nv.searchPeople`](/docs/action-nv-search-people). Pass `hashedUrl` to [`nv.openPersonPage`](/docs/action-nv-open-person-page), [`nv.saveLead`](/docs/action-nv-save-lead) or [`nv.removeLeadFromList`](/docs/action-nv-remove-lead-from-list), or to `filter.subjects` in [`nv.retrieveAlerts`](/docs/action-nv-retrieve-alerts#alerts-for-a-list-or-for-chosen-subjects). - **Recent changes can take tens of seconds to appear.** Right after a lead is added to or removed from the list, this action can still return the list as it was. Read it again a little later. - **A list that changes while it is read.** If the list changes between two of its pages, the call fails with `unexpectedError` rather than returning a partial or repeated list. Call it again. ## Result options ```json { "actionType": "nv.retrieveListLeads", "label": "emeaLeads", "success": true, "data": [ { "name": "Jane Smith", "urn": "urn:li:member:123456789", "hashedUrl": "https://www.linkedin.com/in/SInQBmjJ015eLr8", "position": "Head of Sales", "companyName": "Example Labs", "location": "London, England, United Kingdom", "addedToListAt": "2026-10-30T09:00:00.000Z" }, { "name": "Tom Brown", "urn": "urn:li:member:987654321", "hashedUrl": "https://www.linkedin.com/in/ACoAA2DdsSV83B48", "position": null, "companyName": null, "location": "Berlin, Germany", "addedToListAt": "2026-10-28T14:30:00.000Z" } ] } ``` | Field | Meaning | | --- | --- | | `name` | The lead's full name. | | `urn` | [URN](/docs/data-conventions#linkedin-urns) of the person, `urn:li:member:`. | | `hashedUrl` | [Hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the person. | | `position` | Title of the lead's current position, or `null`. | | `companyName` | Company of the lead's current position, or `null`. | | `location` | The lead's location, or `null`. | | `addedToListAt` | When the lead was added to this list, in ISO 8601 UTC, or `null` when Sales Navigator does not report it. This is the list membership time, not the time the lead was saved. | `label` is included only if specified in the action parameters. ## Error result An unsuccessful action returns `success: false` with an `error` object: ```json { "actionType": "nv.retrieveListLeads", "label": "emeaLeads", "success": false, "error": { "type": "listNotFound", "message": "The list is not available for this subject in Sales Navigator." } } ``` Possible `error.type` values: - `noSalesNavigator` — the account does not have an active Sales Navigator subscription. - `listNotFound` — `listId` is not one of your lead lists. This includes an account list's ID and a list someone else shared with you. - `unexpectedError` — the list could not be read, for example because it changed while it was being read. Call it again. ## nv.retrieveListAccounts Retrieve the accounts in one of your Sales Navigator account lists. For example, export a list to your CRM, or check which companies are in it before removing one with [`nv.removeAccountFromList`](/docs/action-nv-remove-account-from-list). Each account's `hashedUrl` can be passed straight to [`nv.openCompanyPage`](/docs/action-nv-open-company-page), [`nv.saveAccount`](/docs/action-nv-save-account) or [`nv.removeAccountFromList`](/docs/action-nv-remove-account-from-list). An active Sales Navigator subscription is required. To find a list's ID, call [`nv.retrieveLists`](/docs/action-nv-retrieve-lists) with `type` set to `account`. For the people in a lead list, use [`nv.retrieveListLeads`](/docs/action-nv-retrieve-list-leads). :::surface node,python In the SDK this is the `nvRetrieveListAccounts` method. It takes the parameters below except `label`, which exists only in workflow JSON. The result below is returned in `data`. ::: :::surface cli The command is `linkedin navigator lists accounts`. Its argument and flag are listed below. ::: ## Constraints > ⏺️ **Root Start:** allowed. > ⬆️ **Parent Actions:** N/A. > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "nv.retrieveListAccounts", "label": "targetAccounts", "listId": "7420000000000000003", "limit": 100 } ``` ```typescript tab=Node const workflow = await linkedapi.nvRetrieveListAccounts.execute({ listId: "7420000000000000003", limit: 100 }); const { data, errors } = await linkedapi.nvRetrieveListAccounts.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import NvRetrieveListAccountsParams workflow = linkedapi.nv_retrieve_list_accounts.execute( NvRetrieveListAccountsParams( list_id="7420000000000000003", limit=100, ) ) result = linkedapi.nv_retrieve_list_accounts.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin navigator lists accounts 7420000000000000003 --limit 100 --json ``` In AI assistants, the MCP tool is `nv_retrieve_list_accounts`. The n8n action is **Retrieve list accounts in Sales Navigator**; the Make module is **Retrieve List Accounts in Sales Navigator**. | Parameter | Description | | --- | --- | | `label` | Optional label included in workflow completion. | | `listId` | Required. ID of one of your account lists, as returned in `id` by [`nv.retrieveLists`](/docs/action-nv-retrieve-lists) or [`nv.createList`](/docs/action-nv-create-list). Pass it as a string; a number is rejected. | | `limit` | Optional. Maximum number of accounts to return, from 1 to 1000. Defaults to 25. | Invalid parameters are rejected with `invalidWorkflow` before the workflow starts. :::surface cli | Arg | Required | Description | | --- | --- | --- | | `list-id` | yes | ID of one of your account lists | | Flag | Description | | --- | --- | | `--limit` | Maximum number of accounts to return, 1–1000; default 25. | ::: ## Reading behaviour - **Only your own account lists.** `listId` must be one of the account lists [`nv.retrieveLists`](/docs/action-nv-retrieve-lists) returns for you. A lead list's ID, a list someone else shared with you, or an ID that is not one of your lists fails with `listNotFound`. - **In Sales Navigator's order, up to `limit`.** Accounts are returned in the order the list shows them. Linked API reads the list 25 accounts at a time until it has `limit` accounts or reaches the end of the list. An empty list returns an empty array. - **Ready for other actions.** `urn` and `hashedUrl` have the same form as in [`nv.searchCompanies`](/docs/action-nv-search-companies). Pass `hashedUrl` to [`nv.openCompanyPage`](/docs/action-nv-open-company-page), [`nv.saveAccount`](/docs/action-nv-save-account) or [`nv.removeAccountFromList`](/docs/action-nv-remove-account-from-list), or to `filter.subjects` in [`nv.retrieveAlerts`](/docs/action-nv-retrieve-alerts#alerts-for-a-list-or-for-chosen-subjects). - **Recent changes can take tens of seconds to appear.** Right after an account is added to or removed from the list, this action can still return the list as it was. Read it again a little later. - **A list that changes while it is read.** If the list changes between two of its pages, the call fails with `unexpectedError` rather than returning a partial or repeated list. Call it again. ## Result options ```json { "actionType": "nv.retrieveListAccounts", "label": "targetAccounts", "success": true, "data": [ { "name": "TechCorp", "urn": "urn:li:organization:12345678", "hashedUrl": "https://www.linkedin.com/company/12345678", "industry": "IT Services and IT Consulting", "employeesCount": 500 }, { "name": "Example Labs", "urn": "urn:li:organization:87654321", "hashedUrl": "https://www.linkedin.com/company/87654321", "industry": null, "employeesCount": null } ] } ``` | Field | Meaning | | --- | --- | | `name` | Company name. | | `urn` | [URN](/docs/data-conventions#linkedin-urns) of the company, `urn:li:organization:`. | | `hashedUrl` | [Hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the company, with its numeric ID. | | `industry` | The company's industry as Sales Navigator shows it, or `null`. | | `employeesCount` | Number of employees Sales Navigator reports for the company, or `null`. | `label` is included only if specified in the action parameters. ## Error result An unsuccessful action returns `success: false` with an `error` object: ```json { "actionType": "nv.retrieveListAccounts", "label": "targetAccounts", "success": false, "error": { "type": "listNotFound", "message": "The list is not available for this subject in Sales Navigator." } } ``` Possible `error.type` values: - `noSalesNavigator` — the account does not have an active Sales Navigator subscription. - `listNotFound` — `listId` is not one of your account lists. This includes a lead list's ID and a list someone else shared with you. - `unexpectedError` — the list could not be read, for example because it changed while it was being read. Call it again. ## nv.retrieveSavedSearches Retrieve your saved lead searches or saved account searches in Sales Navigator. Pass a saved search's `url` as `customSearchUrl` to [`nv.searchPeople`](/docs/action-nv-search-people) (lead searches) or [`nv.searchCompanies`](/docs/action-nv-search-companies) (account searches) to read its results. An active Sales Navigator subscription is required. To save a new search, use [`nv.createSavedSearch`](/docs/action-nv-create-saved-search); to delete one, use [`nv.deleteSavedSearch`](/docs/action-nv-delete-saved-search). :::surface node,python In the SDK this is the `nvRetrieveSavedSearches` method. It takes the parameters below except `label`, which exists only in workflow JSON. The result below is returned in `data`. ::: :::surface cli The command is `linkedin navigator saved-searches`. Its flag is listed below. ::: ## Constraints > ⏺️ **Root Start:** allowed. > ⬆️ **Parent Actions:** N/A. > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "nv.retrieveSavedSearches", "label": "leadSearches", "type": "lead" } ``` ```typescript tab=Node const workflow = await linkedapi.nvRetrieveSavedSearches.execute({ type: "lead" }); const { data, errors } = await linkedapi.nvRetrieveSavedSearches.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import NvRetrieveSavedSearchesParams workflow = linkedapi.nv_retrieve_saved_searches.execute( NvRetrieveSavedSearchesParams( type="lead", ) ) result = linkedapi.nv_retrieve_saved_searches.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin navigator saved-searches --type lead --json ``` In AI assistants, the MCP tool is `nv_retrieve_saved_searches`. The n8n action is **Retrieve saved searches in Sales Navigator**; the Make module is **Retrieve Saved Searches in Sales Navigator**. | Parameter | Description | | --- | --- | | `label` | Optional label included in workflow completion. | | `type` | Required. `lead` for saved lead searches or `account` for saved account searches. | :::surface cli | Flag | Description | | --- | --- | | `--type` | Required. `lead` or `account`. | ::: ## Result options ```json { "actionType": "nv.retrieveSavedSearches", "label": "leadSearches", "success": true, "data": [ { "id": "1900000001", "name": "Lead Search 1", "type": "lead", "url": "https://www.linkedin.com/sales/search/people?savedSearchId=1900000001", "keywords": "Head of Sales", "createdAt": "2026-11-02T10:15:00.000Z", "lastViewedAt": "2026-11-02T10:15:00.000Z", "newResultsCount": null } ] } ``` | Field | Meaning | | --- | --- | | `id` | ID of the saved search, as a string. Pass it as `savedSearchId` to delete the search. | | `name` | Name of the saved search as Sales Navigator shows it. Searches saved with [`nv.createSavedSearch`](/docs/action-nv-create-saved-search) carry Sales Navigator's default name, such as `Lead Search 1`. | | `type` | `lead` or `account`, matching the requested `type`. | | `url` | Opens the saved search in Sales Navigator. Pass it as `customSearchUrl` to [`nv.searchPeople`](/docs/action-nv-search-people) for a lead search, or to [`nv.searchCompanies`](/docs/action-nv-search-companies) for an account search, to read its results. | | `keywords` | The search's keywords as Sales Navigator stores them, or `null` when it stores none. The search's other filters are not returned; they apply when you open `url`. | | `createdAt` | When the search was saved, in ISO 8601 UTC, or `null`. | | `lastViewedAt` | When the saved search was last viewed, in ISO 8601 UTC, or `null`. | | `newResultsCount` | Number of new results Sales Navigator reports for the search, or `null` when it reports none. A newly saved search has `null`. | Saved search IDs are long numeric strings. Keep them as strings. The result includes every saved search of the requested type, up to 50. If Sales Navigator reports more than it returns, the call fails with `unexpectedError` rather than returning a partial list. An account with no saved searches of this type returns an empty array. `label` is included only if specified in the action parameters. ## Error result An unsuccessful action returns `success: false` with an `error` object: ```json { "actionType": "nv.retrieveSavedSearches", "label": "leadSearches", "success": false, "error": { "type": "noSalesNavigator", "message": "Your account does not have Sales Navigator subscription." } } ``` Possible `error.type` values: - `noSalesNavigator` — the account does not have an active Sales Navigator subscription. - `unexpectedError` — the saved searches could not be retrieved or parsed, including when Sales Navigator reports more than 50 of this type. ## nv.createSavedSearch Save a Sales Navigator lead search or account search, given the search's URL. For example, build a search in Sales Navigator, copy its URL from the address bar, and save it so Sales Navigator keeps track of it. To read the saved search's results later, pass its `url` as `customSearchUrl` to [`nv.searchPeople`](/docs/action-nv-search-people) or [`nv.searchCompanies`](/docs/action-nv-search-companies). An active Sales Navigator subscription is required. To see the searches you already saved, call [`nv.retrieveSavedSearches`](/docs/action-nv-retrieve-saved-searches). :::surface node,python In the SDK this is the `nvCreateSavedSearch` method. It takes the parameters below except `label`, which exists only in workflow JSON. The result below is returned in `data`. ::: :::surface cli The command is `linkedin navigator saved-searches create`. Its argument and flag are listed below. ::: ## Constraints > ⏺️ **Root Start:** allowed. > ⬆️ **Parent Actions:** N/A. > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "nv.createSavedSearch", "label": "headsOfSales", "type": "lead", "customSearchUrl": "https://www.linkedin.com/sales/search/people?query=(spellCorrectionEnabled%3Atrue%2Ckeywords%3AHead%2520of%2520Sales)" } ``` ```typescript tab=Node const workflow = await linkedapi.nvCreateSavedSearch.execute({ type: "lead", customSearchUrl: "https://www.linkedin.com/sales/search/people?query=(spellCorrectionEnabled%3Atrue%2Ckeywords%3AHead%2520of%2520Sales)" }); const { data, errors } = await linkedapi.nvCreateSavedSearch.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import NvCreateSavedSearchParams workflow = linkedapi.nv_create_saved_search.execute( NvCreateSavedSearchParams( type="lead", custom_search_url="https://www.linkedin.com/sales/search/people?query=(spellCorrectionEnabled%3Atrue%2Ckeywords%3AHead%2520of%2520Sales)", ) ) result = linkedapi.nv_create_saved_search.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin navigator saved-searches create \ "https://www.linkedin.com/sales/search/people?query=(spellCorrectionEnabled%3Atrue%2Ckeywords%3AHead%2520of%2520Sales)" \ --type lead \ --json ``` In AI assistants, the MCP tool is `nv_create_saved_search`. The n8n action is **Create saved search in Sales Navigator**; the Make module is **Create Saved Search in Sales Navigator**. | Parameter | Description | | --- | --- | | `label` | Optional label included in workflow completion. | | `type` | Required. `lead` to save a lead search or `account` to save an account search. | | `customSearchUrl` | Required. URL of a Sales Navigator search of that type: a lead search (`https://www.linkedin.com/sales/search/people?…`) for `lead`, or an account search (`https://www.linkedin.com/sales/search/company?…`) for `account`. | A `customSearchUrl` that is not a Sales Navigator search of the requested `type` is rejected with `invalidWorkflow` before the workflow starts. :::surface cli | Arg | Required | Description | | --- | --- | --- | | `search-url` | yes | URL of a Sales Navigator lead or account search, matching `--type` | | Flag | Description | | --- | --- | | `--type` | Required. `lead` or `account`. | ::: ## Saving behaviour - **Saved with Sales Navigator's own control.** The action opens the search and saves it with Sales Navigator's Save search control, as you would in the browser. The result describes the saved search, including its `id`. - **A search that is already saved.** If `customSearchUrl` opens one of your saved searches, as a URL copied while viewing a saved search or a saved search's `url` from [`nv.retrieveSavedSearches`](/docs/action-nv-retrieve-saved-searches) does (its URL carries `?savedSearchId=`), nothing new is saved: the result describes that existing saved search. A successful call therefore does not prove that a new saved search was created. To tell the two apart, compare the result's `id` with the IDs `nv.retrieveSavedSearches` returned before the call. - **Sales Navigator names it.** The saved search gets Sales Navigator's default name, such as `Lead Search 1`. Choosing a name, notification settings, or new-results-only reading is not available yet. - **Use a URL copied from Sales Navigator.** The search must open in Sales Navigator exactly as given. A URL copied from Sales Navigator's address bar works. If Sales Navigator changes the search when it opens the URL, the call fails with `unexpectedError` and nothing is saved. - **No duplicate check for equivalent searches.** Apart from that case, Linked API does not check whether another of your saved searches has the same criteria. To avoid saving one twice, look it up with [`nv.retrieveSavedSearches`](/docs/action-nv-retrieve-saved-searches) first. - **One call saves at most one search.** If the call is retried internally, it never saves the search twice. - **English interface only, for now.** This is a current limitation: saved searches work only with an English Sales Navigator interface. On a German, Spanish, French or Portuguese interface, the call fails with `interfaceLanguageNotSupported`. To delete a saved search, use [`nv.deleteSavedSearch`](/docs/action-nv-delete-saved-search). ## Result options ```json { "actionType": "nv.createSavedSearch", "label": "headsOfSales", "success": true, "data": { "id": "1900000001", "name": "Lead Search 1", "type": "lead", "url": "https://www.linkedin.com/sales/search/people?savedSearchId=1900000001" } } ``` | Field | Meaning | | --- | --- | | `id` | ID of the saved search, as a string: the one this call created, or the existing one `customSearchUrl` opened (see [Saving behaviour](#saving-behaviour)). Pass it as `savedSearchId` to delete it. | | `name` | Name Sales Navigator gave the saved search. | | `type` | `lead` or `account`, matching the requested `type`. | | `url` | Opens the saved search, in the same form as `url` in [`nv.retrieveSavedSearches`](/docs/action-nv-retrieve-saved-searches). Pass it as `customSearchUrl` to [`nv.searchPeople`](/docs/action-nv-search-people) or [`nv.searchCompanies`](/docs/action-nv-search-companies) to read its results. | `label` is included only if specified in the action parameters. ## Error result An unsuccessful action returns `success: false` with an `error` object: ```json { "actionType": "nv.createSavedSearch", "label": "headsOfSales", "success": false, "error": { "type": "interfaceLanguageNotSupported", "message": "This action currently supports only the English Sales Navigator interface." } } ``` Possible `error.type` values: - `noSalesNavigator` — the account does not have an active Sales Navigator subscription. - `interfaceLanguageNotSupported` — the account's Sales Navigator interface is German, Spanish, French or Portuguese rather than English. Nothing is saved; this is a current limitation (see above). - `unexpectedError` — the search could not be saved, or Linked API could not confirm that it was. In the second case it may have been saved anyway: check [`nv.retrieveSavedSearches`](/docs/action-nv-retrieve-saved-searches) before calling again, so you do not save it twice. ## nv.deleteSavedSearch Delete one of your saved lead or account searches in Sales Navigator, by its ID. Only the saved search is deleted; the people and companies it found are not affected. An active Sales Navigator subscription is required. To find a saved search's ID, call [`nv.retrieveSavedSearches`](/docs/action-nv-retrieve-saved-searches). :::surface node,python In the SDK this is the `nvDeleteSavedSearch` method. It takes the parameters below except `label`, which exists only in workflow JSON. It returns no `data`: a failed action comes back in `errors`, with one of the error types below. ::: :::surface cli The command is `linkedin navigator saved-searches delete`. Its argument is listed below. ::: ## Constraints > ⏺️ **Root Start:** allowed. > ⬆️ **Parent Actions:** N/A. > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "nv.deleteSavedSearch", "label": "deleteHeadsOfSales", "savedSearchId": "1900000001" } ``` ```typescript tab=Node const workflow = await linkedapi.nvDeleteSavedSearch.execute({ savedSearchId: "1900000001" }); const { errors } = await linkedapi.nvDeleteSavedSearch.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import NvDeleteSavedSearchParams workflow = linkedapi.nv_delete_saved_search.execute( NvDeleteSavedSearchParams( saved_search_id="1900000001", ) ) result = linkedapi.nv_delete_saved_search.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin navigator saved-searches delete 1900000001 --json ``` In AI assistants, the MCP tool is `nv_delete_saved_search`. The n8n action is **Delete saved search in Sales Navigator**; the Make module is **Delete Saved Search in Sales Navigator**. | Parameter | Description | | --- | --- | | `label` | Optional label included in workflow completion. | | `savedSearchId` | Required. ID of one of your saved lead or account searches, as returned in `id` by [`nv.retrieveSavedSearches`](/docs/action-nv-retrieve-saved-searches) or [`nv.createSavedSearch`](/docs/action-nv-create-saved-search). Pass it as a string of digits; a number is rejected. No `type` is needed. | Invalid parameters are rejected with `invalidWorkflow` before the workflow starts. :::surface cli | Arg | Required | Description | | --- | --- | --- | | `saved-search-id` | yes | ID of one of your saved lead or account searches | ::: ## Deleting behaviour - **Exactly the search you name.** The saved search is found by its ID, so another saved search with the same name is never touched. - **Only your own saved searches.** An ID that is not one of your saved searches fails with `savedSearchNotFound`, and nothing is deleted. - **Deleting twice.** A saved search that is already deleted is no longer one of yours, so deleting it again fails with `savedSearchNotFound`. - **English interface only, for now.** This is a current limitation: saved searches work only with an English Sales Navigator interface. On a German, Spanish, French or Portuguese interface, the call fails with `interfaceLanguageNotSupported`. To save a search, use [`nv.createSavedSearch`](/docs/action-nv-create-saved-search). ## Result options ```json { "actionType": "nv.deleteSavedSearch", "label": "deleteHeadsOfSales", "success": true } ``` A successful delete has no `data`. `label` is included only if specified in the action parameters. ## Error result An unsuccessful action returns `success: false` with an `error` object: ```json { "actionType": "nv.deleteSavedSearch", "label": "deleteHeadsOfSales", "success": false, "error": { "type": "savedSearchNotFound", "message": "The saved search is not available in Sales Navigator." } } ``` Possible `error.type` values: - `noSalesNavigator` — the account does not have an active Sales Navigator subscription. - `savedSearchNotFound` — `savedSearchId` is not one of your saved lead or account searches. This includes a saved search that is already deleted. Nothing is deleted. - `interfaceLanguageNotSupported` — the account's Sales Navigator interface is German, Spanish, French or Portuguese rather than English. Nothing is deleted; this is a current limitation (see above). - `unexpectedError` — the saved search could not be deleted, or Linked API could not confirm that it was. It is safe to call again: if the failed call did delete it, the new call fails with `savedSearchNotFound`. ## nv.sendMessage This action allows you to send a message to a person in Sales Navigator. :::surface node,python In the SDK this is the `nvSendMessage` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON. It returns no `data`: a failed action comes back in `errors`, with one of the error types below. Unlike `sendMessage`, this method cannot manage the conversation in the same call: to archive or unarchive it, call [`nvManageConversation`](/docs/action-nv-manage-conversation) separately with the conversation's `threadId`. ::: :::surface cli In the CLI this is `linkedin navigator message send` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed, when `personUrl` or `threadId` parameter is provided. > ⬆️ **Parent Actions:** [nv.openPersonPage](/docs/action-nv-open-person-page). > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "nv.sendMessage", "label": "person1", "personUrl": "https://www.linkedin.com/in/person1", "text": "Hi! I'd love to connect and discuss some ideas.", "subject": "Let's Connect!" } ``` ```typescript tab=Node const workflow = await linkedapi.nvSendMessage.execute({ personUrl: "https://www.linkedin.com/in/person1", text: "Hi! I'd love to connect and discuss some ideas.", subject: "Let's Connect!" }); const { errors } = await linkedapi.nvSendMessage.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import NvSendMessageParams workflow = linkedapi.nv_send_message.execute( NvSendMessageParams( person_url="https://www.linkedin.com/in/person1", text="Hi! I'd love to connect and discuss some ideas.", subject="Let's Connect!", ) ) result = linkedapi.nv_send_message.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin navigator message send \ https://www.linkedin.com/in/person1 \ "Hi! I'd love to connect and discuss some ideas." \ --subject "Let's Connect!" ``` In AI assistants, the MCP server runs this action as the `nv_send_message` tool. :::surface cli In the CLI this is `linkedin navigator message send`: ```bash linkedin navigator message send --subject linkedin navigator message send --thread-id ``` | Arg | Required | Description | | --- | --- | --- | | `person-url` | conditional | LinkedIn profile URL of the recipient. Omit it when `--thread-id` is provided | | `text` | yes | Message text (up to 1900 characters) | | Flag | Type | Required | Description | | --- | --- | --- | --- | | `--subject` | string | unless `--thread-id` is given | Message subject line (up to 80 characters), required when starting a new conversation | | `--thread-id` | string | no | Reply into an existing conversation thread instead of passing `person-url` | ::: - `label` (optional) – custom label for tracking this action in workflow completion. - `personUrl` (required for root start unless `threadId` is provided, forbidden for parent start) – [public or hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the person you want to send a message to. - `threadId` (optional) – identifier of an existing conversation thread to reply into, as returned by [inbox polling](/docs/monitoring-inbox), or read from the address bar of an open conversation — the `` in `linkedin.com/sales/inbox/`. Provide either `personUrl` or `threadId`; if both are given, `threadId` takes precedence. - `text` – message text, must be up to **1900** characters. - `subject` – subject line, must be up to **80** characters. Required when starting a new conversation; ignored when replying into an existing thread via `threadId`. ## Result options 1. **Successful message sending:** ```json { "actionType": "nv.sendMessage", "label": "person1", "success": true } ``` - `label` – included only if specified in the action parameters. 2. **Failed message sending:** ```json { "actionType": "nv.sendMessage", "label": "person1", "success": false, "error": { "type": "personNotFound", "message": "The provided URL is not an existing LinkedIn person." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `personNotFound` – provided URL is not an existing LinkedIn person. - `noSalesNavigator` – your account does not have Sales Navigator subscription. - `messagingNotAllowed` – sending a message to the person is not allowed. This could happen for several reasons: - Your monthly Sales Navigator message limit has been reached. - LinkedIn has restricted your ability to send messages to the person, for example, due the person’s privacy settings. ## nv.syncConversation This action loads your Sales Navigator message history with a person. It finds the person's Sales Navigator threads and reads each of them. Read the history, together with the new messages the inbox captures, through [`/inbox/poll` with `personUrl`](/docs/monitoring-inbox#polling-one-person). See [Loading conversation history](/docs/working-with-conversations) for when you need it. :::surface node,python In the SDK this is the `nvSyncConversation` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON, and returns the result below in `data`. ::: :::surface cli In the CLI this is `linkedin navigator message get` – the command is below, under [Parameters](#parameters). ::: > 💡 Run it once per person – not to check for new messages. New messages reach you through [inbox monitoring](/docs/monitoring-inbox). ## Constraints > ⏺️ **Root Start:** allowed, when `personUrl` parameter is provided. > ⬆️ **Parent Actions:** [st.openPersonPage](/docs/action-st-open-person-page), [nv.openPersonPage](/docs/action-nv-open-person-page). > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "nv.syncConversation", "label": "sync1", "personUrl": "https://www.linkedin.com/in/person1", "days": 14 } ``` ```typescript tab=Node const workflow = await linkedapi.nvSyncConversation.execute({ personUrl: "https://www.linkedin.com/in/person1", days: 14 }); const { data, errors } = await linkedapi.nvSyncConversation.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import NvSyncConversationParams workflow = linkedapi.nv_sync_conversation.execute( NvSyncConversationParams( person_url="https://www.linkedin.com/in/person1", days=14, ) ) result = linkedapi.nv_sync_conversation.result(workflow.workflow_id) ``` ```bash tab=CLI # Not available in the CLI: days linkedin navigator message get https://www.linkedin.com/in/person1 ``` In AI assistants, the MCP server runs this action as the `nv_sync_conversation` tool. :::surface cli The CLI has no command that only loads history: `linkedin navigator message get` reads one Sales Navigator conversation and, when its earlier history was never loaded, loads it with this action first. ```bash linkedin navigator message get [flags] ``` | Flag | Type | Description | | --- | --- | --- | | `--since` | string | Only return messages since this ISO timestamp | ```bash linkedin navigator message get https://www.linkedin.com/in/john-doe --since 2024-01-15T10:30:00Z ``` New messages reach you through `linkedin inbox get --person --type nv` ([`POST /inbox/poll`](/docs/monitoring-inbox?surface=cli)). ::: - `label` (optional) – custom label for tracking this action in workflow completion. - `personUrl` (required for root start, forbidden for parent start) – [public or hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the person whose conversation you want to load. - `days` (optional) – how many days Linked API keeps adding this person's new messages to the loaded history, from 1 to 90. Defaults to 30. ## Syncing period > 💡 **`days` is the syncing period, not the depth of history.** It sets how many days new messages keep being added; the action always reads the whole conversation, however old it is. Linked API keeps adding this person's new messages to the loaded history until the `syncUntil` moment returned by this action, counted from the moment the action starts running. With [inbox monitoring](/docs/monitoring-inbox) enabled, new messages from this person keep arriving through the inbox after that moment as well. After that moment nothing is deleted: [polling](/docs/monitoring-inbox#polling-one-person) keeps returning the messages collected so far. Running this action again for the same person keeps the accumulated history and never shortens the period: `syncUntil` stays at the later of the current end and the new one. A reply from the other person does not extend the period. A thread read back to its first message is reported with `historyComplete: true` when you [poll the person](/docs/monitoring-inbox#polling-one-person). A very long conversation may not be read to its start within the action's time limit: the messages read are kept, and the thread stays `historyComplete: false`. This action does not enable inbox monitoring and does not produce [inbox webhook events](/docs/webhook-event-types#inbox-events). ## Result options 1. **Successful syncing:** ```json { "actionType": "nv.syncConversation", "label": "sync1", "success": true, "data": { "syncUntil": "2026-09-09T09:55:31.582Z" } } ``` - `label` – included only if specified in the action parameters. - `data.syncUntil` – moment until which Linked API keeps adding this person's new messages to the loaded history. 2. **Failed syncing:** ```json { "actionType": "nv.syncConversation", "label": "sync1", "success": false, "error": { "type": "noSalesNavigator", "message": "Your account does not have Sales Navigator subscription." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `noSalesNavigator` – your account does not have Sales Navigator subscription. - `personNotFound` – provided URL is not an existing LinkedIn person. ## nv.syncInbox This action enables **whole-inbox monitoring** for your Sales Navigator inbox so you can [poll the inbox](/docs/monitoring-inbox) for messages across every conversation. :::surface node,python In the SDK this is the `nvSyncInbox` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON. It returns no `data`: a failed action comes back in `errors`, with one of the error types below. ::: :::surface cli In the CLI this is `linkedin inbox sync` with `--nv`. ::: > 💡 **Recommended first step for reading Sales Navigator messages.** See the [Messaging overview](/docs/messaging-overview) for how it fits with the other messaging tools. `nv.syncInbox` starts tracking **all** Sales Navigator threads. Run it once per account. After it succeeds, new messages become available through the [inbox polling endpoint](/docs/monitoring-inbox). > 💡 Only messages that arrive **after** inbox sync is enabled are captured. To get a person's earlier history, load it once with [`nv.syncConversation`](/docs/action-nv-sync-conversation) and read it through [inbox polling with `personUrl`](/docs/monitoring-inbox#polling-one-person). This action only switches monitoring on: it records the setting and returns. It does not browse your inbox and does not open anyone's profile. The messages themselves are picked up afterwards by a sync that runs periodically, so the first ones appear on the next sync rather than the moment the action completes. > **Note:** When that sync finds new messages in a thread – including messages you send yourself – it opens the profile page of the other participant in that thread to resolve their public URL – but only when Linked API does not already know it, so a person is visited once, which is what fills `personPublicUrl` on the messages you [poll](/docs/monitoring-inbox) or receive by [webhook](/docs/webhooks). Those visits are made from your own account, and such a visit is visible to the person whose profile is opened. ## Constraints > ⏺️ **Root Start:** allowed. > ⬆️ **Parent Actions:** N/A. > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "nv.syncInbox", "label": "enableNvInbox" } ``` ```typescript tab=Node const workflow = await linkedapi.nvSyncInbox.execute({}); const { errors } = await linkedapi.nvSyncInbox.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.nv_sync_inbox.execute() result = linkedapi.nv_sync_inbox.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin inbox sync --nv ``` In AI assistants, the MCP server runs this action as the `nv_sync_inbox` tool. - `label` (optional) – custom label for tracking this action in workflow completion. This action takes no other parameters. ## Result options 1. **Successful enabling:** ```json { "actionType": "nv.syncInbox", "label": "enableNvInbox", "success": true } ``` - `label` – included only if specified in the action parameters. 2. **Failed enabling:** ```json { "actionType": "nv.syncInbox", "label": "enableNvInbox", "success": false, "error": { "type": "noSalesNavigator", "message": "Your account does not have Sales Navigator subscription." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `noSalesNavigator` – your account does not have Sales Navigator subscription. ## nv.manageConversation This action allows you to manage a conversation thread in Sales Navigator — archive or unarchive it — by its `threadId`. :::surface node,python In the SDK this is the `nvManageConversation` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON. It returns no `data`: a failed action comes back in `errors`, with one of the error types below. ::: :::surface cli In the CLI this is `linkedin navigator message manage` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed, when `threadId` parameter is provided. > ⬆️ **Parent Actions:** N/A. > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "nv.manageConversation", "label": "thread1", "threadId": "2-Zjhm...", "operation": "archive" } ``` ```typescript tab=Node const workflow = await linkedapi.nvManageConversation.execute({ threadId: "2-Zjhm...", operation: "archive" }); const { errors } = await linkedapi.nvManageConversation.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import NvManageConversationParams workflow = linkedapi.nv_manage_conversation.execute( NvManageConversationParams( thread_id="2-Zjhm...", operation="archive", ) ) result = linkedapi.nv_manage_conversation.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin navigator message manage 2-Zjhm... archive ``` In AI assistants, the MCP server runs this action as the `nv_manage_conversation` tool. :::surface cli In the CLI this is `linkedin navigator message manage`: ```bash linkedin navigator message manage ``` | Arg | Required | Description | | --- | --- | --- | | `thread-id` | yes | Conversation thread identifier, as returned by `inbox get --type nv` / `navigator message get`, or the `` in `linkedin.com/sales/inbox/` of an open conversation | | `operation` | yes | One of `archive`, `unarchive` | ::: - `label` (optional) – custom label for tracking this action in workflow completion. - `threadId` (required) – identifier of the conversation thread to manage, as returned by [inbox polling](/docs/monitoring-inbox). You can also read it from the address bar of an open conversation — it is the `` in `linkedin.com/sales/inbox/`. - `operation` – operation to apply to the thread. One of: - `archive` / `unarchive` – archive or unarchive the conversation. ## Result options 1. **Successful operation:** ```json { "actionType": "nv.manageConversation", "label": "thread1", "success": true } ``` - `label` – included only if specified in the action parameters. 2. **Failed operation:** ```json { "actionType": "nv.manageConversation", "label": "thread1", "success": false, "error": { "type": "threadNotFound", "message": "The provided thread identifier does not match an existing conversation." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `noSalesNavigator` – your account does not have Sales Navigator subscription. - `threadNotFound` – provided `threadId` does not match an existing conversation. ## nv.searchPeople This action allows you to search for people in Sales Navigator applying various filtering criteria. :::surface node,python In the SDK this is the `nvSearchPeople` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON, and returns the result below in `data`. ::: :::surface cli In the CLI this is `linkedin navigator person search` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed. > ⬆️ **Parent Actions:** N/A. > ⬇️ **Child Actions:** [nv.doForPeople](/docs/action-nv-do-for-people). ## Parameters ```json tab=HTTP { "actionType": "nv.searchPeople", "label": "johnDoeSearch1", "term": "John Doe", "limit": 2, "filter": { "firstName": "John", "lastName": "Doe", "position": "CEO", "locations": ["New York", "San Francisco", "London"], "industries": ["Software Development", "Professional Services"], "currentCompanies": ["Tech Solutions", "Innovatech"], "previousCompanies": ["FutureCorp"], "schools": ["Harvard University", "MIT"], "yearsOfExperiences": ["lessThanOne", "oneToTwo", "threeToFive"], "connectionDegrees": ["2nd", "groupMembers"] }, "customSearchUrl": "https://www.linkedin.com/sales/search/people?query=(recentSearchParam%3A(doLogHistory%3Atrue)%2CspellCorrectionEnabled%3Atrue%2Ckeywords%3ABill%2520Gates)", "then": { ... } } ``` ```typescript tab=Node const workflow = await linkedapi.nvSearchPeople.execute({ term: "John Doe", limit: 2, filter: { firstName: "John", lastName: "Doe", position: "CEO", locations: ["New York", "San Francisco", "London"], industries: ["Software Development", "Professional Services"], currentCompanies: ["Tech Solutions", "Innovatech"], previousCompanies: ["FutureCorp"], schools: ["Harvard University", "MIT"], yearsOfExperiences: ["lessThanOne", "oneToTwo", "threeToFive"], connectionDegrees: ["2nd", "groupMembers"] }, customSearchUrl: "https://www.linkedin.com/sales/search/people?query=(recentSearchParam%3A(doLogHistory%3Atrue)%2CspellCorrectionEnabled%3Atrue%2Ckeywords%3ABill%2520Gates)" }); const { data, errors } = await linkedapi.nvSearchPeople.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import NvSearchPeopleParams workflow = linkedapi.nv_search_people.execute( NvSearchPeopleParams( term="John Doe", limit=2, filter={ "first_name": "John", "last_name": "Doe", "position": "CEO", "locations": ["New York", "San Francisco", "London"], "industries": ["Software Development", "Professional Services"], "current_companies": ["Tech Solutions", "Innovatech"], "previous_companies": ["FutureCorp"], "schools": ["Harvard University", "MIT"], "years_of_experiences": ["lessThanOne", "oneToTwo", "threeToFive"], "connection_degrees": ["2nd", "groupMembers"], }, custom_search_url="https://www.linkedin.com/sales/search/people?query=(recentSearchParam%3A(doLogHistory%3Atrue)%2CspellCorrectionEnabled%3Atrue%2Ckeywords%3ABill%2520Gates)", ) ) result = linkedapi.nv_search_people.result(workflow.workflow_id) ``` ```bash tab=CLI # Not available in the CLI: customSearchUrl linkedin navigator person search \ --term "John Doe" \ --limit 2 \ --first-name John \ --last-name Doe \ --position CEO \ --locations "New York,San Francisco,London" \ --industries "Software Development,Professional Services" \ --current-companies "Tech Solutions,Innovatech" \ --previous-companies FutureCorp \ --schools "Harvard University,MIT" \ --years-of-experience lessThanOne,oneToTwo,threeToFive \ --connection-degrees 2nd,groupMembers ``` In AI assistants, the MCP server runs this action as the `nv_search_people` tool. :::surface cli In the CLI this is `linkedin navigator person search`: ```bash linkedin navigator person search [flags] ``` | Flag | Type | Description | | --- | --- | --- | | `--term` | string | Search keyword or phrase | | `--limit` | integer | Max results to return | | `--first-name` | string | Filter by first name | | `--last-name` | string | Filter by last name | | `--position` | string | Filter by job position | | `--locations` | string | Comma-separated locations | | `--industries` | string | Comma-separated industries | | `--current-companies` | string | Comma-separated current company names | | `--previous-companies` | string | Comma-separated previous company names | | `--schools` | string | Comma-separated school names | | `--years-of-experience` | string | Comma-separated experience ranges: `lessThanOne`, `oneToTwo`, `threeToFive`, `sixToTen`, `moreThanTen` | | `--connection-degrees` | string | Comma-separated connection degrees: `1st`, `2nd`, `3rd+`, `groupMembers` | ::: - `label` (optional) – custom label for tracking this action in workflow completion. - `term` (optional) – keyword or phrase to search, from 1 to 50 characters. Either `term` or `customSearchUrl` must be provided; a request with neither (for example, with `filter` only) is rejected. - `limit` (optional) – number of search results to return. Defaults to **25**, with a maximum value of **2500**. - `filter` (optional) – object that specifies filtering criteria for people. When multiple filter fields are specified, they are combined using `AND` logic. - `firstName` (optional) – first name of person. - `lastName` (optional) – last name of person. - `position` (optional) – job position of person. - `locations` (optional) – array of free-form strings representing locations. Matches if person is located in any of the listed locations. - `industries` (optional) – array of enums representing industries. Matches if person works in any of the listed industries. Takes specific values available in the LinkedIn interface. - `currentCompanies` (optional) – array of company names. Matches if person currently works at any of the listed companies. - `previousCompanies` (optional) – array of company names. Matches if person previously worked at any of the listed companies. - `schools` (optional) – array of institution names. Matches if person currently attends or previously attended any of the listed institutions. - `yearsOfExperiences` (optional) – array of enums representing professional experience. Matches if person’s experience falls within any of the listed ranges. Options: - `lessThanOne` – less than 1 year. - `oneToTwo` – 1 to 2 years. - `threeToFive` – 3 to 5 years. - `sixToTen` – 6 to 10 years. - `moreThanTen` – more than 10 years. - `connectionDegrees` (optional) – array of enums representing your connection degree to the person. Matches if the person is at any of the listed degrees. Options: - `1st` – your 1st-degree connections. - `2nd` – your 2nd-degree connections. - `3rd+` – 3rd-degree connections and beyond. - `groupMembers` – members of LinkedIn groups you belong to. - `customSearchUrl` (optional) – URL copied from Sales Navigator search results page after configuring desired filters. When specified, overrides term and filter parameters. Allows using any search configuration available in Sales Navigator. Either `term` or `customSearchUrl` must be provided. - `then` (optional) – object or array of child actions to be executed within this action. ## Result options 1. **Successful search:** ```json { "actionType": "nv.searchPeople", "label": "johnDoeSearch1", "success": true, "data": [ { "name": "John Doe", "urn": "urn:li:member:123456789", "hashedUrl": "https://www.linkedin.com/in/SInQBmjJ015eLr8OeJoj0mrkxx7Jiuy0", "position": "Founder & CEO", "location": "London", "avatarUrl": "https://media.licdn.com/dms/image/v2/D5603AQE/profile-displayphoto-shrink_100_100/0/1700000000000", "viewerState": { "connectionDegree": "2nd" }, "then": { ... } }, { "name": "John Doe", "urn": null, "hashedUrl": "https://www.linkedin.com/in/ACoAA2DdsSV83B48UDvgO5jPoу3Gho0o", "position": "Product Manager", "location": "New York", "avatarUrl": null, "viewerState": { "connectionDegree": "3rd+" }, "then": { ... } } ] } ``` - `label` – included only if specified in the action parameters. - `data` – array of search outputs with results of child actions execution. - `name` – full name of the person. - `urn` – [URN](/docs/data-conventions#linkedin-urns) of the person, or `null` if LinkedIn does not expose it. - `hashedUrl` – [hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the person. - `position` – job position of the person. - `location` – free-form string indicating the person's location. - `avatarUrl` – URL of the person's profile photo, or `null` if the person has no photo. - `viewerState` – how your account relates to the person, see [viewer state](/docs/data-conventions#viewer-state). - `connectionDegree` – `1st`, `2nd`, or `3rd+`, as LinkedIn shows it next to the name, or `null` if LinkedIn does not show it. - `then` – results of child actions execution. 2. **Failed search:** ```json { "actionType": "nv.searchPeople", "label": "johnDoeSearch1", "success": false, "error": { "type": "noSalesNavigator", "message": "Your account does not have Sales Navigator subscription." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `filterNotApplied` – Sales Navigator offered no matching option for one or more filter values. The message lists each field and value, so correct or remove them rather than retrying. - `noSalesNavigator` – your account does not have Sales Navigator subscription. ## nv.openPersonPage This action allows you to open a person page in Sales Navigator to retrieve their basic information and perform additional person-related actions if needed. :::surface node,python In the SDK this is the `nvFetchPerson` method. It always returns basic information: `basicInfo`, like `label` and `then`, exists only in workflow JSON. It takes the other parameters below and returns the result below in `data`. ::: :::surface cli In the CLI this is `linkedin navigator person fetch` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed, when `personHashedUrl` parameter is provided. > ⬆️ **Parent Actions:** [nv.doForPeople](/docs/action-nv-do-for-people), [st.openPersonPage](/docs/action-st-open-person-page). > ⬇️ **Child Actions:** [nv.saveLead](/docs/action-nv-save-lead), [nv.unsaveLead](/docs/action-nv-unsave-lead), [nv.removeLeadFromList](/docs/action-nv-remove-lead-from-list), [nv.sendMessage](/docs/action-nv-send-message), [nv.syncConversation](/docs/action-nv-sync-conversation), [st.openPersonPage](/docs/action-st-open-person-page). ## Parameters ```json tab=HTTP { "actionType": "nv.openPersonPage", "label": "person1", "personHashedUrl": "https://www.linkedin.com/in/SInQBmjJ015eLr8", "basicInfo": true, "then": { ... } } ``` ```typescript tab=Node const workflow = await linkedapi.nvFetchPerson.execute({ personHashedUrl: "https://www.linkedin.com/in/SInQBmjJ015eLr8" }); const { data, errors } = await linkedapi.nvFetchPerson.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import NvOpenPersonPageParams workflow = linkedapi.nv_fetch_person.execute( NvOpenPersonPageParams( person_hashed_url="https://www.linkedin.com/in/SInQBmjJ015eLr8", ) ) result = linkedapi.nv_fetch_person.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin navigator person fetch https://www.linkedin.com/in/SInQBmjJ015eLr8 ``` In AI assistants, the MCP server runs this action as the `nv_fetch_person` tool. :::surface cli In the CLI this is `linkedin navigator person fetch`: ```bash linkedin navigator person fetch ``` | Arg | Required | Description | | --- | --- | --- | | `hashed-url` | yes | LinkedIn URL of the person: hashed, Sales Navigator or public (see [Accepted URLs](#accepted-urls)) | ::: - `label` (optional) – custom label for tracking this action in workflow completion. - `personHashedUrl` (required for root start, forbidden for parent start) – LinkedIn URL of the person: a [hashed](/faq/what-are-hashed-url-and-public-url) URL, a Sales Navigator lead URL or a public profile URL (see [Accepted URLs](#accepted-urls)). - `basicInfo` (optional, default: `false`) – when set to `true`, the action includes basic person information in the results. - `then` (optional) – object or array of child actions to be executed within this action. ### Accepted URLs `personHashedUrl` takes any of these forms: - a [hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL, such as `hashedUrl` from [`nv.searchPeople`](/docs/action-nv-search-people) or [`nv.retrieveListLeads`](/docs/action-nv-retrieve-list-leads); - a Sales Navigator lead URL (`linkedin.com/sales/lead/…`), such as an alert's `subject.url` from [`nv.retrieveAlerts`](/docs/action-nv-retrieve-alerts); - a public profile URL (`linkedin.com/in/`). It costs one extra standard page load: Linked API opens the person's LinkedIn profile first and goes to their Sales Navigator page from there. Child actions act on the page this action opened and do not open a public URL again. A public URL that leads to no LinkedIn profile returns `personNotFound`. The same forms are accepted by [`nv.saveLead`](/docs/action-nv-save-lead), [`nv.unsaveLead`](/docs/action-nv-unsave-lead) and [`nv.removeLeadFromList`](/docs/action-nv-remove-lead-from-list) when they run as root actions. ## Result options 1. **Successful page opening with `basicInfo` set to `true`:** ```json { "actionType": "nv.openPersonPage", "label": "person1", "success": true, "data": { "name": "John Doe", "urn": "urn:li:member:123456789", "publicUrl": "https://www.linkedin.com/in/person1", "hashedUrl": "https://www.linkedin.com/in/SInQBmjJ015eLr8", "headline": "Software Engineer at TechCorp", "location": "San Francisco, USA", "countryCode": "US", "position": "Software Engineer", "companyName": "TechCorp", "companyUrn": "urn:li:organization:12345678", "companyHashedUrl": "https://www.linkedin.com/company/12345678", "avatarUrl": "https://media.licdn.com/dms/image/v2/D5603AQE/profile-displayphoto-shrink_100_100/0/1700000000000", "then": { ... } } } ``` - `label` – included only if specified in the action parameters. - `data` – basic information about the person and results of child actions execution. - `name` – full name of the person. - `urn` – [URN](/docs/data-conventions#linkedin-urns) of the person, or `null` if LinkedIn does not expose it. - `publicUrl` – [public](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the person. - `hashedUrl` – [hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the person. - `headline` – headline of the person. - `location` – free-form string indicating the person's location. - `countryCode` – two-character code of the person's country. - `position` – current job position of the person. - `companyName` – name of the person's current company. - `companyUrn` – [URN](/docs/data-conventions#linkedin-urns) of the person's current company, or `null` if LinkedIn does not expose it. - `companyHashedUrl` – [hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the person's current company. - `avatarUrl` – URL of the person's profile photo, or `null` if the person has no photo. 2. **Successful page opening with `basicInfo` set to `false`:** ```json { "actionType": "nv.openPersonPage", "label": "person1", "success": true, "data": { "then": { ... } } } ``` - `label` – included only if specified in the action parameters. - `data.then` – results of child actions execution. 3. **Failed page opening:** ```json { "actionType": "nv.openPersonPage", "label": "person1", "success": false, "error": { "type": "personNotFound", "message": "The provided URL is not an existing LinkedIn person." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `noSalesNavigator` – your account does not have Sales Navigator subscription. - `personNotFound` – provided URL is not an existing LinkedIn person, including a public profile URL that leads to no LinkedIn profile. ## nv.saveLead Save a person as a lead in Sales Navigator and, optionally, add them to one of your custom lead lists. Sales Navigator raises lead alerts for the leads you save. To read only alerts about subjects you saved, set `filter.excludeSuggested` to `true` in [`nv.retrieveAlerts`](/docs/action-nv-retrieve-alerts). An alert's `subject.url` can be passed straight to this action. An active Sales Navigator subscription is required. To find a list's ID, call [`nv.retrieveLists`](/docs/action-nv-retrieve-lists) with `type` set to `lead`. To create a new lead list, call [`nv.createList`](/docs/action-nv-create-list) and use the `id` it returns. :::surface node,python In the SDK this is the `nvSaveLead` method. It takes the parameters below except `label`, which exists only in workflow JSON. It returns no `data`: a failed action comes back in `errors`, with one of the error types below. ::: :::surface cli The command is `linkedin navigator person save`. Its argument and flag are listed below. ::: ## Constraints > ⏺️ **Root Start:** allowed, when `personHashedUrl` parameter is provided. > ⬆️ **Parent Actions:** [nv.openPersonPage](/docs/action-nv-open-person-page), [nv.doForPeople](/docs/action-nv-do-for-people) under [nv.searchPeople](/docs/action-nv-search-people), [nv.retrieveCompanyEmployees](/docs/action-nv-retrieve-company-employees) or [nv.retrieveCompanyDMs](/docs/action-nv-retrieve-company-dms). > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "nv.saveLead", "label": "saveLead1", "personHashedUrl": "https://www.linkedin.com/in/SInQBmjJ015eLr8", "listId": "7420000000000000001" } ``` ```typescript tab=Node const workflow = await linkedapi.nvSaveLead.execute({ personHashedUrl: "https://www.linkedin.com/in/SInQBmjJ015eLr8", listId: "7420000000000000001" }); const { errors } = await linkedapi.nvSaveLead.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import NvSaveLeadParams workflow = linkedapi.nv_save_lead.execute( NvSaveLeadParams( person_hashed_url="https://www.linkedin.com/in/SInQBmjJ015eLr8", list_id="7420000000000000001", ) ) result = linkedapi.nv_save_lead.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin navigator person save https://www.linkedin.com/in/SInQBmjJ015eLr8 \ --list-id 7420000000000000001 \ --json ``` In AI assistants, the MCP tool is `nv_save_lead`. The n8n action is **Save lead in Sales Navigator**; the Make module is **Save Lead in Sales Navigator**. | Parameter | Description | | --- | --- | | `label` | Optional label included in workflow completion. | | `personHashedUrl` | Required for root start, forbidden for parent start. LinkedIn URL of the person, in any form [`nv.openPersonPage`](/docs/action-nv-open-person-page#accepted-urls) accepts: a [hashed](/faq/what-are-hashed-url-and-public-url) URL, an alert's `subject.url` (`/sales/lead/…`), or a public profile URL (`linkedin.com/in/`), which costs one extra page load. Under a parent action, the person comes from the parent. | | `listId` | Optional. ID of one of your custom lead lists, as returned in `id` by [`nv.retrieveLists`](/docs/action-nv-retrieve-lists) or [`nv.createList`](/docs/action-nv-create-list). Pass it as a string. Omit it to save the lead without changing any list. **More than 10 lead lists, for now:** Sales Navigator's save menu shows lists ten at a time. If you have more than 10 lead lists and the requested list is not among those the menu shows, the call fails with `unexpectedError`. The lead may already be saved by then, but is not added to that list. This is a current limitation. | :::surface cli | Arg | Required | Description | | --- | --- | --- | | `url` | yes | LinkedIn URL of the person: hashed, an alert's `subject.url`, or public | | Flag | Description | | --- | --- | | `--list-id` | ID of one of your custom lead lists. Omit to save without changing any list. | ::: ## Saving behaviour - **Saved, and in the list you name.** The action makes sure the person is a saved lead. With `listId`, it also makes sure the lead is in that one list and leaves the lead's other lists as they are. Without `listId`, no list changes. - **Safe to repeat.** Saving a lead that is already saved, or already in the requested list, succeeds without changing anything. - **The lead's company may be saved too.** Saving a lead can make Sales Navigator also save the lead's current company as an account. This is Sales Navigator's own behaviour. - **Which lists you can save to.** `listId` must be one of your custom lead lists. [`nv.retrieveLists`](/docs/action-nv-retrieve-lists) also returns Sales Navigator's system lists, such as Recommended Leads, but Sales Navigator does not offer them as save targets. Any other ID returns `listNotFound`, and nothing is written. The same applies when another of your lead lists has exactly the same name: the save menu shows lists by name only, so rename one of them first. [`nv.createList`](/docs/action-nv-create-list) never creates a lead list with a name you already use. - **Changes can take up to a few minutes to appear.** Sales Navigator can take up to a few minutes to reflect a change. A call that conflicts with a change you just made through Linked API, such as unsaving a lead you have just saved, may fail with `unexpectedError`; retry it a little later. - **English interface only, for now.** This is a current limitation: saving and unsaving work only with an English Sales Navigator interface. On a German, Spanish, French or Portuguese interface, the call fails with `interfaceLanguageNotSupported`. To take the lead out of one list and keep them saved, use [`nv.removeLeadFromList`](/docs/action-nv-remove-lead-from-list); to unsave them, use [`nv.unsaveLead`](/docs/action-nv-unsave-lead). ## Saving from search results Under [`nv.doForPeople`](/docs/action-nv-do-for-people), whose parent is [`nv.searchPeople`](/docs/action-nv-search-people), [`nv.retrieveCompanyEmployees`](/docs/action-nv-retrieve-company-employees) or [`nv.retrieveCompanyDMs`](/docs/action-nv-retrieve-company-dms), the action saves each person straight from the parent's result list, without opening their page. If that list is no longer open when the save runs, for example because an earlier action for the same person opened their page, the action saves on the person's page instead. Saving 20 search results costs the search result pages instead of 20 extra profile page loads, so your LinkedIn account does far less browsing for the same result. How many people are saved is set by the parent action's `limit`. Under [`nv.openPersonPage`](/docs/action-nv-open-person-page), the action saves the person whose page is already open, so you can read their details, message them and save them in one workflow. [`nv.unsaveLead`](/docs/action-nv-unsave-lead) is not available under `nv.doForPeople`. **Workflow:** ```json tab=HTTP { "actionType": "nv.searchPeople", "term": "Head of Sales", "limit": 2, "filter": { "locations": ["London"] }, "then": { "actionType": "nv.doForPeople", "then": { "actionType": "nv.saveLead", "listId": "7420000000000000001" } } } ``` ```typescript tab=Node const workflow = await linkedapi.customWorkflow.execute({ actionType: "nv.searchPeople", term: "Head of Sales", limit: 2, filter: { locations: ["London"] }, then: { actionType: "nv.doForPeople", then: { actionType: "nv.saveLead", listId: "7420000000000000001" } } }); const { data, errors } = await linkedapi.customWorkflow.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.custom_workflow.execute( { "actionType": "nv.searchPeople", "term": "Head of Sales", "limit": 2, "filter": { "locations": ["London"], }, "then": { "actionType": "nv.doForPeople", "then": { "actionType": "nv.saveLead", "listId": "7420000000000000001", }, }, } ) result = linkedapi.custom_workflow.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin workflow run <<'EOF' { "actionType": "nv.searchPeople", "term": "Head of Sales", "limit": 2, "filter": { "locations": ["London"] }, "then": { "actionType": "nv.doForPeople", "then": { "actionType": "nv.saveLead", "listId": "7420000000000000001" } } } EOF ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns this whole completion in `data`: ::: :::surface cli **Completion** – `linkedin workflow run` prints this whole completion as `data`: ::: ```json { "actionType": "nv.searchPeople", "success": true, "data": [ { "name": "Jane Smith", "urn": "urn:li:member:123456789", "hashedUrl": "https://www.linkedin.com/in/SInQBmjJ015eLr8", "position": "Head of Sales", "location": "London", "avatarUrl": null, "viewerState": { "connectionDegree": "2nd" }, "then": [ { "actionType": "nv.saveLead", "success": true } ] }, { "name": "Tom Brown", "urn": "urn:li:member:987654321", "hashedUrl": "https://www.linkedin.com/in/ACoAA2DdsSV83B48", "position": "Head of Sales EMEA", "location": "London", "avatarUrl": null, "viewerState": { "connectionDegree": "3rd+" }, "then": [ { "actionType": "nv.saveLead", "success": true } ] } ] } ``` ## Result options ```json { "actionType": "nv.saveLead", "label": "saveLead1", "success": true } ``` A successful save has no `data`. `label` is included only if specified in the action parameters. ## Error result An unsuccessful action returns `success: false` with an `error` object: ```json { "actionType": "nv.saveLead", "label": "saveLead1", "success": false, "error": { "type": "listNotFound", "message": "The list is not available for this subject in Sales Navigator." } } ``` Possible `error.type` values: - `noSalesNavigator` — the account does not have an active Sales Navigator subscription. - `personNotFound` — the provided URL is not an existing LinkedIn person. This includes a public profile URL that leads to no LinkedIn profile. - `listNotFound` — `listId` is not one of your custom lead lists. This is checked before anything is written. Rarely, a valid list is missing from the lead's save menu; the lead may then already be saved when this error is returned. - `interfaceLanguageNotSupported` — the account's Sales Navigator interface is German, Spanish, French or Portuguese rather than English. Nothing is changed; this is a current limitation (see above). - `unexpectedError` — the save could not be completed. This includes a call that conflicts with a change you just made through Linked API: Sales Navigator can take up to a few minutes to reflect a change, so retry it a little later. It also includes a `listId` that the save menu did not show when you have more than 10 lead lists (see [`listId`](#parameters)). ## nv.unsaveLead Unsave a lead in Sales Navigator. This is Sales Navigator's own Unsave: the person is no longer a saved lead and is removed from every custom lead list you own. An alert's `subject.url` from [`nv.retrieveAlerts`](/docs/action-nv-retrieve-alerts) can be passed straight to this action. An active Sales Navigator subscription is required. :::surface node,python In the SDK this is the `nvUnsaveLead` method. It takes the parameters below except `label`, which exists only in workflow JSON. It returns no `data`: a failed action comes back in `errors`, with one of the error types below. ::: :::surface cli The command is `linkedin navigator person unsave`. Its argument is listed below. ::: ## Constraints > ⏺️ **Root Start:** allowed, when `personHashedUrl` parameter is provided. > ⬆️ **Parent Actions:** [nv.openPersonPage](/docs/action-nv-open-person-page). > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "nv.unsaveLead", "label": "unsaveLead1", "personHashedUrl": "https://www.linkedin.com/in/SInQBmjJ015eLr8" } ``` ```typescript tab=Node const workflow = await linkedapi.nvUnsaveLead.execute({ personHashedUrl: "https://www.linkedin.com/in/SInQBmjJ015eLr8" }); const { errors } = await linkedapi.nvUnsaveLead.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import NvUnsaveLeadParams workflow = linkedapi.nv_unsave_lead.execute( NvUnsaveLeadParams( person_hashed_url="https://www.linkedin.com/in/SInQBmjJ015eLr8", ) ) result = linkedapi.nv_unsave_lead.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin navigator person unsave https://www.linkedin.com/in/SInQBmjJ015eLr8 --json ``` In AI assistants, the MCP tool is `nv_unsave_lead`. The n8n action is **Unsave lead in Sales Navigator**; the Make module is **Unsave Lead in Sales Navigator**. | Parameter | Description | | --- | --- | | `label` | Optional label included in workflow completion. | | `personHashedUrl` | Required for root start, forbidden for parent start. LinkedIn URL of the person, in any form [`nv.openPersonPage`](/docs/action-nv-open-person-page#accepted-urls) accepts: a [hashed](/faq/what-are-hashed-url-and-public-url) URL, an alert's `subject.url` (`/sales/lead/…`), or a public profile URL (`linkedin.com/in/`), which costs one extra page load. Under [`nv.openPersonPage`](/docs/action-nv-open-person-page), the person whose page is open is unsaved. | :::surface cli | Arg | Required | Description | | --- | --- | --- | | `url` | yes | LinkedIn URL of the person: hashed, an alert's `subject.url`, or public | ::: ## Unsaving behaviour - **Removed from your lists too.** Unsaving a lead also removes them from every custom lead list you own. To take a lead out of one list and keep them saved, use [`nv.removeLeadFromList`](/docs/action-nv-remove-lead-from-list) instead. - **Safe to repeat.** Unsaving a person who is not a saved lead succeeds without changing anything. - **Not available on search results.** This action cannot run under [`nv.doForPeople`](/docs/action-nv-do-for-people). Use it as a root action or under [`nv.openPersonPage`](/docs/action-nv-open-person-page). - **Changes can take up to a few minutes to appear.** Sales Navigator can take up to a few minutes to reflect a change. A call that conflicts with a change you just made through Linked API, such as unsaving a lead you have just saved, may fail with `unexpectedError`; retry it a little later. - **English interface only, for now.** This is a current limitation: saving and unsaving work only with an English Sales Navigator interface. On a German, Spanish, French or Portuguese interface, the call fails with `interfaceLanguageNotSupported`. To save the lead again, use [`nv.saveLead`](/docs/action-nv-save-lead). To delete a whole lead list and keep its leads saved, use [`nv.deleteList`](/docs/action-nv-delete-list). ## Result options ```json { "actionType": "nv.unsaveLead", "label": "unsaveLead1", "success": true } ``` A successful unsave has no `data`. `label` is included only if specified in the action parameters. ## Error result An unsuccessful action returns `success: false` with an `error` object: ```json { "actionType": "nv.unsaveLead", "label": "unsaveLead1", "success": false, "error": { "type": "personNotFound", "message": "Provided URL is not an existing LinkedIn person." } } ``` Possible `error.type` values: - `noSalesNavigator` — the account does not have an active Sales Navigator subscription. - `personNotFound` — the provided URL is not an existing LinkedIn person. This includes a public profile URL that leads to no LinkedIn profile. - `interfaceLanguageNotSupported` — the account's Sales Navigator interface is German, Spanish, French or Portuguese rather than English. Nothing is changed; this is a current limitation (see above). - `unexpectedError` — the unsave could not be completed. This includes a call that conflicts with a change you just made through Linked API: Sales Navigator can take up to a few minutes to reflect a change, so retry it a little later. ## nv.removeLeadFromList Remove a lead from one of your custom lead lists in Sales Navigator. Only that list changes: the person stays a saved lead and stays in any other lists they are in. An alert's `subject.url` from [`nv.retrieveAlerts`](/docs/action-nv-retrieve-alerts), or a lead's `hashedUrl` from [`nv.retrieveListLeads`](/docs/action-nv-retrieve-list-leads), can be passed straight to this action. An active Sales Navigator subscription is required. To find a list's ID, call [`nv.retrieveLists`](/docs/action-nv-retrieve-lists) with `type` set to `lead`. To unsave the lead instead, which takes them out of every custom lead list, use [`nv.unsaveLead`](/docs/action-nv-unsave-lead). :::surface node,python In the SDK this is the `nvRemoveLeadFromList` method. It takes the parameters below except `label`, which exists only in workflow JSON. It returns no `data`: a failed action comes back in `errors`, with one of the error types below. ::: :::surface cli The command is `linkedin navigator person remove-from-list`. Its argument and flag are listed below. ::: ## Constraints > ⏺️ **Root Start:** allowed, when `personHashedUrl` parameter is provided. > ⬆️ **Parent Actions:** [nv.openPersonPage](/docs/action-nv-open-person-page). > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "nv.removeLeadFromList", "label": "removeLead1", "personHashedUrl": "https://www.linkedin.com/in/SInQBmjJ015eLr8", "listId": "7420000000000000001" } ``` ```typescript tab=Node const workflow = await linkedapi.nvRemoveLeadFromList.execute({ personHashedUrl: "https://www.linkedin.com/in/SInQBmjJ015eLr8", listId: "7420000000000000001" }); const { errors } = await linkedapi.nvRemoveLeadFromList.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import NvRemoveLeadFromListParams workflow = linkedapi.nv_remove_lead_from_list.execute( NvRemoveLeadFromListParams( person_hashed_url="https://www.linkedin.com/in/SInQBmjJ015eLr8", list_id="7420000000000000001", ) ) result = linkedapi.nv_remove_lead_from_list.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin navigator person remove-from-list https://www.linkedin.com/in/SInQBmjJ015eLr8 \ --list-id 7420000000000000001 \ --json ``` In AI assistants, the MCP tool is `nv_remove_lead_from_list`. The n8n action is **Remove lead from list in Sales Navigator**; the Make module is **Remove Lead from List in Sales Navigator**. | Parameter | Description | | --- | --- | | `label` | Optional label included in workflow completion. | | `personHashedUrl` | Required for root start, forbidden for parent start. LinkedIn URL of the person, in any form [`nv.openPersonPage`](/docs/action-nv-open-person-page#accepted-urls) accepts: a hashed URL, an alert's `subject.url` (`/sales/lead/…`), or a public profile URL (`linkedin.com/in/`), which costs one extra page load. Under [`nv.openPersonPage`](/docs/action-nv-open-person-page), the person whose page is open is removed from the list. | | `listId` | Required. ID of one of your custom lead lists, as returned in `id` by [`nv.retrieveLists`](/docs/action-nv-retrieve-lists) or [`nv.createList`](/docs/action-nv-create-list). Pass it as a string. **More than 10 lead lists, for now:** Sales Navigator's save menu shows lists ten at a time. If you have more than 10 lead lists and the requested list is not among those the menu shows, the call fails with `unexpectedError` and nothing is changed. This is a current limitation. | :::surface cli | Arg | Required | Description | | --- | --- | --- | | `url` | yes | LinkedIn URL of the person, including an alert's `subject.url` | | Flag | Description | | --- | --- | | `--list-id` | Required. ID of one of your custom lead lists. | ::: ## Removing behaviour - **Only this list.** The lead leaves the list with this `listId`, and nothing else changes: they stay a saved lead and stay in their other lists. - **Safe to repeat.** Removing a person who is not in that list, or who is not a saved lead at all, succeeds without changing anything. - **Which lists you can remove from.** `listId` must be one of your custom lead lists: the same lists [`nv.saveLead`](/docs/action-nv-save-lead) can save into. An ID that is not one of your lead lists, including an account list's ID and a list someone else shared with you, returns `listNotFound`, and nothing is written. - **Lists that share a name.** Sales Navigator's save menu shows lists by name only. If another of your lead lists has exactly the same name, the call fails with `unexpectedError` without changing anything; rename one of them first with [`nv.renameList`](/docs/action-nv-rename-list). - **On an open page or in search results.** Under [`nv.openPersonPage`](/docs/action-nv-open-person-page), the action uses the page that is already open and does not open the person's page again. It cannot run directly under [`nv.doForPeople`](/docs/action-nv-do-for-people); put it under `nv.openPersonPage` there instead. - **Changes can take time to appear.** Right after a removal, [`nv.retrieveListLeads`](/docs/action-nv-retrieve-list-leads) can still show the lead in the list for tens of seconds. A call that conflicts with a change you just made through Linked API, such as removing a lead from a list you have just removed them from, may fail with `unexpectedError`; retry it a little later. - **English interface only, for now.** This is a current limitation: removing a lead from a list works only with an English Sales Navigator interface. On a German, Spanish, French or Portuguese interface, the call fails with `interfaceLanguageNotSupported`. To add the lead to the list again, use [`nv.saveLead`](/docs/action-nv-save-lead) with the same `listId`. ## Result options ```json { "actionType": "nv.removeLeadFromList", "label": "removeLead1", "success": true } ``` A successful removal has no `data`. `label` is included only if specified in the action parameters. ## Error result An unsuccessful action returns `success: false` with an `error` object: ```json { "actionType": "nv.removeLeadFromList", "label": "removeLead1", "success": false, "error": { "type": "listNotFound", "message": "The list is not available for this subject in Sales Navigator." } } ``` Possible `error.type` values: - `noSalesNavigator` — the account does not have an active Sales Navigator subscription. - `personNotFound` — the provided URL is not an existing LinkedIn person. This includes a public profile URL that leads to no LinkedIn profile. - `listNotFound` — `listId` is not one of your lead lists. This is checked before anything is written. - `interfaceLanguageNotSupported` — the account's Sales Navigator interface is German, Spanish, French or Portuguese rather than English. Nothing is changed; this is a current limitation (see above). - `unexpectedError` — the removal could not be completed. This includes a call that conflicts with a change you just made through Linked API: Sales Navigator can take a while to reflect a change, so retry it a little later. It also includes a `listId` that the save menu did not show when you have more than 10 lead lists (see [`listId`](#parameters)), and a list that shares its name with another of your lead lists. ## nv.searchCompanies This action allows you to search for companies in Sales Navigator applying various filtering criteria. :::surface node,python In the SDK this is the `nvSearchCompanies` method. It takes the parameters below except `label` and `then`, which exist only in workflow JSON, and returns the result below in `data`. ::: :::surface cli In the CLI this is `linkedin navigator company search` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed. > ⬆️ **Parent Actions:** N/A. > ⬇️ **Child Actions:** [nv.doForCompanies](/docs/action-nv-do-for-companies). ## Parameters ```json tab=HTTP { "actionType": "nv.searchCompanies", "label": "techIncSearch1", "term": "Tech Inc", "limit": 2, "filter": { "sizes": ["51-200", "201-500"], "locations": ["San Francisco", "New York"], "industries": ["Software Development", "Robotics Engineering"], "annualRevenue": { "min": "0", "max": "2.5" } }, "customSearchUrl": "https://www.linkedin.com/sales/search/company?query=(spellCorrectionEnabled%3Atrue%2Ckeywords%3ALinked%2520API)", "then": { ... } } ``` ```typescript tab=Node const workflow = await linkedapi.nvSearchCompanies.execute({ term: "Tech Inc", limit: 2, filter: { sizes: ["51-200", "201-500"], locations: ["San Francisco", "New York"], industries: ["Software Development", "Robotics Engineering"], annualRevenue: { min: "0", max: "2.5" } }, customSearchUrl: "https://www.linkedin.com/sales/search/company?query=(spellCorrectionEnabled%3Atrue%2Ckeywords%3ALinked%2520API)" }); const { data, errors } = await linkedapi.nvSearchCompanies.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import NvSearchCompaniesParams workflow = linkedapi.nv_search_companies.execute( NvSearchCompaniesParams( term="Tech Inc", limit=2, filter={ "sizes": ["51-200", "201-500"], "locations": ["San Francisco", "New York"], "industries": ["Software Development", "Robotics Engineering"], "annual_revenue": {"min": "0", "max": "2.5"}, }, custom_search_url="https://www.linkedin.com/sales/search/company?query=(spellCorrectionEnabled%3Atrue%2Ckeywords%3ALinked%2520API)", ) ) result = linkedapi.nv_search_companies.result(workflow.workflow_id) ``` ```bash tab=CLI # Not available in the CLI: customSearchUrl linkedin navigator company search \ --term "Tech Inc" \ --limit 2 \ --sizes 51-200,201-500 \ --locations "San Francisco,New York" \ --industries "Software Development,Robotics Engineering" \ --revenue-min 0 \ --revenue-max 2.5 ``` In AI assistants, the MCP server runs this action as the `nv_search_companies` tool. :::surface cli In the CLI this is `linkedin navigator company search`: ```bash linkedin navigator company search [flags] ``` | Flag | Type | Description | | --- | --- | --- | | `--term` | string | Search keyword or phrase | | `--limit` | integer | Max results to return | | `--sizes` | string | Company sizes, comma-separated | | `--locations` | string | Comma-separated locations | | `--industries` | string | Comma-separated industries | | `--revenue-min` | string | Min annual revenue in M USD: `0`, `0.5`, `1`, `2.5`, `5`, `10`, `20`, `50`, `100`, `500`, `1000` | | `--revenue-max` | string | Max annual revenue in M USD: `0.5`, `1`, `2.5`, `5`, `10`, `20`, `50`, `100`, `500`, `1000`, `1000+` | ::: - `label` (optional) – custom label for tracking this action in workflow completion. - `term` (optional) – keyword or phrase to search, from 1 to 50 characters. Either `term` or `customSearchUrl` must be provided; a request with neither (for example, with `filter` only) is rejected. - `limit` (optional) – number of search results to return. Defaults to **25**, with a maximum value of **1000**. - `filter` (optional) – object that specifies filtering criteria for companies. When multiple filter fields are specified, they are combined using `AND` logic. - `sizes` (optional) – array of enums representing employee count ranges. Matches if company’s size falls within any of the listed ranges. Options: - `1-10`. - `11-50`. - `51-200`. - `201-500`. - `501-1000`. - `1001-5000`. - `5001-10000`. - `10001+`. - `locations` (optional) – array of free-form strings representing locations. Matches if company is headquartered in any of the listed locations. - `industries` (optional) – array of enums representing industries. Matches if company operates in any of the listed industries. Takes specific values available in the LinkedIn interface. - `annualRevenue` (optional) – object representing company annual revenue range in million USD; `min` must be lower than `max`: - `min` – enum with options: - `0`. - `0.5`. - `1`. - `2.5`. - `5`. - `10`. - `20`. - `50`. - `100`. - `500`. - `1000`. - `max` – enum with options: - `0.5`. - `1`. - `2.5`. - `5`. - `10`. - `20`. - `50`. - `100`. - `500`. - `1000`. - `1000+`. - `customSearchUrl` (optional) – URL copied from Sales Navigator search results page after configuring desired filters. When specified, overrides term and filter parameters. Allows using any search configuration available in Sales Navigator. Either `term` or `customSearchUrl` must be provided. - `then` (optional) – object or array of child actions to be executed within this action. ## Result options 1. **Successful search:** ```json { "actionType": "nv.searchCompanies", "label": "techIncSearch1", "success": true, "data": [ { "name": "TechCorp", "urn": "urn:li:organization:12345678", "hashedUrl": "https://www.linkedin.com/company/12345678", "industry": "IT Services and IT Consulting", "employeesCount": 500, "logoUrl": "https://media.licdn.com/dms/image/v2/C4D0BAQE/company-logo_100_100/0/1700000000000", "then": { ... } }, { "name": "Techical Life", "urn": null, "hashedUrl": "https://www.linkedin.com/company/87654321", "industry": "Software Development", "employeesCount": 120, "logoUrl": null, "then": { ... } } ] } ``` - `label` – included only if specified in the action parameters. - `data` – array of search outputs with results of child actions execution. - `name` – name of the company. - `urn` – [URN](/docs/data-conventions#linkedin-urns) of the company, or `null` if LinkedIn does not expose it. - `hashedUrl` – [hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the company. - `industry` – enum representing the company industry. Takes specific values available in the LinkedIn interface. - `employeesCount` – total number of employees associated with the company. - `logoUrl` – URL of the company's logo, or `null` if the company has no logo. - `then` – results of child actions execution. 2. **Failed search:** ```json { "actionType": "nv.searchCompanies", "label": "techIncSearch1", "success": false, "error": { "type": "noSalesNavigator", "message": "Your account does not have Sales Navigator subscription." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `filterNotApplied` – Sales Navigator offered no matching option for one or more filter values. The message lists each field and value, so correct or remove them rather than retrying. - `noSalesNavigator` – your account does not have Sales Navigator subscription. ## nv.openCompanyPage This action allows you to open a company page in Sales Navigator to retrieve its basic information and perform additional company-related actions if needed. :::surface node In the Node SDK this is `linkedapi.nvFetchCompany` – the call is below, under [Parameters](#parameters). ::: :::surface python In the Python SDK this is `linkedapi.nv_fetch_company` – the call is below, under [Parameters](#parameters). ::: :::surface cli In the CLI this is `linkedin navigator company fetch` – the command is below, under [Parameters](#parameters). ::: ## Constraints > ⏺️ **Root Start:** allowed, when `companyHashedUrl` parameter is provided. > ⬆️ **Parent Actions:** [st.openCompanyPage](/docs/action-st-open-company-page), [nv.doForCompanies](/docs/action-nv-do-for-companies). > ⬇️ **Child Actions:** [nv.saveAccount](/docs/action-nv-save-account), [nv.unsaveAccount](/docs/action-nv-unsave-account), [nv.removeAccountFromList](/docs/action-nv-remove-account-from-list), [nv.retrieveCompanyEmployees](/docs/action-nv-retrieve-company-employees), [nv.retrieveCompanyDMs](/docs/action-nv-retrieve-company-dms), [st.openCompanyPage](/docs/action-st-open-company-page). ## Parameters ```json tab=HTTP { "actionType": "nv.openCompanyPage", "label": "company1", "companyHashedUrl": "https://www.linkedin.com/company/12345678", "basicInfo": true, "then": { ... } } ``` ```typescript tab=Node const workflow = await linkedapi.nvFetchCompany.execute({ companyHashedUrl: "https://www.linkedin.com/company/12345678" }); const { data, errors } = await linkedapi.nvFetchCompany.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import NvFetchCompanyParams workflow = linkedapi.nv_fetch_company.execute( NvFetchCompanyParams( company_hashed_url="https://www.linkedin.com/company/12345678", ) ) result = linkedapi.nv_fetch_company.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin navigator company fetch https://www.linkedin.com/company/12345678 ``` In AI assistants, the MCP server runs this action as the `nv_fetch_company` tool. :::surface node,python In the SDK this is the `nvFetchCompany` method. It always returns basic information: `basicInfo`, like `label` and `then`, exists only in workflow JSON. It takes the other parameters below and returns the result below in `data`. Each `retrieve…` flag of `nvFetchCompany` adds one child action, and its data comes back under its own property of `data`: | Flag | Child action | Configuration | Property of `data` | | --- | --- | --- | --- | | `retrieveEmployees` | [`nv.retrieveCompanyEmployees`](/docs/action-nv-retrieve-company-employees) | `employeesRetrievalConfig`: `limit`, `filter` | `employees` | | `retrieveDMs` | [`nv.retrieveCompanyDMs`](/docs/action-nv-retrieve-company-dms) | `dmsRetrievalConfig`: `limit` | `dms` | A configuration object takes effect only with its flag set to `true`, and takes the parameters of its child action – their defaults, limits and the employee `filter` fields are on the child's page. For example, up to 100 employees: ::: :::surface node ```typescript const workflow = await linkedapi.nvFetchCompany.execute({ companyHashedUrl: "https://www.linkedin.com/company/12345678", retrieveEmployees: true, employeesRetrievalConfig: { limit: 100 } }); ``` ::: :::surface python ```python from linkedapi import NvFetchCompanyParams workflow = linkedapi.nv_fetch_company.execute( NvFetchCompanyParams( company_hashed_url="https://www.linkedin.com/company/12345678", retrieve_employees=True, employees_retrieval_config={"limit": 100}, ) ) ``` ::: :::surface node,python When a child action fails, its error comes back in `errors` and the rest of `data` is still returned. ::: :::surface cli In the CLI this is `linkedin navigator company fetch`: ```bash linkedin navigator company fetch [flags] ``` | Flag | Type | Description | | --- | --- | --- | | `--employees` | boolean | Include employee data | | `--dms` | boolean | Include decision makers | | `--employees-limit` | integer | Max employees to retrieve | | `--employees-first-name` | string | Filter employees by first name | | `--employees-last-name` | string | Filter employees by last name | | `--employees-positions` | string | Filter employees by positions, comma-separated | | `--employees-locations` | string | Filter employees by locations, comma-separated | | `--employees-industries` | string | Filter employees by industries, comma-separated | | `--employees-schools` | string | Filter employees by schools, comma-separated | | `--employees-years-of-experience` | string | Filter employees by experience ranges, comma-separated | | `--employees-connection-degrees` | string | Filter employees by connection degrees (`1st`, `2nd`, `3rd+`, `groupMembers`), comma-separated | | `--dms-limit` | integer | Max decision makers to retrieve | ::: - `label` (optional) – custom label for tracking this action in workflow completion. - `companyHashedUrl` (required for root start, forbidden for parent start) – LinkedIn URL of the company: a [hashed](/faq/what-are-hashed-url-and-public-url) URL with the numeric company ID, a Sales Navigator company URL or a public company URL (see [Accepted URLs](#accepted-urls)). - `basicInfo` (optional, default: `false`) – when set to `true`, the action includes basic company information in the results. - `then` (optional) – object or array of child actions to be executed within this action. ### Accepted URLs `companyHashedUrl` takes any of these forms: - a [hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL with the numeric company ID (`linkedin.com/company/12345678`), such as `hashedUrl` from [`nv.searchCompanies`](/docs/action-nv-search-companies) or [`nv.retrieveListAccounts`](/docs/action-nv-retrieve-list-accounts); - a Sales Navigator company URL (`linkedin.com/sales/company/…`), such as an alert's `subject.url` from [`nv.retrieveAlerts`](/docs/action-nv-retrieve-alerts); - a public company URL (`linkedin.com/company/`). It costs one extra standard page load: Linked API opens the company's LinkedIn page first and goes to its Sales Navigator page from there. Child actions act on the page this action opened and do not open a public URL again. A public URL that leads to no LinkedIn company page returns `companyNotFound`. The same forms are accepted by [`nv.saveAccount`](/docs/action-nv-save-account), [`nv.unsaveAccount`](/docs/action-nv-unsave-account) and [`nv.removeAccountFromList`](/docs/action-nv-remove-account-from-list) when they run as root actions. ## Result options 1. **Successful page opening with `basicInfo` set to `true`:** ```json { "actionType": "nv.openCompanyPage", "label": "company1", "success": true, "data": { "name": "TechCorp", "urn": "urn:li:organization:12345678", "publicUrl": "https://www.linkedin.com/company/company1", "description": "TechCorp is a leading provider of innovative technology solutions for businesses worldwide.", "location": "Cupertino, California", "headquarters": "US", "industry": "IT Services and IT Consulting", "website": "https://techcorp.com", "employeesCount": 500, "yearFounded": 2019, "logoUrl": "https://media.licdn.com/dms/image/v2/C4D0BAQE/company-logo_200_200/0/1700000000000", "then": { ... } } } ``` - `label` – included only if specified in the action parameters. - `data` – basic information about the company and results of child actions execution. - `name` – name of the company. - `urn` – [URN](/docs/data-conventions#linkedin-urns) of the company, or `null` if LinkedIn does not expose it. - `publicUrl` – [public](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the company. - `description` – description of the company. - `location` – free-form string representing the company headquarters location. - `headquarters` – two-character country code (e.g., "US", "UK") representing headquarters location. - `industry` – enum representing the company industry. Takes specific values available in the LinkedIn interface. - `logoUrl` – URL of the company's logo, or `null` if the company has no logo. 2. **Successful page opening with `basicInfo` set to `false`:** ```json { "actionType": "nv.openCompanyPage", "label": "company1", "success": true, "data": { "then": { ... } } } ``` - `label` – included only if specified in the action parameters. - `data.then` – results of child actions execution. 3. **Failed page opening:** ```json { "actionType": "nv.openCompanyPage", "label": "company1", "success": false, "error": { "type": "companyNotFound", "message": "The provided URL is not an existing LinkedIn company." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `noSalesNavigator` – your account does not have Sales Navigator subscription. - `companyNotFound` – provided URL is not an existing LinkedIn company, including a public company URL that leads to no LinkedIn company page. ## nv.saveAccount Save a company as an account in Sales Navigator and, optionally, add it to one of your account lists. Sales Navigator raises account alerts for the accounts you save. To read only alerts about subjects you saved, set `filter.excludeSuggested` to `true` in [`nv.retrieveAlerts`](/docs/action-nv-retrieve-alerts). An alert's `subject.url` can be passed straight to this action. An active Sales Navigator subscription is required. To find a list's ID, call [`nv.retrieveLists`](/docs/action-nv-retrieve-lists) with `type` set to `account`. To create a new account list, call [`nv.createList`](/docs/action-nv-create-list) and use the `id` it returns. :::surface node,python In the SDK this is the `nvSaveAccount` method. It takes the parameters below except `label`, which exists only in workflow JSON. It returns no `data`: a failed action comes back in `errors`, with one of the error types below. ::: :::surface cli The command is `linkedin navigator company save`. Its argument and flag are listed below. ::: ## Constraints > ⏺️ **Root Start:** allowed, when `companyHashedUrl` parameter is provided. > ⬆️ **Parent Actions:** [nv.openCompanyPage](/docs/action-nv-open-company-page), [nv.doForCompanies](/docs/action-nv-do-for-companies) under [nv.searchCompanies](/docs/action-nv-search-companies). > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "nv.saveAccount", "label": "saveAccount1", "companyHashedUrl": "https://www.linkedin.com/company/12345678", "listId": "7420000000000000003" } ``` ```typescript tab=Node const workflow = await linkedapi.nvSaveAccount.execute({ companyHashedUrl: "https://www.linkedin.com/company/12345678", listId: "7420000000000000003" }); const { errors } = await linkedapi.nvSaveAccount.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import NvSaveAccountParams workflow = linkedapi.nv_save_account.execute( NvSaveAccountParams( company_hashed_url="https://www.linkedin.com/company/12345678", list_id="7420000000000000003", ) ) result = linkedapi.nv_save_account.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin navigator company save https://www.linkedin.com/company/12345678 \ --list-id 7420000000000000003 \ --json ``` In AI assistants, the MCP tool is `nv_save_account`. The n8n action is **Save account in Sales Navigator**; the Make module is **Save Account in Sales Navigator**. | Parameter | Description | | --- | --- | | `label` | Optional label included in workflow completion. | | `companyHashedUrl` | Required for root start, forbidden for parent start. LinkedIn URL of the company, in any form [`nv.openCompanyPage`](/docs/action-nv-open-company-page#accepted-urls) accepts: a [hashed](/faq/what-are-hashed-url-and-public-url) URL with the numeric company ID, an alert's `subject.url` (`/sales/company/…`), or a public company URL (`linkedin.com/company/`), which costs one extra page load. Under a parent action, the company comes from the parent. | | `listId` | Optional. ID of one of your custom account lists or of "My Current Accounts", as returned in `id` by [`nv.retrieveLists`](/docs/action-nv-retrieve-lists) or [`nv.createList`](/docs/action-nv-create-list). Pass it as a string. Omit it to save the account without changing any list. **More than 10 account lists, for now:** Sales Navigator's save menu shows lists ten at a time. If you have more than 10 account lists and the requested list is not among those the menu shows, the call fails with `unexpectedError`. The account may already be saved by then, but is not added to that list. This is a current limitation. | :::surface cli | Arg | Required | Description | | --- | --- | --- | | `url` | yes | LinkedIn URL of the company: hashed, an alert's `subject.url`, or public | | Flag | Description | | --- | --- | | `--list-id` | ID of one of your custom account lists or of "My Current Accounts". Omit to save without changing any list. | ::: ## Saving behaviour - **Saved, and in the list you name.** The action makes sure the company is a saved account. With `listId`, it also makes sure the account is in that one list and leaves the account's other lists as they are. Without `listId`, no list changes. - **Safe to repeat.** Saving an account that is already saved, or already in the requested list, succeeds without changing anything. - **Which lists you can save to.** `listId` must be one of your custom account lists or "My Current Accounts". [`nv.retrieveLists`](/docs/action-nv-retrieve-lists) can also return other system lists, but Sales Navigator does not offer them as save targets. Any other ID returns `listNotFound`, and nothing is written. The same applies when another of your account lists has exactly the same name: the save menu shows lists by name only, so rename one of them first. [`nv.createList`](/docs/action-nv-create-list) never creates an account list with a name you already use. - **Changes can take up to a few minutes to appear.** Sales Navigator can take up to a few minutes to reflect a change. A call that conflicts with a change you just made through Linked API, such as unsaving an account you have just saved, may fail with `unexpectedError`; retry it a little later. - **English interface only, for now.** This is a current limitation: saving and unsaving work only with an English Sales Navigator interface. On a German, Spanish, French or Portuguese interface, the call fails with `interfaceLanguageNotSupported`. To take the account out of one list and keep it saved, use [`nv.removeAccountFromList`](/docs/action-nv-remove-account-from-list); to unsave it, use [`nv.unsaveAccount`](/docs/action-nv-unsave-account). ## Saving from search results Under [`nv.searchCompanies`](/docs/action-nv-search-companies) → [`nv.doForCompanies`](/docs/action-nv-do-for-companies), the action saves each company straight from its search result, without opening its page. Saving 20 search results costs the search result pages instead of 20 extra company page loads, so your LinkedIn account does far less browsing for the same result. How many companies are saved is set by the parent action's `limit`. Under [`nv.openCompanyPage`](/docs/action-nv-open-company-page), the action saves the company whose page is already open, so you can read its details and save it in one workflow. [`nv.unsaveAccount`](/docs/action-nv-unsave-account) is not available under `nv.doForCompanies`. **Workflow:** ```json tab=HTTP { "actionType": "nv.searchCompanies", "term": "fintech", "limit": 2, "filter": { "locations": ["Germany"] }, "then": { "actionType": "nv.doForCompanies", "then": { "actionType": "nv.saveAccount", "listId": "7420000000000000003" } } } ``` ```typescript tab=Node const workflow = await linkedapi.customWorkflow.execute({ actionType: "nv.searchCompanies", term: "fintech", limit: 2, filter: { locations: ["Germany"] }, then: { actionType: "nv.doForCompanies", then: { actionType: "nv.saveAccount", listId: "7420000000000000003" } } }); const { data, errors } = await linkedapi.customWorkflow.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.custom_workflow.execute( { "actionType": "nv.searchCompanies", "term": "fintech", "limit": 2, "filter": { "locations": ["Germany"], }, "then": { "actionType": "nv.doForCompanies", "then": { "actionType": "nv.saveAccount", "listId": "7420000000000000003", }, }, } ) result = linkedapi.custom_workflow.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin workflow run <<'EOF' { "actionType": "nv.searchCompanies", "term": "fintech", "limit": 2, "filter": { "locations": ["Germany"] }, "then": { "actionType": "nv.doForCompanies", "then": { "actionType": "nv.saveAccount", "listId": "7420000000000000003" } } } EOF ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns this whole completion in `data`: ::: :::surface cli **Completion** – `linkedin workflow run` prints this whole completion as `data`: ::: ```json { "actionType": "nv.searchCompanies", "success": true, "data": [ { "name": "Example Pay", "urn": "urn:li:organization:12345678", "hashedUrl": "https://www.linkedin.com/company/12345678", "industry": "Financial Services", "employeesCount": 250, "logoUrl": null, "then": [ { "actionType": "nv.saveAccount", "success": true } ] }, { "name": "Ledger Labs", "urn": "urn:li:organization:87654321", "hashedUrl": "https://www.linkedin.com/company/87654321", "industry": "Software Development", "employeesCount": 80, "logoUrl": null, "then": [ { "actionType": "nv.saveAccount", "success": true } ] } ] } ``` ## Result options ```json { "actionType": "nv.saveAccount", "label": "saveAccount1", "success": true } ``` A successful save has no `data`. `label` is included only if specified in the action parameters. ## Error result An unsuccessful action returns `success: false` with an `error` object: ```json { "actionType": "nv.saveAccount", "label": "saveAccount1", "success": false, "error": { "type": "listNotFound", "message": "The list is not available for this subject in Sales Navigator." } } ``` Possible `error.type` values: - `noSalesNavigator` — the account does not have an active Sales Navigator subscription. - `companyNotFound` — the provided URL is not an existing LinkedIn company. This includes a public company URL that leads to no LinkedIn company page. - `listNotFound` — `listId` is not one of your custom account lists or "My Current Accounts". This is checked before anything is written. Rarely, a valid list is missing from the account's save menu; the account may then already be saved when this error is returned. - `interfaceLanguageNotSupported` — the account's Sales Navigator interface is German, Spanish, French or Portuguese rather than English. Nothing is changed; this is a current limitation (see above). - `unexpectedError` — the save could not be completed. This includes a call that conflicts with a change you just made through Linked API: Sales Navigator can take up to a few minutes to reflect a change, so retry it a little later. It also includes a `listId` that the save menu did not show when you have more than 10 account lists (see [`listId`](#parameters)). ## nv.unsaveAccount Unsave an account in Sales Navigator. Only the account is unsaved: leads you saved from that company stay saved. This matches Sales Navigator's "Unsave account only" choice; Linked API never uses the option that also unsaves the account's leads. An alert's `subject.url` from [`nv.retrieveAlerts`](/docs/action-nv-retrieve-alerts) can be passed straight to this action. An active Sales Navigator subscription is required. :::surface node,python In the SDK this is the `nvUnsaveAccount` method. It takes the parameters below except `label`, which exists only in workflow JSON. It returns no `data`: a failed action comes back in `errors`, with one of the error types below. ::: :::surface cli The command is `linkedin navigator company unsave`. Its argument is listed below. ::: ## Constraints > ⏺️ **Root Start:** allowed, when `companyHashedUrl` parameter is provided. > ⬆️ **Parent Actions:** [nv.openCompanyPage](/docs/action-nv-open-company-page). > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "nv.unsaveAccount", "label": "unsaveAccount1", "companyHashedUrl": "https://www.linkedin.com/company/12345678" } ``` ```typescript tab=Node const workflow = await linkedapi.nvUnsaveAccount.execute({ companyHashedUrl: "https://www.linkedin.com/company/12345678" }); const { errors } = await linkedapi.nvUnsaveAccount.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import NvUnsaveAccountParams workflow = linkedapi.nv_unsave_account.execute( NvUnsaveAccountParams( company_hashed_url="https://www.linkedin.com/company/12345678", ) ) result = linkedapi.nv_unsave_account.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin navigator company unsave https://www.linkedin.com/company/12345678 --json ``` In AI assistants, the MCP tool is `nv_unsave_account`. The n8n action is **Unsave account in Sales Navigator**; the Make module is **Unsave Account in Sales Navigator**. | Parameter | Description | | --- | --- | | `label` | Optional label included in workflow completion. | | `companyHashedUrl` | Required for root start, forbidden for parent start. LinkedIn URL of the company, in any form [`nv.openCompanyPage`](/docs/action-nv-open-company-page#accepted-urls) accepts: a [hashed](/faq/what-are-hashed-url-and-public-url) URL with the numeric company ID, an alert's `subject.url` (`/sales/company/…`), or a public company URL (`linkedin.com/company/`), which costs one extra page load. Under [`nv.openCompanyPage`](/docs/action-nv-open-company-page), the company whose page is open is unsaved. | :::surface cli | Arg | Required | Description | | --- | --- | --- | | `url` | yes | LinkedIn URL of the company: hashed, an alert's `subject.url`, or public | ::: ## Unsaving behaviour - **The account only.** The account is no longer saved; leads you saved from that company stay saved. To unsave them as well, call [`nv.unsaveLead`](/docs/action-nv-unsave-lead) for each lead. - **Safe to repeat.** Unsaving a company that is not a saved account succeeds without changing anything. - **Not available on search results.** This action cannot run under [`nv.doForCompanies`](/docs/action-nv-do-for-companies). Use it as a root action or under [`nv.openCompanyPage`](/docs/action-nv-open-company-page). - **Changes can take up to a few minutes to appear.** Sales Navigator can take up to a few minutes to reflect a change. A call that conflicts with a change you just made through Linked API, such as unsaving an account you have just saved, may fail with `unexpectedError`; retry it a little later. - **English interface only, for now.** This is a current limitation: saving and unsaving work only with an English Sales Navigator interface. On a German, Spanish, French or Portuguese interface, the call fails with `interfaceLanguageNotSupported`. To save the account again, use [`nv.saveAccount`](/docs/action-nv-save-account). To take the account out of one list and keep it saved, use [`nv.removeAccountFromList`](/docs/action-nv-remove-account-from-list). To delete a whole account list and keep its accounts saved, use [`nv.deleteList`](/docs/action-nv-delete-list). ## Result options ```json { "actionType": "nv.unsaveAccount", "label": "unsaveAccount1", "success": true } ``` A successful unsave has no `data`. `label` is included only if specified in the action parameters. ## Error result An unsuccessful action returns `success: false` with an `error` object: ```json { "actionType": "nv.unsaveAccount", "label": "unsaveAccount1", "success": false, "error": { "type": "companyNotFound", "message": "Provided URL is not an existing LinkedIn company." } } ``` Possible `error.type` values: - `noSalesNavigator` — the account does not have an active Sales Navigator subscription. - `companyNotFound` — the provided URL is not an existing LinkedIn company. This includes a public company URL that leads to no LinkedIn company page. - `interfaceLanguageNotSupported` — the account's Sales Navigator interface is German, Spanish, French or Portuguese rather than English. Nothing is changed; this is a current limitation (see above). - `unexpectedError` — the unsave could not be completed. This includes a call that conflicts with a change you just made through Linked API: Sales Navigator can take up to a few minutes to reflect a change, so retry it a little later. ## nv.removeAccountFromList Remove an account from one of your account lists in Sales Navigator. Only that list changes: the company stays a saved account and stays in any other lists it is in. An alert's `subject.url` from [`nv.retrieveAlerts`](/docs/action-nv-retrieve-alerts), or an account's `hashedUrl` from [`nv.retrieveListAccounts`](/docs/action-nv-retrieve-list-accounts), can be passed straight to this action. An active Sales Navigator subscription is required. To find a list's ID, call [`nv.retrieveLists`](/docs/action-nv-retrieve-lists) with `type` set to `account`. To unsave the account instead, use [`nv.unsaveAccount`](/docs/action-nv-unsave-account). :::surface node,python In the SDK this is the `nvRemoveAccountFromList` method. It takes the parameters below except `label`, which exists only in workflow JSON. It returns no `data`: a failed action comes back in `errors`, with one of the error types below. ::: :::surface cli The command is `linkedin navigator company remove-from-list`. Its argument and flag are listed below. ::: ## Constraints > ⏺️ **Root Start:** allowed, when `companyHashedUrl` parameter is provided. > ⬆️ **Parent Actions:** [nv.openCompanyPage](/docs/action-nv-open-company-page). > ⬇️ **Child Actions:** N/A. ## Parameters ```json tab=HTTP { "actionType": "nv.removeAccountFromList", "label": "removeAccount1", "companyHashedUrl": "https://www.linkedin.com/company/12345678", "listId": "7420000000000000003" } ``` ```typescript tab=Node const workflow = await linkedapi.nvRemoveAccountFromList.execute({ companyHashedUrl: "https://www.linkedin.com/company/12345678", listId: "7420000000000000003" }); const { errors } = await linkedapi.nvRemoveAccountFromList.result(workflow.workflowId); ``` ```python tab=Python from linkedapi import NvRemoveAccountFromListParams workflow = linkedapi.nv_remove_account_from_list.execute( NvRemoveAccountFromListParams( company_hashed_url="https://www.linkedin.com/company/12345678", list_id="7420000000000000003", ) ) result = linkedapi.nv_remove_account_from_list.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin navigator company remove-from-list https://www.linkedin.com/company/12345678 \ --list-id 7420000000000000003 \ --json ``` In AI assistants, the MCP tool is `nv_remove_account_from_list`. The n8n action is **Remove account from list in Sales Navigator**; the Make module is **Remove Account from List in Sales Navigator**. | Parameter | Description | | --- | --- | | `label` | Optional label included in workflow completion. | | `companyHashedUrl` | Required for root start, forbidden for parent start. LinkedIn URL of the company, in any form [`nv.openCompanyPage`](/docs/action-nv-open-company-page#accepted-urls) accepts: a hashed URL with the numeric company ID, an alert's `subject.url` (`/sales/company/…`), or a public company URL (`linkedin.com/company/`), which costs one extra page load. Under [`nv.openCompanyPage`](/docs/action-nv-open-company-page), the company whose page is open is removed from the list. | | `listId` | Required. ID of one of your custom account lists or of "My Current Accounts", as returned in `id` by [`nv.retrieveLists`](/docs/action-nv-retrieve-lists) or [`nv.createList`](/docs/action-nv-create-list). Pass it as a string. | :::surface cli | Arg | Required | Description | | --- | --- | --- | | `url` | yes | LinkedIn URL of the company, including an alert's `subject.url` | | Flag | Description | | --- | --- | | `--list-id` | Required. ID of one of your custom account lists or of "My Current Accounts". | ::: ## Removing behaviour - **Only this list.** The account leaves the list with this `listId`, and nothing else changes: it stays a saved account and stays in its other lists. An account removed from its last list stays saved too. - **Safe to repeat.** Removing a company that is not in that list, or that is not a saved account at all, succeeds without changing anything. - **Which lists you can remove from.** `listId` must be one of your custom account lists or "My Current Accounts": the same lists [`nv.saveAccount`](/docs/action-nv-save-account) can save into. An ID that is not one of your account lists, including a lead list's ID and a list someone else shared with you, returns `listNotFound`, and nothing is written. - **Lists that share a name.** Sales Navigator can show an account's lists by name only. If another of your account lists has exactly the same name, the call can fail with `listNotFound` without changing anything; rename one of them first with [`nv.renameList`](/docs/action-nv-rename-list). - **On an open page or in search results.** Under [`nv.openCompanyPage`](/docs/action-nv-open-company-page), the action uses the page that is already open and does not open the company's page again. It cannot run directly under [`nv.doForCompanies`](/docs/action-nv-do-for-companies); put it under `nv.openCompanyPage` there instead. - **Changes can take time to appear.** Right after a removal, [`nv.retrieveListAccounts`](/docs/action-nv-retrieve-list-accounts) can still show the account in the list for tens of seconds. A call that conflicts with a change you just made through Linked API, such as removing an account from a list you have just removed it from, may fail with `unexpectedError`; retry it a little later. - **English interface only, for now.** This is a current limitation: removing an account from a list works only with an English Sales Navigator interface. On a German, Spanish, French or Portuguese interface, the call fails with `interfaceLanguageNotSupported`. To add the account to the list again, use [`nv.saveAccount`](/docs/action-nv-save-account) with the same `listId`. ## Result options ```json { "actionType": "nv.removeAccountFromList", "label": "removeAccount1", "success": true } ``` A successful removal has no `data`. `label` is included only if specified in the action parameters. ## Error result An unsuccessful action returns `success: false` with an `error` object: ```json { "actionType": "nv.removeAccountFromList", "label": "removeAccount1", "success": false, "error": { "type": "listNotFound", "message": "The list is not available for this subject in Sales Navigator." } } ``` Possible `error.type` values: - `noSalesNavigator` — the account does not have an active Sales Navigator subscription. - `companyNotFound` — the provided URL is not an existing LinkedIn company. This includes a public company URL that leads to no LinkedIn page. - `listNotFound` — `listId` is not one of your account lists, or the account's lists could not be told apart by name (see above). Nothing is written. - `interfaceLanguageNotSupported` — the account's Sales Navigator interface is German, Spanish, French or Portuguese rather than English. Nothing is changed; this is a current limitation (see above). - `unexpectedError` — the removal could not be completed. This includes a call that conflicts with a change you just made through Linked API: Sales Navigator can take a while to reflect a change, so retry it a little later. ## nv.retrieveCompanyEmployees This action allows you to retrieve company employees from Sales Navigator and perform additional person-related actions if needed. :::surface node,python In the SDK this action runs inside `nvFetchCompany` with `retrieveEmployees` enabled; its result comes back in `data.employees`, and its errors in `errors`. ::: :::surface cli In the CLI this action runs inside `linkedin navigator company fetch` with `--employees`; that command's other options are on [`nv.openCompanyPage`](/docs/action-nv-open-company-page). ::: ## Constraints > ⏺️ **Root Start:** not allowed. > ⬆️ **Parent Actions:** [nv.openCompanyPage](/docs/action-nv-open-company-page). > ⬇️ **Child Actions:** [nv.doForPeople](/docs/action-nv-do-for-people). ## Parameters ```json tab=HTTP { "actionType": "nv.retrieveCompanyEmployees", "label": "company1Employees", "limit": 300, "filter": { "firstName": "John", "lastName": "Doe", "positions": ["Manager", "Executive"], "locations": ["New York", "San Francisco", "London"], "industries": ["Software Development", "Professional Services"], "schools": ["Harvard University", "MIT"], "yearsOfExperiences": ["threeToFive", "sixToTen"], "connectionDegrees": ["2nd", "groupMembers"] }, "then": { ... } } ``` ```typescript tab=Node const workflow = await linkedapi.nvFetchCompany.execute({ companyHashedUrl: "https://www.linkedin.com/company/12345678", retrieveEmployees: true, }); const { data, errors } = await linkedapi.nvFetchCompany.result(workflow.workflowId); console.log(data?.employees); console.log(errors); ``` ```python tab=Python from linkedapi import NvFetchCompanyParams workflow = linkedapi.nv_fetch_company.execute( NvFetchCompanyParams( company_hashed_url="https://www.linkedin.com/company/12345678", retrieve_employees=True, ) ) result = linkedapi.nv_fetch_company.result(workflow.workflow_id) if result.data: print(result.data.employees) print(result.errors) ``` ```bash tab=CLI linkedin navigator company fetch https://www.linkedin.com/company/12345678 --employees --json ``` - `label` (optional) – custom label for tracking this action in workflow completion. - `limit` – (optional) maximum number of employees to retrieve. Defaults to **25**, with a maximum value of **2500**. - `filter` (optional) – object that specifies filtering criteria for employees. When multiple filter fields are specified, they are combined using `AND` logic. - `firstName` (optional) – first name of employee. - `lastName` (optional) – last name of employee. - `positions` (optional) – array of job position names. Matches if employee's current position is any of the listed options. - `locations` (optional) – array of free-form strings representing locations. Matches if employee is located in any of the listed locations. - `industries` (optional) – array of enums representing industries. Matches if employee works in any of the listed industries. Takes specific values available in the LinkedIn interface. - `schools` (optional) – array of institution names. Matches if employee currently attends or previously attended any of the listed institutions. - `yearsOfExperiences` (optional) – array of enums representing professional experience. Matches if employee’s experience falls within any of the listed ranges. Options: - `lessThanOne` – less than 1 year. - `oneToTwo` – 1 to 2 years. - `threeToFive` – 3 to 5 years. - `sixToTen` – 6 to 10 years. - `moreThanTen` – more than 10 years. - `connectionDegrees` (optional) – array of enums representing your connection degree to the employee. Matches if the employee is at any of the listed degrees. Options: - `1st` – your 1st-degree connections. - `2nd` – your 2nd-degree connections. - `3rd+` – 3rd-degree connections and beyond. - `groupMembers` – members of LinkedIn groups you belong to. - `then` (optional) – object or array of child actions to be executed within this action. ## Result options 1. **Successful retrieval:** ```json { "actionType": "nv.retrieveCompanyEmployees", "label": "company1Employees", "success": true, "data": [ { "name": "John Doe", "urn": "urn:li:member:123456789", "hashedUrl": "https://www.linkedin.com/in/SInQBmjJ015eLr8OeJoj0mrkxx7Jiuy0", "position": "Manager", "location": "New York, USA", "avatarUrl": "https://media.licdn.com/dms/image/v2/D5603AQE/profile-displayphoto-shrink_100_100/0/1700000000000", "viewerState": { "connectionDegree": "2nd" }, "then": { ... } }, { "name": "Jane Smith", "urn": null, "hashedUrl": "https://www.linkedin.com/in/ACoAA2DdsSV83B48UDvgO5jPoу3Gho0o", "position": "Software Engineer", "location": "San Francisco, USA", "avatarUrl": null, "viewerState": { "connectionDegree": "3rd+" }, "then": { ... } } ] } ``` - `label` – included only if specified in the action parameters. - `data` – array of company employees with results of child actions execution. - `name` – full name of the employee. - `urn` – [URN](/docs/data-conventions#linkedin-urns) of the employee, or `null` if LinkedIn does not expose it. - `hashedUrl` – [hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the employee. - `position` – job position of the employee. - `location` – free-form string indicating the employee's location. - `avatarUrl` – URL of the employee's profile photo, or `null` if the employee has no photo. - `viewerState` – how your account relates to the employee, see [viewer state](/docs/data-conventions#viewer-state). - `connectionDegree` – `1st`, `2nd`, or `3rd+`, as LinkedIn shows it next to the name, or `null` if LinkedIn does not show it. - `then` – results of child actions execution. 2. **Failed retrieval:** ```json { "actionType": "nv.retrieveCompanyEmployees", "label": "company1Employees", "success": false, "error": { "type": "retrievingNotAllowed", "message": "LinkedIn has blocked performing the retrieval." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `filterNotApplied` – Sales Navigator offered no matching option for one or more filter values. The message lists each field and value, so correct or remove them rather than retrying. - `retrievingNotAllowed` – LinkedIn has blocked performing the retrieval due to exceeding limits or other restrictions. ## nv.retrieveCompanyDMs This action allows you to retrieve company decision makers from Sales Navigator and perform additional person-related actions if needed. :::surface node,python In the SDK this action runs inside `nvFetchCompany` with `retrieveDMs` enabled; its result comes back in `data.dms`, and its errors in `errors`. ::: :::surface cli In the CLI this action runs inside `linkedin navigator company fetch` with `--dms`; that command's other options are on [`nv.openCompanyPage`](/docs/action-nv-open-company-page). ::: > Decision makers are ranked by seniority, starting with the highest-level positions. For example, founders and C-level executives are returned first, followed by VPs, directors, and so on. ## Constraints > ⏺️ **Root Start:** not allowed. > ⬆️ **Parent Actions:** [nv.openCompanyPage](/docs/action-nv-open-company-page). > ⬇️ **Child Actions:** [nv.doForPeople](/docs/action-nv-do-for-people). ## Parameters ```json tab=HTTP { "actionType": "nv.retrieveCompanyDMs", "label": "company1DMs", "limit": 3, "then": { ... } } ``` ```typescript tab=Node const workflow = await linkedapi.nvFetchCompany.execute({ companyHashedUrl: "https://www.linkedin.com/company/12345678", retrieveDMs: true, }); const { data, errors } = await linkedapi.nvFetchCompany.result(workflow.workflowId); console.log(data?.dms); console.log(errors); ``` ```python tab=Python from linkedapi import NvFetchCompanyParams workflow = linkedapi.nv_fetch_company.execute( NvFetchCompanyParams( company_hashed_url="https://www.linkedin.com/company/12345678", retrieve_dms=True, ) ) result = linkedapi.nv_fetch_company.result(workflow.workflow_id) if result.data: print(result.data.dms) print(result.errors) ``` ```bash tab=CLI linkedin navigator company fetch https://www.linkedin.com/company/12345678 --dms --json ``` - `label` (optional) – custom label for tracking this action in workflow completion. - `limit` (optional) – maximum number of decision makers to retrieve. Defaults to **20**, with a maximum value of **20**. If a company has fewer decision makers than specified, only the available ones will be returned. - `then` (optional) – object or array of child actions to be executed within this action. ## Result options 1. **Successful retrieval:** ```json { "actionType": "nv.retrieveCompanyDMs", "label": "company1DMs", "success": true, "data": [ { "name": "John Doe", "urn": "urn:li:member:123456789", "hashedUrl": "https://www.linkedin.com/in/SInQBmjJ015eLr8OeJoj0mrkxx7Jiuy0", "position": "Founder", "location": "New York, USA", "avatarUrl": "https://media.licdn.com/dms/image/v2/D5603AQE/profile-displayphoto-shrink_100_100/0/1700000000000", "countryCode": "US", "viewerState": { "connectionDegree": "2nd" }, "then": { ... } }, { "name": "Jane Smith", "urn": null, "hashedUrl": "https://www.linkedin.com/in/ACoAA2DdsSV83B48UDvgO5jPoу3Gho0o", "position": "CEO", "location": "San Francisco, USA", "avatarUrl": null, "countryCode": "US", "viewerState": { "connectionDegree": "3rd+" }, "then": { ... } } ] } ``` - `label` – included only if specified in the action parameters. - `data` – array of decision makers with results of child actions execution. - `name` – full name of the decision-maker. - `urn` – [URN](/docs/data-conventions#linkedin-urns) of the decision-maker, or `null` if LinkedIn does not expose it. - `hashedUrl` – [hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the decision-maker. - `position` – job position of the decision-maker. - `location` – free-form string indicating the decision-maker's location. - `avatarUrl` – URL of the decision-maker's profile photo, or `null` if the decision-maker has no photo. - `countryCode` – two-character code of the decision-maker's country. - `viewerState` – how your account relates to the decision-maker, see [viewer state](/docs/data-conventions#viewer-state). - `connectionDegree` – `1st`, `2nd`, or `3rd+`, as LinkedIn shows it next to the name, or `null` if LinkedIn does not show it. - `then` – results of child actions execution. 2. **Failed retrieval:** ```json { "actionType": "nv.retrieveCompanyDMs", "label": "company1DMs", "success": false, "error": { "type": "retrievingNotAllowed", "message": "LinkedIn has blocked performing the retrieval." } } ``` - `label` – included only if specified in the action parameters. - `error.type` – enum with the following possible values: - `retrievingNotAllowed` – LinkedIn has blocked performing the retrieval due to exceeding limits or other restrictions. ## nv.doForCompanies This action allows you to apply the actions specified in its `then` parameter to each company provided by the parent action in Sales Navigator. :::surface node,python This action cannot start a workflow, so the SDK has no method for it: put it under its parent action in the workflow you pass to [`customWorkflow`](/sdks/custom-workflow) – see [Building Workflows](/docs/building-workflows). ::: :::surface cli This action cannot start a workflow, so the CLI has no command for it: put it under its parent action in the workflow you pass to [`linkedin workflow run`](/cli/workflows) – see [Building Workflows](/docs/building-workflows). ::: > This action runs its child actions for every company the parent action returns, so the parent action's `limit` sets how many companies are processed. ## Constraints > ⏺️ **Root Start:** not allowed. > ⬆️ **Parent Actions:** [nv.searchCompanies](/docs/action-nv-search-companies). > ⬇️ **Child Actions:** [nv.saveAccount](/docs/action-nv-save-account) (under [nv.searchCompanies](/docs/action-nv-search-companies)), [nv.openCompanyPage](/docs/action-nv-open-company-page). Under [nv.searchCompanies](/docs/action-nv-search-companies), `nv.saveAccount` saves each company straight from its search result, without opening its page – see [Saving from search results](/docs/action-nv-save-account#saving-from-search-results). [nv.unsaveAccount](/docs/action-nv-unsave-account) is not available here. ## Parameters ```json tab=HTTP,CLI { "actionType": "nv.doForCompanies", "then": { ... } } ``` ```typescript tab=Node { actionType: "nv.doForCompanies", then: { ... } } ``` ```python tab=Python { "actionType": "nv.doForCompanies", "then": {...}, } ``` - `then` – object or array of child actions to apply to each company from the parent action. ## Result options This action doesn't produce its own distinct result. The effects are visible in the companies that were involved, as they will contain a `then` field with the results of the applied actions. See usage examples for more details. ## Usage examples 1. **Retrieving basic information about searched companies in Sales Navigator:** **Workflow:** ```json tab=HTTP { "actionType": "nv.searchCompanies", "term": "Tech Inc", "filter": { "sizes": ["51-200", "201-500"], "locations": ["San Francisco", "New York"], "industries": ["Software Development", "Robotics Engineering"], "annualRevenue": { "min": "0", "max": "2.5" } }, "then": { "actionType": "nv.doForCompanies", "then": { "actionType": "nv.openCompanyPage", "basicInfo": true } } } ``` ```typescript tab=Node const workflow = await linkedapi.customWorkflow.execute({ actionType: "nv.searchCompanies", term: "Tech Inc", filter: { sizes: ["51-200", "201-500"], locations: ["San Francisco", "New York"], industries: ["Software Development", "Robotics Engineering"], annualRevenue: { min: "0", max: "2.5" } }, then: { actionType: "nv.doForCompanies", then: { actionType: "nv.openCompanyPage", basicInfo: true } } }); const { data, errors } = await linkedapi.customWorkflow.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.custom_workflow.execute( { "actionType": "nv.searchCompanies", "term": "Tech Inc", "filter": { "sizes": ["51-200", "201-500"], "locations": ["San Francisco", "New York"], "industries": ["Software Development", "Robotics Engineering"], "annualRevenue": { "min": "0", "max": "2.5", }, }, "then": { "actionType": "nv.doForCompanies", "then": { "actionType": "nv.openCompanyPage", "basicInfo": True, }, }, } ) result = linkedapi.custom_workflow.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin workflow run <<'EOF' { "actionType": "nv.searchCompanies", "term": "Tech Inc", "filter": { "sizes": [ "51-200", "201-500" ], "locations": [ "San Francisco", "New York" ], "industries": [ "Software Development", "Robotics Engineering" ], "annualRevenue": { "min": "0", "max": "2.5" } }, "then": { "actionType": "nv.doForCompanies", "then": { "actionType": "nv.openCompanyPage", "basicInfo": true } } } EOF ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns this whole completion in `data`: ::: :::surface cli **Completion** – `linkedin workflow run` prints this whole completion as `data`: ::: ```json { "actionType": "nv.searchCompanies", "success": true, "data": [ { "name": "TechCorp", "hashedUrl": "https://www.linkedin.com/company/12345678", "industry": "IT Services and IT Consulting", "employeeCount": 500, "then": { "actionType": "nv.openCompanyPage", "success": true, "data": { "name": "TechCorp", "publicUrl": "https://www.linkedin.com/company/techcorp", "description": "TechCorp is a leading provider of innovative technology solutions for businesses worldwide.", "location": "Cupertino, California", "headquarters": "US", "industry": "IT Services and IT Consulting", "website": "https://techcorp.com", "employeeCount": 500, "yearFounded": 2019 } } }, { "name": "Techical Life", "hashedUrl": "https://www.linkedin.com/company/12345678", "industry": "Software Development", "employeeCount": 230, "then": { "actionType": "nv.openCompanyPage", "success": true, "data": { "name": "Techical Life", "publicUrl": "https://www.linkedin.com/company/techlife", "description": "TechLife is a worldwide leader in software development for sustainability.", "location": "Mountain View", "headquarters": "US", "industry": "Software Development", "website": "https://techlife.com", "employeeCount": 230, "yearFounded": 2016 } } } ] } ``` 2. **Retrieving decision makers of searched companies in Sales Navigator:** **Workflow:** ```json tab=HTTP { "actionType": "nv.searchCompanies", "term": "Tech Inc", "filter": { "sizes": ["51-200", "201-500"], "locations": ["San Francisco", "New York", "London"], "industries": ["Software Development", "Robotics Engineering"], "annualRevenue": { "min": "0", "max": "2.5" } }, "then": { "actionType": "nv.doForCompanies", "then": { "actionType": "nv.openCompanyPage", "then": { "actionType": "nv.retrieveCompanyDMs" } } } } ``` ```typescript tab=Node const workflow = await linkedapi.customWorkflow.execute({ actionType: "nv.searchCompanies", term: "Tech Inc", filter: { sizes: ["51-200", "201-500"], locations: ["San Francisco", "New York", "London"], industries: ["Software Development", "Robotics Engineering"], annualRevenue: { min: "0", max: "2.5" } }, then: { actionType: "nv.doForCompanies", then: { actionType: "nv.openCompanyPage", then: { actionType: "nv.retrieveCompanyDMs" } } } }); const { data, errors } = await linkedapi.customWorkflow.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.custom_workflow.execute( { "actionType": "nv.searchCompanies", "term": "Tech Inc", "filter": { "sizes": ["51-200", "201-500"], "locations": ["San Francisco", "New York", "London"], "industries": ["Software Development", "Robotics Engineering"], "annualRevenue": { "min": "0", "max": "2.5", }, }, "then": { "actionType": "nv.doForCompanies", "then": { "actionType": "nv.openCompanyPage", "then": { "actionType": "nv.retrieveCompanyDMs", }, }, }, } ) result = linkedapi.custom_workflow.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin workflow run <<'EOF' { "actionType": "nv.searchCompanies", "term": "Tech Inc", "filter": { "sizes": [ "51-200", "201-500" ], "locations": [ "San Francisco", "New York", "London" ], "industries": [ "Software Development", "Robotics Engineering" ], "annualRevenue": { "min": "0", "max": "2.5" } }, "then": { "actionType": "nv.doForCompanies", "then": { "actionType": "nv.openCompanyPage", "then": { "actionType": "nv.retrieveCompanyDMs" } } } } EOF ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns this whole completion in `data`: ::: :::surface cli **Completion** – `linkedin workflow run` prints this whole completion as `data`: ::: ```json { "actionType": "nv.searchCompanies", "success": true, "data": [ { "name": "TechCorp", "hashedUrl": "https://www.linkedin.com/company/12345678", "industry": "IT Services and IT Consulting", "employeeCount": 500, "then": { "actionType": "nv.openCompanyPage", "success": true, "data": { "then": { "actionType": "nv.retrieveCompanyDMs", "success": true, "data": [ { "name": "John Doe", "hashedUrl": "https://www.linkedin.com/in/SInQBmjJ015eLr8OeJoj0mrkxx7Jiuy0", "position": "Founder", "location": "New York, USA", "countryCode": "US" }, { "name": "Jane Smith", "hashedUrl": "https://www.linkedin.com/in/ACoAA2DdsSV83B48UDvgO5jPoу3Gho0o", "position": "CEO", "location": "San Francisco, USA", "countryCode": "US" } ] } } } }, { "name": "Techical Life", "hashedUrl": "https://www.linkedin.com/company/12345678", "industry": "Software Development", "employeeCount": 230, "then": { "actionType": "nv.openCompanyPage", "success": true, "data": { "then": { "actionType": "nv.retrieveCompanyDMs", "success": true, "data": [ { "name": "Row Pitterson", "hashedUrl": "https://www.linkedin.com/in/S0mrkxx7JiuyInQBmjJ015eLr8OeJoj0", "position": "Founder", "location": "London, UK", "countryCode": "UK" }, { "name": "Angela White", "hashedUrl": "https://www.linkedin.com/in/48UDvgO5jPoу3Gho0oACoAA2DdsSV83B", "position": "CEO", "location": "San Francisco, USA", "countryCode": "US" } ] } } } } ] } ``` ## nv.doForPeople This action allows you to apply the actions specified in its `then` parameter to each person provided by the parent action in Sales Navigator. :::surface node,python This action cannot start a workflow, so the SDK has no method for it: put it under its parent action in the workflow you pass to [`customWorkflow`](/sdks/custom-workflow) – see [Building Workflows](/docs/building-workflows). ::: :::surface cli This action cannot start a workflow, so the CLI has no command for it: put it under its parent action in the workflow you pass to [`linkedin workflow run`](/cli/workflows) – see [Building Workflows](/docs/building-workflows). ::: > This action runs its child actions for every person the parent action returns, so the parent action's `limit` sets how many people are processed. ## Constraints > ⏺️ **Root Start:** not allowed. > ⬆️ **Parent Actions:** [nv.searchPeople](/docs/action-nv-search-people), [nv.retrieveCompanyEmployees](/docs/action-nv-retrieve-company-employees), [nv.retrieveCompanyDMs](/docs/action-nv-retrieve-company-dms). > ⬇️ **Child Actions:** [nv.saveLead](/docs/action-nv-save-lead), [nv.openPersonPage](/docs/action-nv-open-person-page). Under [nv.searchPeople](/docs/action-nv-search-people), [nv.retrieveCompanyEmployees](/docs/action-nv-retrieve-company-employees) or [nv.retrieveCompanyDMs](/docs/action-nv-retrieve-company-dms), `nv.saveLead` saves each person straight from the parent's result list, without opening their page – see [Saving from search results](/docs/action-nv-save-lead#saving-from-search-results). [nv.unsaveLead](/docs/action-nv-unsave-lead) is not available here. ## Parameters ```json tab=HTTP,CLI { "actionType": "nv.doForPeople", "then": { ... } } ``` ```typescript tab=Node { actionType: "nv.doForPeople", then: { ... } } ``` ```python tab=Python { "actionType": "nv.doForPeople", "then": {...}, } ``` - `then` – object or array of child actions to apply to each person from the parent action. ## Result options This action doesn't produce its own distinct result. The effects are visible in the people that were involved, as they will contain a `then` field with the results of the applied actions. See usage examples for more details. ## Usage examples 1. **Retrieving basic information about the first 2 people from the Sales Navigator search results:** **Workflow:** ```json tab=HTTP { "actionType": "nv.searchPeople", "term": "John Doe", "limit": 2, "filter": { "position": "CEO", "locations": ["New York", "San Francisco", "London"] }, "then": { "actionType": "nv.doForPeople", "then": { "actionType": "nv.openPersonPage", "basicInfo": true } } } ``` ```typescript tab=Node const workflow = await linkedapi.customWorkflow.execute({ actionType: "nv.searchPeople", term: "John Doe", limit: 2, filter: { position: "CEO", locations: ["New York", "San Francisco", "London"] }, then: { actionType: "nv.doForPeople", then: { actionType: "nv.openPersonPage", basicInfo: true } } }); const { data, errors } = await linkedapi.customWorkflow.result(workflow.workflowId); ``` ```python tab=Python workflow = linkedapi.custom_workflow.execute( { "actionType": "nv.searchPeople", "term": "John Doe", "limit": 2, "filter": { "position": "CEO", "locations": ["New York", "San Francisco", "London"], }, "then": { "actionType": "nv.doForPeople", "then": { "actionType": "nv.openPersonPage", "basicInfo": True, }, }, } ) result = linkedapi.custom_workflow.result(workflow.workflow_id) ``` ```bash tab=CLI linkedin workflow run <<'EOF' { "actionType": "nv.searchPeople", "term": "John Doe", "limit": 2, "filter": { "position": "CEO", "locations": [ "New York", "San Francisco", "London" ] }, "then": { "actionType": "nv.doForPeople", "then": { "actionType": "nv.openPersonPage", "basicInfo": true } } } EOF ``` :::surface http **Completion:** ::: :::surface node,python **Completion** – `result()` returns this whole completion in `data`: ::: :::surface cli **Completion** – `linkedin workflow run` prints this whole completion as `data`: ::: ```json { "actionType": "nv.searchPeople", "success": true, "data": [ { "name": "John Doe", "hashedUrl": "https://www.linkedin.com/in/SInQBmjJ015eLr8", "position": "Founder & CEO", "location": "San Francisco, USA", "then": { "actionType": "nv.openPersonPage", "success": true, "data": { "name": "John Doe", "publicUrl": "https://www.linkedin.com/in/johndoe", "hashedUrl": "https://www.linkedin.com/in/SInQBmjJ015eLr8", "headline": "Software Engineer at TechCorp", "location": "San Francisco, USA", "countryCode": "US", "position": "Software Engineer", "companyName": "TechCorp", "companyHashedUrl": "https://www.linkedin.com/company/12345678" } } }, { "name": "John Doe", "hashedUrl": "https://www.linkedin.com/in/CoAA2DdsSV83B48", "position": "Product Manager", "location": "New York, USA", "then": { "actionType": "nv.openPersonPage", "success": true, "data": { "name": "John Doe", "publicUrl": "https://www.linkedin.com/in/johnyd", "hashedUrl": "https://www.linkedin.com/in/Hs763KsjdB153e", "headline": "Product Manager at TechCorp", "location": "New York, USA", "countryCode": "US", "position": "Product Manager", "companyName": "TechCorp", "companyHashedUrl": "https://www.linkedin.com/company/12345678" } } } ] } ``` ## Signals Overview > 🚧 **Coming soon.** Signals are not available yet. This page describes how they will work at launch – the `/signals` endpoints, `signal.*` events and the SDK, CLI and MCP signal commands do not work today. A workflow does something **now**: open a profile, search, send a message. A signal tells you **when something happens**: a person publishes a post, someone comments under your post, a new person views your profile, an invitation is accepted. You create a signal once. From then on, Linked API checks its target in the background, inside the account's working hours and within its limits, and records an event every time something new appears. You read the events by polling one endpoint or receive them as webhook events. No cron job on your side, and no re-reading the same profile every day to see whether anything changed. | You want to know when… | Signal type | |---|---| | someone accepts your invitation, sends you one, or becomes your connection | [`network`](/docs/signal-network) | | a person or a company publishes a new post | [`personPosts`, `companyPosts`](/docs/signal-posts) | | a new post matches a keyword | [`postSearch`](/docs/signal-keyword-posts) | | someone comments on or reacts to a post – yours or any other | [`postEngagement`](/docs/signal-post-engagement) | | someone views your profile | [`profileViewers`](/docs/signal-profile-viewers) | > 💡 New **messages** are not a signal type: they are covered by [inbox monitoring](/docs/monitoring-inbox), which also keeps the conversations themselves, so you can read a whole thread and not just learn that it changed. ## How a signal works 1. **You create it** with [`POST /signals`](/docs/managing-signals#creating-a-signal): a type and a target, such as a person's URL or a keyword. See [Managing signals](/docs/managing-signals). 2. **The first check is a silent baseline.** It records what is already there – existing posts, comments, connections, viewers – and emits nothing. Only what appears after it becomes an event. 3. **Linked API checks the target on a schedule** – see [How often a signal is checked](#how-often-a-signal-is-checked). A check compares what LinkedIn shows with what the signal has already seen. 4. **Every new item becomes an event.** Poll them with [`/signals/poll`](/docs/signal-events#polling) or receive them as [`signal.*` webhook events](/docs/signal-events#webhook-events). Events are kept for **90 days**. A check reads LinkedIn in the account's own cloud browser, at the same human pace as your workflows. A signal saves you the scheduling and the comparing: you get only what is new. ## How often a signal is checked | Type | Checked | |---|---| | `network` | every hour | | `profileViewers` | every 3 hours | | `personPosts` | at least twice a day, more often for people who post a lot | | `companyPosts` | at least twice a day, more often for companies that post a lot | | `postSearch` | once or twice a day, depending on how many posts the search brings | | `postEngagement` | by the post's age: about every 4 hours in its first 24 hours, once a day until it is 3 days old, once every 2 days until it is 7 days old, then very rarely | The times are spread inside the account's working hours, so checks do not land at the same minute every day. Most checks spend nothing from the account's [limits](/docs/admin-limits). Two kinds do: - **Every `postSearch` check** spends 1 of `stSearchQueries`. - **The first check of a `personPosts` or `companyPosts` signal** opens the person's profile or the company page once, to record who the signal watches. That visit counts as 1 of `stPersonProfileViews` or `stCompanyPageViews`, and the person may see the account among their profile viewers, as after any visit. Later checks find new posts through LinkedIn search and do not open the profile again. ## Signals and your own work Signals share the account with your workflows, and they are designed to stay out of their way: - **Your workflows go first.** An account runs one thing at a time. A check starts only when no workflow of yours is waiting, so it never jumps ahead of your requests. A workflow you send while a check is running waits for that check to finish, then runs in workflow queue order. An account that is busy all day gets fewer checks. - **Checks stay inside [working hours](/docs/working-hours)**, under every off-hours policy – the same as inbox and network synchronisation. - **Checks that spend [limits](/docs/admin-limits) share them with your actions.** LinkedIn sees one account, so a search by a signal counts like any other. Once a limit is used up for the current period, checks that need it wait until the next one. - **Checks pause with the account.** While the account needs reconnection or is frozen, nothing is checked. Checks resume on their own once the account is active again. With default limits, 20 `personPosts` signals spend 20 of the account's 80 daily profile views once, on their first checks, and nothing after that. Each `postSearch` signal spends 30 to 60 of the account's 300 monthly searches, so five of them can use all 300. How to split the limits between signals and your own workflows is up to you; to make searches go further, put several phrases into one signal rather than one signal per phrase. ## Limits on signals An account can have this many active signals of each type. Paused signals do not count. | Type | Active signals per account | |---|---| | `personPosts` | 20 | | `companyPosts` | 20 | | `postSearch` | 5 | | `postEngagement` on one post (`postUrl`) | 15 | | `postEngagement` on the account's own posts (`myPosts`) | 1 | | `network` | 1 | | `profileViewers` | 1 | `network`, `profileViewers` and `myPosts` watch the account itself and take no target, so an account has one of each. Creating a signal that already exists – the same type and target on the same account – returns the existing signal instead of a second one. ## Signals in SDKs, CLI and AI agents The same signals are available in every way you reach Linked API: | Surface | Create | Read new events | |---|---|---| | REST API | `POST /signals` | `POST /signals/poll` or `signal.*` webhook events | | Node and Python SDKs | `createSignal` / `create_signal` | `pollSignals` / `poll_signals` | | CLI | `linkedin signals create` | `linkedin signals poll` | | MCP server | `create_signal` tool | `poll_signals` tool | For an AI agent, a signal is the missing piece of "keep an eye on it": an agent cannot receive webhooks or wake itself up on a schedule, but it can ask what is new since the last time – and the answer is already collected. ## Managing Signals > 🚧 **Coming soon.** Signals are not available yet. This page describes how they will work at launch – the `/signals` endpoints, `signal.*` events and the SDK, CLI and MCP signal commands do not work today. Signals belong to a LinkedIn account. Every request below carries the same two [authorization headers](/docs/making-requests#authorization) as the rest of the API, and the `identification-token` decides which account the signal watches. | Task | Request | |---|---| | Create a signal | `POST /signals` | | List signals | `GET /signals` | | Get one signal | `GET /signals/{signalId}` | | Pause or resume | `POST /signals/{signalId}/pause`, `POST /signals/{signalId}/resume` | | Delete | `DELETE /signals/{signalId}` | To read what signals detected, see [Receiving events](/docs/signal-events). ## Creating a signal ```text POST https://api.linkedapi.io/signals ``` The body names the signal `type` and its target. The target fields depend on the type and are described on each type's page. ```json { "type": "personPosts", "personUrl": "https://www.linkedin.com/in/person1", "label": "lead-1042" } ``` - `type` (required) – one of `network`, `personPosts`, `companyPosts`, `postSearch`, `postEngagement`, `profileViewers`. - Target fields – see [Signal types](#signal-types) below. - `label` (optional) – your own identifier, up to 64 characters, such as a CRM record ID. It is returned with the signal and with every event it produces, so you can route events without keeping a map of signal IDs. If your request is correct, you receive the signal: ```json { "success": true, "result": { "id": "5b0d3c1e-8f2a-4c1b-9e7d-2a6f4c8b1d90", "type": "personPosts", "personUrl": "https://www.linkedin.com/in/person1", "label": "lead-1042", "status": "active", "createdAt": "2026-10-12T10:00:00Z", "baselineAt": null, "lastCheckedAt": null, "nextCheckAt": "2026-10-12T10:20:00Z" } } ``` - `id` – signal identifier. - `type` and the target fields – as you created it. - `label` – your label, or `null`. - `status` – `active`, `paused` or `stopped`. See [Signal status](#signal-status). - `createdAt` – when the signal was created. - `baselineAt` – when the [silent baseline](/docs/signals-overview#how-a-signal-works) was recorded. `null` until the first check; events can appear only after it. - `lastCheckedAt` – the latest completed check, or `null`. - `nextCheckAt` – the planned time of the next check, or `null` when the signal is not active. It is a plan: your workflows and working hours can move it. Creating a signal that already exists on this account – the same `type` and target – returns that signal with `200` instead of creating a second one. A paused signal stays paused; resume it explicitly. ### Signal types | `type` | Target fields | Page | |---|---|---| | `network` | none | [Connections and invitations](/docs/signal-network) | | `personPosts` | `personUrl` | [Posts by person or company](/docs/signal-posts) | | `companyPosts` | `companyUrl` | [Posts by person or company](/docs/signal-posts) | | `postSearch` | `term` – a phrase or an array of phrases, optional `filter` | [Posts by keyword](/docs/signal-keyword-posts) | | `postEngagement` | `postUrl`, or `myPosts: true` | [Comments and reactions](/docs/signal-post-engagement) | | `profileViewers` | none | [Profile viewers](/docs/signal-profile-viewers) | ## Listing signals ```text GET https://api.linkedapi.io/signals?type=personPosts&status=active ``` Both query parameters are optional: - `type` – return only signals of this type. - `status` – return only signals with this status. ```json { "success": true, "result": { "signals": [ { "id": "5b0d3c1e-8f2a-4c1b-9e7d-2a6f4c8b1d90", "type": "personPosts", "personUrl": "https://www.linkedin.com/in/person1", "label": "lead-1042", "status": "active", "createdAt": "2026-10-12T10:00:00Z", "baselineAt": "2026-10-12T10:21:00Z", "lastCheckedAt": "2026-10-12T16:40:00Z", "nextCheckAt": "2026-10-13T09:15:00Z" } ] } } ``` `GET /signals/{signalId}` returns one signal in the same shape. ## Pausing and resuming ```text POST https://api.linkedapi.io/signals/{signalId}/pause POST https://api.linkedapi.io/signals/{signalId}/resume ``` A paused signal is not checked and spends nothing. Its events stay available. Pausing an already paused signal, or resuming an active one, changes nothing and succeeds. On resume, the first check reports what appeared while the signal was paused, as far as LinkedIn still shows it – for example, posts the person published in the meantime. It is not a new baseline. ## Deleting a signal ```text DELETE https://api.linkedapi.io/signals/{signalId} ``` Checks stop immediately. Events the signal already produced stay available through [polling](/docs/signal-events#polling) until their 90 days run out. ## Signal status - `active` – checked on schedule. - `paused` – you paused it. - `stopped` – Linked API stopped checking because the target can no longer be watched. `stoppedReason` says why: - `targetNotFound` – the profile, company page or post no longer exists or is not visible to the account. A stopped signal cannot be resumed. To watch the target again once it is available, delete the stopped signal and create a new one – while the stopped signal exists, creating the same signal returns it. > 💡 If the account itself is not active – it needs reconnection or is frozen – signals keep the status `active` but are not checked. Checks resume on their own when the account is back. ## Errors ### invalidRequestPayload The body is missing a required field, names an unknown `type`, or carries target fields that do not belong to the type. `message` names the field. ```json { "success": false, "error": { "type": "invalidRequestPayload", "message": "'personUrl' is required for signals of type 'personPosts'." } } ``` ### signalLimitReached The account already has the maximum number of active signals of this type – see [Limits on signals](/docs/signals-overview#limits-on-signals). Delete or pause one of them first. ```json { "success": false, "error": { "type": "signalLimitReached", "message": "This LinkedIn account already has the maximum number of active personPosts signals (20)." } } ``` ### signalNotFound No signal with this ID exists on the account. ```json { "success": false, "error": { "type": "signalNotFound", "message": "Signal not found." } } ``` ### signalStopped You tried to resume a signal with the status `stopped`. ```json { "success": false, "error": { "type": "signalStopped", "message": "This signal was stopped and cannot be resumed: targetNotFound." } } ``` ## Receiving Events > 🚧 **Coming soon.** Signals are not available yet. This page describes how they will work at launch – the `/signals` endpoints, `signal.*` events and the SDK, CLI and MCP signal commands do not work today. Network monitoring – [`/network/poll`](/docs/monitoring-network) and the `network.*` webhook events – works today. Every new item a signal detects – a post, a comment, a reaction, a profile view, a connection change – is recorded once as an **event**. You can read events in two ways, and both return the same event objects: - **Polling** – ask for everything recorded since your last request. - **Webhooks** – Linked API sends each event to your endpoint as it is recorded. Events are kept for **90 days**, including after the signal that produced them is deleted. ## Polling ```text POST https://api.linkedapi.io/signals/poll ``` The request body is a single object. All fields are optional: ```json { "since": "2026-10-12T00:00:00Z", "signalId": "5b0d3c1e-8f2a-4c1b-9e7d-2a6f4c8b1d90", "signalType": "personPosts", "eventType": "postPublished" } ``` - `since` – return events detected after this timestamp. If omitted, all retained events are returned. - `signalId` – only events of this signal. - `signalType` – only events of signals of this type. - `eventType` – only events of this type, such as `postPublished` or `commentAdded`. Events of every signal on the account come back together unless you filter them: ```json { "success": true, "result": { "events": [ { "id": "c7e1a0f2-3d4b-4e5f-8a9b-0c1d2e3f4a5b", "signalId": "5b0d3c1e-8f2a-4c1b-9e7d-2a6f4c8b1d90", "signalType": "personPosts", "label": "lead-1042", "type": "postPublished", "detectedAt": "2026-10-12T16:40:00Z", "post": { "url": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789", "activityUrn": "urn:li:activity:1234567890123456789", "time": "2026-10-12T14:05:00Z", "type": "original", "author": { "type": "person", "name": "Example Person", "urn": "urn:li:member:123456789", "profileUrl": "https://www.linkedin.com/in/person1", "headline": "Product Marketing Lead" }, "text": "We are hiring our first sales engineer.", "reactionsCount": 4, "commentsCount": 1, "repostsCount": 0 } }, { "id": "f4d92946-8821-6da6-ff4c-c36f0671292a", "signalId": "0e6f1a2b-7c8d-4e9f-a0b1-c2d3e4f5a6b7", "signalType": "network", "label": null, "type": "connectionAccepted", "detectedAt": "2026-10-12T11:35:00Z", "personUrn": "urn:li:member:987654321", "personUrl": "https://www.linkedin.com/in/person2" } ] } } ``` - `events` – array of events, ordered newest first. - `id` – unique event identifier. The same event delivered as a webhook carries the same `id`. - `signalId`, `signalType`, `label` – the signal that produced the event and its label. - `type` – event type. Each signal type page lists its event types. - `detectedAt` – when Linked API recorded the event. It is the time of the check, not the time the thing happened on LinkedIn: a post published at 14:05 and found by the 16:40 check has `detectedAt` 16:40 and `post.time` 14:05. - The rest is the event's subject: `post`, `comment`, `reaction`, `viewer`, or the person fields of a `network` event. Their fields are described on each signal type page. **Recommended flow:** 1. Leave `since` empty on the first request to retrieve everything recorded so far. 2. On every next request, pass the `detectedAt` of the most recent event you have as `since`. 3. Process each event once by its `id`. > 💡 [`/network/poll`](/docs/monitoring-network) belongs to network monitoring and keeps working as before. Events of the `network` signal come from `/signals/poll`. ## Webhook events If you have a [webhook](/docs/webhooks) registered, every signal event is also delivered to it as it is recorded. Signal events share the `signal.*` namespace: | Webhook event | Produced by | Event `type` in polling | |---|---|---| | `signal.postPublished` | `personPosts`, `companyPosts` | `postPublished` | | `signal.postFound` | `postSearch` | `postFound` | | `signal.commentAdded` | `postEngagement` | `commentAdded` | | `signal.reactionAdded` | `postEngagement` | `reactionAdded` | | `signal.profileViewed` | `profileViewers` | `profileViewed` | | `signal.connectionAccepted` | `network` | `connectionAccepted` | | `signal.connectionAdded` | `network` | `connectionAdded` | | `signal.connectionRequestReceived` | `network` | `connectionRequestReceived` | The `network.*` events belong to [network monitoring](/docs/monitoring-network), which is separate from the `network` signal. See [The network signal and network monitoring](/docs/signal-network#the-network-signal-and-network-monitoring). `data` carries the event exactly as polling returns it, plus `accountId`: ```json { "id": "signal.commentAdded:9a8b7c6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d", "type": "signal.commentAdded", "createdAt": "2026-10-12T16:40:02.000Z", "data": { "id": "9a8b7c6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d", "accountId": "f9b4346a-...", "signalId": "1c2d3e4f-5a6b-4c7d-8e9f-0a1b2c3d4e5f", "signalType": "postEngagement", "label": "launch-post", "type": "commentAdded", "detectedAt": "2026-10-12T16:40:00Z", "postUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789", "comment": { "commentUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543210%2Curn%3Ali%3Aactivity%3A1234567890123456789)", "author": { "type": "person", "name": "John Doe", "profileUrl": "https://www.linkedin.com/in/john-doe", "headline": "Head of Growth" }, "time": "2h", "text": "Interested – how does it handle multiple accounts?", "isReply": false } } } ``` To receive only some signal events, use [event selection](/docs/webhook-event-types#event-selection): `signal.*` for all of them, or exact types such as `signal.commentAdded`. > Events you deselect from the webhook are still recorded and still returned by polling. The webhook selection controls delivery, not what signals detect. ## Connections and Invitations > 🚧 **Coming soon.** Signals are not available yet. This page describes how they will work at launch – the `/signals` endpoints, `signal.*` events and the SDK, CLI and MCP signal commands do not work today. Network monitoring – [`/network/poll`](/docs/monitoring-network) and the `network.*` webhook events – works today. The `network` signal watches the account's own connections and invitations. Use it instead of re-checking each person with [`st.checkConnectionStatus`](/docs/action-st-check-connection-status) or re-reading the connection list to see what changed. ## Events | Event `type` | Webhook event | What happened | |---|---|---| | `connectionAccepted` | `signal.connectionAccepted` | Someone accepted an invitation **you** sent. | | `connectionAdded` | `signal.connectionAdded` | A new connection that is **not** from an invitation you sent – for example, you accepted someone's invitation, or the connection was made outside the API. | | `connectionRequestReceived` | `signal.connectionRequestReceived` | Someone sent **you** an invitation. | > 💡 Together, `connectionAccepted` and `connectionAdded` cover every new 1st-degree connection. If you only care that the network grew, handle both. ## Creating The signal watches the account itself and takes no target. An account has at most one. ```json { "type": "network" } ``` | Checked | Each check spends | |---|---| | every hour | nothing from account limits | The baseline is the account's connections and pending invitations at the moment of the first check. They are never reported as events. To get the current state – the full list, or what happened before the signal existed – use [`st.retrieveConnections`](/docs/action-st-retrieve-connections), [`st.retrieveInvitations`](/docs/action-st-retrieve-invitations) and [`st.retrievePendingRequests`](/docs/action-st-retrieve-pending-requests). ## Event fields ```json { "id": "f4d92946-8821-6da6-ff4c-c36f0671292a", "signalId": "0e6f1a2b-7c8d-4e9f-a0b1-c2d3e4f5a6b7", "signalType": "network", "label": null, "type": "connectionAccepted", "detectedAt": "2026-10-12T11:35:00Z", "personUrn": "urn:li:member:987654321", "personUrl": "https://www.linkedin.com/in/person2" } ``` - `personUrn` – [URN](/docs/data-conventions#linkedin-urns) of the other person, or `null` if LinkedIn did not expose it. - `personUrl` – LinkedIn URL of the other person. The common fields – `id`, `signalId`, `signalType`, `label`, `type`, `detectedAt` – are described in [Receiving events](/docs/signal-events#polling). ## Accepted invitations: a common flow After outreach, the usual question is who accepted. With the `network` signal there is nothing to re-check: 1. Create the `network` signal once per account, **before** you start sending invitations – an acceptance that happens before the baseline is not reported. 2. Send invitations with [`st.sendConnectionRequest`](/docs/action-st-send-connection-request) as usual. 3. React to `connectionAccepted` events – for example, send the first message with [`st.sendMessage`](/docs/action-st-send-message). An invitation that was not accepted produces no event. To find invitations that have waited too long, read them with [`st.retrievePendingRequests`](/docs/action-st-retrieve-pending-requests) and withdraw them with [`st.withdrawConnectionRequest`](/docs/action-st-withdraw-connection-request). ## The network signal and network monitoring Until signals launch, the same changes come from [network monitoring](/docs/monitoring-network), enabled with the [`st.syncNetwork`](/docs/action-st-sync-network) action. After launch, the two stay separate: - network monitoring keeps working as it does today: its events come from [`/network/poll`](/docs/monitoring-network) and as `network.*` webhook events; - the `network` signal is created with `POST /signals`, and its events come from [`/signals/poll`](/docs/signal-events#polling) and as `signal.*` webhook events, like those of every other signal. On an account with both, each change is reported by each of them: an accepted invitation arrives as `network.connectionAccepted` and as `signal.connectionAccepted`. If you move to the signal, handle only one of them – for example, leave `network.*` out of your webhook's [event selection](/docs/webhook-event-types#event-selection). New code should use the `network` signal, so all signals of the account are managed and read in one place. ## Posts by Person or Company > 🚧 **Coming soon.** Signals are not available yet. This page describes how they will work at launch – the `/signals` endpoints, `signal.*` events and the SDK, CLI and MCP signal commands do not work today. The `personPosts` and `companyPosts` signals watch one person or one company page and report every new post on it. Use them to engage with a prospect's post while it is fresh, or to follow what customers and competitors publish, instead of running [`st.retrievePersonPosts`](/docs/action-st-retrieve-person-posts) on the same people every day. ## Events | Event `type` | Webhook event | What happened | |---|---|---| | `postPublished` | `signal.postPublished` | A post appeared in the person's or company's activity that the signal has not seen before. | Reposts count: if the person reposts someone else's post, it appears in their activity and is reported with `post.type` `repost`. ## Creating One signal watches one person or one company. Create one signal per target. ```json { "type": "personPosts", "personUrl": "https://www.linkedin.com/in/person1", "label": "lead-1042" } ``` ```json { "type": "companyPosts", "companyUrl": "https://www.linkedin.com/company/company1" } ``` - `personUrl` – for `personPosts`: LinkedIn URL of the person, public or [hashed](/faq/what-are-hashed-url-and-public-url). - `companyUrl` – for `companyPosts`: LinkedIn URL of the company page. | Type | Checked | Each check spends | |---|---|---| | `personPosts` | at least twice a day, more often for people who post a lot | nothing from account limits | | `companyPosts` | at least twice a day, more often for companies that post a lot | nothing from account limits | The first check opens the person's profile or the company page once, to record who the signal watches. That visit counts as 1 of `stPersonProfileViews` or `stCompanyPageViews`, and the person may see the account among their profile viewers, as after any visit. Later checks find new posts through LinkedIn search, without opening the profile, so they spend neither limit. The baseline is the posts already there at the first check. ## Event fields ```json { "id": "c7e1a0f2-3d4b-4e5f-8a9b-0c1d2e3f4a5b", "signalId": "5b0d3c1e-8f2a-4c1b-9e7d-2a6f4c8b1d90", "signalType": "personPosts", "label": "lead-1042", "type": "postPublished", "detectedAt": "2026-10-12T16:40:00Z", "post": { "url": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789", "activityUrn": "urn:li:activity:1234567890123456789", "time": "2026-10-12T14:05:00Z", "type": "original", "author": { "type": "person", "name": "Example Person", "urn": "urn:li:member:123456789", "profileUrl": "https://www.linkedin.com/in/person1", "headline": "Product Marketing Lead" }, "reposter": null, "text": "We are hiring our first sales engineer.", "repostText": null, "hashtags": ["hiring"], "mentions": [], "externalLinks": [], "images": [], "documentSlides": [], "hasVideo": false, "videoThumbnail": null, "hasPoll": false, "reactionsCount": 4, "commentsCount": 1, "repostsCount": 0 } } ``` - `post` – the new post, with the same fields as an item of [`st.retrievePersonPosts`](/docs/action-st-retrieve-person-posts#result-options). `reactionsCount`, `commentsCount` and `repostsCount` are as they were at the check that found the post; they are not updated later. The common fields – `id`, `signalId`, `signalType`, `label`, `type`, `detectedAt` – are described in [Receiving events](/docs/signal-events#polling). ## Reacting to a new post A signal only reports; what to do is up to you. Every post URL in an event works as input for the engagement actions: - like it with [`st.reactToPost`](/docs/action-st-react-to-post); - comment with [`st.commentOnPost`](/docs/action-st-comment-on-post); - follow its discussion with a [`postEngagement`](/docs/signal-post-engagement) signal on the same `post.url`. ## Posts by Keyword > 🚧 **Coming soon.** Signals are not available yet. This page describes how they will work at launch – the `/signals` endpoints, `signal.*` events and the SDK, CLI and MCP signal commands do not work today. The `postSearch` signal searches the latest LinkedIn posts for your phrases on a schedule and reports every post it has not seen before. Use it to find conversations about your topic, your product or a competitor as they start. ## Events | Event `type` | Webhook event | What happened | |---|---|---| | `postFound` | `signal.postFound` | A post matching the search appeared that the signal has not reported before. | ## Creating ```json { "type": "postSearch", "term": ["user onboarding", "time to value"], "filter": { "authorIndustries": ["Software Development"] }, "label": "category-watch" } ``` - `term` (required) – a phrase, or an array of phrases, each from 1 to 50 characters. Linked API searches every phrase as an exact phrase, so you do not need to put it in quotes. With an array, a post that contains any of the phrases is reported: one signal covers several wordings of the same topic. - `filter` (optional) – narrows the search. When several fields are set, a post must match all of them. - `contentType` (optional) – one of `videos`, `images`, `jobPosts`, `liveVideos`, `documents`. - `postedBy` (optional) – array of `me`, `firstConnections`, `peopleYouFollow`. - `mentioningMembers` (optional) – people the post mentions. Matches if it mentions any of them. - `mentioningCompanies` (optional) – companies the post mentions. Matches if it mentions any of them. - `authorCompanies` (optional) – companies the author works at. Matches if the author works at any of them. - `authorIndustries` (optional) – industries the author works in, by the names LinkedIn shows. Matches if the author works in any of them. Each entry of `mentioningMembers`, `mentioningCompanies` and `authorCompanies` is a name, or an object with `name` and `id` – a URN or LinkedIn URL that pins the filter to exactly that person or company. A name alone may match a namesake. The signal always looks for the newest posts, so it takes no sort order and no date range. To follow what particular people or companies publish, use a [`personPosts` or `companyPosts`](/docs/signal-posts) signal for each of them. A LinkedIn search URL is not accepted either: the signal builds the search from your phrases itself. | Checked | Each check spends | |---|---| | once or twice a day, depending on how many posts the search brings | 1 of `stSearchQueries` | A check reads the 50 most recent matching posts. The baseline is the posts that match at the first check. > 💡 Searches are the scarcest limit: by default an account has 300 a month, and each `postSearch` signal spends 30 to 60 of them. A signal with several phrases still makes one search per check, so put the wordings of one topic into one signal rather than creating a signal per phrase. ## Event fields ```json { "id": "2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e", "signalId": "7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d", "signalType": "postSearch", "label": "category-watch", "type": "postFound", "detectedAt": "2026-10-12T09:50:00Z", "post": { "url": "https://www.linkedin.com/feed/update/urn:li:activity:2345678901234567890", "activityUrn": "urn:li:activity:2345678901234567890", "time": "2026-10-12T08:12:00Z", "type": "original", "author": { "type": "person", "name": "Example Person", "profileUrl": "https://www.linkedin.com/in/person3", "headline": "Founder at Example Company" }, "reposter": null, "text": "Looking for a LinkedIn automation API that works with our own accounts. Any recommendations?", "repostText": null, "hashtags": [], "mentions": [], "externalLinks": [], "images": [], "documentSlides": [], "hasVideo": false, "videoThumbnail": null, "hasPoll": false, "reactionsCount": 2, "commentsCount": 5, "repostsCount": 0 } } ``` - `post` – the matching post: - `url` – URL of the post. - `activityUrn` – LinkedIn activity or UGC URN of the post, if available. - `time` – when the post was published. - `type` – `original`, or `repost` for a repost. - `author` – who wrote the post. A person has `type`, `name`, `profileUrl` and `headline`; a company has `type`, `name` and `companyUrl`. Search results carry no `urn` for the author. - `reposter` – the person or company that reposted it, with the same fields as `author`. Not `null` only for a `repost`. - `text` – the author's text, if available; `repostText` – the text the reposter added, if any. - `hashtags` – hashtags in the text, without the leading `#`. - `mentions` – profile URLs of the people and companies mentioned in the text. - `externalLinks` – outbound URLs in the text. - `images` – up to 3 preview image URLs; `documentSlides` – slide image URLs of a document or carousel. - `hasVideo`, `videoThumbnail`, `hasPoll` – whether the post has a video, its thumbnail URL, and whether it has a poll. - `reactionsCount`, `commentsCount`, `repostsCount` – as they were at the check that found the post; they are not updated later. The common fields – `id`, `signalId`, `signalType`, `label`, `type`, `detectedAt` – are described in [Receiving events](/docs/signal-events#polling). A post is reported once per signal, even if it contains several of its phrases, or drops out of the search and comes back later. Two `postSearch` signals that both match a post each report it. ## Comments and Reactions > 🚧 **Coming soon.** Signals are not available yet. This page describes how they will work at launch – the `/signals` endpoints, `signal.*` events and the SDK, CLI and MCP signal commands do not work today. The `postEngagement` signal watches a post and reports every new comment and reaction on it. Point it at your own posts to answer commenters and connect with the people who engaged, or at any other post – a competitor's launch, an industry discussion – to see who joins in. ## Events | Event `type` | Webhook event | What happened | |---|---|---| | `commentAdded` | `signal.commentAdded` | A new comment or a reply to a comment appeared under the post. | | `reactionAdded` | `signal.reactionAdded` | A new person or company reacted to the post. | ## Creating Watch one post by its URL: ```json { "type": "postEngagement", "postUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789", "label": "launch-post" } ``` Or watch the account's own posts: ```json { "type": "postEngagement", "myPosts": true } ``` - `postUrl` – LinkedIn URL of the post to watch. - `myPosts` – `true` to watch the posts the account itself publishes. The signal covers the account's posts from the last 7 days, and every post the account publishes later joins it automatically. An account has at most one `myPosts` signal. Use exactly one of the two. | Checked | Each check spends | |---|---| | by the post's age: about every 4 hours in its first 24 hours, once a day until it is 3 days old, once every 2 days until it is 7 days old, then very rarely | nothing from account limits | Almost all comments and reactions on LinkedIn arrive in the first three days after a post is published, so a post is checked often while it is fresh and less often as it ages. A post older than 7 days is still checked, but very rarely, so a late comment on it can be reported days after it was written. The same applies when you create a signal on a post that is already older than 7 days. The baseline is the comments and reactions already there at the first check. ## Event fields ### commentAdded ```json { "id": "9a8b7c6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d", "signalId": "1c2d3e4f-5a6b-4c7d-8e9f-0a1b2c3d4e5f", "signalType": "postEngagement", "label": "launch-post", "type": "commentAdded", "detectedAt": "2026-10-12T16:40:00Z", "postUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789", "comment": { "commentUrn": "urn:li:comment:(urn:li:activity:1234567890123456789,9876543210)", "commentUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/?dashCommentUrn=urn%3Ali%3Afsd_comment%3A(9876543210%2Curn%3Ali%3Aactivity%3A1234567890123456789)", "author": { "type": "person", "name": "John Doe", "profileUrl": "https://www.linkedin.com/in/john-doe", "headline": "Head of Growth", "viewerState": { "connectionDegree": "2nd" } }, "time": "2h", "text": "Interested – how does it handle multiple accounts?", "image": null, "isReply": false, "parentCommentUrn": null } } ``` - `postUrl` – the post the comment belongs to. For a `myPosts` signal, this tells you which of your posts it is. - `comment` – the new comment, with the same fields as an item of [`st.retrievePostComments`](/docs/action-st-retrieve-post-comments#result-options), plus `parentCommentUrn`. `time` is the relative age LinkedIn showed at the check. - `isReply` – `true` for a reply to another comment. - `parentCommentUrn` – for a reply, the `commentUrn` of the comment it answers; `null` for a top-level comment. Answer a comment by passing its `commentUrl` to [`st.replyToComment`](/docs/action-st-reply-to-comment), or like it with [`st.reactToComment`](/docs/action-st-react-to-comment). ### reactionAdded ```json { "id": "3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7", "signalId": "1c2d3e4f-5a6b-4c7d-8e9f-0a1b2c3d4e5f", "signalType": "postEngagement", "label": "launch-post", "type": "reactionAdded", "detectedAt": "2026-10-12T16:40:00Z", "postUrl": "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789", "reaction": { "actor": { "type": "person", "name": "Jane Doe", "urn": null, "profileUrl": "https://www.linkedin.com/in/person1", "headline": "Helping companies to use AI", "viewerState": { "connectionDegree": "3rd+" } }, "type": "insightful" } } ``` - `reaction` – who reacted and how, with the same fields as an item of [`st.retrievePostReactions`](/docs/action-st-retrieve-post-reactions#result-options). LinkedIn shows no time for reactions, so `detectedAt` – the check that found it – is the only time you get. One person is reported once per post: changing the reaction type or removing it produces no event. The common fields – `id`, `signalId`, `signalType`, `label`, `type`, `detectedAt` – are described in [Receiving events](/docs/signal-events#polling). ## Turning engagement into connections A frequent use: invite everyone who engaged with your post. 1. Create a `myPosts` signal once. 2. For each `commentAdded` or `reactionAdded` event whose author has `connectionDegree` `2nd` or `3rd+`, send an invitation with [`st.sendConnectionRequest`](/docs/action-st-send-connection-request), mentioning the post in the note. 3. Watch for acceptances with the [`network`](/docs/signal-network) signal. Invitations still count against `stConnectionRequests`. A popular post can produce more engagers in a day than the account should invite, so queue them rather than inviting all at once. ## Profile Viewers > 🚧 **Coming soon.** Signals are not available yet. This page describes how they will work at launch – the `/signals` endpoints, `signal.*` events and the SDK, CLI and MCP signal commands do not work today. The `profileViewers` signal watches the account's "Who viewed your profile" list and reports every new viewer LinkedIn identifies. A profile view is often the first sign of interest – someone checked you out after your invitation, your comment or your post – and it is worth a follow-up while it is recent. ## Events | Event `type` | Webhook event | What happened | |---|---|---| | `profileViewed` | `signal.profileViewed` | A new identified viewer appeared in the list, or a person already reported viewed the profile again. | ## Creating The signal watches the account itself and takes no target. An account has at most one. ```json { "type": "profileViewers" } ``` | Checked | Each check spends | |---|---| | every 3 hours | nothing from account limits | A check reads the viewers list, the same as [`st.retrieveProfileViewers`](/docs/action-st-retrieve-profile-viewers). The baseline is the viewers already listed at the first check. > 💡 **How many viewers you get depends on LinkedIn, not on the signal.** On an account without LinkedIn Premium, LinkedIn shows only a few recent viewers, so the signal can report only those. With Premium, it reports every viewer LinkedIn lists. Only **identified** viewers produce events. Viewers who browse in semi-private mode appear in LinkedIn's list only as a description, such as "Someone at Example Company", with no profile to follow up with; read them with [`st.retrieveProfileViewers`](/docs/action-st-retrieve-profile-viewers) when you need them. Viewers in fully private mode are not shown by LinkedIn at all. ## Event fields ```json { "id": "5d6e7f8a-9b0c-4d1e-8f2a-3b4c5d6e7f8a", "signalId": "8f9a0b1c-2d3e-4f4a-9b5c-6d7e8f9a0b1c", "signalType": "profileViewers", "label": null, "type": "profileViewed", "detectedAt": "2026-10-12T13:00:00Z", "viewer": { "viewedAt": "2026-10-12T11:00:00Z", "viewedAgo": "2h", "name": "Nicolai Elmqvist", "publicUrl": "https://www.linkedin.com/in/elmqvist", "urn": "urn:li:member:123456789", "headline": "Turn live event audiences into video creators", "connectionDegree": 2, "avatarUrl": "https://media.licdn.com/dms/image/profile-photo.jpg" } } ``` - `viewer` – the viewer, with the same fields as an `identified` item of [`st.retrieveProfileViewers`](/docs/action-st-retrieve-profile-viewers#result-options). - `viewedAt` is an **estimate**: LinkedIn shows only a relative age such as `2h` or `3d`, so the time is as precise as that unit. The common fields – `id`, `signalId`, `signalType`, `label`, `type`, `detectedAt` – are described in [Receiving events](/docs/signal-events#polling). **Repeat views.** LinkedIn lists each viewer once, with their latest view. When a person already reported views the profile again, LinkedIn moves them up with a newer time, and the signal reports that as a new `profileViewed` event. Views by the same person within 24 hours are reported once. ## Following up with viewers 1. Create the `profileViewers` signal once per account. 2. For each `profileViewed` event, check `viewer.connectionDegree`: - `1` – already a connection: send a message with [`st.sendMessage`](/docs/action-st-send-message); - `2` or `3` – send an invitation with [`st.sendConnectionRequest`](/docs/action-st-send-connection-request). 3. Keep it human: someone who glanced at your profile did not ask to be contacted, so mention why you are writing and keep the volume within the account's daily limits. ## Webhooks Overview Receive workflow, account, and LinkedIn activity events in real time. Instead of [polling for a workflow result](/docs/executing-workflows), register a webhook once and Linked API delivers an event to your endpoint whenever a workflow changes state, a LinkedIn account changes status, a message is observed in a monitored inbox, or a connection changes in a monitored network. Once [signals](/docs/signals-overview) launch, the webhook will also receive an event whenever a signal detects something new. :::surface node In the Node SDK, `verifyWebhookSignature()` checks a delivery and `parseWebhookEvent()` turns it into a typed event – see [Receiving events](#receiving-events). The webhook itself is managed with `admin.webhooks` – see [Managing webhooks](/docs/admin-webhooks). ::: :::surface python In the Python SDK, `verify_webhook_signature()` checks a delivery and `parse_webhook_event()` turns it into a typed event – see [Receiving events](#receiving-events). The webhook itself is managed with `admin.webhooks` – see [Managing webhooks](/docs/admin-webhooks). ::: :::surface cli In the CLI you register and manage the webhook with `linkedin admin webhook` commands – see [Managing webhooks](/docs/admin-webhooks?surface=cli). Receiving deliveries is the job of your own endpoint. ::: ## How it works - You register a single endpoint URL that receives events. A client may hold one active webhook at a time. - Every event your webhook receives is delivered as an HTTP `POST` with a JSON body (the event envelope below). By default that is every event; you can [choose which events](/docs/webhook-event-types#event-selection) it receives. - Respond with any `2xx` status to acknowledge. A non-`2xx` response, or a timeout, is retried with exponential backoff for up to 8 attempts before the delivery is marked failed. - Two optional settings secure the delivery: [custom headers](/docs/webhook-custom-headers), so an endpoint that requires authentication lets us in, and a [signature](/docs/webhook-signature-verification), so you can prove a delivery came from Linked API. Both are off by default and neither changes anything until you turn it on. Set this up either way: in the [platform dashboard](https://app.linkedapi.io/webhook), or programmatically through the [Admin API](/docs/admin-webhooks). Both reach the same webhook, so you can register it in the dashboard and change it from code, or the other way round. :::surface node,python In the SDKs, the Admin API's webhook endpoints are the methods of `admin.webhooks` on the [admin client](/docs/admin-overview#authentication). Each call is shown on [Managing Webhooks](/docs/admin-webhooks). ::: :::surface cli In the CLI, they are the `linkedin admin webhook` commands. Each command is shown on [Managing Webhooks](/docs/admin-webhooks). ::: ## Event envelope Every delivery has the same shape: ```json { "id": "workflow.completed:wf-64835e7c-...", "type": "workflow.completed", "createdAt": "2026-06-25T12:00:00.000Z", "data": { "workflowId": "wf-64835e7c-...", "accountId": "f9b4346a-...", "status": "completed", "result": { } } } ``` - `id` – stable, unique event identifier. Use it to deduplicate: a retried delivery reuses the same `id`. - `type` – event type, one of the [event types](/docs/webhook-event-types). - `createdAt` – ISO 8601 timestamp of when the event was produced. - `data` – event-specific payload, described per event type on [Event Types](/docs/webhook-event-types). > Delivery order is best-effort and not guaranteed. Correlate events by `type`, `data.status`, and `createdAt` rather than by arrival order. ## Payload modes The payload mode controls how much data `workflow.completed` carries: - `fat` (default) – the full workflow result is inlined in `data.result`. - `thin` – `data.result` is omitted; fetch the result via the [workflow API](/docs/executing-workflows) using `data.workflowId`. You can switch the mode at any time when [managing the webhook](/docs/admin-webhooks). ## Receiving events Your endpoint should: 1. If signing is on, [verify the signature](/docs/webhook-signature-verification) against the **raw** body, before parsing it. 2. Read the JSON body and branch on `type`. 3. Respond `2xx` quickly to acknowledge. Do heavy work asynchronously – a slow endpoint will time out and be retried. 4. Deduplicate on the envelope `id`. Deliveries are at-least-once, so the same event can arrive more than once. :::surface node The Node SDK ships helpers for the first two steps: `verifyWebhookSignature` checks the [signature](/docs/webhook-signature-verification#verifying-a-delivery), and `parseWebhookEvent` turns the body into a typed event, so branching on `type` narrows `data`. Both take the raw body, so read it unparsed – in Express, with `express.raw()`: ::: :::surface python The Python SDK ships helpers for the first two steps: `verify_webhook_signature` checks the [signature](/docs/webhook-signature-verification#verifying-a-delivery), and `parse_webhook_event` turns the body into a typed event – branch on its class with `isinstance` to reach typed `data`. Both take the raw body, so read it unparsed – in FastAPI, with `await request.body()`: ::: :::surface http Without an SDK the endpoint is a few lines in any language. Here it is in Node.js with Express, reading the body unparsed with `express.raw()` and checking it with the reference `verifyWebhookSignature` from [Signature Verification](/docs/webhook-signature-verification#verifying-a-delivery): ::: :::surface cli The CLI configures webhooks but does not receive them: your endpoint is a small server in any language. Here it is in Node.js with Express, reading the body unparsed with `express.raw()` and checking it with the reference `verifyWebhookSignature` from [Signature Verification](/docs/webhook-signature-verification#verifying-a-delivery): ::: ```js tab=HTTP,CLI const express = require("express") // The reference implementation from Signature Verification, saved next to this file as verify-webhook-signature.js. const { verifyWebhookSignature } = require("./verify-webhook-signature") const app = express() app.use(express.raw({ type: "application/json" })) app.post("/hooks/linkedapi", (req, res) => { // Skip this check if signing is off for your webhook. const isAuthentic = verifyWebhookSignature({ rawBody: req.body, timestamp: req.headers["linked-api-signature-timestamp"], signature: req.headers["linked-api-signature"], secret: process.env.LINKED_API_WEBHOOK_SECRET, nowSeconds: Math.floor(Date.now() / 1000), }) if (!isAuthentic) { res.sendStatus(401) return } const event = JSON.parse(req.body.toString("utf8")) switch (event.type) { case "workflow.completed": console.log(`Workflow ${event.data.workflowId} finished: ${event.data.status}`) console.log("Result:", event.data.result) // present in fat mode only break case "account.reconnectionRequired": console.log(`Account ${event.data.accountId} needs reconnection.`) break case "inbox.messageReceived": // personHashedUrl is always present; personPublicUrl is null until the person is resolved. console.log(`New message from ${event.data.personPublicUrl ?? event.data.personHashedUrl}: ${event.data.text}`) break case "inbox.messageSent": console.log(`Outgoing message in thread ${event.data.threadId}`) break case "network.connectionAccepted": console.log(`${event.data.personUrl} accepted your connection request`) break case "network.connectionRequestReceived": console.log(`New connection request from ${event.data.personUrl}`) break case "webhook.test": console.log("Test event:", event.data.message) break } // Acknowledge fast. A non-2xx response makes Linked API retry with backoff. res.sendStatus(200) }) ``` ```typescript tab=Node import express from "express"; import { parseWebhookEvent, verifyWebhookSignature, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_SIGNATURE_TIMESTAMP_HEADER, } from "@linkedapi/node"; const app = express(); app.use(express.raw({ type: "application/json" })); app.post("/hooks/linkedapi", (req, res) => { // Skip this check if signing is off for your webhook. const isAuthentic = verifyWebhookSignature({ rawBody: req.body as Buffer, timestamp: req.headers[WEBHOOK_SIGNATURE_TIMESTAMP_HEADER], signature: req.headers[WEBHOOK_SIGNATURE_HEADER], secret: process.env.LINKED_API_WEBHOOK_SECRET, }); if (!isAuthentic) { res.sendStatus(401); return; } const event = parseWebhookEvent(req.body as Buffer); switch (event.type) { case "workflow.completed": console.log(`Workflow ${event.data.workflowId} finished: ${event.data.status}`); console.log("Result:", event.data.result); // present in fat mode only break; case "account.reconnectionRequired": console.log(`Account ${event.data.accountId} needs reconnection.`); break; case "inbox.messageReceived": // personHashedUrl is always present; personPublicUrl is null until the person is resolved. console.log(`New message from ${event.data.personPublicUrl ?? event.data.personHashedUrl}: ${event.data.text}`); break; case "inbox.messageSent": console.log(`Outgoing message in thread ${event.data.threadId}`); break; case "network.connectionAccepted": console.log(`${event.data.personUrl} accepted your connection request`); break; case "network.connectionRequestReceived": console.log(`New connection request from ${event.data.personUrl}`); break; case "webhook.test": console.log("Test event:", event.data.message); break; } // Acknowledge fast. A non-2xx response makes Linked API retry with backoff. res.sendStatus(200); }); ``` ```python tab=Python import os from fastapi import FastAPI, Request, Response from linkedapi import ( WEBHOOK_SIGNATURE_HEADER, WEBHOOK_SIGNATURE_TIMESTAMP_HEADER, AccountWebhookEvent, MessageWebhookEvent, NetworkWebhookEvent, UnknownWebhookEvent, WebhookTestEvent, WorkflowWebhookEvent, parse_webhook_event, verify_webhook_signature, ) app = FastAPI() @app.post("/hooks/linkedapi") async def receive(request: Request) -> Response: raw_body = await request.body() # Skip this check if signing is off for your webhook. is_authentic = verify_webhook_signature( raw_body=raw_body, timestamp=request.headers.get(WEBHOOK_SIGNATURE_TIMESTAMP_HEADER), signature=request.headers.get(WEBHOOK_SIGNATURE_HEADER), secret=os.environ.get("LINKED_API_WEBHOOK_SECRET"), ) if not is_authentic: return Response(status_code=401) event = parse_webhook_event(raw_body) if isinstance(event, WorkflowWebhookEvent): if event.type == "workflow.completed": print(f"Workflow {event.data.workflow_id} finished: {event.data.status}") print("Result:", event.data.result) # present in fat mode only elif isinstance(event, AccountWebhookEvent): if event.type == "account.reconnectionRequired": print(f"Account {event.data.account_id} needs reconnection.") elif isinstance(event, MessageWebhookEvent): if event.type == "inbox.messageReceived": # person_hashed_url is always present; person_public_url is None until the person is resolved. person = event.data.person_public_url or event.data.person_hashed_url print(f"New message from {person}: {event.data.text}") elif event.type == "inbox.messageSent": print(f"Outgoing message in thread {event.data.thread_id}") elif isinstance(event, NetworkWebhookEvent): if event.type == "network.connectionAccepted": print(f"{event.data.person_url} accepted your connection request") elif event.type == "network.connectionRequestReceived": print(f"New connection request from {event.data.person_url}") elif isinstance(event, WebhookTestEvent): print("Test event:", event.data.message) elif isinstance(event, UnknownWebhookEvent): # A type this SDK version doesn't know yet. Acknowledge it so it isn't retried. print(f"Ignoring event type {event.type}") # Acknowledge fast. A non-2xx response makes Linked API retry with backoff. return Response(status_code=200) ``` :::surface node `parseWebhookEvent` throws an `Error` when the body is not valid JSON or lacks the envelope `id` or `type`. It checks only that `type` is a string, so an event type added after your SDK version reaches your code as it is. It returns `TWebhookEvent`, a union of one type per area – see [Event Types](/docs/webhook-event-types). ::: :::surface python `parse_webhook_event` raises `ValueError` when the body is not valid JSON or lacks the envelope `id` or `type`. Since `linkedapi` 1.4.7, an event type the installed version doesn't know yet no longer raises: it is returned as `UnknownWebhookEvent`, with its payload as a plain dict in `data`. It returns `WebhookEvent`, a union of one model per area plus `UnknownWebhookEvent`, with snake_case `data` fields – see [Event Types](/docs/webhook-event-types). Every event's `type` is an open string, so branch with `isinstance` on the event classes, as above, rather than on `type` alone. ::: ## Webhook Event Types Every event arrives in the same [envelope](/docs/webhooks#event-envelope). This page lists the event types by area and explains how to choose which of them your webhook receives. :::surface node,python In the SDKs, the [parse helper](/docs/webhooks#receiving-events) returns one type per area on this page. In Node the union is discriminated on `type`, so checking `type` narrows `data`; in Python, branch on the event class with `isinstance`, since every event's `type` is an open string: | Events | Node | Python | | --- | --- | --- | | `workflow.*` | `TWorkflowWebhookEvent` | `WorkflowWebhookEvent` | | `account.*` | `TAccountWebhookEvent` | `AccountWebhookEvent` | | `inbox.*` | `TInboxMessageWebhookEvent` | `MessageWebhookEvent` | | `network.*` | `TNetworkWebhookEvent` | `NetworkWebhookEvent` | | `webhook.test` | `TWebhookTestEvent` | `WebhookTestEvent` | Their union is `TWebhookEvent` in Node and `WebhookEvent` in Python; in Python it also includes `UnknownWebhookEvent`, returned for an event type the installed version doesn't know yet. Signal events are not part of the union yet. In Python, `data` fields are snake_case, such as `workflow_id` and `person_hashed_url`, and a field that is absent is `None`. ::: :::surface cli In the CLI, `linkedin admin webhook event-types` lists every event type you can choose, and `linkedin admin webhook set-events ` chooses which of them the webhook receives – a comma-separated list such as `"workflow.completed,inbox.*"`, or `--all`. See [Managing webhooks](/docs/admin-webhooks?surface=cli#webhook-setevents). ::: ## Workflow events `data` carries `workflowId`, `accountId`, and `status`. All events for one run share the same `workflowId`, so you can correlate them. - `workflow.created` – your request was accepted and queued. `status` is `pending`. - `workflow.started` – the workflow actually started running. `status` is `running`. - `workflow.completed` – the workflow reached a terminal state. `status` is `completed` or `failed`. `data.result` is included only on `workflow.completed`, and only in `fat` payload mode. Cancelled workflows do not emit a webhook. ## Account events `data` carries `accountId` and `status`, emitted when a connected LinkedIn account changes status. - `account.reconnectionRequired` – the account needs the user to reconnect. `status` is `reconnection_required`. - `account.active` – the account (re)connected and is operational. `status` is `active`. - `account.frozen` – the account was frozen, for example due to an unpaid subscription. `status` is `frozen`. - `account.deleted` – the account was deleted. `status` is `deleted`. ## Inbox events The `inbox.*` namespace covers messages observed in a connected account's inbox, as opposed to the state of your own Linked API entities. These events fire for accounts that have [inbox monitoring](/docs/monitoring-inbox) enabled via `st.syncInbox` / `nv.syncInbox`, one event per inbox message. History loaded with [`st.syncConversation`](/docs/action-st-sync-conversation) / [`nv.syncConversation`](/docs/action-nv-sync-conversation) does not produce events. - `inbox.messageReceived` – an incoming message was observed in the inbox. - `inbox.messageSent` – an outgoing message from the account was observed. This covers messages sent through the LinkedIn UI **and** messages sent through the Linked API, so an API-sent message emits `inbox.messageSent` in addition to its `workflow.completed`. `data` carries the message with the following fields: - `accountId` – the connected LinkedIn account the message belongs to. - `type` – inbox type the message belongs to (`st` or `nv`). - `threadId` – identifier of the conversation thread. Pass it to [`st.sendMessage`](/docs/action-st-send-message) / [`nv.sendMessage`](/docs/action-nv-send-message) to reply. - `personUrn` – [URN](/docs/data-conventions#linkedin-urns) of the other participant, or `null` if LinkedIn does not expose it. - `personHashedUrl` – [hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the other participant. This is the form the inbox exposes; every action that takes a person URL accepts it. - `personPublicUrl` – [public](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the other participant, or `null` if it has not been resolved. It can be `null` on **any** message, including the first one in a thread, so never treat it as guaranteed. See [inbox polling](/docs/monitoring-inbox) for how it is resolved. - `personUrl` – **deprecated**, replaced by `personHashedUrl`, which carries the same value. Still sent so existing subscribers keep working; do not use it in new code. - `messageId` – unique identifier of the message, matching the `id` returned by [inbox polling](/docs/monitoring-inbox). - `sender` – `us` for `inbox.messageSent`, `them` for `inbox.messageReceived`. - `text` – message text. - `time` – ISO 8601 timestamp of the message. > Because `inbox.messageSent` also fires for outbound messages your own automations send, filter by `data.sender` and `data.type` rather than assuming every event is a fresh inbound reply. ## Network events The `network.*` namespace covers changes to a connected account's connection graph. These events fire for accounts that have [network monitoring](/docs/monitoring-network) enabled via `st.syncNetwork`, one event per connection change. - `network.connectionRequestReceived` – someone sent the account a connection request. A new incoming pending invitation was observed. - `network.connectionAccepted` – a new connection that matches a request the account sent. The other person accepted an outgoing invitation. - `network.connectionAdded` – a new connection that is not attributable to a request the account sent, for example an incoming request the account accepted, or a connection formed outside the API. `data` carries the connection event with the following fields: - `accountId` – the connected LinkedIn account the event belongs to. - `personUrn` – [URN](/docs/data-conventions#linkedin-urns) of the other person, or `null` if LinkedIn did not expose an identifier on the row that produced the event. - `personUrl` – LinkedIn URL of the other person. - `detectedAt` – ISO 8601 timestamp of when Linked API observed the event, matching the `detectedAt` returned by [network polling](/docs/monitoring-network). ## Signal events > 🚧 **Coming soon.** Signals are not available yet. These events will be delivered once they launch. The `signal.*` namespace covers what your [signals](/docs/signals-overview) detect, one event per new item. `data` carries the event exactly as [`/signals/poll`](/docs/signal-events#polling) returns it, plus `accountId`. - `signal.postPublished` – a watched person or company published a post. See [Posts by person or company](/docs/signal-posts). - `signal.postFound` – a new post matched a keyword signal. See [Posts by keyword](/docs/signal-keyword-posts). - `signal.commentAdded` – a new comment under a watched post. See [Comments and reactions](/docs/signal-post-engagement). - `signal.reactionAdded` – a new reaction on a watched post. See [Comments and reactions](/docs/signal-post-engagement). - `signal.profileViewed` – a new identified viewer of the account's profile. See [Profile viewers](/docs/signal-profile-viewers). - `signal.connectionAccepted`, `signal.connectionAdded`, `signal.connectionRequestReceived` – a change in the account's network found by the [`network`](/docs/signal-network) signal. The `network.*` events above come from [network monitoring](/docs/monitoring-network); an account with both receives each change once from each. ## Event selection By default a webhook receives every event on this page. You can narrow it to the events you handle. The choice is optional and per webhook, and a webhook that never makes one keeps receiving every event, so existing webhooks are unchanged. In the [dashboard](https://app.linkedapi.io/webhook), open **Advanced → Events** on your endpoint, or in the dialog that creates it, and switch off **All events** to choose. The endpoint's **Events** row shows the current selection. Programmatically, pass `events` to [`webhook.set`](/docs/admin-webhooks#webhook-set), change it later with [`webhook.setEvents`](/docs/admin-webhooks#webhook-setevents), and list the types you can choose with [`webhook.eventTypes`](/docs/admin-webhooks#webhook-eventtypes). A selection is either `null`, meaning every event, or a list whose entries are each: - an exact event type, such as `workflow.completed`; - a namespace wildcard `.*`, such as `inbox.*`. The namespace is the part before the first `.`: `workflow`, `account`, `inbox`, `network` or, once signals launch, `signal`. **A wildcard follows the family; an exact type pins it.** `inbox.*` matches every inbox event, including event types added later. `inbox.messageReceived` matches only itself and never widens. In the dashboard, choosing a whole group stores its wildcard, while ticking each of its types one by one stores those exact types. A selection is checked when you save it. An unknown type or namespace, `webhook.test`, `webhook.*`, a bare `*`, any other pattern, or an empty list is rejected with `invalidRequestPayload` naming the entry, so a typo never becomes a webhook that silently receives nothing. A selection holds up to 50 entries of up to 64 characters each. It is stored de-duplicated and sorted, and reading the webhook returns it as `events`. Delivered whatever you select: - `webhook.test`, so [`webhook.sendTest`](/docs/admin-webhooks#webhook-sendtest) works on any webhook; - a [replayed delivery](/docs/admin-webhooks#webhook-replaydelivery), even of a type you have deselected since. **An event you do not select is never recorded.** Filtering happens when the event is produced, so a deselected event creates no delivery at all. It does not appear in [recent deliveries](/docs/admin-webhooks#webhook-deliveries), cannot be replayed, and does not come back if you select its type later. **A change applies from the moment you save it.** Events produced after that follow the new selection. Deliveries that were already queued, pending or being retried, are still delivered. ## Signature Verification Turn signing on and every delivery to your endpoint carries an HMAC-SHA256 signature you can verify. It is off by default, per webhook, and enabling it changes nothing for anyone else. :::surface node In the Node SDK, `verifyWebhookSignature()` does this check for you – see [Verifying a delivery](#verifying-a-delivery). ::: :::surface python In the Python SDK, `verify_webhook_signature()` does this check for you – see [Verifying a delivery](#verifying-a-delivery). ::: :::surface cli In the CLI, `linkedin admin webhook set-signing --on` turns signing on, and `reveal-secret --print-secret` writes the secret to stdout – capture it with `$(...)`, as in the example below, so it goes into your endpoint's environment instead of onto the screen. ::: In the [dashboard](https://app.linkedapi.io/webhook), open **Advanced** on your endpoint and turn on **Sign deliveries**. The signing secret appears there, with buttons to copy and to rotate it; after a reload it is masked behind **Reveal**, so it is never left on screen. Programmatically, enable it with [`webhook.setSigning`](/docs/admin-webhooks#webhook-setsigning), which returns the secret. The secret already exists from the moment you register the webhook, so you can also retrieve it later with [`webhook.revealSecret`](/docs/admin-webhooks#webhook-revealsecret), and replace a leaked one with [`webhook.rotateSecret`](/docs/admin-webhooks#webhook-rotatesecret). :::surface cli The CLI keeps the signing secret out of your terminal history and logs: - `set --signing`, `set-signing --on` and `rotate-secret` without a flag show the secret as `[REDACTED]`, with `--json` and `--fields` too, and say on stderr how to read it. - `reveal-secret` needs one of two flags. `--print-secret` writes only the secret and a newline to stdout, so it fits `$(...)`. `--secret-file ` creates a new file with mode `0600`, refuses a path that already exists, and prints the path rather than the secret. - `rotate-secret` warns on stderr that the old secret stops working at once, and accepts the same two flags. With `--secret-file`, the file is created before the secret rotates, so a path that already exists stops the command before anything changes. Without a flag, read the new secret with `reveal-secret`. ```bash # Hand the secret to your endpoint's environment without printing it export LINKED_API_WEBHOOK_SECRET="$(linkedin admin webhook reveal-secret whs-... --print-secret)" ``` ::: Signed deliveries carry two extra headers: - `linked-api-signature-timestamp` – unix seconds when the delivery was signed. - `linked-api-signature` – `HMAC-SHA256(secret, ".")`, hex encoded. ## How the signature is computed Four details decide whether your implementation agrees with ours. Three are conventional; the first is not, and it is the one that silently breaks a reasonable implementation. 1. **The secret is used as a UTF-8 string – do not hex-decode it.** The secret is 64 hexadecimal characters, and the natural assumption is that it encodes 32 key bytes. It does not: those 64 characters **are** the key, passed to the hash as text. Decoding them first produces a different signature, and every delivery then fails verification with no clue as to why. 2. **The timestamp** is the decimal unix time in **seconds**, exactly as it appears in the header. 3. **The separator** between timestamp and body is a single period: `"."`. 4. **The body is the raw bytes we sent.** Verify before parsing – a body that has been parsed and re-serialized will not verify, because key order and whitespace change the bytes. ## Test vectors Check your implementation against these before trusting it in production. Both come from the signer Linked API actually runs. | | | | --- | --- | | secret | `000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f` | | timestamp | `1700000000` | | raw body | `{"id":"event-1","type":"webhook.test","data":{"message":"Hello"}}` | | **expected signature** | `8f93c19766fe42f27da56fcb5ae11a909c406683ccc0766bd29edc52c71fd209` | If you get `cf8a7cbd4da0130448492ced3d1aaffd608738b7fff2623e27eaecd4dd54a236` instead, you hex-decoded the secret – see point 1 above. That is the single most likely mistake, and this is how you recognise it in one comparison. A second vector, because the first is pure ASCII and would not catch an implementation that hashes characters instead of bytes. Same secret and timestamp: | | | | --- | --- | | raw body | `{"id":"event-2","type":"webhook.test","data":{"message":"Zoë ♥ 日本"}}` | | **expected signature** | `87f5bc51d542ce4d8b61350b35807420dce7b3473bd7ecec87211b544c299c69` | That body is 68 characters and **75 UTF-8 bytes**. Hash the bytes. ## Verifying a delivery :::surface http,cli Without an SDK, copy `verifyWebhookSignature` from the reference implementation below – or port it to your language – and call it with the raw body and the two headers: ::: :::surface node,python The SDKs ship this check, with the two header names exported as `WEBHOOK_SIGNATURE_HEADER` and `WEBHOOK_SIGNATURE_TIMESTAMP_HEADER`: ::: ```js tab=HTTP,CLI const isAuthentic = verifyWebhookSignature({ rawBody, // the raw body: string, Buffer or TypedArray timestamp: request.headers["linked-api-signature-timestamp"], signature: request.headers["linked-api-signature"], secret: process.env.LINKED_API_WEBHOOK_SECRET, nowSeconds: Math.floor(Date.now() / 1000), }) ``` ```typescript tab=Node import { verifyWebhookSignature, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_SIGNATURE_TIMESTAMP_HEADER, } from "@linkedapi/node"; const isAuthentic = verifyWebhookSignature({ rawBody, // the raw body: string, Buffer, Uint8Array or ArrayBuffer timestamp: request.headers[WEBHOOK_SIGNATURE_TIMESTAMP_HEADER], signature: request.headers[WEBHOOK_SIGNATURE_HEADER], secret: process.env.LINKED_API_WEBHOOK_SECRET, }); ``` ```python tab=Python import os from linkedapi import ( WEBHOOK_SIGNATURE_HEADER, WEBHOOK_SIGNATURE_TIMESTAMP_HEADER, verify_webhook_signature, ) is_authentic = verify_webhook_signature( raw_body=raw_body, # the raw body: str, bytes, bytearray or memoryview timestamp=request.headers.get(WEBHOOK_SIGNATURE_TIMESTAMP_HEADER), signature=request.headers.get(WEBHOOK_SIGNATURE_HEADER), secret=os.environ.get("LINKED_API_WEBHOOK_SECRET"), ) ``` :::surface node `verifyWebhookSignature` returns `true` or `false` and never throws: a missing or malformed header, an empty secret or a body of the wrong type is simply `false`. It uses the secret as the literal text you received, never hex-decoded, and accepts a timestamp up to 300 seconds away from your clock in either direction. Change that window with `toleranceSeconds`, and pass `nowSeconds` to check a stored delivery against the time it arrived. A complete endpoint that verifies and then parses a delivery is in [Receiving events](/docs/webhooks#receiving-events); the code below is the same check, for any other language. ::: :::surface python `verify_webhook_signature` takes keyword arguments only, returns `True` or `False` and never raises: a missing or malformed header, an empty secret or a body of the wrong type is simply `False`. It uses the secret as the literal text you received, never hex-decoded, and accepts a timestamp up to 300 seconds away from your clock in either direction. Change that window with `tolerance_seconds`, and pass `now_seconds` to check a stored delivery against the time it arrived. A complete endpoint that verifies and then parses a delivery is in [Receiving events](/docs/webhooks#receiving-events); the code below is the same check, for any other language. ::: ```js const { createHmac, timingSafeEqual } = require("node:crypto") const TOLERANCE_SECONDS = 300 function verifyWebhookSignature({ rawBody, timestamp, signature, secret, nowSeconds }) { const sentAt = Number(timestamp) if (!Number.isInteger(sentAt)) { return false } // Number.isFinite also closes the case where nowSeconds was not passed: NaN > TOLERANCE // is false, so without this check a missing clock would accept any timestamp. if (!Number.isFinite(nowSeconds) || Math.abs(nowSeconds - sentAt) > TOLERANCE_SECONDS) { return false } // Validate shape and length BEFORE comparing: timingSafeEqual throws on a length // mismatch, so a malformed signature must be rejected here, not by an exception. if (typeof signature !== "string" || !/^[0-9a-f]{64}$/.test(signature)) { return false } // The same rule for the body, and it is not hypothetical: the sender picks its // Content-Type, so a body parser can hand you {} or undefined. update() would throw // on those, and an exception here is a crash rather than a rejection. // ArrayBuffer.isView covers Buffer, every TypedArray and DataView. if (typeof rawBody !== "string" && !ArrayBuffer.isView(rawBody)) { return false } // Hashed in two steps so rawBody is never stringified: a Uint8Array would become // "123,34,105,..." and an ArrayBuffer "[object ArrayBuffer]". update() takes a string, // a Buffer, a TypedArray or a DataView – wrap a bare ArrayBuffer in new Uint8Array(...). const expected = createHmac("sha256", secret).update(`${sentAt}.`).update(rawBody).digest("hex") return timingSafeEqual(Buffer.from(expected, "hex"), Buffer.from(signature, "hex")) } module.exports = { verifyWebhookSignature } // At the call site, nowSeconds is your own clock. Pass it in rather than reading the // clock inside, so the function stays testable against the fixed vectors above: // // verifyWebhookSignature({ // rawBody, // raw body: string, Buffer or TypedArray // timestamp: request.headers["linked-api-signature-timestamp"], // signature: request.headers["linked-api-signature"], // secret: process.env.LINKED_API_WEBHOOK_SECRET, // nowSeconds: Math.floor(Date.now() / 1000), // }) ``` The Node and Python SDKs ship this check as `verifyWebhookSignature` / `verify_webhook_signature`; this is the reference implementation for any other language. Two things in it are not decoration: the comparison is constant-time, and the signature's shape is validated **before** that comparison. `TOLERANCE_SECONDS` is yours to choose; 300 is a reasonable default. Reject a timestamp outside the window in **both** directions – too old replays a captured delivery, too far in the future means a clock you cannot trust. > Keep your clock in sync, and do not tighten the window to save effort. Each retry is re-signed with a fresh timestamp, but a timestamp is only ever stale from your side, so a skewed clock rejects every attempt alike: all 8 are spent in about three minutes and the delivery ends as failed. **Rotation takes effect immediately and there is no overlap period.** The old secret stops signing the moment the new one is stored, so rotate when you are ready to deploy the new value, not before. ## Custom Headers If your endpoint requires authentication, put its credential here and Linked API sends it with every delivery – retries, test events and replays included. Up to 10 headers per webhook. Add them in the [dashboard](https://app.linkedapi.io/webhook) under **Advanced**, or through [`webhook.setHeader`](/docs/admin-webhooks#webhook-setheader). In the dashboard a saved header shows its name with the value masked; **Replace value** opens an empty field, because the value cannot be read back. :::surface http Each call of [`webhook.setHeader`](/docs/admin-webhooks#webhook-setheader) adds or replaces one header; [`webhook.deleteHeader`](/docs/admin-webhooks#webhook-deleteheader) removes one and [`webhook.setHeaders`](/docs/admin-webhooks#webhook-setheaders) replaces or clears them all: ::: :::surface node In the Node SDK the header endpoints are methods of `admin.webhooks`: `setHeader()` adds or replaces one header, `deleteHeader()` removes one and `setHeaders()` replaces or clears them all: ::: :::surface python In the Python SDK the header endpoints are methods of `admin.webhooks`: `set_header()` adds or replaces one header, `delete_header()` removes one and `set_headers()` replaces or clears them all: ::: :::surface cli The CLI keeps header values out of your terminal history and logs – they never go on the command line: - `set-header` reads the value from stdin with `--value-stdin`, removing one trailing newline, or from the environment variable named by `--value-env`; exactly one is required. - `set --headers-stdin` and `set-headers --stdin` read a JSON object of names and values from stdin. - An empty value is refused with exit code `5` before anything is sent, whether it comes from stdin, the environment variable or the JSON object, and so is an environment variable that is not set. Remove a header with `delete-header`, or clear them all with `set-headers --clear` or `{}`. ::: ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/webhook.setHeader \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" \ -d '{ "id": "whs-...", "name": "Authorization", "value": "Bearer your_endpoint_token" }' ``` ```typescript tab=Node await admin.webhooks.setHeader({ id: "whs-...", name: "Authorization", value: "Bearer your_endpoint_token", }); ``` ```python tab=Python from linkedapi import SetWebhookHeaderParams admin.webhooks.set_header( SetWebhookHeaderParams( id="whs-...", name="Authorization", value="Bearer your_endpoint_token", ) ) ``` ```bash tab=CLI cat endpoint-token.txt | linkedin admin webhook set-header whs-... Authorization --value-stdin linkedin admin webhook set-header whs-... Authorization --value-env ENDPOINT_TOKEN ``` A webhook with no headers configured sends exactly what it always sent: `content-type: application/json`, plus the signature headers if signing is on. **Values are write-only.** Reading the webhook returns `headerNames` – the names you configured – and never the values. That is also why headers are set one at a time: replacing the whole map would force you to re-enter every credential you were not changing. Limits, all enforced when you save: | Rule | Value | | --- | --- | | headers per webhook | 10 | | value length | 1024 characters | | all headers, serialized | 4096 bytes | | name | an RFC 7230 token | | value | tab and printable ASCII only | Reserved names, matched case-insensitively and rejected: `content-type`, `content-length`, `host`, `connection`, `transfer-encoding`, `expect`, `upgrade`, and any name beginning `linked-api-`. Also reserved: `get`, `post`, `put`, `patch`, `delete`, `head` and `common` – our HTTP client treats those as its own configuration keys rather than as headers, so one of them would be sent under the wrong name or dropped. Two names differing only in case are rejected for the same reason. > Header values are stored unencrypted, and our API responses never return them. One exception is worth knowing before you choose what to put here: if a request body is **invalid JSON**, the parser's error quotes about ten characters around the fault, and that text is both returned in the `400` and written to our logs. The usual way to hit it is a quoting slip in `curl` that sends the value unquoted. So prefer a credential scoped to webhook ingestion, and rotate it on your side as you would any shared secret. We never follow redirects, so your credential cannot be forwarded to another host by a `3xx` from your endpoint. ## Managing Webhooks Register and manage the webhook that receives [workflow and account events](/docs/webhook-event-types). For general Admin API information, see the [Admin overview](/docs/admin-overview). A client may hold one active webhook at a time. Everything on this page can also be done in the [platform dashboard](https://app.linkedapi.io/webhook) – registering the endpoint, switching payload mode, choosing events, signing, custom headers, and inspecting recent deliveries. Use these endpoints when you want it in code; the two reach the same webhook. :::surface node In the Node SDK these endpoints are methods of `admin.webhooks` on the [admin client](/docs/admin-overview#authentication), named after the endpoint: `webhook.setPayloadMode` is `admin.webhooks.setPayloadMode()`. Each method returns the content of `result` unwrapped: the webhook (`TWebhookSubscription`) from `set`, the other `set…` methods, `deleteHeader`, `revealSecret` and `rotateSecret`; an array from `get`, `eventTypes` and `deliveries` (`TWebhookDelivery`); and nothing from `delete`, `replayDelivery` and `sendTest`. A failed call throws `LinkedApiError` – see [error handling](/docs/admin-overview#authentication). ::: :::surface python In the Python SDK these endpoints are methods of `admin.webhooks` on the [admin client](/docs/admin-overview#authentication), in snake_case: `webhook.setPayloadMode` is `admin.webhooks.set_payload_mode()`. A method that takes parameters takes them as a params model exported from `linkedapi`, such as `SetWebhookPayloadModeParams`. Each method returns the content of `result` unwrapped: a `WebhookSubscription` from `set`, the other `set_…` methods, `delete_header`, `reveal_secret` and `rotate_secret`; a list from `get`, `event_types` and `deliveries` (`WebhookDelivery`); and `None` from `delete`, `replay_delivery` and `send_test`. Fields are snake_case, such as `payload_mode` and `header_names`. A failed call raises `LinkedApiError` – see [error handling](/docs/admin-overview#authentication). ::: :::surface cli In the CLI these endpoints are the `linkedin admin webhook` commands, in kebab-case: `webhook.setPayloadMode` is `set-payload-mode`, and `webhook.replayDelivery` is `replay`. The webhook `id` and the other required values are positional arguments. The signing secret and header values never appear on screen or on the command line unless you ask – see [secrets in the CLI](/docs/webhook-signature-verification) and [header values in the CLI](/docs/webhook-custom-headers). ::: ## webhook.set Register the webhook. Enforces a maximum of one active webhook per client. There is no endpoint that changes the destination `url` – for that, delete the webhook and set a new one. Payload mode, the event selection, signing and custom headers are all changeable in place. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/webhook.set \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" \ -d '{ "url": "https://example.com/hooks/linkedapi", "payloadMode": "fat" }' ``` ```typescript tab=Node const webhook = await admin.webhooks.set({ url: "https://example.com/hooks/linkedapi", payloadMode: "fat", }); ``` ```python tab=Python from linkedapi import SetWebhookParams webhook = admin.webhooks.set( SetWebhookParams(url="https://example.com/hooks/linkedapi", payload_mode="fat") ) ``` ```bash tab=CLI linkedin admin webhook set https://example.com/hooks/linkedapi --payload-mode fat --json ``` :::surface cli In the CLI this is `linkedin admin webhook set`: ```bash linkedin admin webhook set [flags] ``` | Flag | Type | Description | | --- | --- | --- | | `--payload-mode` | string | `fat` (default) or `thin` | | `--signing` | boolean | Sign every delivery. The returned secret is shown as `[REDACTED]` | | `--events` | string | Comma-separated event types and `.*` wildcards. Omitted means every event | | `--headers-stdin` | boolean | Read the custom headers from stdin, as a JSON object of names and values | ```bash cat headers.json | linkedin admin webhook set https://example.com/hooks \ --signing --events "workflow.*,inbox.messageReceived" --headers-stdin ``` ::: **Body:** - `url` – HTTPS endpoint that will receive deliveries. Required. - `payloadMode` – `fat` (default) or `thin`. See [payload modes](/docs/webhooks#payload-modes). Optional. - `signingEnabled` – `true` to sign every delivery. Defaults to `false`. When `true`, the response includes `secret`. See [signature verification](/docs/webhook-signature-verification). Optional. - `headers` – custom headers sent with every delivery, as a name-to-value object. See [custom delivery headers](/docs/webhook-custom-headers). Optional. - `events` – the events to deliver: exact event types and `.*` wildcards, such as `["workflow.completed", "inbox.*"]`. Omitted or `null` means every event. See [event selection](/docs/webhook-event-types#event-selection). Optional. **Response:** ```json { "success": true, "result": { "webhook": { "id": "whs-...", "url": "https://example.com/hooks/linkedapi", "payloadMode": "fat", "signingEnabled": false, "headerNames": [], "events": null, "isActive": true, "createdAt": "2026-06-25T12:00:00.000Z" } } } ``` - `id` – webhook identifier, used by the other endpoints. - `url` – the registered destination. - `payloadMode` – current payload mode. - `signingEnabled` – whether deliveries are signed. - `headerNames` – names of the configured [custom headers](/docs/webhook-custom-headers), never their values. - `events` – the stored [event selection](/docs/webhook-event-types#event-selection), de-duplicated and sorted, or `null` for every event. - `isActive` – whether the webhook is active. - `createdAt` – ISO 8601 timestamp. - `secret` – the signing secret. Present **only** on a `webhook.set` that enabled signing, on `webhook.setSigning` when enabling, on `webhook.revealSecret` and on `webhook.rotateSecret`. Every other response omits it. > A `url` that is a bare IP address in a private or internal range is rejected. Deliveries are only ever sent to public addresses. ## webhook.get List the active webhook for this client. Returns an array with at most one entry. Never returns the signing secret – use `webhook.revealSecret` for that. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/webhook.get \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" ``` ```typescript tab=Node const webhooks = await admin.webhooks.get(); ``` ```python tab=Python webhooks = admin.webhooks.get() ``` ```bash tab=CLI linkedin admin webhook get --json ``` **Response:** ```json { "success": true, "result": { "webhooks": [ { "id": "whs-...", "url": "https://example.com/hooks/linkedapi", "payloadMode": "fat", "signingEnabled": false, "headerNames": [], "events": null, "isActive": true, "createdAt": "2026-06-25T12:00:00.000Z" } ] } } ``` ## webhook.setPayloadMode Switch the [payload mode](/docs/webhooks#payload-modes) between `fat` and `thin`. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/webhook.setPayloadMode \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" \ -d '{ "id": "whs-...", "payloadMode": "thin" }' ``` ```typescript tab=Node await admin.webhooks.setPayloadMode({ id: "whs-...", payloadMode: "thin" }); ``` ```python tab=Python from linkedapi import SetWebhookPayloadModeParams admin.webhooks.set_payload_mode( SetWebhookPayloadModeParams(id="whs-...", payload_mode="thin") ) ``` ```bash tab=CLI linkedin admin webhook set-payload-mode whs-... thin --json ``` **Body:** - `id` – webhook identifier. Required. - `payloadMode` – `fat` or `thin`. Required. ## webhook.setEvents Replace the [event selection](/docs/webhook-event-types#event-selection) in place. `null` goes back to every event. Saving the selection the webhook already has, even reordered or with duplicates, changes nothing. Returns the updated webhook. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/webhook.setEvents \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" \ -d '{ "id": "whs-...", "events": ["workflow.completed", "inbox.*"] }' ``` ```typescript tab=Node const webhook = await admin.webhooks.setEvents({ id: "whs-...", events: ["workflow.completed", "inbox.*"], }); ``` ```python tab=Python from linkedapi import SetWebhookEventsParams webhook = admin.webhooks.set_events( SetWebhookEventsParams(id="whs-...", events=["workflow.completed", "inbox.*"]) ) ``` ```bash tab=CLI linkedin admin webhook set-events whs-... "workflow.completed,inbox.*" --json ``` :::surface node `events` is typed as `Array | null`, so TypeScript flags an unknown event type or wildcard at compile time. An entry that Linked API rejects throws `LinkedApiError` with type `invalidRequestPayload`. The same applies to `events` in `set`. ::: :::surface python The params model checks each entry against the `WebhookEventSelector` values as you build it and raises `pydantic.ValidationError` for an unknown one, before any request is sent. An entry that Linked API rejects raises `LinkedApiError` with type `invalidRequestPayload`. The same applies to `events` in `SetWebhookParams`. ::: :::surface cli In the CLI this is `linkedin admin webhook set-events`. It takes the selection as one comma-separated argument, or `--all` for every event (`null`) – exactly one of the two: ```bash linkedin admin webhook set-events linkedin admin webhook set-events --all ``` An empty entry, such as one left by a trailing comma, is refused with exit code `5` before anything is sent. `set --events` takes the same list. ::: **Body:** - `id` – webhook identifier. Required. - `events` – exact event types and `.*` wildcards, or `null` for every event. Required, so a request without it never clears a selection by accident. An invalid entry is rejected with `invalidRequestPayload` naming it, and the stored selection stays as it was. ## webhook.eventTypes List the event types a selection can name, in the order Linked API defines them. `webhook.test` is not among them, because it is always delivered. It works before you register a webhook, so you can build a selection first. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/webhook.eventTypes \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" ``` ```typescript tab=Node const eventTypes = await admin.webhooks.eventTypes(); ``` ```python tab=Python event_types = admin.webhooks.event_types() ``` ```bash tab=CLI linkedin admin webhook event-types --json ``` **Response:** ```json { "success": true, "result": { "eventTypes": [ "workflow.created", "workflow.started", "workflow.completed", "account.active", "account.reconnectionRequired", "account.frozen", "account.deleted", "inbox.messageReceived", "inbox.messageSent", "network.connectionAccepted", "network.connectionAdded", "network.connectionRequestReceived" ] } } ``` The wildcards are not listed: each namespace in this list, the part before the first `.`, can be selected as `.*`. ## webhook.setSigning Turn [signature verification](/docs/webhook-signature-verification) on or off for this webhook. Returns the signing secret when enabling, so you can configure your verifier in the same step. No other endpoint changes the signing state. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/webhook.setSigning \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" \ -d '{ "id": "whs-...", "signingEnabled": true }' ``` ```typescript tab=Node const { secret } = await admin.webhooks.setSigning({ id: "whs-...", signingEnabled: true }); ``` ```python tab=Python from linkedapi import SetWebhookSigningParams secret = admin.webhooks.set_signing( SetWebhookSigningParams(id="whs-...", signing_enabled=True) ).secret ``` ```bash tab=CLI linkedin admin webhook set-signing whs-... --on --json ``` :::surface cli In the CLI this is `linkedin admin webhook set-signing ` with `--on` or `--off`, exactly one of the two. When enabling, the returned secret is shown as `[REDACTED]`; read it with [`reveal-secret`](#webhook-revealsecret). ::: **Body:** - `id` – webhook identifier. Required. - `signingEnabled` – `true` to sign deliveries, `false` to stop. Required. ## webhook.setHeader Add or replace one [custom header](/docs/webhook-custom-headers), leaving the others untouched. This is the endpoint to use when editing an existing configuration, because header values cannot be read back. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/webhook.setHeader \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" \ -d '{ "id": "whs-...", "name": "Authorization", "value": "Bearer your_endpoint_token" }' ``` ```typescript tab=Node await admin.webhooks.setHeader({ id: "whs-...", name: "Authorization", value: "Bearer your_endpoint_token", }); ``` ```python tab=Python from linkedapi import SetWebhookHeaderParams admin.webhooks.set_header( SetWebhookHeaderParams( id="whs-...", name="Authorization", value="Bearer your_endpoint_token", ) ) ``` ```bash tab=CLI printf 'Bearer %s' "$ENDPOINT_TOKEN" \ | linkedin admin webhook set-header whs-... Authorization --value-stdin --json ``` :::surface cli In the CLI this is `linkedin admin webhook set-header`. The value is never an argument: it comes from stdin or from an environment variable, exactly one of the two. ```bash linkedin admin webhook set-header --value-stdin linkedin admin webhook set-header --value-env ``` | Flag | Type | Description | | --- | --- | --- | | `--value-stdin` | boolean | Read the value from stdin. One trailing newline is removed | | `--value-env` | string | Name of the environment variable that holds the value | An empty value, or an environment variable that is not set, is refused with exit code `5` before anything is sent. See [header values in the CLI](/docs/webhook-custom-headers). ::: **Body:** - `id` – webhook identifier. Required. - `name` – header name. An existing header with the same name, ignoring case, is replaced. Required. - `value` – header value. Required. ## webhook.deleteHeader Remove one custom header by name. The name is matched ignoring case. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/webhook.deleteHeader \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" \ -d '{ "id": "whs-...", "name": "Authorization" }' ``` ```typescript tab=Node await admin.webhooks.deleteHeader({ id: "whs-...", name: "Authorization" }); ``` ```python tab=Python from linkedapi import DeleteWebhookHeaderParams admin.webhooks.delete_header(DeleteWebhookHeaderParams(id="whs-...", name="Authorization")) ``` ```bash tab=CLI linkedin admin webhook delete-header whs-... Authorization --json ``` **Body:** - `id` – webhook identifier. Required. - `name` – header name to remove. Required. ## webhook.setHeaders Replace **all** custom headers at once. `{}` or `null` removes every header. Use this only when you hold every value – it is the programmatic path; for editing one header, use `webhook.setHeader`. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/webhook.setHeaders \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" \ -d '{ "id": "whs-...", "headers": { "Authorization": "Bearer your_endpoint_token" } }' ``` ```typescript tab=Node await admin.webhooks.setHeaders({ id: "whs-...", headers: { Authorization: "Bearer your_endpoint_token" }, }); ``` ```python tab=Python from linkedapi import SetWebhookHeadersParams admin.webhooks.set_headers( SetWebhookHeadersParams( id="whs-...", headers={"Authorization": "Bearer your_endpoint_token"}, ) ) ``` ```bash tab=CLI # headers.json: { "Authorization": "Bearer your_endpoint_token" } cat headers.json | linkedin admin webhook set-headers whs-... --stdin --json ``` :::surface cli In the CLI this is `linkedin admin webhook set-headers ` with exactly one of two flags: | Flag | Type | Description | | --- | --- | --- | | `--stdin` | boolean | Read the headers from stdin, as a JSON object of names and values | | `--clear` | boolean | Remove every header (sends `null`) | An empty value in the JSON object is refused with exit code `5` before anything is sent; an empty object `{}` clears every header, like `--clear`. ::: **Body:** - `id` – webhook identifier. Required. - `headers` – name-to-value object, or `null` to clear. Required. ## webhook.revealSecret Return the current signing secret. Use it when you need the secret again after enabling signing – for example when configuring a second environment. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/webhook.revealSecret \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" \ -d '{ "id": "whs-..." }' ``` ```typescript tab=Node const { secret } = await admin.webhooks.revealSecret({ id: "whs-..." }); ``` ```python tab=Python from linkedapi import RevealWebhookSecretParams secret = admin.webhooks.reveal_secret(RevealWebhookSecretParams(id="whs-...")).secret ``` ```bash tab=CLI linkedin admin webhook reveal-secret whs-... --print-secret linkedin admin webhook reveal-secret whs-... --secret-file webhook-secret.txt ``` :::surface cli In the CLI this is `linkedin admin webhook reveal-secret `, and it needs exactly one of two flags that say where the secret goes: | Flag | Type | Description | | --- | --- | --- | | `--print-secret` | boolean | Write only the secret and a newline to stdout, ignoring `--json` and `--fields`, so it fits `$(...)` | | `--secret-file` | string | Create a new file with mode `0600` holding the secret, and print its path instead of the secret. A path that already exists is refused | ::: **Body:** - `id` – webhook identifier. Required. ## webhook.rotateSecret Generate a new signing secret, store it and return it. This replaces a leaked secret without deleting the webhook, which would change its `id`. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/webhook.rotateSecret \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" \ -d '{ "id": "whs-..." }' ``` ```typescript tab=Node const { secret } = await admin.webhooks.rotateSecret({ id: "whs-..." }); ``` ```python tab=Python from linkedapi import RotateWebhookSecretParams secret = admin.webhooks.rotate_secret(RotateWebhookSecretParams(id="whs-...")).secret ``` ```bash tab=CLI linkedin admin webhook rotate-secret whs-... --secret-file new-webhook-secret.txt ``` :::surface cli In the CLI this is `linkedin admin webhook rotate-secret `. It warns on stderr that the old secret stops working at once, and takes the same two flags as [`reveal-secret`](#webhook-revealsecret), both optional. With `--secret-file`, the file is created before the secret rotates, so a path that already exists stops the command before anything changes. Without either flag, the new secret is shown as `[REDACTED]`; read it with `reveal-secret`. ::: **Body:** - `id` – webhook identifier. Required. > Rotation takes effect immediately and there is no overlap period: the old secret stops signing the moment the new one is stored, so every delivery fails verification until your endpoint holds the new value. Rotate when you are ready to deploy it. ## webhook.delete Delete the webhook. This is a soft delete: the delivery history is preserved and any still-pending deliveries are dropped. Because only active webhooks count toward the one-per-client limit, you can register a fresh webhook afterwards. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/webhook.delete \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" \ -d '{ "id": "whs-..." }' ``` ```typescript tab=Node await admin.webhooks.delete({ id: "whs-..." }); ``` ```python tab=Python from linkedapi import DeleteWebhookParams admin.webhooks.delete(DeleteWebhookParams(id="whs-...")) ``` ```bash tab=CLI linkedin admin webhook delete whs-... ``` **Body:** - `id` – webhook identifier. Required. ## webhook.deliveries Return the most recent deliveries (newest first) as a debug feed – useful for confirming an endpoint is receiving and acknowledging events. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/webhook.deliveries \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" ``` ```typescript tab=Node const deliveries = await admin.webhooks.deliveries(); ``` ```python tab=Python deliveries = admin.webhooks.deliveries() ``` ```bash tab=CLI linkedin admin webhook deliveries --json ``` **Response:** ```json { "success": true, "result": { "deliveries": [ { "id": "whd-...", "eventType": "workflow.completed", "eventId": "workflow.completed:wf-...", "status": "success", "attempts": 1, "responseStatusCode": 200, "lastError": null, "createdAt": "2026-06-25T12:00:00.000Z", "updatedAt": "2026-06-25T12:00:01.000Z" } ] } } ``` - `id` – delivery identifier, passed to `webhook.replayDelivery`. - `eventType` – the event `type` that was delivered. - `eventId` – the envelope `id` of the delivered event. - `status` – `pending`, `delivering`, `success`, or `failed`. - `attempts` – delivery attempts made so far. - `responseStatusCode` – HTTP status your endpoint returned on the last attempt, or `null`. - `lastError` – error text from the last failed attempt, or `null`. - `createdAt` / `updatedAt` – ISO 8601 timestamps. ## webhook.replayDelivery Re-arm an already-settled (`success` or `failed`) delivery for redelivery. The same `eventId` is reused, so consumer-side deduplication still applies – this is a true redelivery, not a new event. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/webhook.replayDelivery \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" \ -d '{ "deliveryId": "whd-..." }' ``` ```typescript tab=Node await admin.webhooks.replayDelivery({ deliveryId: "whd-..." }); ``` ```python tab=Python from linkedapi import ReplayWebhookDeliveryParams admin.webhooks.replay_delivery(ReplayWebhookDeliveryParams(delivery_id="whd-...")) ``` ```bash tab=CLI linkedin admin webhook replay whd-... ``` **Body:** - `deliveryId` – delivery identifier from `webhook.deliveries`. Required. ## webhook.sendTest Emit a synthetic `webhook.test` event to the active webhook through the normal delivery path. Its `data` carries a single `message` field. Use it to verify a freshly registered endpoint without waiting for a real event. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/webhook.sendTest \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" ``` ```typescript tab=Node await admin.webhooks.sendTest(); ``` ```python tab=Python admin.webhooks.send_test() ``` ```bash tab=CLI linkedin admin webhook send-test ``` ## Overview Admin endpoints let you programmatically manage your Linked API subscription status, seats, connected LinkedIn accounts, and rate limits. :::surface node In the Node SDK the Admin API is its own client, `LinkedApiAdmin`, with the namespaces `admin.subscription`, `admin.accounts`, `admin.limits` and `admin.webhooks` – see [Authentication](#authentication) and [Endpoints](#endpoints). ::: :::surface python In the Python SDK the Admin API is its own client, `LinkedApiAdmin`, with the namespaces `admin.subscription`, `admin.accounts`, `admin.limits` and `admin.webhooks` – see [Authentication](#authentication) and [Endpoints](#endpoints). ::: :::surface cli In the CLI the Admin API is the `linkedin admin` commands – `subscription`, `accounts`, `limits` and `webhook` – see [Authentication](#authentication) and [Endpoints](#endpoints). ::: While the main API endpoints ([workflows](/docs/executing-workflows), [inbox](/docs/monitoring-inbox), [statistics](/docs/checking-api-usage-statistics)) operate on behalf of a specific LinkedIn account, admin endpoints manage your Linked API account itself. They are synchronous (direct request-response, no workflows) and need only your Linked API token – no identification token. You can find the token in the [platform dashboard](https://app.linkedapi.io). The Admin API keeps its names on every surface: the endpoint `subscription.getStatus` is the SDK method `admin.subscription.getStatus`, the CLI command `linkedin admin subscription status` and the MCP tool `admin_get_subscription_status`. Pick your surface with the switch above. ## Authentication :::surface http Send the `linked-api-token` header – the same token used for all other API requests. Account-specific operations take `accountId` in the request body instead of the `identification-token` header. ::: :::surface node,python Admin endpoints are not methods of the main `LinkedApi` client. They have their own client, `LinkedApiAdmin`, created with your Linked API token only: ::: :::surface cli Admin commands use the Linked API token that `linkedin setup` saved for the current account and send no identification token, so they do not depend on the state of that LinkedIn account. They take no `--account` flag: to use the token of another saved account, switch to it with `linkedin account switch`. Account-specific commands take the account ID as an argument. ::: ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/subscription.getStatus \ -H "Content-Type: application/json" \ -H "linked-api-token: your-linked-api-token" ``` ```typescript tab=Node import { LinkedApiAdmin } from '@linkedapi/node'; const admin = new LinkedApiAdmin({ linkedApiToken: 'your-linked-api-token', }); ``` ```python tab=Python from linkedapi import AdminConfig, LinkedApiAdmin admin = LinkedApiAdmin(AdminConfig(linked_api_token="your-linked-api-token")) ``` ```bash tab=CLI linkedin setup # saves the Linked API token with the account linkedin admin subscription status # sends only that token ``` :::surface node,python Account-specific methods take `accountId` in their parameters instead of an identification token. ::: ## Request format :::surface http All endpoints use the **POST** method with a JSON body. The URL pattern is: ```text POST https://api.linkedapi.io/admin/. ``` | Header | Required | Description | |--------|----------|-------------| | `linked-api-token` | Yes | Your Linked API token | | `Content-Type` | Yes | `application/json` | ::: :::surface node,python The endpoint `.` is the method `` of the `admin.` namespace: `admin.subscription`, `admin.accounts` (accounts and connection sessions), `admin.limits` and `admin.webhooks`. ::: :::surface http For example, `subscription.setSeats`: ::: :::surface node A method takes the request body as one object: ::: :::surface python Methods are in snake_case, and a method that takes parameters takes them as a params model imported from `linkedapi`: ::: :::surface cli The endpoint `.` is a command under `linkedin admin `, and the body fields are flags or arguments: ::: ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/subscription.setSeats \ -H "Content-Type: application/json" \ -H "linked-api-token: your-linked-api-token" \ -d '{"quantity": 5, "billingPeriod": "year", "seatType": "plus"}' ``` ```typescript tab=Node const { status, paymentLink } = await admin.subscription.setSeats({ quantity: 5, billingPeriod: 'year', seatType: 'plus', }); ``` ```python tab=Python from linkedapi import SetSeatsParams result = admin.subscription.set_seats( SetSeatsParams(quantity=5, billing_period="year", seat_type="plus") ) ``` ```bash tab=CLI linkedin admin subscription set-seats --quantity 5 --period year --type plus ``` ## Response format :::surface http **Success:** ```json { "success": true, "result": { ... } } ``` **Error:** ```json { "success": false, "error": { "type": "errorType", "message": "Human-readable error description" } } ``` A request with an invalid token, and the response it gets: ::: :::surface node,python Admin methods are direct request-response, not workflows: there is no `execute()` / `result()`. A method returns the endpoint's `result`, or nothing when that result is empty, and throws `LinkedApiError` with the `type` and `message` of the error response. A network failure throws it with the type `httpError`. ::: :::surface cli Admin commands accept `--json`, `--fields`, `--quiet` and `--no-color`, and print the endpoint's `result` as `data`, except that `subscription seats` and `limits defaults`, `get` and `usage` print the array itself, `accounts session` prints the `session` object, and commands with an empty result print a confirmation, or `"data": null` in JSON. Errors are written to stderr as a JSON object with `error` and `message`, with the usual [exit codes](/cli/flags-and-output#exit-codes): `2` for token errors, `5` for `accountIdRequired`, `accountNotFound`, `sessionNotFound`, `noAvailableSeats`, `dailyConnectionAttemptsExceeded` and `invalidRequestPayload`, and `6` for `tooManyRequests`. ::: ```bash tab=HTTP curl -i -X POST https://api.linkedapi.io/admin/subscription.getStatus \ -H "Content-Type: application/json" \ -H "linked-api-token: invalid-token" # HTTP/2 401 # {"success":false,"error":{"type":"invalidLinkedApiToken","message":"The provided 'linked-api-token' is invalid."}} ``` ```typescript tab=Node import { LinkedApiError } from '@linkedapi/node'; try { const status = await admin.subscription.getStatus(); } catch (e) { if (e instanceof LinkedApiError) { console.error(`${e.type}: ${e.message}`); } } ``` ```python tab=Python from linkedapi import LinkedApiError try: status = admin.subscription.get_status() except LinkedApiError as e: print(f"{e.type}: {e.message}") ``` ```bash tab=CLI linkedin admin subscription status echo $? # stderr: {"error":"invalidLinkedApiToken","message":"The provided 'linked-api-token' is invalid."} # stderr: Run "linkedin account update" to refresh your tokens. # 2 ``` ### Common errors The error type is the same on every surface: `error.type` in the HTTP response, `type` of `LinkedApiError` in the SDKs, `error` in the CLI output. | Type | HTTP Status | Description | |------|-------------|-------------| | `linkedApiTokenRequired` | 401 | Missing `linked-api-token` header | | `invalidLinkedApiToken` | 401 | Token is invalid or expired | | `accountIdRequired` | 401 | Missing or invalid `accountId` | | `accountNotFound` | 401 | Account does not exist or does not belong to you | | `sessionNotFound` | 404 | Connection session not found | | `tooManyRequests` | 429 | Rate limit exceeded (100 requests per 60 seconds) | ## Endpoints :::surface http | Endpoint | What it does | |----------|--------------| | [`subscription.getStatus`](/docs/admin-subscription#subscription-getstatus) | Get the subscription status | | [`subscription.getSeats`](/docs/admin-subscription#subscription-getseats) | Get the active seats | | [`subscription.setSeats`](/docs/admin-subscription#subscription-setseats) | Set the number of seats, or get a checkout link | | [`accounts.getAll`](/docs/admin-accounts#accounts-getall) | List connected accounts and pending connection sessions | | [`accounts.reparseAccountInfo`](/docs/admin-accounts#accounts-reparseaccountinfo) | Refresh an account's stored profile information | | [`accounts.disconnect`](/docs/admin-accounts#accounts-disconnect) | Disconnect an account | | [`accounts.regenerateIdentificationToken`](/docs/admin-accounts#accounts-regenerateidentificationtoken) | Issue a new identification token | | [`accounts.createConnectionSession`](/docs/admin-connection-sessions#accounts-createconnectionsession) | Start connecting a new account | | [`accounts.createReconnectionSession`](/docs/admin-connection-sessions#accounts-createreconnectionsession) | Start reconnecting an account | | [`accounts.getConnectionSession`](/docs/admin-connection-sessions#accounts-getconnectionsession) | Check a connection session | | [`accounts.cancelConnectionSession`](/docs/admin-connection-sessions#accounts-cancelconnectionsession) | Cancel a connection session | | [`limits.getDefaults`](/docs/admin-limits#limits-getdefaults) | Get the system default limits | | [`limits.get`](/docs/admin-limits#limits-get) | Get an account's limits | | [`limits.getUsage`](/docs/admin-limits#limits-getusage) | Get an account's usage against its limits | | [`limits.set`](/docs/admin-limits#limits-set) | Set or update an account's limits | | [`limits.delete`](/docs/admin-limits#limits-delete) | Remove an account's limits | | [`limits.resetToDefaults`](/docs/admin-limits#limits-resettodefaults) | Reset an account's limits to the defaults | [Webhook](/docs/admin-webhooks) endpoints are listed on their own page. ::: :::surface node | Method | What it does | |--------|--------------| | [`admin.subscription.getStatus()`](/docs/admin-subscription#subscription-getstatus) | Get the subscription status | | [`admin.subscription.getSeats()`](/docs/admin-subscription#subscription-getseats) | Get the active seats | | [`admin.subscription.setSeats()`](/docs/admin-subscription#subscription-setseats) | Set the number of seats, or get a checkout link | | [`admin.accounts.getAll()`](/docs/admin-accounts#accounts-getall) | List connected accounts and pending connection sessions | | [`admin.accounts.reparseAccountInfo()`](/docs/admin-accounts#accounts-reparseaccountinfo) | Refresh an account's stored profile information | | [`admin.accounts.disconnect()`](/docs/admin-accounts#accounts-disconnect) | Disconnect an account | | [`admin.accounts.regenerateIdentificationToken()`](/docs/admin-accounts#accounts-regenerateidentificationtoken) | Issue a new identification token | | [`admin.accounts.createConnectionSession()`](/docs/admin-connection-sessions#accounts-createconnectionsession) | Start connecting a new account | | [`admin.accounts.createReconnectionSession()`](/docs/admin-connection-sessions#accounts-createreconnectionsession) | Start reconnecting an account | | [`admin.accounts.getConnectionSession()`](/docs/admin-connection-sessions#accounts-getconnectionsession) | Check a connection session | | [`admin.accounts.cancelConnectionSession()`](/docs/admin-connection-sessions#accounts-cancelconnectionsession) | Cancel a connection session | | [`admin.limits.getDefaults()`](/docs/admin-limits#limits-getdefaults) | Get the system default limits | | [`admin.limits.get()`](/docs/admin-limits#limits-get) | Get an account's limits | | [`admin.limits.getUsage()`](/docs/admin-limits#limits-getusage) | Get an account's usage against its limits | | [`admin.limits.set()`](/docs/admin-limits#limits-set) | Set or update an account's limits | | [`admin.limits.delete()`](/docs/admin-limits#limits-delete) | Remove an account's limits | | [`admin.limits.resetToDefaults()`](/docs/admin-limits#limits-resettodefaults) | Reset an account's limits to the defaults | The [webhook](/docs/admin-webhooks) methods are under `admin.webhooks`. ::: :::surface python | Method | What it does | |--------|--------------| | [`admin.subscription.get_status()`](/docs/admin-subscription#subscription-getstatus) | Get the subscription status | | [`admin.subscription.get_seats()`](/docs/admin-subscription#subscription-getseats) | Get the active seats | | [`admin.subscription.set_seats()`](/docs/admin-subscription#subscription-setseats) | Set the number of seats, or get a checkout link | | [`admin.accounts.get_all()`](/docs/admin-accounts#accounts-getall) | List connected accounts and pending connection sessions | | [`admin.accounts.reparse_account_info()`](/docs/admin-accounts#accounts-reparseaccountinfo) | Refresh an account's stored profile information | | [`admin.accounts.disconnect()`](/docs/admin-accounts#accounts-disconnect) | Disconnect an account | | [`admin.accounts.regenerate_identification_token()`](/docs/admin-accounts#accounts-regenerateidentificationtoken) | Issue a new identification token | | [`admin.accounts.create_connection_session()`](/docs/admin-connection-sessions#accounts-createconnectionsession) | Start connecting a new account | | [`admin.accounts.create_reconnection_session()`](/docs/admin-connection-sessions#accounts-createreconnectionsession) | Start reconnecting an account | | [`admin.accounts.get_connection_session()`](/docs/admin-connection-sessions#accounts-getconnectionsession) | Check a connection session | | [`admin.accounts.cancel_connection_session()`](/docs/admin-connection-sessions#accounts-cancelconnectionsession) | Cancel a connection session | | [`admin.limits.get_defaults()`](/docs/admin-limits#limits-getdefaults) | Get the system default limits | | [`admin.limits.get()`](/docs/admin-limits#limits-get) | Get an account's limits | | [`admin.limits.get_usage()`](/docs/admin-limits#limits-getusage) | Get an account's usage against its limits | | [`admin.limits.set()`](/docs/admin-limits#limits-set) | Set or update an account's limits | | [`admin.limits.delete()`](/docs/admin-limits#limits-delete) | Remove an account's limits | | [`admin.limits.reset_to_defaults()`](/docs/admin-limits#limits-resettodefaults) | Reset an account's limits to the defaults | The [webhook](/docs/admin-webhooks) methods are under `admin.webhooks`. ::: :::surface cli | Command | What it does | |---------|--------------| | [`linkedin admin subscription status`](/docs/admin-subscription#subscription-getstatus) | Get the subscription status | | [`linkedin admin subscription seats`](/docs/admin-subscription#subscription-getseats) | Get the active seats | | [`linkedin admin subscription set-seats`](/docs/admin-subscription#subscription-setseats) | Set the number of seats, or get a checkout link | | [`linkedin admin accounts list`](/docs/admin-accounts#accounts-getall) | List connected accounts and pending connection sessions | | [`linkedin admin accounts reparse`](/docs/admin-accounts#accounts-reparseaccountinfo) | Refresh an account's stored profile information | | [`linkedin admin accounts disconnect`](/docs/admin-accounts#accounts-disconnect) | Disconnect an account | | [`linkedin admin accounts regenerate-token`](/docs/admin-accounts#accounts-regenerateidentificationtoken) | Issue a new identification token | | [`linkedin admin accounts connect`](/docs/admin-connection-sessions#accounts-createconnectionsession) | Start connecting a new account | | [`linkedin admin accounts reconnect`](/docs/admin-connection-sessions#accounts-createreconnectionsession) | Start reconnecting an account | | [`linkedin admin accounts session`](/docs/admin-connection-sessions#accounts-getconnectionsession) | Check a connection session | | [`linkedin admin accounts cancel-session`](/docs/admin-connection-sessions#accounts-cancelconnectionsession) | Cancel a connection session | | [`linkedin admin limits defaults`](/docs/admin-limits#limits-getdefaults) | Get the system default limits | | [`linkedin admin limits get`](/docs/admin-limits#limits-get) | Get an account's limits | | [`linkedin admin limits usage`](/docs/admin-limits#limits-getusage) | Get an account's usage against its limits | | [`linkedin admin limits set`](/docs/admin-limits#limits-set) | Set or update an account's limits | | [`linkedin admin limits delete`](/docs/admin-limits#limits-delete) | Remove an account's limits | | [`linkedin admin limits reset`](/docs/admin-limits#limits-resettodefaults) | Reset an account's limits to the defaults | The [webhook](/docs/admin-webhooks) commands are under `linkedin admin webhook`. ::: In the [MCP server](/mcp/available-tools#administration) each of these endpoints is an `admin_*` tool; the MCP server has no webhook tools. ## Next steps - [Subscription](/docs/admin-subscription) – manage subscription status and seats - [Accounts](/docs/admin-accounts) – list, refresh, disconnect, and monitor LinkedIn accounts - [Connection Sessions](/docs/admin-connection-sessions) – connect and reconnect accounts, and customize the completion screen - [Limits](/docs/admin-limits) – configure and monitor rate limits - [Webhooks](/docs/admin-webhooks) – register an endpoint to receive workflow and account events ## Subscription Manage your Linked API subscription programmatically. For general Admin API information, see the [Admin overview](/docs/admin-overview). ## subscription.getStatus Get current subscription status. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/subscription.getStatus \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" ``` ```typescript tab=Node const status = await admin.subscription.getStatus(); ``` ```python tab=Python status = admin.subscription.get_status() ``` ```bash tab=CLI linkedin admin subscription status ``` **Response:** ```json { "success": true, "result": { "status": "active", "eligibleForTrial": false, "cancelAtPeriodEnd": false } } ``` | Field | Type | Description | |-------|------|-------------| | `status` | `string` or `undefined` | `active`, `trialing`, `past_due`, `canceled`, or `undefined` if no subscription | | `eligibleForTrial` | `boolean` | Whether a 7-day free trial is available for a one-seat first checkout | | `cancelAtPeriodEnd` | `boolean` | Whether the subscription is scheduled to cancel at the end of the current billing period | ## subscription.getSeats Get active subscription seats. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/subscription.getSeats \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" ``` ```typescript tab=Node const { seats } = await admin.subscription.getSeats(); ``` ```python tab=Python seats = admin.subscription.get_seats().seats ``` ```bash tab=CLI linkedin admin subscription seats ``` **Response:** ```json { "success": true, "result": { "seats": [ { "seatType": "plus", "quantity": 10, "billingPeriod": "year" } ] } } ``` | Field | Type | Description | |-------|------|-------------| | `seatType` | `"core"` \| `"plus"` | Seat tier. `plus` unlocks Sales Navigator actions (`nv.*`) | | `quantity` | `number` | Number of seats. Each seat allows one connected LinkedIn account | | `billingPeriod` | `"month"` \| `"year"` | Billing cycle | ## subscription.setSeats Set the number of subscription seats. If you already have an active subscription, the quantity is updated immediately. If not, a Stripe checkout link is returned. New users can start with a 7-day free trial when they do not have any previous trial or subscription history; a card is required to start it. The trial covers a single seat: a first checkout for more than one seat starts a regular paid subscription. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/subscription.setSeats \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" \ -d '{ "quantity": 5, "billingPeriod": "year", "seatType": "plus" }' ``` ```typescript tab=Node const { status, paymentLink } = await admin.subscription.setSeats({ quantity: 5, billingPeriod: 'year', seatType: 'plus', }); ``` ```python tab=Python from linkedapi import SetSeatsParams result = admin.subscription.set_seats( SetSeatsParams(quantity=5, billing_period="year", seat_type="plus") ) ``` ```bash tab=CLI linkedin admin subscription set-seats --quantity 5 --period year --type plus ``` :::surface cli In the CLI the body fields are flags, all required: | Flag | Body field | Values | | --- | --- | --- | | `--quantity` | `quantity` | 1–1000 | | `--period` | `billingPeriod` | `month`, `year` | | `--type` | `seatType` | `core`, `plus` | ::: **Body:** | Field | Type | Required | Description | |-------|------|----------|-------------| | `quantity` | `number` | Yes | Number of seats (1–1000) | | `billingPeriod` | `"month"` \| `"year"` | Yes | Billing cycle | | `seatType` | `"core"` \| `"plus"` | Yes | Seat tier | **Response (subscription exists):** ```json { "success": true, "result": { "status": "complete" } } ``` **Response (no subscription, checkout required):** ```json { "success": true, "result": { "status": "processing", "paymentLink": "https://checkout.stripe.com/..." } } ``` > **Note:** When reducing seats below the number of connected accounts, excess accounts will be automatically frozen. Changes are applied in Stripe immediately but may take a few seconds to reflect in the API due to webhook processing. ## Accounts Manage your connected LinkedIn accounts programmatically. For general Admin API information, see the [Admin overview](/docs/admin-overview). To connect a new account or reconnect an existing one, see [Connection Sessions](/docs/admin-connection-sessions). ## accounts.getAll Get all connected LinkedIn accounts and pending connection sessions. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/accounts.getAll \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" ``` ```typescript tab=Node const { accounts, pendingConnectionSessions } = await admin.accounts.getAll(); ``` ```python tab=Python result = admin.accounts.get_all() accounts = result.accounts pending_connection_sessions = result.pending_connection_sessions ``` ```bash tab=CLI linkedin admin accounts list ``` **Response:** ```json { "success": true, "result": { "accounts": [ { "id": "f9b4346a-...", "name": "John Doe", "url": "https://www.linkedin.com/in/johndoe/", "avatarUrl": "https://media.licdn.com/dms/image/...", "headline": "Founder at Example", "countryCode": "US", "identificationToken": "id_...", "status": "active", "connectedAt": "2026-02-20T11:11:51.732Z" }, { "id": "a91c20f8-...", "name": "Jane Doe", "url": "https://www.linkedin.com/in/janedoe/", "avatarUrl": null, "headline": null, "countryCode": "US", "identificationToken": "id_...", "status": "reconnection_required", "connectedAt": "2026-01-12T09:30:00.000Z", "reconnectionSessionId": "d90ac1f6-...", "reconnectionLink": "https://app.linkedapi.io/connection/d90ac1f6-..." } ], "pendingConnectionSessions": [ { "sessionId": "990eef7a-...", "status": "pending" } ] } } ``` **Account fields:** | Field | Type | Description | |-------|------|-------------| | `id` | `string` | Account UUID | | `name` | `string` | LinkedIn account name | | `url` | `string` | Public LinkedIn profile URL for the connected account | | `avatarUrl` | `string \| null` | LinkedIn profile image URL, or `null` when it has not been parsed yet | | `headline` | `string \| null` | LinkedIn headline shown below the account name, or `null` when it has not been parsed yet | | `countryCode` | `string` | Country code selected during connection | | `identificationToken` | `string` | The account's identification token, used by every non-admin request | | `status` | `string` | `active`, `frozen`, or `reconnection_required` | | `connectedAt` | `string` | ISO 8601 timestamp | | `reconnectionSessionId` | `string` | Present only when `status` is `reconnection_required`; session UUID for reconnecting the account | | `reconnectionLink` | `string` | Present only when `status` is `reconnection_required`; URL to open in a browser to reconnect the account | When an account is `reconnection_required`, `accounts.getAll` returns an active reconnection session. If no active reconnection session exists, one is created automatically before the response is returned. **Account statuses:** | Status | Description | |--------|-------------| | `active` | Account is connected and operational | | `frozen` | Account is frozen (subscription downgraded or expired) | | `reconnection_required` | LinkedIn session expired, account needs to be reconnected | ## accounts.reparseAccountInfo Refresh the stored profile information for a connected LinkedIn account. This starts a background workflow that opens the account's own LinkedIn session and reparses the account name, public profile URL, avatar URL, and headline. The refreshed values are returned by `accounts.getAll` after the workflow completes. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/accounts.reparseAccountInfo \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" \ -d '{"accountId": "f9b4346a-..."}' ``` ```typescript tab=Node const { workflowId } = await admin.accounts.reparseAccountInfo({ accountId: 'f9b4346a-...', }); ``` ```python tab=Python from linkedapi import ReparseAccountInfoParams result = admin.accounts.reparse_account_info( ReparseAccountInfoParams(account_id="f9b4346a-...") ) ``` ```bash tab=CLI linkedin admin accounts reparse f9b4346a-... ``` **Body:** | Field | Type | Required | Description | |-------|------|----------|-------------| | `accountId` | `string` | Yes | UUID of the account to refresh | **Response:** ```json { "success": true, "result": { "workflowId": "reparseAccountInfoWorkflow-..." } } ``` **Notes:** - The response confirms that the reparse workflow was started; it does not include the refreshed account object. - Call `accounts.getAll` after the workflow completes to read the updated `url`, `avatarUrl`, and `headline` fields. - `avatarUrl` and `headline` can remain `null` if LinkedIn does not render those values or the account session needs reconnection. ## accounts.disconnect Disconnect a LinkedIn account. This permanently removes the account, its browser profile, and proxy. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/accounts.disconnect \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" \ -d '{"accountId": "f9b4346a-..."}' ``` ```typescript tab=Node await admin.accounts.disconnect({ accountId: 'f9b4346a-...' }); ``` ```python tab=Python from linkedapi import DisconnectParams admin.accounts.disconnect(DisconnectParams(account_id="f9b4346a-...")) ``` ```bash tab=CLI linkedin admin accounts disconnect f9b4346a-... ``` **Body:** | Field | Type | Required | Description | |-------|------|----------|-------------| | `accountId` | `string` | Yes | UUID of the account to disconnect | **Response:** ```json { "success": true, "result": {} } ``` > **Warning:** This action is irreversible. The account must be reconnected from scratch. ## accounts.regenerateIdentificationToken Generate a new `identification-token` for an account. The old token becomes invalid immediately. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/accounts.regenerateIdentificationToken \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" \ -d '{"accountId": "f9b4346a-..."}' ``` ```typescript tab=Node const { token } = await admin.accounts.regenerateIdentificationToken({ accountId: 'f9b4346a-...', }); ``` ```python tab=Python from linkedapi import RegenerateTokenParams result = admin.accounts.regenerate_identification_token( RegenerateTokenParams(account_id="f9b4346a-...") ) ``` ```bash tab=CLI linkedin admin accounts regenerate-token f9b4346a-... ``` **Body:** | Field | Type | Required | Description | |-------|------|----------|-------------| | `accountId` | `string` | Yes | UUID of the account | **Response:** ```json { "success": true, "result": { "token": "id_new_token_here" } } ``` > **Important:** Replace the identification token in all your integrations immediately after regeneration: in the `identification-token` header, the SDK client config, or the CLI (`linkedin account update`). :::surface node,python In the SDK, that means every `LinkedApi` client created with the old token: pass the new one as its `identificationToken`. ::: :::surface cli `regenerate-token` does not change the token the CLI saved for that account. If the account is saved in the CLI, store the new token with `linkedin account update`. ::: ## Connection Sessions A connection session is a short-lived link that opens the Linked API connection page, where the end user logs into LinkedIn. Use it to connect a new account or to reconnect one whose LinkedIn session has expired. For the accounts themselves, see [Accounts](/docs/admin-accounts). ## accounts.createConnectionSession Create a new connection session to connect a LinkedIn account. Returns a link that opens the connection page where the user logs into LinkedIn. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/accounts.createConnectionSession \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" ``` ```typescript tab=Node const { sessionId, connectionLink } = await admin.accounts.createConnectionSession(); ``` ```python tab=Python created = admin.accounts.create_connection_session() ``` ```bash tab=CLI linkedin admin accounts connect ``` **Body:** The body is optional. Send no body at all to get the default behavior, or pass `completion` to control what the user sees after a successful connection – see [Customizing the completion screen](/docs/admin-completion-screen). | Field | Type | Required | Description | |-------|------|----------|-------------| | `completion` | `object` | No | Post-connection behavior of the connection page | :::surface node,python The SDK's `createConnectionSession` takes no parameters, so it always creates a session with the default completion screen. To pass `completion`, call the HTTP endpoint. ::: :::surface cli `linkedin admin accounts connect` sends no body, so it always creates a session with the default completion screen. To pass `completion`, call the HTTP endpoint. ::: **Response:** ```json { "success": true, "result": { "sessionId": "990eef7a-...", "connectionLink": "https://app.linkedapi.io/connection/990eef7a-..." } } ``` | Field | Type | Description | |-------|------|-------------| | `sessionId` | `string` | Session UUID for tracking | | `connectionLink` | `string` | URL to open in a browser to complete the LinkedIn login | **Errors:** | Type | Description | |------|-------------| | `subscriptionRequired` | No subscription with a seat yet – buy seats with [subscription.setSeats](/docs/admin-subscription#subscription-setseats) first | | `noAvailableSeats` | No available seats – all seats are occupied by active accounts or pending connection sessions | | `dailyConnectionAttemptsExceeded` | Too many connection attempts in the last 24 hours | | `invalidRequestPayload` | The `completion` object is malformed – the message names the offending field | > **Flow:** Create session → open `connectionLink` → user logs into LinkedIn → poll `accounts.getConnectionSession` until status is `success` → account appears in `accounts.getAll`. :::surface http The whole flow over HTTP – create the session, check it until it leaves the in-progress statuses, then read the accounts: ::: :::surface node,python The whole flow with the SDK – create the session, poll it until it leaves the in-progress statuses, then read the accounts: ::: :::surface cli The same flow in the CLI. `connect` only creates the session and prints `sessionId` and `connectionLink` – it neither opens the link nor waits, so check the session yourself: ::: ```bash tab=HTTP # 1. Create the session and open the returned connectionLink in a browser curl -X POST https://api.linkedapi.io/admin/accounts.createConnectionSession \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" # 2. After the user logs into LinkedIn, check the session until status is "success" curl -X POST https://api.linkedapi.io/admin/accounts.getConnectionSession \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" \ -d '{"sessionId": ""}' # 3. Verify the account appeared curl -X POST https://api.linkedapi.io/admin/accounts.getAll \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" ``` ```typescript tab=Node // 1. Create a connection session const { sessionId, connectionLink } = await admin.accounts.createConnectionSession(); console.log('Open this link to connect:', connectionLink); // 2. Poll until the session completes const POLL_INTERVAL_MS = 3000; const MAX_WAIT_MS = 2 * 60 * 1000; const deadline = Date.now() + MAX_WAIT_MS; const sleep = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms)); const inProgressStatuses = ['pending', 'preparing', 'serving', 'streaming']; let session; do { if (Date.now() >= deadline) { throw new Error('Timed out waiting for connection session completion'); } await sleep(POLL_INTERVAL_MS); ({ session } = await admin.accounts.getConnectionSession({ sessionId })); } while (inProgressStatuses.includes(session.status)); if (session.status === 'success') { // 3. Get the new account details const { accounts } = await admin.accounts.getAll(); console.log('Total accounts:', accounts.length); } ``` ```python tab=Python import time from linkedapi import GetConnectionSessionParams # 1. Create a connection session created = admin.accounts.create_connection_session() print("Open this link to connect:", created.connection_link) # 2. Poll until the session completes POLL_INTERVAL_SECONDS = 3 MAX_WAIT_SECONDS = 2 * 60 deadline = time.monotonic() + MAX_WAIT_SECONDS in_progress_statuses = {"pending", "preparing", "serving", "streaming"} while True: if time.monotonic() >= deadline: raise TimeoutError("Timed out waiting for connection session completion") time.sleep(POLL_INTERVAL_SECONDS) session = admin.accounts.get_connection_session( GetConnectionSessionParams(session_id=created.session_id) ).session if session.status not in in_progress_statuses: break if session.status == "success": # 3. Get the new account details accounts = admin.accounts.get_all().accounts print("Total accounts:", len(accounts)) ``` ```bash tab=CLI # 1. Create the session and open the printed connectionLink in a browser linkedin admin accounts connect # 2. After the user logs into LinkedIn, check the session until status is "success" linkedin admin accounts session --json # 3. Verify the account appeared linkedin admin accounts list ``` ## accounts.createReconnectionSession Create a new reconnection session for an account whose status is `reconnection_required`. If the account already has an active reconnection session, it is cancelled and replaced with a new one. If an in-progress reconnection session is applying a pending proxy change, Linked API returns that existing session instead so the proxy change state is preserved. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/accounts.createReconnectionSession \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" \ -d '{"accountId": "a91c20f8-..."}' ``` ```typescript tab=Node const { reconnectionSessionId, reconnectionLink } = await admin.accounts.createReconnectionSession({ accountId: 'a91c20f8-...' }); ``` ```python tab=Python from linkedapi import CreateReconnectionSessionParams created = admin.accounts.create_reconnection_session( CreateReconnectionSessionParams(account_id="a91c20f8-...") ) ``` ```bash tab=CLI linkedin admin accounts reconnect a91c20f8-... ``` **Body:** | Field | Type | Required | Description | |-------|------|----------|-------------| | `accountId` | `string` | Yes | UUID of the account to reconnect | | `completion` | `object` | No | Post-connection behavior of the connection page – see [Customizing the completion screen](/docs/admin-completion-screen) | :::surface node,python The SDK's `createReconnectionSession` takes only `accountId`. To pass `completion`, call the HTTP endpoint. ::: :::surface cli `linkedin admin accounts reconnect` sends only `accountId`. To pass `completion`, call the HTTP endpoint. ::: **Response:** ```json { "success": true, "result": { "reconnectionSessionId": "d90ac1f6-...", "reconnectionLink": "https://app.linkedapi.io/connection/d90ac1f6-..." } } ``` | Field | Type | Description | |-------|------|-------------| | `reconnectionSessionId` | `string` | Session UUID for tracking | | `reconnectionLink` | `string` | URL to open in a browser to complete LinkedIn reconnection | **Errors:** | Type | Description | |------|-------------| | `invalidRequestPayload` | The account is not in `reconnection_required` status or cannot be reconnected | > **Flow:** Create reconnection session → open `reconnectionLink` → user logs into LinkedIn → poll `accounts.getConnectionSession` with `reconnectionSessionId` until status is `success`. :::surface cli The same flow in the CLI: ```bash # 1. Find accounts that require reconnection – they carry a reconnectionLink linkedin admin accounts list # 2. Create a fresh reconnection session if you need to replace the link linkedin admin accounts reconnect # 3. Open the printed reconnectionLink, complete the LinkedIn login, then check the session linkedin admin accounts session --json ``` ::: ## accounts.getConnectionSession Check the status of a connection session. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/accounts.getConnectionSession \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" \ -d '{"sessionId": "990eef7a-..."}' ``` ```typescript tab=Node const { session } = await admin.accounts.getConnectionSession({ sessionId: '990eef7a-...' }); ``` ```python tab=Python from linkedapi import GetConnectionSessionParams session = admin.accounts.get_connection_session( GetConnectionSessionParams(session_id="990eef7a-...") ).session ``` ```bash tab=CLI linkedin admin accounts session 990eef7a-... ``` **Body:** | Field | Type | Required | Description | |-------|------|----------|-------------| | `sessionId` | `string` | Yes | Session UUID | **Response:** ```json { "success": true, "result": { "session": { "sessionId": "990eef7a-...", "status": "pending", "type": "initial" } } } ``` **Session statuses:** | Status | Description | |--------|-------------| | `pending` | Session created, waiting for user to open the link | | `preparing` | Browser is being provisioned | | `serving` | Browser is ready, waiting for user to connect | | `streaming` | User is connected and logging in | | `success` | Login completed, account is being created | | `expired` | Session timed out | | `error` | An error occurred | | `cancelled` | Session was cancelled | ## accounts.cancelConnectionSession Cancel an active connection session. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/accounts.cancelConnectionSession \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" \ -d '{"sessionId": "990eef7a-..."}' ``` ```typescript tab=Node await admin.accounts.cancelConnectionSession({ sessionId: '990eef7a-...' }); ``` ```python tab=Python from linkedapi import CancelConnectionSessionParams admin.accounts.cancel_connection_session( CancelConnectionSessionParams(session_id="990eef7a-...") ) ``` ```bash tab=CLI linkedin admin accounts cancel-session 990eef7a-... ``` **Body:** | Field | Type | Required | Description | |-------|------|----------|-------------| | `sessionId` | `string` | Yes | Session UUID | **Response:** ```json { "success": true, "result": {} } ``` ## Customizing the Completion Screen After the user finishes logging into LinkedIn, the connection page shows a completion screen. The optional `completion` object accepted by `accounts.createConnectionSession` and `accounts.createReconnectionSession` controls what happens there – which is what you need when the connection page is embedded into your own product. Every field is optional, and omitting `completion` entirely keeps the default behavior. :::surface node,python,cli The SDKs and the CLI create connection and reconnection sessions without `completion`, so everything on this page is available only through the HTTP endpoints. ::: ```json { "completion": { "limits": { "mode": "ask" }, "successUrl": "https://app.acme.com/connected?session={SESSION_ID}", "failureUrl": "https://app.acme.com/failed?session={SESSION_ID}" } } ``` | Field | Type | Description | |-------|------|-------------| | `limits.mode` | `string` | How account limits are handled: `ask` (default), `defaults`, or `skip`. Ignored on reconnection, which never changes an account's limits | | `button.text` | `string` | Label of a custom button shown on the completion screen (1–40 characters). Not allowed together with `successUrl` | | `button.url` | `string` | Where that button leads. `https` only, no placeholders | | `successUrl` | `string` | Redirect the user here after a successful connection, without any click | | `failureUrl` | `string` | Redirect the user here when the session ends in `error` or `expired` | **Limits modes:** | Mode | Behavior | |------|----------| | `ask` | Default. The user is shown the limits editor and chooses the values themselves | | `defaults` | Recommended limits are applied automatically, the editor is not shown | | `skip` | No limits are configured and the editor is not shown. The account runs without limits until you set them via [`limits.set`](/docs/admin-limits) | **Default button:** sessions created through this API do not show the "Continue to platform" button, because it leads to the Linked API dashboard, which your users have no access to. Instead, the completion screen tells the user the account is connected and the tab can be closed. To send the user somewhere, pass either `button` (they leave by clicking) or `successUrl` (they leave immediately). Passing both is rejected: with an instant redirect the button would never be visible. **Placeholders:** `successUrl` and `failureUrl` may contain placeholders that are substituted before the redirect. Values are URL-encoded. | Placeholder | Available in | Value | |-------------|--------------|-------| | `{SESSION_ID}` | `successUrl`, `failureUrl` | UUID of the connection session | | `{ACCOUNT_ID}` | `successUrl` | UUID of the account that was just connected | | `{ERROR_TYPE}` | `failureUrl` | Error type of the failed session, empty for `expired` | Any other placeholder, an unbalanced brace, or a non-`https` URL is rejected with `invalidRequestPayload` when the session is created – not later, when the user is already on the page. **When the redirect happens:** - `successUrl` fires after the limits step. With `mode: "ask"` that means after the user saves or skips the limits editor; with `defaults` or `skip` it fires as soon as the connection succeeds. - `failureUrl` covers the `error` and `expired` statuses. Sessions you cancel yourself through `accounts.cancelConnectionSession` do not redirect, and neither does an invalid or unknown session link, since there is no configuration to read for it. > **Do not rely on the redirect for fulfillment.** The user may close the tab or lose connectivity before it happens. Treat arriving on `successUrl` as a hint and confirm the real outcome with `accounts.getConnectionSession`. **Examples:** Fully embedded – no questions asked, the user is returned to your product in both outcomes: ```bash curl -X POST https://api.linkedapi.io/admin/accounts.createConnectionSession \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" \ -d '{ "completion": { "limits": { "mode": "defaults" }, "successUrl": "https://app.acme.com/connected?session={SESSION_ID}&account={ACCOUNT_ID}", "failureUrl": "https://app.acme.com/failed?session={SESSION_ID}&error={ERROR_TYPE}" } }' ``` Keep the limits editor, but finish with your own button instead of an automatic redirect: ```bash curl -X POST https://api.linkedapi.io/admin/accounts.createConnectionSession \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" \ -d '{ "completion": { "limits": { "mode": "ask" }, "button": { "text": "Back to Acme", "url": "https://app.acme.com/accounts" } } }' ``` ## Limits Rate limits control how many actions each LinkedIn account can perform per time period. For general Admin API information, see the [Admin overview](/docs/admin-overview). :::surface node In the Node SDK these endpoints are methods of `admin.limits` on the [admin client](/docs/admin-overview#authentication): `getDefaults()`, `get()`, `getUsage()`, `set()`, `delete()` and `resetToDefaults()`. Each section below shows its call in the Node tab. ::: :::surface python In the Python SDK these endpoints are methods of `admin.limits` on the [admin client](/docs/admin-overview#authentication): `get_defaults()`, `get()`, `get_usage()`, `set()`, `delete()` and `reset_to_defaults()`. Each section below shows its call in the Python tab. ::: :::surface cli In the CLI these endpoints are the commands `linkedin admin limits defaults`, `get`, `usage`, `set`, `delete` and `reset`. Each section below shows its command in the CLI tab. ::: ## Limit categories | Category | Description | |----------|-------------| | `stPersonProfileViews` | Standard LinkedIn profile views | | `stCompanyPageViews` | Standard LinkedIn company page views | | `stConnectionRequests` | Connection requests sent | | `stMessages` | Messages sent | | `stSearchQueries` | LinkedIn search queries | | `stReactions` | Post reactions | | `stEndorsements` | Skill endorsements | | `stComments` | Post comments | | `stPosts` | Posts and reposts created | | `nvPersonProfileViews` | Sales Navigator profile views | | `nvCompanyPageViews` | Sales Navigator company page views | | `nvMessages` | Sales Navigator messages | **Periods:** `daily`, `weekly`, `monthly` ### Endorsement limits `stEndorsements` counts every [st.endorsePersonSkill](/docs/action-st-endorse-person-skill) execution, including each skill endorsed through [st.doForSkills](/docs/action-st-do-for-skills). Only successful executions count, and an execution where the skill was already endorsed is successful too. Its default limits are: | Period | `maxValue` | `isEnabled` | |--------|------------|-------------| | `daily` | 50 | `true` | | `weekly` | 350 | `false` | | `monthly` | 1500 | `false` | These defaults are applied wherever default limits are: when an account is connected with the `defaults` [limits mode](/docs/admin-completion-screen), and when its limits are reset with [limits.resetToDefaults](#limits-resettodefaults). **An account has no endorsement limit unless [limits.get](#limits-get) returns an enabled `stEndorsements` entry for it.** This is the case for accounts connected before endorsements became available, which have no `stEndorsements` entries at all. It can also be the case for accounts connected in the `ask` [limits mode](/docs/admin-completion-screen) while the limits editor did not show endorsement limits: it saved them with `isEnabled: false` unless the user chose the recommended limits. To cap endorsements, set them with [limits.set](#limits-set), or reset the account to defaults, which also replaces its custom limits in every other category. ## limits.getDefaults Get the system default limits. These are applied when an account is connected with the `defaults` limits mode, and when its limits are reset to defaults. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/limits.getDefaults \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" ``` ```typescript tab=Node const { limits } = await admin.limits.getDefaults(); ``` ```python tab=Python limits = admin.limits.get_defaults().limits ``` ```bash tab=CLI linkedin admin limits defaults ``` **Response:** ```json { "success": true, "result": { "limits": [ { "category": "stMessages", "period": "daily", "maxValue": 50, "isEnabled": true }, { "category": "stConnectionRequests", "period": "daily", "maxValue": 10, "isEnabled": true } ] } } ``` ## limits.get Get the current limits for a specific account. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/limits.get \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" \ -d '{"accountId": "f9b4346a-..."}' ``` ```typescript tab=Node const { limits } = await admin.limits.get({ accountId: 'f9b4346a-...' }); ``` ```python tab=Python from linkedapi import GetLimitsParams limits = admin.limits.get(GetLimitsParams(account_id="f9b4346a-...")).limits ``` ```bash tab=CLI linkedin admin limits get f9b4346a-... ``` **Body:** | Field | Type | Required | Description | |-------|------|----------|-------------| | `accountId` | `string` | Yes | Account UUID | **Response:** ```json { "success": true, "result": { "limits": [ { "category": "stMessages", "period": "daily", "maxValue": 25, "isEnabled": true } ] } } ``` ## limits.getUsage Get the current usage against limits for a specific account. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/limits.getUsage \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" \ -d '{"accountId": "f9b4346a-..."}' ``` ```typescript tab=Node const { usage } = await admin.limits.getUsage({ accountId: 'f9b4346a-...' }); ``` ```python tab=Python from linkedapi import GetLimitsUsageParams usage = admin.limits.get_usage(GetLimitsUsageParams(account_id="f9b4346a-...")).usage ``` ```bash tab=CLI linkedin admin limits usage f9b4346a-... ``` **Body:** | Field | Type | Required | Description | |-------|------|----------|-------------| | `accountId` | `string` | Yes | Account UUID | **Response:** ```json { "success": true, "result": { "usage": [ { "category": "stMessages", "period": "daily", "maxValue": 50, "currentUsage": 12, "isEnabled": true } ] } } ``` | Field | Type | Description | |-------|------|-------------| | `maxValue` | `number` | Maximum allowed actions | | `currentUsage` | `number` | Actions performed in the current period | | `isEnabled` | `boolean` | Whether this limit is enforced | ## limits.set Set or update limits for an account. Only the specified limits are created or updated; other limits remain unchanged. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/limits.set \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" \ -d '{ "accountId": "f9b4346a-...", "limits": [ { "category": "stMessages", "period": "daily", "maxValue": 25, "isEnabled": true }, { "category": "stConnectionRequests", "period": "weekly", "maxValue": 30 } ] }' ``` ```typescript tab=Node await admin.limits.set({ accountId: 'f9b4346a-...', limits: [ { category: 'stMessages', period: 'daily', maxValue: 25, isEnabled: true }, { category: 'stConnectionRequests', period: 'weekly', maxValue: 30 }, ], }); ``` ```python tab=Python from linkedapi import SetLimitEntry, SetLimitsParams admin.limits.set( SetLimitsParams( account_id="f9b4346a-...", limits=[ SetLimitEntry(category="stMessages", period="daily", max_value=25, is_enabled=True), SetLimitEntry(category="stConnectionRequests", period="weekly", max_value=30), ], ) ) ``` ```bash tab=CLI linkedin admin limits set f9b4346a-... --category stMessages --period daily --max 25 linkedin admin limits set f9b4346a-... --category stConnectionRequests --period weekly --max 30 ``` :::surface cli `linkedin admin limits set ` sets one limit per call, from these flags, all required: | Flag | Body field | Values | | --- | --- | --- | | `--category` | `limits[].category` | A limit category from the table above | | `--period` | `limits[].period` | `daily`, `weekly`, `monthly` | | `--max` | `limits[].maxValue` | An integer >= 0 | It has no flag for `isEnabled`, so the limit is always saved as enforced. ::: **Body:** | Field | Type | Required | Description | |-------|------|----------|-------------| | `accountId` | `string` | Yes | Account UUID | | `limits` | `array` | Yes | Array of limit configurations | | `limits[].category` | `string` | Yes | Limit category (see table above) | | `limits[].period` | `string` | Yes | `daily`, `weekly`, or `monthly` | | `limits[].maxValue` | `number` | Yes | Maximum allowed actions (>= 0) | | `limits[].isEnabled` | `boolean` | No | Whether this limit is enforced (default: `true`) | **Response:** ```json { "success": true, "result": {} } ``` ## limits.delete Remove specific limits from an account. A removed limit is not replaced by its default: the account has no limit in that category for that period until you set one again with [limits.set](#limits-set). To restore the system defaults, use [limits.resetToDefaults](#limits-resettodefaults), which replaces all of the account's limits. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/limits.delete \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" \ -d '{ "accountId": "f9b4346a-...", "limits": [ {"category": "stMessages", "period": "daily"}, {"category": "stConnectionRequests", "period": "weekly"} ] }' ``` ```typescript tab=Node await admin.limits.delete({ accountId: 'f9b4346a-...', limits: [ { category: 'stMessages', period: 'daily' }, { category: 'stConnectionRequests', period: 'weekly' }, ], }); ``` ```python tab=Python from linkedapi import DeleteLimitEntry, DeleteLimitsParams admin.limits.delete( DeleteLimitsParams( account_id="f9b4346a-...", limits=[ DeleteLimitEntry(category="stMessages", period="daily"), DeleteLimitEntry(category="stConnectionRequests", period="weekly"), ], ) ) ``` ```bash tab=CLI linkedin admin limits delete f9b4346a-... --category stMessages --period daily linkedin admin limits delete f9b4346a-... --category stConnectionRequests --period weekly ``` :::surface cli `linkedin admin limits delete ` removes one limit per call, named by `--category` and `--period`, both required. ::: **Body:** | Field | Type | Required | Description | |-------|------|----------|-------------| | `accountId` | `string` | Yes | Account UUID | | `limits` | `array` | Yes | Array of limits to remove | | `limits[].category` | `string` | Yes | Limit category | | `limits[].period` | `string` | Yes | Limit period | **Response:** ```json { "success": true, "result": {} } ``` ## limits.resetToDefaults Reset all limits for an account to the system defaults. ```bash tab=HTTP curl -X POST https://api.linkedapi.io/admin/limits.resetToDefaults \ -H "Content-Type: application/json" \ -H "linked-api-token: linked_your_token_here" \ -d '{"accountId": "f9b4346a-..."}' ``` ```typescript tab=Node await admin.limits.resetToDefaults({ accountId: 'f9b4346a-...' }); ``` ```python tab=Python from linkedapi import ResetLimitsParams admin.limits.reset_to_defaults(ResetLimitsParams(account_id="f9b4346a-...")) ``` ```bash tab=CLI linkedin admin limits reset f9b4346a-... ``` **Body:** | Field | Type | Required | Description | |-------|------|----------|-------------| | `accountId` | `string` | Yes | Account UUID | **Response:** ```json { "success": true, "result": {} } ``` --- # SDKs (Node.js and Python) ## Installation, authorization This page covers the installation and authorization process for Linked API SDKs. ## Installation To install the SDK, run following command for your package manager: ```bash lang=ts npm install -S @linkedapi/node ``` ```bash lang=python pip install linkedapi ``` ## Authorization To authorize your requests, you need to initialize the SDK with 2 tokens: ```typescript import LinkedApi from "@linkedapi/node"; const linkedapi = new LinkedApi({ linkedApiToken: "your-linked-api-token", identificationToken: "your-identification-token", }); ``` ```python from linkedapi import LinkedApi, LinkedApiConfig linkedapi = LinkedApi( LinkedApiConfig( linked_api_token="your-linked-api-token", identification_token="your-identification-token", ) ) ``` - `linkedApiToken` – your main token that enables overall Linked API access. - `identificationToken` – unique token specific to each managed LinkedIn account. You can obtain these tokens through [our platform](https://app.linkedapi.io/), as demonstrated below: ![](/images/docs/tokens-3.webp) ### Admin API To manage your subscription, accounts, and limits programmatically, use the separate `LinkedApiAdmin` class. It requires only the `linkedApiToken`: ```typescript import { LinkedApiAdmin } from '@linkedapi/node'; const admin = new LinkedApiAdmin({ linkedApiToken: 'your-linked-api-token', }); const status = await admin.subscription.getStatus(); const { accounts } = await admin.accounts.getAll(); ``` ```python from linkedapi import LinkedApiAdmin, AdminConfig admin = LinkedApiAdmin( AdminConfig(linked_api_token="your-linked-api-token") ) status = admin.subscription.get_status() accounts = admin.accounts.get_all().accounts ``` Every admin endpoint, with its call in the Node and Python tabs, is in the [Admin API](/docs/admin-overview?surface=sdk#endpoints). ### Multiple LinkedIn accounts If you need to manage **multiple LinkedIn accounts**, simply initialize a separate SDK instance for each account's identification token. ```typescript import LinkedApi from "@linkedapi/node"; const firstLinkedInAccount = new LinkedApi({ linkedApiToken: "your-linked-api-token", identificationToken: "your-first-identification-token", }); const secondLinkedInAccount = new LinkedApi({ linkedApiToken: "your-linked-api-token", identificationToken: "your-second-identification-token", }); ``` ```python from linkedapi import LinkedApi, LinkedApiConfig first_linkedin_account = LinkedApi( LinkedApiConfig( linked_api_token="your-linked-api-token", identification_token="your-first-identification-token", ) ) second_linkedin_account = LinkedApi( LinkedApiConfig( linked_api_token="your-linked-api-token", identification_token="your-second-identification-token", ) ) ``` ## Predefined vs. custom workflows There are two primary ways to execute automations with the SDKs: using **predefined methods** or building your own **custom workflows**. ## Predefined workflows Predefined workflows are the SDK's standard, ready-to-use methods, such as `sendMessage` or `fetchPerson`. Each of these helper methods automatically creates and runs a corresponding, pre-configured workflow. > Every predefined method, with the action it runs, is in the [Methods index](/sdks/methods). ### When to use them You should always start with predefined workflows. They are the fastest way to integrate Linked API because they are **strongly typed**. Both the input parameters and the result objects have defined types, which provides auto-completion in your IDE and helps prevent errors. As long as a predefined method meets your needs, it's the recommended approach. ```typescript // Predefined method to send a message const sendMessageWorkflow = await linkedapi.sendMessage.execute({ personUrl: "https://www.linkedin.com/in/john-doe", text: "Hello! I saw your post about AI and wanted to connect.", }); const sendMessageResult = await linkedapi.sendMessage.result(sendMessageWorkflow.workflowId); // Predefined method to check connection status const connectionStatusWorkflow = await linkedapi.checkConnectionStatus.execute({ personUrl: "https://www.linkedin.com/in/john-doe", }); const connectionStatusResult = await linkedapi.checkConnectionStatus.result(connectionStatusWorkflow.workflowId); ``` ```python from linkedapi import CheckConnectionStatusParams, SendMessageParams # Predefined method to send a message send_message_workflow = linkedapi.send_message.execute( SendMessageParams( person_url="https://www.linkedin.com/in/john-doe", text="Hello! I saw your post about AI and wanted to connect.", ) ) send_message_result = linkedapi.send_message.result(send_message_workflow.workflow_id) # Predefined method to check connection status connection_status_workflow = linkedapi.check_connection_status.execute( CheckConnectionStatusParams(person_url="https://www.linkedin.com/in/john-doe") ) connection_status_result = linkedapi.check_connection_status.result( connection_status_workflow.workflow_id ) ``` ## Custom workflows For tasks requiring more flexibility or complex, multi-step logic, you can build a custom workflow. This approach allows you to directly interact with the Linked API workflow engine by constructing an **object that defines the workflow's steps and logic**. You are responsible for correctly structuring the **workflow definition object** and then parsing the resulting **completion object** returned upon execution. The [building workflows](/docs/building-workflows) page provides the complete specification for both of these object structures. ### When to use them Switch to custom workflows when the predefined methods are not sufficient for your use case. For example: ```typescript // Custom workflow to find managers at a company, // retrieve their education, and send connection requests const customWorkflow = await linkedapi.customWorkflow.execute({ "actionType": "st.openCompanyPage", "companyUrl": "https://www.linkedin.com/company/techcorp", "basicInfo": true, "then": { "actionType": "st.retrieveCompanyEmployees", "filter": { "position": "Manager" }, "then": { "actionType": "st.doForPeople", "then": { "actionType": "st.openPersonPage", "basicInfo": true, "then": [ { "actionType": "st.retrievePersonEducation" }, { "actionType": "st.sendConnectionRequest" } ] } } } }); const customWorkflowResult = await linkedapi.customWorkflow.result(customWorkflow.workflowId); ``` ```python # Custom workflow to find managers at a company, # retrieve their education, and send connection requests custom_workflow = linkedapi.custom_workflow.execute( { "actionType": "st.openCompanyPage", "companyUrl": "https://www.linkedin.com/company/techcorp", "basicInfo": True, "then": { "actionType": "st.retrieveCompanyEmployees", "filter": { "position": "Manager", }, "then": { "actionType": "st.doForPeople", "then": { "actionType": "st.openPersonPage", "basicInfo": True, "then": [ { "actionType": "st.retrievePersonEducation", }, { "actionType": "st.sendConnectionRequest", }, ], }, }, }, } ) custom_workflow_result = linkedapi.custom_workflow.result(custom_workflow.workflow_id) ``` ## customWorkflow This method allows you to execute a custom Linked API workflow using a raw workflow definition for complex multi-step operations. ```typescript import { LinkedApiError } from '@linkedapi/node'; try { const workflow = await linkedapi.customWorkflow.execute({ actionType: "st.searchCompanies", term: "AI startup", filter: { locations: ["San Francisco", "New York"], sizes: ["11-50", "51-200"] }, limit: 10, then: { actionType: "st.doForCompanies", then: { actionType: "st.openCompanyPage", basicInfo: true, then: { actionType: "st.retrieveCompanyEmployees", limit: 5, filter: { position: "manager" }, then: { actionType: "st.doForPeople", then: { actionType: "st.sendConnectionRequest", note: "Hi! I'd love to connect and discuss opportunities." } } } } } }); const { data } = await linkedapi.customWorkflow.result(workflow.workflowId); console.log('Custom workflow executed successfully.'); console.log('Workflow result:', data); } catch (e) { // A list of all critical errors can be found here: // https://linkedapi.io/sdks/handling-results-and-errors/#handling-critical-errors if (e instanceof LinkedApiError) { console.error(`Critical Error - Type: ${e.type}, Message: ${e.message}`); } else { console.error('An unexpected, non-API error occurred:', e); } } ``` ```python from linkedapi import LinkedApiError try: workflow = linkedapi.custom_workflow.execute( { "actionType": "st.searchCompanies", "term": "AI startup", "filter": { "locations": ["San Francisco", "New York"], "sizes": ["11-50", "51-200"], }, "limit": 10, "then": { "actionType": "st.doForCompanies", "then": { "actionType": "st.openCompanyPage", "basicInfo": True, "then": { "actionType": "st.retrieveCompanyEmployees", "limit": 5, "filter": { "position": "manager", }, "then": { "actionType": "st.doForPeople", "then": { "actionType": "st.sendConnectionRequest", "note": "Hi! I'd love to connect and discuss opportunities.", }, }, }, }, }, } ) result = linkedapi.custom_workflow.result(workflow.workflow_id) data = result.data print("Custom workflow executed successfully.") print("Workflow result:", data) except LinkedApiError as e: # A list of all critical errors can be found here: # https://linkedapi.io/sdks/handling-results-and-errors/#handling-critical-errors print(f"Critical Error - Type: {e.type}, Message: {e.message}") except Exception as error: print("An unexpected, non-API error occurred:", error) ``` ## Params Pass a workflow definition object that follows our [HTTP API workflow format](/docs/building-workflows). ## Data Completion object that matches our [HTTP API completion format](/docs/executing-workflows). ## Errors The method has no execution errors (`errors` is always `[]`). ## Iterating over post comments Reacting to a single comment is available directly via [`reactToComment`](/docs/action-st-react-to-comment?surface=sdk) and [`replyToComment`](/docs/action-st-reply-to-comment?surface=sdk). To react or reply to **every** comment on a post without knowing their URLs upfront, use a custom workflow: retrieve the comments with `st.retrievePostComments`, iterate over them with `st.doForComments`, and either react/reply directly or open each comment first with `st.openComment` to run several comment-scoped actions. ```typescript const workflow = await linkedapi.customWorkflow.execute({ actionType: "st.retrievePostComments", postUrl: "https://www.linkedin.com/posts/username_activity-id", limit: 3, sort: "mostRelevant", then: { actionType: "st.doForComments", then: { actionType: "st.openComment", then: [ { actionType: "st.reactToComment", type: "celebrate" }, { actionType: "st.replyToComment", text: "Great point, thanks for sharing!" } ] } } }); ``` ```python workflow = linkedapi.custom_workflow.execute( { "actionType": "st.retrievePostComments", "postUrl": "https://www.linkedin.com/posts/username_activity-id", "limit": 3, "sort": "mostRelevant", "then": { "actionType": "st.doForComments", "then": { "actionType": "st.openComment", "then": [ {"actionType": "st.reactToComment", "type": "celebrate"}, {"actionType": "st.replyToComment", "text": "Great point, thanks for sharing!"}, ], }, }, } ) ``` > The `st.openComment` wrapper is optional — `st.reactToComment` and `st.replyToComment` can be nested directly under `st.doForComments`. Similarly, `st.doForPosts` accepts `st.reactToPost`, `st.commentOnPost`, `st.retrievePostComments`, and `st.retrievePostReactions` directly, so you can act on each iterated post without wrapping it in `st.openPost`. ## Handling results and errors When you initiate any workflow, the `execute()` method immediately returns workflow tracking details: - `workflowId` – unique workflow identifier. - `workflowStatus` – initial workflow status, either `pending` or `running`. - `pendingReason` – why the workflow has not started yet, when it is pending. See [working hours](/docs/working-hours). - `message` – human-readable queue or duration message, when available. You can then use the `result()` method with this ID to get the workflow results when it's complete. ```typescript const workflow = await linkedapi.checkConnectionStatus.execute({ personUrl: "https://www.linkedin.com/in/john-doe" }); const result = await linkedapi.checkConnectionStatus.result(workflow.workflowId); ``` ```python from linkedapi import CheckConnectionStatusParams workflow = linkedapi.check_connection_status.execute( CheckConnectionStatusParams(person_url="https://www.linkedin.com/in/john-doe") ) result = linkedapi.check_connection_status.result(workflow.workflow_id) ``` The structure of the object returned by `result()` depends on whether you use a [predefined workflow](/sdks/predefined-vs-custom) or a [custom workflow](/sdks/predefined-vs-custom). ## For predefined workflows When using a standard, predefined method, `result()` returns a convenient object with two key fields: - `data` – typed object containing the successful result of the workflow. - `errors` – array of non-critical **workflow execution errors**, that may have occurred during the run, but did not stop the entire workflow. Each error object contains `type` and `message` fields. ```typescript const workflow = await linkedapi.checkConnectionStatus.execute({ personUrl: "https://www.linkedin.com/in/john-doe" }); const result = await linkedapi.checkConnectionStatus.result(workflow.workflowId); const data = result.data; const errors = result.errors; ``` ```python from linkedapi import CheckConnectionStatusParams workflow = linkedapi.check_connection_status.execute( CheckConnectionStatusParams(person_url="https://www.linkedin.com/in/john-doe") ) result = linkedapi.check_connection_status.result(workflow.workflow_id) data = result.data errors = result.errors ``` > For each predefined method, the structure of its `data` and the possible `errors` are on its action page in the API reference – see the [Methods index](/sdks/methods). ## For custom workflows When using `customWorkflow`, `result()` returns the raw **completion object** in `data`, unchanged, and `errors` stays empty. The completion contains the full execution context of the workflow, including the errors of failed actions, and you are responsible for parsing it according to the specification on the [building workflows](/docs/building-workflows) page. ```typescript const workflow = await linkedapi.customWorkflow.execute({ "actionType": "st.openPersonPage", "personUrl": "https://www.linkedin.com/in/john-doe", "basicInfo": true, "then": { "actionType": "st.checkConnectionStatus", } }); const { data: workflowCompletion } = await linkedapi.customWorkflow.result(workflow.workflowId); ``` ```python workflow = linkedapi.custom_workflow.execute( { "actionType": "st.openPersonPage", "personUrl": "https://www.linkedin.com/in/john-doe", "basicInfo": True, "then": { "actionType": "st.checkConnectionStatus", }, } ) workflow_completion = linkedapi.custom_workflow.result(workflow.workflow_id).data ``` ## Checking status without waiting Use `status()` when you want to check a workflow once without waiting for it to finish. If the workflow is still `pending` or `running`, the SDK returns its current `workflowStatus`, its `pendingReason` and, when provided, `message`. The message can change between polling requests, for example when a workflow moves from `pending` to `running`. ```typescript const workflowId = "YOUR_WORKFLOW_ID"; const status = await linkedapi.checkConnectionStatus.status(workflowId); if ('workflowStatus' in status) { showProgress(status.workflowStatus, status.message); } ``` ```python from linkedapi import WorkflowInProgressResponse workflow_id = "YOUR_WORKFLOW_ID" status = linkedapi.check_connection_status.status(workflow_id) if isinstance(status, WorkflowInProgressResponse): show_progress(status.workflow_status, status.message) ``` ### Pending reasons A pending workflow is not always simply queued. `pendingReason` tells the two cases apart: - `queued` – waiting its turn behind other work on the same account. Minutes, typically. - `outsideWorkingHours` – parked until the account [working hours](/docs/working-hours) reopen, which can be the next working day. - `null` – the workflow is not pending. Back off your polling when the reason is `outsideWorkingHours`; the `message` names the time the window opens. ```typescript import { LINKED_API_WORKFLOW_PENDING_REASON } from '@linkedapi/node'; const status = await linkedapi.checkConnectionStatus.status(workflowId); if ('workflowStatus' in status) { if (status.pendingReason === LINKED_API_WORKFLOW_PENDING_REASON.outsideWorkingHours) { notifyUser(status.message); } else { scheduleNextPoll(); } } ``` ```python from linkedapi import WorkflowInProgressResponse status = linkedapi.check_connection_status.status(workflow_id) if isinstance(status, WorkflowInProgressResponse): if status.pending_reason == "outsideWorkingHours": notify_user(status.message) else: schedule_next_poll() ``` Two error types relate to working hours as well: - `outsideWorkingHours` – raised on submission when the account rejects off-hours requests. - `workingHoursWaitExpired` – raised as a workflow failure when a parked workflow was never started within the wait limit. ## Receiving results via webhooks Instead of polling `result()` or `status()`, you can register a webhook and let Linked API notify your endpoint when a workflow completes – and when a connected account changes status. This is the better fit for long-running workflows and for reacting to account events (like a reconnection becoming required) that no single `result()` call would surface. Each delivery is an HTTP `POST` with a typed event in its body. Parse the raw request body with `parseWebhookEvent` / `parse_webhook_event`, then branch on the event's `type`: ```typescript import { parseWebhookEvent } from '@linkedapi/node'; const event = parseWebhookEvent(rawRequestBody); if (event.type === 'workflow.completed') { console.log(event.data.workflowId, event.data.status, event.data.result); } ``` ```python from linkedapi import WorkflowWebhookEvent, parse_webhook_event event = parse_webhook_event(raw_request_body) if isinstance(event, WorkflowWebhookEvent) and event.type == "workflow.completed": print(event.data.workflow_id, event.data.status, event.data.result) ``` `workflow.completed` carries the full workflow result in `fat` payload mode; in `thin` mode fetch it with `result()` using `data.workflowId`. Deliveries are at-least-once, so deduplicate on the event `id`. See [Webhook Events](/docs/webhooks) for the full event model, and [Webhooks](/docs/webhooks?surface=sdk) to register and manage one with the SDK. ## Handling critical errors Separate from the non-critical `errors` array [returned by pre-defined workflows](#for-predefined-workflows), the SDK can throw **critical errors**. These are exceptions that immediately stop execution and indicate a fundamental problem with the request or your account. These exceptions, always of the type `LinkedApiError`, can be thrown when calling `execute()` to initiate a workflow or when calling `result()` to get the results. You must handle them using a `try...catch` block to inspect the error's `type` field and determine the cause. ```typescript import { LINKED_API_ERROR, LinkedApiError } from '@linkedapi/node'; try { const workflow = await linkedapi.checkConnectionStatus.execute({ personUrl: "https://www.linkedin.com/in/john-doe" }); const { data, errors } = await linkedapi.checkConnectionStatus.result(workflow.workflowId); // 1. Handling non-critical execution errors if (errors && errors.length > 0) { console.warn('Workflow completed with execution errors:', errors); } // Handling the successful result if (data) { console.log('Connection Status:', data.connectionStatus); } } catch (e) { // 2. Handling critical errors (exceptions) if (e instanceof LinkedApiError) { if (e.type === LINKED_API_ERROR.invalidLinkedApiToken) { console.error('Authentication failed. Please check your API token.'); } else if (e.type === LINKED_API_ERROR.subscriptionRequired) { console.error('This action needs an active subscription:', e.message); } else { // Handle other types of critical API errors console.error(`A different API error occurred: ${e.type}`); } } else { // Handle other unexpected errors (e.g., network issues) console.error('An unexpected, non-API error occurred:', e); } } ``` ```python from linkedapi import CheckConnectionStatusParams, LinkedApiError try: workflow = linkedapi.check_connection_status.execute( CheckConnectionStatusParams(person_url="https://www.linkedin.com/in/john-doe") ) result = linkedapi.check_connection_status.result(workflow.workflow_id) data = result.data errors = result.errors # 1. Handling non-critical execution errors if errors: print("Workflow completed with execution errors:", errors) # Handling the successful result if data: print("Connection Status:", data.connection_status) except LinkedApiError as e: # 2. Handling critical errors (exceptions) if e.type == "invalidLinkedApiToken": print("Authentication failed. Please check your API token.") elif e.type == "subscriptionRequired": print("This action needs an active subscription:", e.message) else: print(f"A different API error occurred: {e.type}") except Exception as error: # Handle other unexpected errors (e.g., network issues) print("An unexpected, non-API error occurred:", error) ``` **Here are all possible critical errors:** - `invalidLinkedApiToken` – the provided `linked-api-token` is invalid. - `invalidIdentificationToken` – the provided `identification-token` is invalid. - `subscriptionRequired` – no purchased subscription seats available for this LinkedIn account. - `plusPlanRequired` – to execute this workflow you need the [Plus plan](/pricing). - `invalidWorkflow` – workflow configuration is not valid due to violated [action constraints](/docs/actions-overview) or invalid [action parameters](/docs/actions-overview), including a parameter the root action does not define: {validation_details}. Predefined methods throw it too when a parameter fails validation, for example a URL that is not a LinkedIn URL or an empty `skillNamePatterns`. - `invalidRequestPayload` – invalid request body/parameters: {validation_details}. - `tooManyRequests` – too many requests have been made in the last minute. - `linkedinAccountSignedOut` – your LinkedIn account has been signed out in our cloud browser. This occasionally happens as LinkedIn may sign out accounts after an extended period. You'll need to visit [our platform](https://app.linkedapi.io/) and reconnect your account. - `languageNotSupported` – your LinkedIn account interface is set to a language Linked API does not support yet. The supported interface languages are English, German, Spanish, French and Portuguese. If you need another language, please contact our support. We prioritize adding new languages based on user requests, so your feedback is important. ## Persisting and cancelling workflows This page explains how to persist a workflow for later restoration and how to cancel its execution while it is running. ## Persisting workflows You can save a workflow ID to retrieve its result later. This is especially useful for long-running automations that might be interrupted by an application restart. The process involves these steps: 1. When you initiate a workflow with `execute()`, save the returned `workflowId`. 2. After a restart, retrieve the saved `workflowId`. 3. Call the `result()` method on the same SDK method, passing the saved `workflowId` to get the result. ```typescript // --- Step 1 & 2: Initiate a workflow and save its references --- async function startAndSaveWorkflow(taskId) { try { const { workflowId } = await linkedapi.checkConnectionStatus.execute({ personUrl: "https://www.linkedin.com/in/john-doe" }); // Save the workflow ID to your database await db.saveTask({ taskId: taskId, workflowId: workflowId }); console.log(`Workflow ${workflowId} started and saved for task ${taskId}.`); } catch (e) { console.error('Failed to start workflow:', e.message); } } // --- Step 3 & 4: Restore the workflow and get the result --- async function restoreAndGetResult(taskId) { try { // Retrieve the saved workflow ID from your database const task = await db.getTask(taskId); if (!task || !task.workflowId) { console.log(`No pending workflow found for task ${taskId}.`); return; } // Get the result using the saved workflow ID // You call the same method you used to start the workflow const { data, errors } = await linkedapi.checkConnectionStatus.result(task.workflowId); if (data) { console.log(`Task ${taskId} complete. Result:`, data); await db.updateTaskStatus(taskId, 'complete'); } } catch (e) { console.error(`Failed to get result for task ${taskId}:`, e.message); await db.updateTaskStatus(taskId, 'failed'); } } ``` ```python from linkedapi import CheckConnectionStatusParams, LinkedApiError # --- Step 1 & 2: Initiate a workflow and save its references --- def start_and_save_workflow(task_id): try: workflow = linkedapi.check_connection_status.execute( CheckConnectionStatusParams(person_url="https://www.linkedin.com/in/john-doe") ) # Save the workflow ID to your database db.save_task(task_id=task_id, workflow_id=workflow.workflow_id) print(f"Workflow {workflow.workflow_id} started and saved for task {task_id}.") except LinkedApiError as e: print("Failed to start workflow:", e.message) # --- Step 3 & 4: Restore the workflow and get the result --- def restore_and_get_result(task_id): try: # Retrieve the saved workflow ID from your database task = db.get_task(task_id) if not task or not task.workflow_id: print(f"No pending workflow found for task {task_id}.") return # Get the result using the saved workflow ID # You call the same method you used to start the workflow result = linkedapi.check_connection_status.result(task.workflow_id) if result.data: print(f"Task {task_id} complete. Result:", result.data) db.update_task_status(task_id, "complete") except LinkedApiError as e: print(f"Failed to get result for task {task_id}:", e.message) db.update_task_status(task_id, "failed") ``` ## Cancelling workflows You can cancel any running workflow when you no longer need its results. This is useful for stopping long-running automations or when conditions in your application change. To cancel a workflow, call the `cancel()` function with the `workflowId`: ```typescript // --- Start a workflow and then cancel it --- async function startAndCancelWorkflow() { try { // Step 1: Initiate the workflow const { workflowId } = await linkedapi.checkConnectionStatus.execute({ personUrl: "https://www.linkedin.com/in/john-doe" }); console.log(`Workflow ${workflowId} started.`); // Step 2: Cancel the workflow using its ID // You call cancel() on the same method you used to start the workflow const cancelled = await linkedapi.checkConnectionStatus.cancel(workflowId); if (cancelled) { console.log(`Workflow ${workflowId} cancelled successfully.`); } } catch (e) { console.error('Failed to process workflow:', (e as Error).message); } } ``` ```python from linkedapi import CheckConnectionStatusParams, LinkedApiError # --- Start a workflow and then cancel it --- def start_and_cancel_workflow(): try: # Step 1: Initiate the workflow workflow = linkedapi.check_connection_status.execute( CheckConnectionStatusParams(person_url="https://www.linkedin.com/in/john-doe") ) print(f"Workflow {workflow.workflow_id} started.") # Step 2: Cancel the workflow using its ID # You call cancel() on the same method you used to start the workflow cancelled = linkedapi.check_connection_status.cancel(workflow.workflow_id) if cancelled: print(f"Workflow {workflow.workflow_id} cancelled successfully.") except LinkedApiError as e: print("Failed to process workflow:", e.message) ``` **Important notes:** - **Partial execution.** The workflow is cancelled at its current execution point. Any actions that have already been completed cannot be undone. For example, if the workflow has already sent messages or connection requests from your LinkedIn account, these actions will remain executed. - **No intermediate data.** Once a workflow is cancelled, no data is preserved or returned. You will not receive any intermediate results or partial data that may have been collected before cancellation. ## getChangelog This function reads the public [Linked API changelog](/changelog): what was released and when. Use it to learn what is new since you last checked, or whether something you need has shipped. It is exported from the package root and needs no client and no token. ```typescript import { getChangelog } from '@linkedapi/node'; try { // Releases for the week of October 1, 2026 and later const changelog = await getChangelog({ since: '2026-10-01' }); for (const release of changelog.entries) { console.log(release.date); for (const item of release.items) { console.log(` ${item.title}: https://linkedapi.io${item.docs}`); } } } catch (e) { // A plain Error carrying the server's message, e.g. for an invalid since console.error('Could not read the changelog:', e); } ``` ```python from linkedapi import LinkedApiError, get_changelog try: # Releases for the week of October 1, 2026 and later changelog = get_changelog("2026-10-01") for release in changelog.entries: print(release.date) for item in release.items: print(f" {item.title}: https://linkedapi.io{item.docs}") except LinkedApiError as e: print(f"Could not read the changelog: {e.message}") ``` ## Params - `since` – optional. Return only the releases for the week containing this point and later. Either an ISO 8601 date, such as `2026-10-01`, or an instant with a time zone, such as `2026-10-01T12:00:00Z`. Node also accepts a `Date`; Python accepts a `date` or a timezone-aware `datetime`. Omit it to get the whole changelog. In Node, `since` is a field of the options object; in Python, it is the first argument. ## Data - `since` – the `since` you passed, or `null` when you passed none. - `count` – the number of releases returned. - `entries` – the releases, newest first. Each has: - `date` – the Monday of the release's week, as `YYYY-MM-DD`; - `items` – what shipped, each with a `title`, a `body` and `docs`, the path of its documentation on `https://linkedapi.io`. ## Releases are weekly A release covers a week and is dated by its Monday. It counts as shipped at the end of that week, so `since` returns every release whose week ends after it – including the week `since` falls in, even when its date is a few days earlier. That way a check in the middle of a week never misses what ships later the same week. The price is that a later check in the same week returns that release again, and items can be added to it during its week. Deduplicate releases by `date`, and keep the copy you received last. ## Errors - **Node** – throws a plain `Error`, not a `LinkedApiError`, with the server's message when the response is not `2xx` – for example, an invalid `since`. A network failure is thrown as the underlying `fetch` error. - **Python** – raises a `LinkedApiError` of type `httpError`, both for a non-`2xx` response, with the server's message, and for a network failure. The same changelog is available from the terminal with [`linkedin changelog`](/cli/getting-started#changelog) and to AI agents through the MCP tool [`get_changelog`](/mcp/available-tools#changelog). ## Methods Each SDK method runs one API action or reads one endpoint. Its page in the API reference shows the call in the Node and Python tabs, with the parameters, the result and the errors. Methods without their own row run any workflow through [`customWorkflow`](/sdks/custom-workflow). ## Messages | Method | Runs | | --- | --- | | `sendMessage` | [`st.sendMessage`](/docs/action-st-send-message?surface=sdk) | | `syncInbox` | [`st.syncInbox`](/docs/action-st-sync-inbox?surface=sdk) | | `pollInbox` | [`POST /inbox/poll`](/docs/monitoring-inbox?surface=sdk) | | `syncConversation` | [`st.syncConversation`](/docs/action-st-sync-conversation?surface=sdk) | | `manageConversation` | [`st.manageConversation`](/docs/action-st-manage-conversation?surface=sdk) | ## Connections | Method | Runs | | --- | --- | | `checkConnectionStatus` | [`st.checkConnectionStatus`](/docs/action-st-check-connection-status?surface=sdk) | | `sendConnectionRequest` | [`st.sendConnectionRequest`](/docs/action-st-send-connection-request?surface=sdk) | | `withdrawConnectionRequest` | [`st.withdrawConnectionRequest`](/docs/action-st-withdraw-connection-request?surface=sdk) | | `acceptInvitation` | [`st.acceptInvitation`](/docs/action-st-accept-invitation?surface=sdk) | | `ignoreInvitation` | [`st.ignoreInvitation`](/docs/action-st-ignore-invitation?surface=sdk) | | `retrievePendingRequests` | [`st.retrievePendingRequests`](/docs/action-st-retrieve-pending-requests?surface=sdk) | | `retrieveInvitations` | [`st.retrieveInvitations`](/docs/action-st-retrieve-invitations?surface=sdk) | | `retrieveConnections` | [`st.retrieveConnections`](/docs/action-st-retrieve-connections?surface=sdk) | | `removeConnection` | [`st.removeConnection`](/docs/action-st-remove-connection?surface=sdk) | | `syncNetwork` | [`st.syncNetwork`](/docs/action-st-sync-network?surface=sdk) | | `pollNetwork` | [`POST /network/poll`](/docs/monitoring-network?surface=sdk) | ## People | Method | Runs | | --- | --- | | `searchPeople` | [`st.searchPeople`](/docs/action-st-search-people?surface=sdk) | | `fetchPerson` | [`st.openPersonPage`](/docs/action-st-open-person-page?surface=sdk) | | `endorsePersonSkill` | [`st.endorsePersonSkill`](/docs/action-st-endorse-person-skill?surface=sdk) | | `endorsePersonSkills` | [`st.doForSkills`](/docs/action-st-do-for-skills?surface=sdk) with [`st.endorsePersonSkill`](/docs/action-st-endorse-person-skill?surface=sdk) – see [Endorsing skills](/docs/endorsing-skills?surface=sdk) | ## Companies | Method | Runs | | --- | --- | | `searchCompanies` | [`st.searchCompanies`](/docs/action-st-search-companies?surface=sdk) | | `fetchCompany` | [`st.openCompanyPage`](/docs/action-st-open-company-page?surface=sdk) | ## Posts and Comments | Method | Runs | | --- | --- | | `searchPosts` | [`st.searchPosts`](/docs/action-st-search-posts?surface=sdk) | | `fetchPost` | [`st.openPost`](/docs/action-st-open-post?surface=sdk) | | `createPost` | [`st.createPost`](/docs/action-st-create-post?surface=sdk) | | `createRepost` | [`st.createRepost`](/docs/action-st-create-repost?surface=sdk) | | `reactToPost` | [`st.reactToPost`](/docs/action-st-react-to-post?surface=sdk) | | `commentOnPost` | [`st.commentOnPost`](/docs/action-st-comment-on-post?surface=sdk) | | `reactToComment` | [`st.reactToComment`](/docs/action-st-react-to-comment?surface=sdk) | | `replyToComment` | [`st.replyToComment`](/docs/action-st-reply-to-comment?surface=sdk) | ## Jobs | Method | Runs | | --- | --- | | `searchJobs` | [`st.searchJobs`](/docs/action-st-search-jobs?surface=sdk) | | `fetchJob` | [`st.openJob`](/docs/action-st-open-job?surface=sdk) | ## Your Account | Method | Runs | | --- | --- | | `retrieveSSI` | [`st.retrieveSSI`](/docs/action-st-retrieve-ssi?surface=sdk) | | `retrievePerformance` | [`st.retrievePerformance`](/docs/action-st-retrieve-performance?surface=sdk) | | `retrieveFeed` | [`st.retrieveFeed`](/docs/action-st-retrieve-feed?surface=sdk) | | `retrieveProfileViewers` | [`st.retrieveProfileViewers`](/docs/action-st-retrieve-profile-viewers?surface=sdk) | | `getApiUsage` | [`GET /stats/actions`](/docs/checking-api-usage-statistics?surface=sdk) | | `getAccountInfo` | [`GET /account`](/docs/making-requests?surface=sdk#checking-your-tokens) | ## Sales Navigator | Method | Runs | | --- | --- | | `nvRetrieveAlerts` | [`nv.retrieveAlerts`](/docs/action-nv-retrieve-alerts?surface=sdk) | | `nvRetrieveLists` | [`nv.retrieveLists`](/docs/action-nv-retrieve-lists?surface=sdk) | | `nvCreateList` | [`nv.createList`](/docs/action-nv-create-list?surface=sdk) | | `nvDeleteList` | [`nv.deleteList`](/docs/action-nv-delete-list?surface=sdk) | | `nvRenameList` | [`nv.renameList`](/docs/action-nv-rename-list?surface=sdk) | | `nvRetrieveListLeads` | [`nv.retrieveListLeads`](/docs/action-nv-retrieve-list-leads?surface=sdk) | | `nvRetrieveListAccounts` | [`nv.retrieveListAccounts`](/docs/action-nv-retrieve-list-accounts?surface=sdk) | | `nvRetrieveSavedSearches` | [`nv.retrieveSavedSearches`](/docs/action-nv-retrieve-saved-searches?surface=sdk) | | `nvCreateSavedSearch` | [`nv.createSavedSearch`](/docs/action-nv-create-saved-search?surface=sdk) | | `nvDeleteSavedSearch` | [`nv.deleteSavedSearch`](/docs/action-nv-delete-saved-search?surface=sdk) | | `nvSendMessage` | [`nv.sendMessage`](/docs/action-nv-send-message?surface=sdk) | | `nvSyncInbox` | [`nv.syncInbox`](/docs/action-nv-sync-inbox?surface=sdk) | | `nvSyncConversation` | [`nv.syncConversation`](/docs/action-nv-sync-conversation?surface=sdk) | | `nvManageConversation` | [`nv.manageConversation`](/docs/action-nv-manage-conversation?surface=sdk) | | `nvSearchPeople` | [`nv.searchPeople`](/docs/action-nv-search-people?surface=sdk) | | `nvFetchPerson` | [`nv.openPersonPage`](/docs/action-nv-open-person-page?surface=sdk) | | `nvSaveLead` | [`nv.saveLead`](/docs/action-nv-save-lead?surface=sdk) | | `nvUnsaveLead` | [`nv.unsaveLead`](/docs/action-nv-unsave-lead?surface=sdk) | | `nvRemoveLeadFromList` | [`nv.removeLeadFromList`](/docs/action-nv-remove-lead-from-list?surface=sdk) | | `nvSearchCompanies` | [`nv.searchCompanies`](/docs/action-nv-search-companies?surface=sdk) | | `nvFetchCompany` | [`nv.openCompanyPage`](/docs/action-nv-open-company-page?surface=sdk) | | `nvSaveAccount` | [`nv.saveAccount`](/docs/action-nv-save-account?surface=sdk) | | `nvUnsaveAccount` | [`nv.unsaveAccount`](/docs/action-nv-unsave-account?surface=sdk) | | `nvRemoveAccountFromList` | [`nv.removeAccountFromList`](/docs/action-nv-remove-account-from-list?surface=sdk) | ## Admin API The admin client, `LinkedApiAdmin`, is created with your Linked API token only; see [Authentication](/docs/admin-overview?surface=sdk#authentication). | Method | Runs | | --- | --- | | `admin.subscription.getStatus` | [`subscription.getStatus`](/docs/admin-subscription?surface=sdk#subscription-getstatus) | | `admin.subscription.getSeats` | [`subscription.getSeats`](/docs/admin-subscription?surface=sdk#subscription-getseats) | | `admin.subscription.setSeats` | [`subscription.setSeats`](/docs/admin-subscription?surface=sdk#subscription-setseats) | | `admin.accounts.getAll` | [`accounts.getAll`](/docs/admin-accounts?surface=sdk#accounts-getall) | | `admin.accounts.reparseAccountInfo` | [`accounts.reparseAccountInfo`](/docs/admin-accounts?surface=sdk#accounts-reparseaccountinfo) | | `admin.accounts.disconnect` | [`accounts.disconnect`](/docs/admin-accounts?surface=sdk#accounts-disconnect) | | `admin.accounts.regenerateIdentificationToken` | [`accounts.regenerateIdentificationToken`](/docs/admin-accounts?surface=sdk#accounts-regenerateidentificationtoken) | | `admin.accounts.createConnectionSession` | [`accounts.createConnectionSession`](/docs/admin-connection-sessions?surface=sdk#accounts-createconnectionsession) | | `admin.accounts.createReconnectionSession` | [`accounts.createReconnectionSession`](/docs/admin-connection-sessions?surface=sdk#accounts-createreconnectionsession) | | `admin.accounts.getConnectionSession` | [`accounts.getConnectionSession`](/docs/admin-connection-sessions?surface=sdk#accounts-getconnectionsession) | | `admin.accounts.cancelConnectionSession` | [`accounts.cancelConnectionSession`](/docs/admin-connection-sessions?surface=sdk#accounts-cancelconnectionsession) | | `admin.limits.getDefaults` | [`limits.getDefaults`](/docs/admin-limits?surface=sdk#limits-getdefaults) | | `admin.limits.get` | [`limits.get`](/docs/admin-limits?surface=sdk#limits-get) | | `admin.limits.getUsage` | [`limits.getUsage`](/docs/admin-limits?surface=sdk#limits-getusage) | | `admin.limits.set` | [`limits.set`](/docs/admin-limits?surface=sdk#limits-set) | | `admin.limits.delete` | [`limits.delete`](/docs/admin-limits?surface=sdk#limits-delete) | | `admin.limits.resetToDefaults` | [`limits.resetToDefaults`](/docs/admin-limits?surface=sdk#limits-resettodefaults) | ## Webhooks | Method | Runs | | --- | --- | | `admin.webhooks.set` | [`webhook.set`](/docs/admin-webhooks?surface=sdk#webhook-set) | | `admin.webhooks.get` | [`webhook.get`](/docs/admin-webhooks?surface=sdk#webhook-get) | | `admin.webhooks.setPayloadMode` | [`webhook.setPayloadMode`](/docs/admin-webhooks?surface=sdk#webhook-setpayloadmode) | | `admin.webhooks.setEvents` | [`webhook.setEvents`](/docs/admin-webhooks?surface=sdk#webhook-setevents) | | `admin.webhooks.eventTypes` | [`webhook.eventTypes`](/docs/admin-webhooks?surface=sdk#webhook-eventtypes) | | `admin.webhooks.setSigning` | [`webhook.setSigning`](/docs/admin-webhooks?surface=sdk#webhook-setsigning) | | `admin.webhooks.setHeader` | [`webhook.setHeader`](/docs/admin-webhooks?surface=sdk#webhook-setheader) | | `admin.webhooks.deleteHeader` | [`webhook.deleteHeader`](/docs/admin-webhooks?surface=sdk#webhook-deleteheader) | | `admin.webhooks.setHeaders` | [`webhook.setHeaders`](/docs/admin-webhooks?surface=sdk#webhook-setheaders) | | `admin.webhooks.revealSecret` | [`webhook.revealSecret`](/docs/admin-webhooks?surface=sdk#webhook-revealsecret) | | `admin.webhooks.rotateSecret` | [`webhook.rotateSecret`](/docs/admin-webhooks?surface=sdk#webhook-rotatesecret) | | `admin.webhooks.delete` | [`webhook.delete`](/docs/admin-webhooks?surface=sdk#webhook-delete) | | `admin.webhooks.deliveries` | [`webhook.deliveries`](/docs/admin-webhooks?surface=sdk#webhook-deliveries) | | `admin.webhooks.replayDelivery` | [`webhook.replayDelivery`](/docs/admin-webhooks?surface=sdk#webhook-replaydelivery) | | `admin.webhooks.sendTest` | [`webhook.sendTest`](/docs/admin-webhooks?surface=sdk#webhook-sendtest) | --- # CLI ## LinkedIn CLI LinkedIn CLI gives AI agents and developers full LinkedIn capabilities through simple shell commands. Built for Claude Code, Cursor, Codex, and any AI agent that can execute shell commands. > Source code available on [GitHub](https://github.com/Linked-API/linkedin-cli). After setup: every command is listed in [Commands](/cli/commands); global flags, the JSON output format and exit codes are in [Flags, Output and Exit Codes](/cli/flags-and-output); running any workflow JSON is in [Custom Workflows](/cli/workflows). How results represent LinkedIn data – UTC timestamps, normalized URLs, `null` for missing fields – is in [Data Conventions](/docs/data-conventions). ## Quick start ```bash # 1. Install npm install -g @linkedapi/linkedin-cli # 2. Save your tokens (get them at app.linkedapi.io) linkedin setup # 3. Fetch a profile linkedin person fetch https://www.linkedin.com/in/vprudnikoff --json # 4. Search for people linkedin person search --term "revops engineer" --current-companies "Linked API" --json # 5. Send a message linkedin message send https://www.linkedin.com/in/vprudnikoff "Hey, loved your latest post!" ``` ## Install ```bash npm install -g @linkedapi/linkedin-cli ``` ## Setup ```bash linkedin setup ``` The CLI will ask for your **Linked API Token** and **Identification Token**. Get them at [app.linkedapi.io](https://app.linkedapi.io). For non-interactive environments (CI, scripts): ```bash linkedin setup --linked-api-token=xxx --identification-token=yyy ``` | Flag | Description | | --- | --- | | `--linked-api-token` | Linked API Token (skips prompt) | | `--identification-token` | Identification Token (skips prompt) | ## Multiple accounts Run `linkedin setup` again with different tokens to add more accounts. The last added account becomes active. ```bash # List all accounts (* marks active) linkedin account list # Switch active account linkedin account switch "Vlad" # Update tokens for active account (e.g. after regenerating tokens on the dashboard) linkedin account update # Update tokens for a specific account linkedin account update "Vlad" # Rename a saved account linkedin account rename "Vlad" --name "My Work Account" # Use a specific account for one command linkedin person fetch https://www.linkedin.com/in/... --account "Vlad" # Remove active account (auto-switches to next) linkedin reset # Remove all accounts linkedin reset --all ``` ## Updating tokens If your tokens were regenerated on the [dashboard](https://app.linkedapi.io), update them in the CLI without removing the account: ```bash linkedin account update ``` This prompts for new tokens, verifies them, and updates the saved account in place. To update a specific account: ```bash linkedin account update "Account Name" ``` For non-interactive environments: ```bash linkedin account update --linked-api-token=xxx --identification-token=yyy ``` | Flag | Description | | --- | --- | | `--linked-api-token` | New Linked API Token (skips prompt) | | `--identification-token` | New Identification Token (skips prompt) | ## Changelog Read the public [Linked API changelog](/changelog) from the terminal. It needs no setup and no tokens. ```bash # Every release, newest first linkedin changelog # Only the releases for the week of a date and later linkedin changelog --since 2026-10-01 # The raw changelog response as JSON linkedin changelog --since 2026-10-01T12:00:00Z --json ``` In a terminal it prints each release date followed by its items, each with a title, a description and a link to its documentation. With `--json`, or when stdout is not a terminal, it prints the changelog response itself rather than the usual `success` envelope. `--since` takes an ISO date or an instant with a time zone; an invalid value exits with code `5` and the server's message. Releases are weekly, so `--since` also returns the release for the week it falls in – see [how releases are dated](/sdks/get-changelog#releases-are-weekly). ## Feedback Send a bug report, a feature request or praise straight to the Linked API team. It reaches the team within a minute. ```bash # Report a defect with the run that shows it linkedin feedback "person fetch returns an empty experience list for public profiles" \ --type bug --severity high --surface "person fetch" \ --workflow-id account-12345-abcde --error "unexpectedError" # Ask for something that does not exist yet linkedin feedback "would be great to filter connections by company size" --type feature ``` | Flag | Description | | --- | --- | | `--type` | `bug`, `feature`, `praise` or `other` (default: `other`) | | `--severity` | `low`, `medium` or `high` – how badly it blocks you | | `--surface` | The command the feedback is about, e.g. `person fetch` | | `--workflow-id` | The `workflowId` of the run the feedback is about | | `--operation-name` | The `operationName` of the failing call, e.g. `st.sendMessage` | | `--error` | The error message or unexpected payload, verbatim | | `--context` | Any extra detail as a JSON object, e.g. `'{"attempts": 3}'` – never tokens or other secrets | Attach `--workflow-id` and `--error` when the feedback is about a failed or wrong result: that lets the team replay the exact run. Token, authentication and subscription errors are account settings rather than defects – fix them on the dashboard. ## Flags, Output and Exit Codes `linkedin` commands share global flags, an output format and exit codes. This page describes all three, with the few commands that differ. ## Global flags Every command that calls Linked API supports these flags. The local commands `setup`, `reset` and `account …` print plain text and take none of them: `account list` ignores them, and the others reject them as unknown flags. | Flag | Description | | --- | --- | | `--json` | Structured JSON output to stdout | | `--fields name,url,...` | Select specific fields in output | | `--quiet` / `-q` | Suppress stderr progress | | `--no-color` | Disable colors | | `--account "Name"` | Use a specific account for this command. Admin commands do not take it – they use the current account's Linked API token; switch with `linkedin account switch` | ## Output format **JSON mode** (`--json` or non-TTY stdout): ```json {"success": true, "data": {"name": "Vlad Prudnikov", "headline": "CEO at Linked API"}} ``` ```json {"success": false, "error": {"type": "personNotFound", "message": "Person not found"}} ``` **Human mode** (TTY stdout): key-value pairs for objects, tables for arrays. Request errors – invalid tokens, rate limits, a subscription that does not allow the action – are written to stderr as `{"error": "…", "message": "…"}` and set the exit codes below. `linkedin changelog` is the one command that prints its response as is, without this envelope and without `--fields` – see [Changelog](/cli/getting-started#changelog). ## Exit codes | Code | Meaning | | --- | --- | | `0` | Success (check `success` field – action may have returned an error like "person not found") | | `1` | General/unexpected error | | `2` | Missing or invalid tokens, or a usage error caught by the argument parser – a missing required argument or flag, an unknown flag, or a value outside the allowed list; the message is on stderr | | `3` | Subscription/plan required | | `4` | LinkedIn account issue | | `5` | Invalid arguments rejected by the command's own checks, or by the API as `invalidRequestPayload` or `invalidWorkflow` | | `6` | Rate limited | | `7` | Network error | | `8` | Workflow timeout (workflowId returned for recovery) | ## Custom Workflows ## workflow run Execute a custom workflow definition. Accepts JSON from a file or stdin. The command starts the workflow and waits for it to complete. While it waits, it writes the workflow ID and status to stderr as progress (hidden by `--quiet`); at the end it prints `{"success": true, "data": …}` with the whole workflow completion in `data`. If waiting times out, it exits with code `8` and an error that names the `workflowId`, so you can continue with `linkedin workflow status --wait`. Calls [`POST /workflows`](/docs/executing-workflows) – what each option means, the result fields and the errors are described there. ```bash linkedin workflow run [flags] ``` | Flag | Type | Description | | --- | --- | --- | | `-f` / `--file` | string | Path to workflow JSON file | ```bash # From file linkedin workflow run --file workflow.json # From stdin cat workflow.json | linkedin workflow run # Inline echo '{"actionType": "st.openPersonPage", "personUrl": "https://www.linkedin.com/in/person1", "basicInfo": true}' | linkedin workflow run ``` The definition is the request body of `POST /workflows`: one action object, or an array of actions that run one after another. See [Building Workflows](/docs/building-workflows) for the schema. ## workflow status Check status of a running workflow or wait for its completion. In-progress responses include `status` (`pending` or `running`) and `message`. Reads [`GET /workflows/{workflowId}`](/docs/executing-workflows#checking-for-result) – what each option means, the result fields and the errors are described there. ```bash linkedin workflow status [flags] ``` | Arg | Required | Description | | --- | --- | --- | | `id` | yes | Workflow ID | | Flag | Type | Description | | --- | --- | --- | | `--wait` | boolean | Block until the workflow completes | ```bash # Check current status linkedin workflow status abc123 # Wait for completion linkedin workflow status abc123 --wait --json ``` ## Commands Each command below Setup and Accounts runs one API action or reads one endpoint. Its page in the API reference shows the command in the CLI tab, with its flags, the result and the errors. Any other workflow runs through [`linkedin workflow run`](/cli/workflows); `linkedin --help` lists the commands of your installed version. ## Setup and Accounts | Command | What it does | | --- | --- | | `linkedin setup` | Saves the tokens of an account – [Setup](/cli/getting-started#setup) | | `linkedin account list` | Lists the saved accounts – [Multiple accounts](/cli/getting-started#multiple-accounts) | | `linkedin account switch` | Makes another saved account the active one – [Multiple accounts](/cli/getting-started#multiple-accounts) | | `linkedin account update` | Replaces an account's tokens – [Updating tokens](/cli/getting-started#updating-tokens) | | `linkedin account rename` | Renames a saved account – [Multiple accounts](/cli/getting-started#multiple-accounts) | | `linkedin reset` | Removes the active account, or all of them with `--all` – [Multiple accounts](/cli/getting-started#multiple-accounts) | | `linkedin workflow run` | Runs any workflow – [Custom Workflows](/cli/workflows#workflow-run) | | `linkedin workflow status` | Checks or waits for a workflow – [Custom Workflows](/cli/workflows#workflow-status) | | `linkedin changelog` | Prints the public changelog – [Changelog](/cli/getting-started#changelog) | | `linkedin feedback` | Sends feedback to the Linked API team – [Feedback](/cli/getting-started#feedback) | ## Messages | Command | Runs | | --- | --- | | `linkedin message send` | [`st.sendMessage`](/docs/action-st-send-message?surface=cli) | | `linkedin message get` | [`st.syncConversation`](/docs/action-st-sync-conversation?surface=cli) (reads the conversation; loads its earlier history first when needed) | | `linkedin message manage` | [`st.manageConversation`](/docs/action-st-manage-conversation?surface=cli) | | `linkedin inbox sync` | [`st.syncInbox`](/docs/action-st-sync-inbox?surface=cli) | | `linkedin inbox get` | [`POST /inbox/poll`](/docs/monitoring-inbox?surface=cli) | ## Connections | Command | Runs | | --- | --- | | `linkedin connection status` | [`st.checkConnectionStatus`](/docs/action-st-check-connection-status?surface=cli) | | `linkedin connection send` | [`st.sendConnectionRequest`](/docs/action-st-send-connection-request?surface=cli) | | `linkedin connection list` | [`st.retrieveConnections`](/docs/action-st-retrieve-connections?surface=cli) | | `linkedin connection pending` | [`st.retrievePendingRequests`](/docs/action-st-retrieve-pending-requests?surface=cli) | | `linkedin connection invitations` | [`st.retrieveInvitations`](/docs/action-st-retrieve-invitations?surface=cli) | | `linkedin connection accept` | [`st.acceptInvitation`](/docs/action-st-accept-invitation?surface=cli) | | `linkedin connection ignore` | [`st.ignoreInvitation`](/docs/action-st-ignore-invitation?surface=cli) | | `linkedin connection withdraw` | [`st.withdrawConnectionRequest`](/docs/action-st-withdraw-connection-request?surface=cli) | | `linkedin connection remove` | [`st.removeConnection`](/docs/action-st-remove-connection?surface=cli) | | `linkedin network sync` | [`st.syncNetwork`](/docs/action-st-sync-network?surface=cli) | | `linkedin network events` | [`POST /network/poll`](/docs/monitoring-network?surface=cli) | ## People | Command | Runs | | --- | --- | | `linkedin person fetch` | [`st.openPersonPage`](/docs/action-st-open-person-page?surface=cli) | | `linkedin person search` | [`st.searchPeople`](/docs/action-st-search-people?surface=cli) | | `linkedin person endorse` | [`st.endorsePersonSkill`](/docs/action-st-endorse-person-skill?surface=cli); `--pattern` / `--all` – see [Endorsing skills](/docs/endorsing-skills?surface=cli) | ## Companies | Command | Runs | | --- | --- | | `linkedin company fetch` | [`st.openCompanyPage`](/docs/action-st-open-company-page?surface=cli) | | `linkedin company search` | [`st.searchCompanies`](/docs/action-st-search-companies?surface=cli) | ## Posts and Comments | Command | Runs | | --- | --- | | `linkedin post fetch` | [`st.openPost`](/docs/action-st-open-post?surface=cli) | | `linkedin post search` | [`st.searchPosts`](/docs/action-st-search-posts?surface=cli) | | `linkedin post create` | [`st.createPost`](/docs/action-st-create-post?surface=cli) | | `linkedin post repost` | [`st.createRepost`](/docs/action-st-create-repost?surface=cli) | | `linkedin post react` | [`st.reactToPost`](/docs/action-st-react-to-post?surface=cli) | | `linkedin post comment` | [`st.commentOnPost`](/docs/action-st-comment-on-post?surface=cli) | | `linkedin comment react` | [`st.reactToComment`](/docs/action-st-react-to-comment?surface=cli) | | `linkedin comment reply` | [`st.replyToComment`](/docs/action-st-reply-to-comment?surface=cli) | ## Jobs | Command | Runs | | --- | --- | | `linkedin jobs search` | [`st.searchJobs`](/docs/action-st-search-jobs?surface=cli) | | `linkedin jobs fetch` | [`st.openJob`](/docs/action-st-open-job?surface=cli) | ## Your Account | Command | Runs | | --- | --- | | `linkedin feed retrieve` | [`st.retrieveFeed`](/docs/action-st-retrieve-feed?surface=cli) | | `linkedin stats ssi` | [`st.retrieveSSI`](/docs/action-st-retrieve-ssi?surface=cli) | | `linkedin stats performance` | [`st.retrievePerformance`](/docs/action-st-retrieve-performance?surface=cli) | | `linkedin stats viewers` | [`st.retrieveProfileViewers`](/docs/action-st-retrieve-profile-viewers?surface=cli) | | `linkedin stats usage` | [`GET /stats/actions`](/docs/checking-api-usage-statistics?surface=cli) | ## Sales Navigator | Command | Runs | | --- | --- | | `linkedin navigator alerts` | [`nv.retrieveAlerts`](/docs/action-nv-retrieve-alerts?surface=cli) | | `linkedin navigator lists` | [`nv.retrieveLists`](/docs/action-nv-retrieve-lists?surface=cli) | | `linkedin navigator lists create` | [`nv.createList`](/docs/action-nv-create-list?surface=cli) | | `linkedin navigator lists delete` | [`nv.deleteList`](/docs/action-nv-delete-list?surface=cli) | | `linkedin navigator lists rename` | [`nv.renameList`](/docs/action-nv-rename-list?surface=cli) | | `linkedin navigator lists leads` | [`nv.retrieveListLeads`](/docs/action-nv-retrieve-list-leads?surface=cli) | | `linkedin navigator lists accounts` | [`nv.retrieveListAccounts`](/docs/action-nv-retrieve-list-accounts?surface=cli) | | `linkedin navigator saved-searches` | [`nv.retrieveSavedSearches`](/docs/action-nv-retrieve-saved-searches?surface=cli) | | `linkedin navigator saved-searches create` | [`nv.createSavedSearch`](/docs/action-nv-create-saved-search?surface=cli) | | `linkedin navigator saved-searches delete` | [`nv.deleteSavedSearch`](/docs/action-nv-delete-saved-search?surface=cli) | | `linkedin navigator person fetch` | [`nv.openPersonPage`](/docs/action-nv-open-person-page?surface=cli) | | `linkedin navigator person search` | [`nv.searchPeople`](/docs/action-nv-search-people?surface=cli) | | `linkedin navigator person save` | [`nv.saveLead`](/docs/action-nv-save-lead?surface=cli) | | `linkedin navigator person unsave` | [`nv.unsaveLead`](/docs/action-nv-unsave-lead?surface=cli) | | `linkedin navigator person remove-from-list` | [`nv.removeLeadFromList`](/docs/action-nv-remove-lead-from-list?surface=cli) | | `linkedin navigator company fetch` | [`nv.openCompanyPage`](/docs/action-nv-open-company-page?surface=cli) | | `linkedin navigator company search` | [`nv.searchCompanies`](/docs/action-nv-search-companies?surface=cli) | | `linkedin navigator company save` | [`nv.saveAccount`](/docs/action-nv-save-account?surface=cli) | | `linkedin navigator company unsave` | [`nv.unsaveAccount`](/docs/action-nv-unsave-account?surface=cli) | | `linkedin navigator company remove-from-list` | [`nv.removeAccountFromList`](/docs/action-nv-remove-account-from-list?surface=cli) | | `linkedin navigator message send` | [`nv.sendMessage`](/docs/action-nv-send-message?surface=cli) | | `linkedin navigator message get` | [`nv.syncConversation`](/docs/action-nv-sync-conversation?surface=cli) (reads the conversation; loads its earlier history first when needed) | | `linkedin navigator message manage` | [`nv.manageConversation`](/docs/action-nv-manage-conversation?surface=cli) | These commands drive a Sales Navigator seat you already have. For LinkedIn's own partner API (SNAP) and who can get it, see the [LinkedIn Sales Navigator API](/guides/linkedin-sales-navigator-api) guide. ## Admin API Admin commands use the Linked API token of the current saved account; see [Authentication](/docs/admin-overview?surface=cli#authentication). | Command | Runs | | --- | --- | | `linkedin admin subscription status` | [`subscription.getStatus`](/docs/admin-subscription?surface=cli#subscription-getstatus) | | `linkedin admin subscription seats` | [`subscription.getSeats`](/docs/admin-subscription?surface=cli#subscription-getseats) | | `linkedin admin subscription set-seats` | [`subscription.setSeats`](/docs/admin-subscription?surface=cli#subscription-setseats) | | `linkedin admin accounts list` | [`accounts.getAll`](/docs/admin-accounts?surface=cli#accounts-getall) | | `linkedin admin accounts reparse` | [`accounts.reparseAccountInfo`](/docs/admin-accounts?surface=cli#accounts-reparseaccountinfo) | | `linkedin admin accounts disconnect` | [`accounts.disconnect`](/docs/admin-accounts?surface=cli#accounts-disconnect) | | `linkedin admin accounts regenerate-token` | [`accounts.regenerateIdentificationToken`](/docs/admin-accounts?surface=cli#accounts-regenerateidentificationtoken) | | `linkedin admin accounts connect` | [`accounts.createConnectionSession`](/docs/admin-connection-sessions?surface=cli#accounts-createconnectionsession) | | `linkedin admin accounts reconnect` | [`accounts.createReconnectionSession`](/docs/admin-connection-sessions?surface=cli#accounts-createreconnectionsession) | | `linkedin admin accounts session` | [`accounts.getConnectionSession`](/docs/admin-connection-sessions?surface=cli#accounts-getconnectionsession) | | `linkedin admin accounts cancel-session` | [`accounts.cancelConnectionSession`](/docs/admin-connection-sessions?surface=cli#accounts-cancelconnectionsession) | | `linkedin admin limits defaults` | [`limits.getDefaults`](/docs/admin-limits?surface=cli#limits-getdefaults) | | `linkedin admin limits get` | [`limits.get`](/docs/admin-limits?surface=cli#limits-get) | | `linkedin admin limits usage` | [`limits.getUsage`](/docs/admin-limits?surface=cli#limits-getusage) | | `linkedin admin limits set` | [`limits.set`](/docs/admin-limits?surface=cli#limits-set) | | `linkedin admin limits delete` | [`limits.delete`](/docs/admin-limits?surface=cli#limits-delete) | | `linkedin admin limits reset` | [`limits.resetToDefaults`](/docs/admin-limits?surface=cli#limits-resettodefaults) | ## Webhooks | Command | Runs | | --- | --- | | `linkedin admin webhook set` | [`webhook.set`](/docs/admin-webhooks?surface=cli#webhook-set) | | `linkedin admin webhook get` | [`webhook.get`](/docs/admin-webhooks?surface=cli#webhook-get) | | `linkedin admin webhook set-payload-mode` | [`webhook.setPayloadMode`](/docs/admin-webhooks?surface=cli#webhook-setpayloadmode) | | `linkedin admin webhook set-events` | [`webhook.setEvents`](/docs/admin-webhooks?surface=cli#webhook-setevents) | | `linkedin admin webhook event-types` | [`webhook.eventTypes`](/docs/admin-webhooks?surface=cli#webhook-eventtypes) | | `linkedin admin webhook set-signing` | [`webhook.setSigning`](/docs/admin-webhooks?surface=cli#webhook-setsigning) | | `linkedin admin webhook set-header` | [`webhook.setHeader`](/docs/admin-webhooks?surface=cli#webhook-setheader) | | `linkedin admin webhook delete-header` | [`webhook.deleteHeader`](/docs/admin-webhooks?surface=cli#webhook-deleteheader) | | `linkedin admin webhook set-headers` | [`webhook.setHeaders`](/docs/admin-webhooks?surface=cli#webhook-setheaders) | | `linkedin admin webhook reveal-secret` | [`webhook.revealSecret`](/docs/admin-webhooks?surface=cli#webhook-revealsecret) | | `linkedin admin webhook rotate-secret` | [`webhook.rotateSecret`](/docs/admin-webhooks?surface=cli#webhook-rotatesecret) | | `linkedin admin webhook delete` | [`webhook.delete`](/docs/admin-webhooks?surface=cli#webhook-delete) | | `linkedin admin webhook deliveries` | [`webhook.deliveries`](/docs/admin-webhooks?surface=cli#webhook-deliveries) | | `linkedin admin webhook replay` | [`webhook.replayDelivery`](/docs/admin-webhooks?surface=cli#webhook-replaydelivery) | | `linkedin admin webhook send-test` | [`webhook.sendTest`](/docs/admin-webhooks?surface=cli#webhook-sendtest) | --- # MCP Server ## LinkedIn MCP Server: Linked API MCP for Claude, ChatGPT, Cursor and Codex Linked API MCP server connects your LinkedIn account to AI assistants like Claude, Claude Code, ChatGPT, Codex, Cursor, VS Code, Windsurf, and more. Ask them to search for leads, send messages, analyze profiles, and much more – they'll handle it through our cloud browser, safely and automatically. > Source code available on [GitHub](https://github.com/Linked-API/linkedapi-mcp). ## Does LinkedIn have an official MCP server? Only a narrow one. LinkedIn's own MCP server, LinkedIn Hiring Pro, is listed in [Claude's connector directory](https://claude.com/marketplace/connectors/linkedin-hiring-pro) since October 2026 and drafts and posts one free job for eligible members – it does not read profiles, run searches or send messages. Beyond that, LinkedIn's developer platform offers REST APIs, most of them gated behind partner approval. Linked API MCP is an unofficial LinkedIn MCP server: it runs LinkedIn actions through a dedicated cloud browser on an account you own, so your assistant searches, reads and messages the way you would, at a human pace, and Linked API never stores your password. Install it in [Claude, Claude Code, ChatGPT, Codex, Cursor, VS Code or Windsurf](/mcp/installation) and ask in plain language. ## How do I connect Claude to LinkedIn? Add Linked API to Claude as a custom connector. One connector covers claude.ai, the Claude Desktop app and Cowork. On individual plans, add it under Customize → Connectors with your Linked API server URL; on Team and Enterprise plans, an Owner adds it once in the organization settings. Claude can then search people and companies, read profiles and posts, and send messages from your own account ([step-by-step](/mcp/installation#claude)). Claude Code connects through the same MCP server, the [CLI](/cli/getting-started) or the [LinkedIn skill](/skills/linkedin). LinkedIn's own Hiring Pro connector, above, covers job posting only. ## Common use cases - **Sales automation assistant**. Ask your AI to find leads, check their profiles, and draft personalized outreach. It can search for "software engineers at companies with 50-200 employees in San Francisco", analyze their backgrounds, and suggest connection messages that actually make sense. - **Recruitment assistant**. Let your assistant search for candidates with specific skills, review their experience, and send initial outreach. It handles the time-consuming parts while you focus on actually talking to people. - **Conversation assistant**. Your AI can read your existing LinkedIn conversations and help you respond naturally. It understands the context of your chats, suggests relevant replies, and can even send follow-up messages. - **Market research assistant**. Need competitor analysis? Your assistant can gather data about companies, their employees, and recent activities. Get insights about industry trends without spending hours on LinkedIn. ## Which LinkedIn MCP server fits? The LinkedIn MCP servers people compare connect in four different ways, and the connection decides what your assistant can do: | Type | Examples | Connects through | What the assistant can do | Whose account | |---|---|---|---|---| | Official-API servers | Zapier MCP, Composio, Postiv | OAuth to LinkedIn's official API | Publish posts and, depending on the server, schedule or comment, read your own posts and analytics, look up a member by ID or a company you manage – no messaging, connection requests or people search advertised | Yours | | Open-source session servers | stickerdaniel/linkedin-mcp-server | Your LinkedIn browser session, run on your own machine | Read profiles, companies, jobs, the feed and the inbox; search people and posts; send messages and connection requests – no posting | Yours, on your machine | | Public-data extraction | Apify, Bright Data | The vendor's scraping infrastructure, no LinkedIn sign-in | Extract public data; coverage depends on the scraper – Apify's LinkedIn MCP page documents profiles and company information, Bright Data's lists profiles, companies, jobs, posts and people search. No LinkedIn messaging, posting or connection tools advertised | None | | Account API in a cloud browser | Linked API | A dedicated cloud browser on your account | Search people, companies, posts and jobs; read profiles, the feed and the inbox; message, connect, post, comment and react; Sales Navigator | Yours | - **Only want to publish?** An official-API posting server is the narrower fit – it works through LinkedIn's own API. - **Need bulk public data and no actions?** A scraper returns it without a LinkedIn account. - **Want an assistant that researches and acts in your account from Claude, ChatGPT, Cursor or Codex, with nothing to run locally?** That is what Linked API is for – see the [available tools](/mcp/available-tools). *Facts checked October 29, 2026 against each server's own page.* ## How to get started To start using Linked API MCP, spend 2 minutes reading these essential guides: 1. [Installation](/mcp/installation) – set up the LinkedIn MCP server in [Claude](/mcp/installation#claude), [Claude Desktop](/mcp/installation#claude-desktop), [Claude Code](/mcp/installation#claude-code), [ChatGPT](/mcp/installation#chatgpt), [Codex](/mcp/installation#codex), [Cursor](/mcp/installation#cursor), [VS Code](/mcp/installation#vs-code) or [Windsurf](/mcp/installation#windsurf). 2. [Available tools](/mcp/available-tools) – explore all the LinkedIn tools your assistant can call. 3. [Usage examples](/mcp/usage-examples) – see real-world examples to get you started quickly. ## LinkedIn MCP Server Installation Set up the Linked API MCP server in **Claude**, **Claude Desktop**, **Claude Code**, **ChatGPT**, **Codex**, **Cursor**, **VS Code** or **Windsurf (Devin Desktop)** – each client has its own section below. First the server needs tokens to access your LinkedIn account. Here's how to get them: 1. Sign up at [Linked API Platform](https://app.linkedapi.io/). 2. Choose your plan and start your 7-day free trial. 3. Connect your LinkedIn account (it takes about 2 minutes). 4. Copy your tokens from the dashboard (as shown below): ![](/images/docs/tokens-4.webp) **Multiple LinkedIn accounts:** If you have multiple LinkedIn accounts, you'll get a separate identification token for each one, and you can create multiple MCP server instances – one for each account. ## Claude Connect Linked API as a **custom connector**. One connector covers [claude.ai](https://claude.ai), the Claude Desktop app and Cowork – they share the same account. **Free, Pro and Max plans:** 1. Go to [Customize → Connectors](https://claude.ai/customize/connectors). 2. Click **+**, then **Add custom connector**. 3. Paste this URL (replace with your actual tokens) and click **Add**: ```text https://mcp.linkedapi.io?linked-api-token={YOUR_LINKED_API_TOKEN}&identification-token={YOUR_IDENTIFICATION_TOKEN}&client=claude ``` Leave "Advanced settings" empty – the tokens in the URL are the authentication, so no OAuth client is needed. Free plans are limited to one custom connector. **Team and Enterprise plans:** Only an organization Owner can add the connector, under [Organization settings → Connectors](https://claude.ai/admin-settings/connectors) → **Add** → hover **Custom** → **Web**. Everyone else then enables it for themselves under Customize → Connectors. ## Claude Desktop The custom connector above already covers Claude Desktop – add it once at [Customize → Connectors](https://claude.ai/customize/connectors) and it shows up in the desktop app. Run the server on your own machine instead only if you need to. Add this to your Claude Desktop config file: - macOS: `~/Library/Application Support/Claude/claude_desktop_config.json` - Windows: `%APPDATA%\Claude\claude_desktop_config.json` ```json { "mcpServers": { "linkedapi": { "command": "npx", "args": ["-y", "@linkedapi/mcp"], "env": { "LINKED_API_TOKEN": "{YOUR_LINKED_API_TOKEN}", "IDENTIFICATION_TOKEN": "{YOUR_IDENTIFICATION_TOKEN}" } } } } ``` Restart Claude Desktop after saving. ## Claude Code Add the remote MCP server with a single command: ```bash claude mcp add linkedapi \ --scope user \ --transport http \ "https://mcp.linkedapi.io?linked-api-token={YOUR_LINKED_API_TOKEN}&identification-token={YOUR_IDENTIFICATION_TOKEN}&client=claude-code" ``` `--scope user` makes the server available in every project. Without it Claude Code uses its default, `local` scope: private to you and active only in the project you added it from – the git repository root, or this directory if you are not in a repository. Keep the double quotes around the URL – unquoted, your shell splits the command at the first `&`. Claude Code answers `Added HTTP MCP server linkedapi with URL: https://mcp.linkedapi.io to user config`. It prints the URL without its query string, but your tokens are stored. `claude mcp list` then shows `linkedapi ✔ Connected`, which means the server is reachable rather than that your tokens are right, and the line it prints carries both tokens in full. To check the tokens themselves, ask for something read-only in a session, such as a profile lookup. Or add it locally via NPX: ```bash claude mcp add linkedapi \ --scope user \ -e LINKED_API_TOKEN={YOUR_LINKED_API_TOKEN} \ -e IDENTIFICATION_TOKEN={YOUR_IDENTIFICATION_TOKEN} \ -- npx -y @linkedapi/mcp ``` > **Tip:** For Claude Code, you may find it more convenient to use our [LinkedIn CLI](/cli/getting-started) or [Agent Skills](/skills) instead of MCP – they provide a more native integration with the agentic coding workflow. ## ChatGPT ChatGPT calls custom MCP servers **plugins**. Per [OpenAI's help](https://help.openai.com/en/articles/12584461), "Custom MCP server connections and full MCP support are available for ChatGPT Business and Enterprise/Edu customers on ChatGPT web"; on Business, "Only admins and owners can create and publish plugins for custom MCP servers", and "Pro users can connect custom MCP servers with read/fetch permissions". It works on the web only, and you no longer need to turn on Developer mode first. 1. In ChatGPT on the web, open **Plugins** and click the **+** button, then choose **Add custom MCP server**. 2. Give the connection a name and a short description. 3. Under **Connection**, paste this URL (replace with your actual tokens): ```text https://mcp.linkedapi.io/mcp?linked-api-token={YOUR_LINKED_API_TOKEN}&identification-token={YOUR_IDENTIFICATION_TOKEN}&client=chatgpt ``` 4. Your tokens are already in the URL, so no separate authentication is needed. 5. Tick **I understand and want to continue**, click **Create as a plugin**, then review the tools ChatGPT discovered. Then select the plugin in a new chat to use it. ## Codex Add the MCP server to your Codex config file at `~/.codex/config.toml`: ```toml [mcp_servers.linkedapi] url = "https://mcp.linkedapi.io?linked-api-token={YOUR_LINKED_API_TOKEN}&identification-token={YOUR_IDENTIFICATION_TOKEN}&client=codex" ``` Or add it via CLI: ```bash codex mcp add linkedapi \ --url "https://mcp.linkedapi.io?linked-api-token={YOUR_LINKED_API_TOKEN}&identification-token={YOUR_IDENTIFICATION_TOKEN}&client=codex" ``` Keep the double quotes around the URL – unquoted, your shell splits the command at the first `&`. Run `codex mcp list` to check the server is there, or type `/mcp` inside the Codex TUI. To scope it to one repository instead, put the same table in that project's `.codex/config.toml`; Codex loads it only in projects you have marked trusted. Accept the trust prompt the first time you run `codex` in the repository, or add `[projects."/absolute/path/to/repo"]` with `trust_level = "trusted"` to `~/.codex/config.toml` yourself – use the repository root, not a subdirectory. Until the project is trusted Codex simply omits the server, and `codex mcp list` says nothing about trust. > **Tip:** For Codex, you may find it more convenient to use our [LinkedIn CLI](/cli/getting-started) instead of MCP – it gives you shell-native LinkedIn commands that work naturally in any terminal-based agent. ## Cursor Cursor reads MCP servers from a config file: `~/.cursor/mcp.json` for every project, or `.cursor/mcp.json` in a project root for that project only. ```json { "mcpServers": { "linkedapi": { "url": "https://mcp.linkedapi.io?linked-api-token={YOUR_LINKED_API_TOKEN}&identification-token={YOUR_IDENTIFICATION_TOKEN}&client=cursor" } } } ``` Open **Customize** in the Cursor sidebar to see the server and switch it on or off. You can add and manage servers from there too. ## VS Code VS Code has built-in MCP support (no extension required). Add a `.vscode/mcp.json` file to your project: ```json { "servers": { "linkedapi": { "type": "http", "url": "https://mcp.linkedapi.io?linked-api-token={YOUR_LINKED_API_TOKEN}&identification-token={YOUR_IDENTIFICATION_TOKEN}&client=vscode" } } } ``` To have it in every project instead, run **MCP: Open User Configuration** from the Command Palette and put the same entry in that file. VS Code moved MCP servers out of `settings.json` into a profile-specific `mcp.json` in version 1.102 and migrates old entries automatically, so don't add them to `settings.json` any more. You can also add it from the command line: ```bash code --add-mcp "{\"name\":\"linkedapi\",\"type\":\"http\",\"url\":\"https://mcp.linkedapi.io?linked-api-token={YOUR_LINKED_API_TOKEN}&identification-token={YOUR_IDENTIFICATION_TOKEN}&client=vscode\"}" ``` ## Windsurf Windsurf was renamed **Devin Desktop** in June 2026, and the MCP setup moved with it. **Devin Local**, the agent new tabs open with: ```bash devin mcp add -s user linkedapi "https://mcp.linkedapi.io?linked-api-token={YOUR_LINKED_API_TOKEN}&identification-token={YOUR_IDENTIFICATION_TOKEN}&client=windsurf" ``` Or edit `~/.config/devin/mcp_config.json` (`%APPDATA%\devin\mcp_config.json` on Windows) directly: ```json { "mcpServers": { "linkedapi": { "url": "https://mcp.linkedapi.io?linked-api-token={YOUR_LINKED_API_TOKEN}&identification-token={YOUR_IDENTIFICATION_TOKEN}&client=windsurf" } } } ``` **Legacy Cascade agent:** open the `...` (Actions) menu at the top right of the Cascade panel, then **Open MCP config file** in the MCPs section. It is the same file, and `serverUrl` works there as well as `url`. ## Local installation For clients that support local MCP servers, you can run Linked API MCP server directly on your device using NPX: ```json { "mcpServers": { "linkedapi": { "command": "npx", "args": ["-y", "@linkedapi/mcp"], "env": { "LINKED_API_TOKEN": "{YOUR_LINKED_API_TOKEN}", "IDENTIFICATION_TOKEN": "{YOUR_IDENTIFICATION_TOKEN}" } } } } ``` ## Available tools The MCP server provides these tools for interacting with LinkedIn: ## Messages | Tool | Description | API docs | | --- | --- | --- | | `send_message` | Send message to person, or reply into an existing thread by `threadId`, with optional archive, star, or mute of the conversation right after sending | [`st.sendMessage`](/docs/action-st-send-message) | | `sync_inbox` | Recommended first step before reading messages: enable whole-inbox monitoring so every incoming conversation can be polled | [`st.syncInbox`](/docs/action-st-sync-inbox) | | `get_inbox` | Default way to read messages: new messages across all conversations, or with `personUrl` the whole known conversation with one person, including history loaded by `sync_conversation` | [Monitoring Inbox](/docs/monitoring-inbox) | | `sync_conversation` | Load a person's earlier message history; call once per person, not to check for new messages – repeating it within 24 hours returns quickly | [`st.syncConversation`](/docs/action-st-sync-conversation) | | `manage_conversation` | Archive, star, or mute a conversation thread by `threadId` | [`st.manageConversation`](/docs/action-st-manage-conversation) | ## Connections | Tool | Description | API docs | | --- | --- | --- | | `check_connection_status` | Check connection status with person | [`st.checkConnectionStatus`](/docs/action-st-check-connection-status) | | `send_connection_request` | Send connection request with optional note | [`st.sendConnectionRequest`](/docs/action-st-send-connection-request) | | `withdraw_connection_request` | Withdraw pending connection request | [`st.withdrawConnectionRequest`](/docs/action-st-withdraw-connection-request) | | `accept_invitation` | Accept an incoming invitation by type and matching person, company, or newsletter URL | [`st.acceptInvitation`](/docs/action-st-accept-invitation) | | `ignore_invitation` | Ignore an incoming invitation by type and matching person, company, or newsletter URL | [`st.ignoreInvitation`](/docs/action-st-ignore-invitation) | | `retrieve_pending_requests` | Get all pending connection requests | [`st.retrievePendingRequests`](/docs/action-st-retrieve-pending-requests) | | `retrieve_invitations` | Get all received connection, company-follow, and newsletter-subscription invitations | [`st.retrieveInvitations`](/docs/action-st-retrieve-invitations) | | `retrieve_connections` | Get your connections with filtering | [`st.retrieveConnections`](/docs/action-st-retrieve-connections) | | `remove_connection` | Remove person from connections | [`st.removeConnection`](/docs/action-st-remove-connection) | | `sync_network` | Enable network monitoring so connection events can be polled | [`st.syncNetwork`](/docs/action-st-sync-network) | | `get_network` | Get connection events from the monitored network | [Monitoring Network](/docs/monitoring-network) | ## People | Tool | Description | API docs | | --- | --- | --- | | `search_people` | Search for people with advanced filtering | [`st.searchPeople`](/docs/action-st-search-people) | | `fetch_person` | Get person page information with optional experience, education, skills, posts | [`st.openPersonPage`](/docs/action-st-open-person-page) | | `endorse_person_skill` | Endorse one skill of a 1st-degree connection by its exact name, in the profile owner's language | [`st.endorsePersonSkill`](/docs/action-st-endorse-person-skill) | | `endorse_person_skills` | Endorse every skill of a 1st-degree connection whose name matches any of the RE2 patterns, or all of their skills; returns the outcome for each selected skill | [Endorsing skills](/docs/endorsing-skills) | ## Companies | Tool | Description | API docs | | --- | --- | --- | | `search_companies` | Search for companies with advanced filtering | [`st.searchCompanies`](/docs/action-st-search-companies) | | `fetch_company` | Get company information with optional employees, decision makers, posts | [`st.openCompanyPage`](/docs/action-st-open-company-page) | ## Posts and Comments | Tool | Description | API docs | | --- | --- | --- | | `search_posts` | Search for posts with advanced filtering by sort, date, content type, author, and mentions | [`st.searchPosts`](/docs/action-st-search-posts) | | `fetch_post` | Get post information and engagement metrics | [`st.openPost`](/docs/action-st-open-post) | | `create_post` | Publish a post with optional media attachments and mentions; returns the new post's URL and URN | [`st.createPost`](/docs/action-st-create-post) | | `create_repost` | Repost a post as is or with your own commentary; returns the repost's own URL and URN | [`st.createRepost`](/docs/action-st-create-repost) | | `react_to_post` | React to post (like, love, support, celebrate, insightful, funny) | [`st.reactToPost`](/docs/action-st-react-to-post) | | `comment_on_post` | Leave comment on post; returns the new comment's URN and URL | [`st.commentOnPost`](/docs/action-st-comment-on-post) | | `react_to_comment` | React to a comment by `commentUrl` (like, love, support, celebrate, insightful, funny) | [`st.reactToComment`](/docs/action-st-react-to-comment) | | `reply_to_comment` | Reply to a comment by `commentUrl`; returns the reply's URN and URL | [`st.replyToComment`](/docs/action-st-reply-to-comment) | ## Jobs | Tool | Description | API docs | | --- | --- | --- | | `search_jobs` | Search for jobs with advanced filtering | [`st.searchJobs`](/docs/action-st-search-jobs) | | `fetch_job` | Get job details such as company, location, salary, description | [`st.openJob`](/docs/action-st-open-job) | ## Your Account | Tool | Description | API docs | | --- | --- | --- | | `retrieve_feed` | Get posts from your personalized home feed, with an optional limit from 1 to 100 | [`st.retrieveFeed`](/docs/action-st-retrieve-feed) | | `retrieve_profile_viewers` | Get the people who recently viewed your profile, with an optional limit from 1 to 300 and a `since` timestamp | [`st.retrieveProfileViewers`](/docs/action-st-retrieve-profile-viewers) | | `retrieve_ssi` | Get current SSI (Social Selling Index) | [`st.retrieveSSI`](/docs/action-st-retrieve-ssi) | | `retrieve_performance` | Get LinkedIn dashboard analytics | [`st.retrievePerformance`](/docs/action-st-retrieve-performance) | | `get_api_usage` | Get Linked API usage statistics | [API Usage Statistics](/docs/checking-api-usage-statistics) | ## LinkedIn Sales Navigator MCP tools These LinkedIn Sales Navigator MCP tools run on a Plus seat with a Sales Navigator subscription and cover people and company search, messaging and whole-inbox sync – the account-based route described in the [Sales Navigator API guide](/guides/linkedin-sales-navigator-api). | Tool | Description | API docs | | --- | --- | --- | | `nv_retrieve_alerts` | Read lead and account alerts with filters and sorting | [`nv.retrieveAlerts`](/docs/action-nv-retrieve-alerts) | | `nv_retrieve_lists` | Read your lead or account lists and the IDs used to save into them | [`nv.retrieveLists`](/docs/action-nv-retrieve-lists) | | `nv_create_list` | Create a lead or account list with a name you do not already use for that type | [`nv.createList`](/docs/action-nv-create-list) | | `nv_delete_list` | Delete one of your lists; its leads or accounts stay saved | [`nv.deleteList`](/docs/action-nv-delete-list) | | `nv_rename_list` | Rename one of your custom lists to a name you do not already use for that type | [`nv.renameList`](/docs/action-nv-rename-list) | | `nv_retrieve_list_leads` | Read the leads in one of your lead lists | [`nv.retrieveListLeads`](/docs/action-nv-retrieve-list-leads) | | `nv_retrieve_list_accounts` | Read the accounts in one of your account lists | [`nv.retrieveListAccounts`](/docs/action-nv-retrieve-list-accounts) | | `nv_retrieve_saved_searches` | Read your saved lead or account searches and the URLs used to read their results | [`nv.retrieveSavedSearches`](/docs/action-nv-retrieve-saved-searches) | | `nv_create_saved_search` | Save a lead or account search, given its URL | [`nv.createSavedSearch`](/docs/action-nv-create-saved-search) | | `nv_delete_saved_search` | Delete one of your saved searches by its ID | [`nv.deleteSavedSearch`](/docs/action-nv-delete-saved-search) | | `nv_send_message` | Send message to person via Sales Navigator, or reply into an existing thread by `threadId` | [`nv.sendMessage`](/docs/action-nv-send-message) | | `nv_sync_inbox` | Recommended first step before reading Sales Navigator messages: enable whole-inbox monitoring in Sales Navigator so every incoming conversation can be polled | [`nv.syncInbox`](/docs/action-nv-sync-inbox) | | `nv_sync_conversation` | Load a person's earlier Sales Navigator message history; call once per person, not to check for new messages | [`nv.syncConversation`](/docs/action-nv-sync-conversation) | | `nv_manage_conversation` | Archive or unarchive a Sales Navigator conversation thread by `threadId` | [`nv.manageConversation`](/docs/action-nv-manage-conversation) | | `nv_search_companies` | Search for companies with advanced filtering via Sales Navigator | [`nv.searchCompanies`](/docs/action-nv-search-companies) | | `nv_search_people` | Search for people with advanced filtering via Sales Navigator | [`nv.searchPeople`](/docs/action-nv-search-people) | | `nv_fetch_company` | Get company information with optional employees and decision makers from Sales Navigator | [`nv.openCompanyPage`](/docs/action-nv-open-company-page) | | `nv_save_account` | Save a company as an account, optionally into one of your account lists | [`nv.saveAccount`](/docs/action-nv-save-account) | | `nv_unsave_account` | Unsave an account; its saved leads stay saved | [`nv.unsaveAccount`](/docs/action-nv-unsave-account) | | `nv_remove_account_from_list` | Remove an account from one of your account lists; it stays saved and in your other lists | [`nv.removeAccountFromList`](/docs/action-nv-remove-account-from-list) | | `nv_fetch_person` | Get person page information from Sales Navigator | [`nv.openPersonPage`](/docs/action-nv-open-person-page) | | `nv_save_lead` | Save a person as a lead, optionally into one of your lead lists | [`nv.saveLead`](/docs/action-nv-save-lead) | | `nv_unsave_lead` | Unsave a lead, which also removes them from your custom lead lists | [`nv.unsaveLead`](/docs/action-nv-unsave-lead) | | `nv_remove_lead_from_list` | Remove a lead from one of your lead lists; they stay saved and in your other lists | [`nv.removeLeadFromList`](/docs/action-nv-remove-lead-from-list) | ## Custom Workflows | Tool | Description | API docs | | --- | --- | --- | | `execute_custom_workflow` | Execute custom workflow definition | [Building Workflows](/docs/building-workflows) | | `get_workflow_result` | Get workflow result by ID | [Executing Workflows](/docs/executing-workflows#checking-for-result) | ## Changelog | Tool | Description | API docs | | --- | --- | --- | | `get_changelog` | Read the public Linked API changelog, optionally only the releases since a date; needs no tokens | [Changelog](/changelog) | ## Feedback | Tool | Description | API docs | | --- | --- | --- | | `send_feedback` | Send a bug report, a feature request or praise straight to the Linked API team, with the workflow ID and error of a failing call; it starts no LinkedIn workflow | [Feedback in the CLI](/cli/getting-started#feedback) | ## Administration | Tool | Description | API docs | | --- | --- | --- | | `admin_get_subscription_status` | Get current subscription status and trial eligibility | [Subscription](/docs/admin-subscription) | | `admin_get_seats` | Get active subscription seats | [Subscription](/docs/admin-subscription) | | `admin_set_seats` | Set number of subscription seats | [Subscription](/docs/admin-subscription) | | `admin_get_accounts` | Get all connected LinkedIn accounts, pending sessions, and reconnection links | [Accounts](/docs/admin-accounts) | | `admin_connect_account` | Create connection session for a new LinkedIn account | [Connection Sessions](/docs/admin-connection-sessions) | | `admin_reparse_account_info` | Refresh stored profile URL, avatar, headline, and name for a connected account | [Accounts](/docs/admin-accounts) | | `admin_create_reconnection_session` | Create a fresh reconnection session and link for an account that requires reconnection | [Connection Sessions](/docs/admin-connection-sessions) | | `admin_get_connection_session` | Get connection or reconnection session status | [Connection Sessions](/docs/admin-connection-sessions) | | `admin_cancel_connection_session` | Cancel a pending connection or reconnection session | [Connection Sessions](/docs/admin-connection-sessions) | | `admin_disconnect_account` | Disconnect a LinkedIn account | [Accounts](/docs/admin-accounts#accounts-disconnect) | | `admin_regenerate_token` | Regenerate identification token for an account | [Accounts](/docs/admin-accounts) | | `admin_get_limits_defaults` | Get system default rate limits | [Limits](/docs/admin-limits) | | `admin_get_limits` | Get configured rate limits for an account | [Limits](/docs/admin-limits) | | `admin_get_limits_usage` | Get current usage against configured limits | [Limits](/docs/admin-limits) | | `admin_set_limits` | Set rate limits for an account | [Limits](/docs/admin-limits) | | `admin_delete_limits` | Delete specific account rate limits | [Limits](/docs/admin-limits) | | `admin_reset_limits` | Reset all limits to system defaults | [Limits](/docs/admin-limits) | ## Usage examples With Linked API MCP, you can ask your AI-assistant things like: > Find all decision makers at Acme Corp and send them connection requests. > Search for product managers at fintech companies in New York with 50-200 employees. > Pull all contacts labeled 'follow-up' from my CRM, review our conversation history, and send each person a personalized follow-up message. > Tell me about 'https://linkedin.com/in/jane-doe' including their work history and experience. > Send a connection request to 'https://linkedin.com/in/jane-doe' mentioning their recent article about AI in healthcare. > Get all my pending connection requests and withdraw each one of them. > Fetch the comments on 'https://linkedin.com/posts/jane-doe_activity-123', then like each one and reply to the most relevant with a thoughtful follow-up. These are just basic examples. Since your assistant can execute custom workflows combining multiple actions, the automation potential is truly limitless. --- # Agent Skills Ready-to-run LinkedIn workflows your AI agent installs in one command and runs in plain language. ## LinkedIn Growth Your agent finds leads from a search you define, qualifies each one against your criteria, invites the matches on a schedule, tracks who accepts, and withdraws what goes unanswered. Install: `npx @linkedapi/skills add linkedin-growth`. Works with Claude Code, Codex, Cursor, Windsurf. ### A loop that runs itself A continuous cycle, not a one-off blast. Set it once and it keeps going. - **Define your target** — A LinkedIn or Sales Navigator search plus a plain-language profile of your ideal lead. - **Auto-qualify every candidate** — Every profile is checked against your criteria; matches are kept, the rest dropped, with a reason recorded. - **Invite on a schedule** — Matches are spread across your accounts and invited during active hours, within safe limits. - **Track who accepts** — Connected, pending, and declined stay up to date on their own. - **Clean up automatically** — Unanswered invites past your threshold are withdrawn, and can be retried from another account. After that, inviting, tracking, and cleaning up run on a schedule on their own. To add new people, you run another import whenever you want. ### Safety Growth sends real connection requests, so pacing comes first. You stay inside LinkedIn-safe limits without thinking about it. - A per-account daily limit and a minimum gap between invites. - Invites only during the active hours you set. - Automatic backoff when LinkedIn signals a limit. - Stale pending requests withdrawn to keep your weekly budget clean. ### FAQ **Does it keep finding new people on its own?** No. You run an import when you want to add people – a search plus your criteria. After that, sending invites, tracking who accepts, and cleaning up run on a schedule on their own. Import again whenever you want more. **How does qualification work?** Each person from your search is checked against your criteria. Matches are kept, the rest are dropped, and a short reason is recorded for each one so you can see why. **Where does it run?** On the machine where you install the skill. It keeps a local database and sends invites on a schedule – no external services beyond LinkedIn CLI and Linked API. **Can I use more than one LinkedIn account?** Yes. People are spread across your connected accounts, each paced within its own limits. If a request goes unanswered, it can be retried from another account. **Is this safe for my account?** Yes. Every invite goes through a dedicated cloud browser that is matched to your account and behaves like a real person, with natural timing. Because Growth sends real connection requests, pacing comes first: invites stay within the daily limit and minimum gap you set, go out only during your active hours, and if LinkedIn signals a limit the account backs off until its next scheduled run. Stale, unanswered requests are withdrawn so your pending list never piles up. [See how we keep accounts safe](/safety). **Can I change my criteria later?** Any time. The search and your criteria are plain language – update them whenever you want, and your next import uses the new rules. **What do I need to get started?** Node.js 20+, the LinkedIn CLI, and your [Linked API tokens](https://app.linkedapi.io). The installer checks for these and offers to set them up. ### Pricing Runs on your existing Linked API plan. Invites count as normal actions – there is no separate fee for the skill. ## LinkedIn General Your agent handles LinkedIn in plain language – fetching profiles, searching people and companies, messaging, connecting, posting, and pulling analytics. Install: `npx @linkedapi/skills add linkedin`. Works with Claude Code, Codex, Cursor, Windsurf. ### Everything your agent can do One skill, the full surface of LinkedIn. Ask in plain language and each action runs in a real cloud browser. - **People** — Fetch full profiles, Search with filters, Posts, comments, reactions - **Companies** — Fetch company pages, Employees & decision-makers, Search by size & industry - **Messaging** — Send messages, Read conversations, InMail via Sales Navigator - **Connections** — Send & withdraw requests, Check status, List & filter your network - **Posts & engagement** — Create posts with media, React and comment, Post as a company - **Insights** — Social Selling Index, Profile & post analytics, API usage stats ### Safety Every action runs in an isolated cloud browser that behaves like a real person, paced within the per-account limits you set. - Each account gets its own isolated cloud browser. - Human-like timing, mouse, and typing on every action. - Per-account daily, weekly, and monthly limits. - Your password is never seen or stored. ### FAQ **What can the LinkedIn skill do?** It covers the full surface of LinkedIn: fetch profiles, search people and companies, send messages, manage connections, create posts, react and comment, and pull analytics. Sales Navigator search and InMail are included too. **How do I control it?** Just describe what you want in plain language. Your agent translates the request into the right LinkedIn actions and runs them – no flags or scripts to learn, though the exact CLI commands are there if you want them. **How fast is it?** Actions are not instant. Each one drives a real cloud browser, so expect anywhere from 30 seconds to a few minutes, and actions for one account run one at a time. **Is this safe for my account?** Yes. Every action runs through a dedicated cloud browser that is matched to your account – the same device fingerprint, language, and location each time – and behaves like a real person, with natural timing and mouse movement. Actions are physically performed in a real browser at human-like speed. On top of that, you cap how much it does with daily, weekly, and monthly limits per account, and your password is never seen or stored. [See how we keep accounts safe](/safety). **Can I use more than one LinkedIn account?** Yes. Connect as many accounts as your plan allows and tell your agent which one to act as – each is paced within its own limits. **Do I need Sales Navigator?** Only for the Sales Navigator features – advanced search and InMail. Everything else works on a standard LinkedIn account. **What do I need to get started?** Node.js 20+, the LinkedIn CLI, and your [Linked API tokens](https://app.linkedapi.io). The installer checks for these and offers to set them up. ### Pricing Runs on your existing Linked API plan. Each action counts as a normal action – there is no separate fee for the skill. --- # Linked API changelog What has been added to Linked API: new actions, result fields, parameters and capabilities. One release a week at most, dated by the Monday of its week; a week with nothing new has no release. Machine-readable forms of this page: - JSON, only releases for the week of a moment you name and later: https://linkedapi.io/api/changelog?since=2026-01-01T00:00:00Z - RSS: https://linkedapi.io/changelog/rss.xml ## Week of 2026-11-09 - **Sales Navigator lists.** `nv.retrieveLists` reads your Sales Navigator lead or account lists with their IDs, `nv.createList`, `nv.renameList` and `nv.deleteList` create, rename and delete them, and `nv.retrieveListLeads` and `nv.retrieveListAccounts` read the leads or accounts in one list; the same is available in the Node SDK, as `linkedin navigator lists` in the CLI, in the MCP server and in n8n. [Docs](https://linkedapi.io/docs/action-nv-retrieve-lists) - **Saving leads and accounts.** `nv.saveLead` and `nv.saveAccount` save a person or company in Sales Navigator, optionally into one of your lists and also straight from search results under `nv.doForPeople` and `nv.doForCompanies`, `nv.unsaveLead` and `nv.unsaveAccount` unsave them, and `nv.removeLeadFromList` and `nv.removeAccountFromList` take one out of a single list; the same is available in the Node SDK, the CLI, the MCP server and n8n. [Docs](https://linkedapi.io/docs/action-nv-save-lead) - **Saved searches.** `nv.createSavedSearch` saves a Sales Navigator lead or account search from its URL, `nv.retrieveSavedSearches` reads your saved searches with their count of new results and the URL to pass as `customSearchUrl` to `nv.searchPeople` or `nv.searchCompanies`, and `nv.deleteSavedSearch` deletes one; the same is available in the Node SDK, as `linkedin navigator saved-searches` in the CLI, in the MCP server and in n8n. [Docs](https://linkedapi.io/docs/action-nv-retrieve-saved-searches) - **Sales Navigator alerts.** `nv.retrieveAlerts` reads the lead and account alerts from your Sales Navigator home feed, newest first or by relevance, filtered by lead or account, alert type, publication time, one of your lists, chosen leads or accounts, or only the subjects you saved; the same is available in the Node SDK, as `linkedin navigator alerts` in the CLI, in the MCP server and in n8n. [Docs](https://linkedapi.io/docs/action-nv-retrieve-alerts) - **People search by URL in the CLI.** `linkedin person search --url` runs a LinkedIn people search URL, the CLI form of `customSearchUrl`, in place of `--term` and the filters. [Docs](https://linkedapi.io/docs/action-st-search-people) ## Week of 2026-10-19 - **Skill endorsements.** `st.endorsePersonSkill` endorses one skill of a 1st-degree connection by its name, and `st.doForSkills` under `st.retrievePersonSkills` endorses all of the person's skills or only those whose names match RE2 `skillNamePatterns`, reporting the outcome for each selected skill; the same is available as `endorsePersonSkill` and `endorsePersonSkills` in the Node SDK, `linkedin person endorse` in the CLI, `endorse_person_skill` and `endorse_person_skills` in the MCP server and the Endorse person skill and Endorse person skills actions in n8n. [Docs](https://linkedapi.io/docs/endorsing-skills) ## Week of 2026-10-12 - **One person's conversation.** `/inbox/poll` with `personUrl` returns the whole known conversation with one person, the messages the inbox captured together with history loaded by `st.syncConversation` or `nv.syncConversation`, and its `threads` say how far back each thread's history goes with `historyFrom` and `historyComplete`; the same view is available as `pollInbox` in the Node SDK, `linkedin inbox get --person` in the CLI and `get_inbox` in the MCP server. [Docs](https://linkedapi.io/docs/monitoring-inbox) ## Week of 2026-10-05 - **Viewer state.** Person and content results carry a `viewerState` object that says how your account relates to them: people, including the authors of posts and comments, report your `connectionDegree` (`1st`, `2nd` or `3rd+`), and posts and comments report your `reaction` and `isOwn`, or `null` where it cannot be read. [Docs](https://linkedapi.io/docs/data-conventions) - **Connection degree filters.** `st.searchPeople`, `nv.searchPeople`, `st.retrieveCompanyEmployees` and `nv.retrieveCompanyEmployees` filter by your connection degree with `connectionDegrees` (`1st`, `2nd`, `3rd+`, plus `groupMembers` on Sales Navigator), also available as CLI flags. [Docs](https://linkedapi.io/docs/action-st-search-people) - **Signed webhooks and custom headers.** Webhook deliveries can carry an HMAC-SHA256 signature to verify and custom headers for an endpoint that requires authentication, both off by default and set through `webhook.set`, `webhook.setSigning` and `webhook.setHeader`, with endpoints to reveal and rotate the secret and to replace or delete headers. [Docs](https://linkedapi.io/docs/webhook-signature-verification) - **Event selection.** A webhook can receive only the events you choose, exact types such as `workflow.completed` or whole namespaces such as `inbox.*`, set with `events` on `webhook.set`, changed with `webhook.setEvents` or under Advanced → Events on the platform; a webhook that never chooses keeps receiving every event. [Docs](https://linkedapi.io/docs/webhook-event-types) - **Webhook management in the SDKs and CLI.** The Node and Python SDKs and the CLI manage webhook signing, custom headers and event selection, and the SDKs verify a signed delivery with `verifyWebhookSignature` / `verify_webhook_signature`. [Docs](https://linkedapi.io/docs/admin-webhooks) - **Changelog in the SDKs, CLI and MCP.** Read this changelog with `getChangelog` / `get_changelog` from code, `linkedin changelog` from the terminal or the `get_changelog` tool in the MCP server, with no token. [Docs](https://linkedapi.io/sdks/get-changelog) ## Week of 2026-09-28 - **Reposts.** `st.createRepost` reposts someone else's post or your own, as is or with your commentary, addressed by `postUrl` or `postUrn`. [Docs](https://linkedapi.io/docs/action-st-create-repost) - **Mentions.** `st.createPost` and `st.createRepost` tag up to 20 people and companies through `mentions`: write `@[key]` in the text and describe each key with a name, optionally pinned by `urn`, `personHashedUrl` or `companyHashedUrl`. [Docs](https://linkedapi.io/docs/action-st-create-post) - **Post URNs.** Opening, reacting to, commenting on and reposting a post, and reading its comments and reactions, accept `postUrn` instead of `postUrl`, and `st.createPost` returns the new post's `postUrn` when LinkedIn gives it an address and, in workflows sent to the API, can run `st.openPost` on it as a child. [Docs](https://linkedapi.io/docs/publishing-posts) ## Week of 2026-09-14 - **Post search.** `st.searchPosts` searches LinkedIn posts by keyword, with filters for the author, the date posted and the content type. [Docs](https://linkedapi.io/docs/action-st-search-posts) ## Week of 2026-08-17 - **Public profile URL in inbox events.** Inbox polling and message webhooks carry `personPublicUrl`, the other participant's public URL, once Linked API has resolved it; it can be null on any message. [Docs](https://linkedapi.io/docs/monitoring-inbox) ## Week of 2026-08-10 - **Conversation sync period.** `st.syncConversation` and `nv.syncConversation` accept `days` (1 to 90) and return `syncUntil`; sync lasts 30 days unless `days` says otherwise, and running the action again starts a new period without losing the history. [Docs](https://linkedapi.io/docs/action-st-sync-conversation) - **LinkedIn URNs.** Results carry LinkedIn's permanent identifiers next to URLs, `urn` for the person, company or job posting a result is about and fields such as `companyUrn` and `personUrn` for related entities, including in inbox and network events, or null where LinkedIn exposes none. [Docs](https://linkedapi.io/docs/data-conventions) - **Profile viewers.** `st.retrieveProfileViewers` reads who viewed your profile and when; semi-private viewers come back as anonymous with a people-search URL, and viewers in full private mode are not returned. [Docs](https://linkedapi.io/docs/action-st-retrieve-profile-viewers) - **AI-powered jobs search.** On LinkedIn's AI-powered jobs search, `st.searchJobs` takes `preferences` (date posted, experience levels, employment types, companies, remote, Easy Apply, under 10 applicants, in your network, keywords) that LinkedIn applies where it offers them, reports `isSimilarMatch` for each job, and leaves near matches out with `allowSimilarResults: false`. [Docs](https://linkedapi.io/docs/searching-for-jobs) ## Week of 2026-08-03 - **Working hours.** An account can have a weekly activity window, set on the platform: your requests outside it are queued, rejected with `outsideWorkingHours` or run anyway depending on the account's policy, a workflow that has not started reports why in `pendingReason`, and an account with no window is never gated. [Docs](https://linkedapi.io/docs/working-hours) ## Week of 2026-07-27 - **Connection page completion.** `accounts.createConnectionSession` and `accounts.createReconnectionSession` accept a `completion` object that sets how limits are handled on a new connection, a button back to your product, and redirects on success or failure. [Docs](https://linkedapi.io/docs/admin-connection-sessions) ## Week of 2026-07-20 - **Feed.** `st.retrieveFeed` reads your LinkedIn feed: the posts, their authors and their engagement counts. [Docs](https://linkedapi.io/docs/action-st-retrieve-feed) - **Comments.** React to or reply to a single comment with `st.reactToComment` and `st.replyToComment`, open one with `st.openComment`, or act with `st.doForComments` on each comment `st.retrievePostComments` returns. [Docs](https://linkedapi.io/docs/reacting-and-commenting) ## Week of 2026-07-13 - **Network sync.** `st.syncNetwork` enables network monitoring, so connection events (accepted requests, new connections, incoming requests) arrive through polling or `network.*` webhooks for the changes made after you enable it. [Docs](https://linkedapi.io/docs/action-st-sync-network) - **Profile photos and company logos.** Person results carry `avatarUrl` and company results `logoUrl`, or null, on the profile, company page and search actions for standard LinkedIn and Sales Navigator. [Docs](https://linkedapi.io/docs/action-st-open-person-page) - **Company and newsletter invitations.** Received invitations also include invitations to follow a company or subscribe to a newsletter, each with its `invitationType`, accepted or ignored with the same actions. [Docs](https://linkedapi.io/docs/working-with-invitations) ## Week of 2026-07-06 - **Inbox sync.** Keep a LinkedIn inbox in sync and read it through the API, or receive its messages as `inbox.messageReceived` and `inbox.messageSent` webhooks, for standard LinkedIn and Sales Navigator. [Docs](https://linkedapi.io/docs/action-st-sync-inbox) - **Conversations.** `st.sendMessage` and `nv.sendMessage` reply into an existing thread by `threadId`, `st.manageConversation` archives, stars or mutes a conversation and undoes each, also right after sending a message, and `nv.manageConversation` archives and unarchives one. [Docs](https://linkedapi.io/docs/action-st-manage-conversation) - **Received connection requests.** Read the connection requests you have received, and accept or ignore each one. [Docs](https://linkedapi.io/docs/working-with-invitations) ## Week of 2026-06-29 - **Webhooks.** Register one HTTPS endpoint through the Admin API to receive workflow and account events instead of polling; deliveries are retried and can be listed, replayed and tested, and a completed workflow's result travels in the event or is fetched by id. [Docs](https://linkedapi.io/docs/webhooks) --- # n8n Integration ## Linked API + n8n Linked API for n8n connects your LinkedIn account to n8n's automation platform, so you can build visual workflows that search for prospects, send messages, manage connections, extract data, and more – all with [industry-leading safety](/safety). > Our n8n node is a **verified community node** – just open the **nodes panel**, search for "Linked API", and install it with a click. Alternatively, install it manually: go to **Settings** → **Community Nodes**, enter `n8n-nodes-linked-api`, and click **Install**. ### Common use cases - **Lead generation pipeline**.Search for prospects matching your criteria, automatically send connection requests, wait for acceptance, then send personalized follow-up messages. Connect the results to your CRM to track everything in one place. - **CRM synchronization**. When a new lead enters your CRM, automatically find their LinkedIn profile, send a connection request, and update the CRM with their LinkedIn data. Keep your sales pipeline enriched with real-time LinkedIn information. - **Content engagement**. Monitor when your target accounts post on LinkedIn, automatically react or comment on their posts, then log the engagement in your tracking spreadsheet. Build relationships at scale without losing the personal touch. - **Recruitment workflows**. Search for candidates with specific skills, send personalized InMails through Sales Navigator, track responses in your ATS, and automatically follow up with interested candidates. Streamline your entire recruitment funnel. - **Multi-channel outreach.** Combine LinkedIn with email, Slack, and other channels. When someone accepts your connection request, trigger an email sequence, notify your team in Slack, and create a task in your project management tool. ### How to get started To build LinkedIn automations with n8n, read these essential guides: 1. [Creating credential](/integrations/n8n/creating-credential) – get your API tokens and connect to n8n. 2. [Building workflows](/integrations/n8n/building-workflows) – learn how to use Linked API actions in your workflows. 3. [Available actions](/integrations/n8n/available-actions) – explore all LinkedIn actions you can automate. ## Creating credential Setting up Linked API in n8n requires two steps: **getting your API tokens** and **creating credential**. This guide walks you through both steps. ## Getting your tokens 1. Sign up at [Linked API Platform](https://app.linkedapi.io/). 2. Choose your plan and start your 7-day free trial. 3. Connect your LinkedIn account (it takes about 2 minutes). 4. Copy your tokens from the dashboard (as shown below): ![](/images/docs/tokens.webp) ## Creating n8n credential 1. In your n8n workflow, add any Linked API action. 2. Click the "Create new credential" in the action settings. ![](/images/docs/add-credentials-n8n.webp) 3. Paste your tokens into the displayed fields. ![](/images/docs/paste-tokens-n8n.webp) 4. Click "Save". Your credential is now ready to use. ## Multiple LinkedIn accounts If you manage multiple LinkedIn accounts, create a separate credential for each one. Every account has its own **Identification Token**, while the **Linked API Token** remains the same. You can then switch between accounts by selecting different credentials. ## Building workflows Once your credential is set up, you can start building LinkedIn automations in n8n. To add Linked API functionality to your workflows: 1. Search for "Linked API" in the node search panel when building your workflow. ![](/images/docs/node-search-n8n.png) 2. Select the action that matches what you want to do: send messages, search for people, retrieve company data, etc. See the full [list of available actions](/integrations/n8n/available-actions). 3. Configure the module with your specific parameters and select the credential [you created earlier](/integrations/n8n/creating-credential). ![](/images/docs/select-credential-n8n.png) 4. Search for "Wait" in the node search and add it to your workflow. 5. In the Wait node, find the "Resume" field and select "On Webhook Call". ![](/images/docs/wait-node-config-n8n.png) 6. Connect your Wait node to the Linked API node. ![](/images/docs/wait-demo-n8n.png) > The Wait node is required for [all actions](/integrations/n8n/available-actions) except **Cancel workflow**, **Get actions statistics**, **Get workflow result**, **Poll inbox**, and **Poll network** – these return results directly. ### Combining with other tools The real power comes from combining Linked API actions with other apps in your n8n workflows. You can connect LinkedIn actions with: - **CRM systems** like HubSpot, Salesforce, or Pipedrive: automatically add new LinkedIn connections to your CRM or trigger LinkedIn messages when deals reach certain stages. - **Databases** like Airtable, Google Sheets, or PostgreSQL: store LinkedIn search results, track outreach campaigns, or pull prospect lists for automated connection requests. - **Communication tools** like Slack, Gmail, or Microsoft Teams: get notifications about LinkedIn responses or trigger LinkedIn actions from team messages. - **Webhooks and APIs**: integrate with any custom system or trigger LinkedIn workflows from external events. ## Available actions Linked API provides these n8n actions for automating your LinkedIn flows: ## Messages | Action | Description | API docs | | --- | --- | --- | | **Manage conversation** | Archive, star, or mute a conversation thread by thread ID | [`st.manageConversation`](/docs/action-st-manage-conversation) | | **Send message** | Send message to person, or reply into an existing thread by thread ID, with optional archive, star, or mute of the conversation right after sending | [`st.sendMessage`](/docs/action-st-send-message) | | **Sync conversation** | Load a person's earlier message history. Run once per person – not on every workflow run; to catch new replies use **Sync inbox** once and **Poll inbox** | [`st.syncConversation`](/docs/action-st-sync-conversation) | | **Sync inbox** | Recommended way to watch incoming messages: enable whole-inbox monitoring so every incoming conversation can be polled | [`st.syncInbox`](/docs/action-st-sync-inbox) | | **Poll inbox** | Poll the monitored inbox for new messages across all conversations, or set **Person URL** to get the whole known conversation with one person, including history loaded by **Sync conversation** | [Monitoring Inbox](/docs/monitoring-inbox) | ## Connections | Action | Description | API docs | | --- | --- | --- | | **Accept invitation** | Accept a connection, company-follow, or newsletter-subscription invitation | [`st.acceptInvitation`](/docs/action-st-accept-invitation) | | **Check connection status** | Check connection status with person | [`st.checkConnectionStatus`](/docs/action-st-check-connection-status) | | **Ignore invitation** | Ignore a connection, company-follow, or newsletter-subscription invitation | [`st.ignoreInvitation`](/docs/action-st-ignore-invitation) | | **Remove connection** | Remove person from connections | [`st.removeConnection`](/docs/action-st-remove-connection) | | **Retrieve invitations** | Get all received connection, company-follow, and newsletter-subscription invitations | [`st.retrieveInvitations`](/docs/action-st-retrieve-invitations) | | **Retrieve connections** | Get your connections with filtering | [`st.retrieveConnections`](/docs/action-st-retrieve-connections) | | **Retrieve pending requests** | Get all pending connection requests | [`st.retrievePendingRequests`](/docs/action-st-retrieve-pending-requests) | | **Send connection request** | Send connection request with optional note | [`st.sendConnectionRequest`](/docs/action-st-send-connection-request) | | **Sync network** | Enable network monitoring so connection events can be polled | [`st.syncNetwork`](/docs/action-st-sync-network) | | **Withdraw connection request** | Withdraw pending connection request | [`st.withdrawConnectionRequest`](/docs/action-st-withdraw-connection-request) | | **Poll network** | Poll the monitored network for new connection events | [Monitoring Network](/docs/monitoring-network) | ## People | Action | Description | API docs | | --- | --- | --- | | **Fetch person** | Get person page information with optional experience, education, skills, posts | [`st.openPersonPage`](/docs/action-st-open-person-page) | | **Endorse person skill** | Endorse one skill of a 1st-degree connection by its exact name, in the profile owner's language | [`st.endorsePersonSkill`](/docs/action-st-endorse-person-skill) | | **Endorse person skills** | Endorse every skill of a 1st-degree connection whose name matches any of the RE2 patterns, or all of their skills; returns the outcome for each selected skill | [Endorsing skills](/docs/endorsing-skills) | | **Search people** | Search for people with advanced filtering | [`st.searchPeople`](/docs/action-st-search-people) | ## Companies | Action | Description | API docs | | --- | --- | --- | | **Fetch company** | Get company information with optional employees, decision makers, posts | [`st.openCompanyPage`](/docs/action-st-open-company-page) | | **Search companies** | Search for companies with advanced filtering | [`st.searchCompanies`](/docs/action-st-search-companies) | ## Posts and Comments | Action | Description | API docs | | --- | --- | --- | | **Comment on post** | Leave comment on post; returns the new comment's URN and URL | [`st.commentOnPost`](/docs/action-st-comment-on-post) | | **Create post** | Publish a post with optional media attachments and mentions; returns the new post's URL and URN | [`st.createPost`](/docs/action-st-create-post) | | **Create repost** | Repost a post as is or with your own commentary; returns the repost's own URL and URN | [`st.createRepost`](/docs/action-st-create-repost) | | **Fetch post** | Get post information and engagement metrics | [`st.openPost`](/docs/action-st-open-post) | | **React to comment** | React to a comment by comment URL (like, love, support, celebrate, insightful, funny) | [`st.reactToComment`](/docs/action-st-react-to-comment) | | **React to post** | React to post (like, love, support, celebrate, insightful, funny) | [`st.reactToPost`](/docs/action-st-react-to-post) | | **Reply to comment** | Reply to a comment by comment URL; returns the reply's URN and URL | [`st.replyToComment`](/docs/action-st-reply-to-comment) | | **Search posts** | Search for posts with advanced filtering by sort, date, content type, author, and mentions | [`st.searchPosts`](/docs/action-st-search-posts) | ## Jobs | Action | Description | API docs | | --- | --- | --- | | **Fetch job** | Get job details such as company, location, salary, description | [`st.openJob`](/docs/action-st-open-job) | | **Search jobs** | Search for jobs with advanced filtering | [`st.searchJobs`](/docs/action-st-search-jobs) | ## Your Account | Action | Description | API docs | | --- | --- | --- | | **Retrieve feed** | Get posts from your home feed | [`st.retrieveFeed`](/docs/action-st-retrieve-feed) | | **Retrieve profile viewers** | Get the people who recently viewed your profile, with an optional limit and a since timestamp | [`st.retrieveProfileViewers`](/docs/action-st-retrieve-profile-viewers) | | **Retrieve performance** | Get LinkedIn dashboard analytics | [`st.retrievePerformance`](/docs/action-st-retrieve-performance) | | **Retrieve SSI** | Get current SSI (Social Selling Index) | [`st.retrieveSSI`](/docs/action-st-retrieve-ssi) | | **Get actions statistics** | Get statistics about previously executed actions | [API Usage Statistics](/docs/checking-api-usage-statistics) | ## Sales Navigator | Action | Description | API docs | | --- | --- | --- | | **Retrieve alerts in Sales Navigator** | Read lead and account alerts with filters and sorting | [`nv.retrieveAlerts`](/docs/action-nv-retrieve-alerts) | | **Retrieve lists in Sales Navigator** | Read your lead or account lists and the IDs used to save into them | [`nv.retrieveLists`](/docs/action-nv-retrieve-lists) | | **Create list in Sales Navigator** | Create a lead or account list with a name you do not already use for that type | [`nv.createList`](/docs/action-nv-create-list) | | **Delete list in Sales Navigator** | Delete one of your lists; its leads or accounts stay saved | [`nv.deleteList`](/docs/action-nv-delete-list) | | **Rename list in Sales Navigator** | Rename one of your custom lists to a name you do not already use for that type | [`nv.renameList`](/docs/action-nv-rename-list) | | **Retrieve list leads in Sales Navigator** | Read the leads in one of your lead lists | [`nv.retrieveListLeads`](/docs/action-nv-retrieve-list-leads) | | **Retrieve list accounts in Sales Navigator** | Read the accounts in one of your account lists | [`nv.retrieveListAccounts`](/docs/action-nv-retrieve-list-accounts) | | **Retrieve saved searches in Sales Navigator** | Read your saved lead or account searches and the URLs used to read their results | [`nv.retrieveSavedSearches`](/docs/action-nv-retrieve-saved-searches) | | **Create saved search in Sales Navigator** | Save a lead or account search, given its URL | [`nv.createSavedSearch`](/docs/action-nv-create-saved-search) | | **Delete saved search in Sales Navigator** | Delete one of your saved searches by its ID | [`nv.deleteSavedSearch`](/docs/action-nv-delete-saved-search) | | **Fetch company in Sales Navigator** | Get company information with optional employees and decision makers from Sales Navigator | [`nv.openCompanyPage`](/docs/action-nv-open-company-page) | | **Fetch person in Sales Navigator** | Get person page information from Sales Navigator | [`nv.openPersonPage`](/docs/action-nv-open-person-page) | | **Manage conversation in Sales Navigator** | Archive or unarchive a conversation thread by thread ID via Sales Navigator | [`nv.manageConversation`](/docs/action-nv-manage-conversation) | | **Save account in Sales Navigator** | Save a company as an account, optionally into one of your account lists | [`nv.saveAccount`](/docs/action-nv-save-account) | | **Save lead in Sales Navigator** | Save a person as a lead, optionally into one of your lead lists | [`nv.saveLead`](/docs/action-nv-save-lead) | | **Search companies in Sales Navigator** | Search for companies with advanced filtering via Sales Navigator | [`nv.searchCompanies`](/docs/action-nv-search-companies) | | **Search people in Sales Navigator** | Search for people with advanced filtering via Sales Navigator | [`nv.searchPeople`](/docs/action-nv-search-people) | | **Send message in Sales Navigator** | Send message to person via Sales Navigator, or reply into an existing thread by thread ID | [`nv.sendMessage`](/docs/action-nv-send-message) | | **Sync conversation in Sales Navigator** | Load a person's earlier Sales Navigator message history. Run once per person – not on every workflow run; to catch new replies use **Sync inbox in Sales Navigator** once and **Poll inbox** | [`nv.syncConversation`](/docs/action-nv-sync-conversation) | | **Sync inbox in Sales Navigator** | Recommended way to watch incoming Sales Navigator messages: enable whole-inbox monitoring in Sales Navigator so every incoming conversation can be polled | [`nv.syncInbox`](/docs/action-nv-sync-inbox) | | **Unsave account in Sales Navigator** | Unsave an account; its saved leads stay saved | [`nv.unsaveAccount`](/docs/action-nv-unsave-account) | | **Remove account from list in Sales Navigator** | Remove an account from one of your account lists; it stays saved and in your other lists | [`nv.removeAccountFromList`](/docs/action-nv-remove-account-from-list) | | **Unsave lead in Sales Navigator** | Unsave a lead, which also removes them from your custom lead lists | [`nv.unsaveLead`](/docs/action-nv-unsave-lead) | | **Remove lead from list in Sales Navigator** | Remove a lead from one of your lead lists; they stay saved and in your other lists | [`nv.removeLeadFromList`](/docs/action-nv-remove-lead-from-list) | ## Custom Workflows | Action | Description | API docs | | --- | --- | --- | | **Execute custom workflow** | Execute custom workflow by raw definition | [Building Workflows](/docs/building-workflows) | | **Cancel workflow** | Cancel prevously started workflow | [Executing Workflows](/docs/executing-workflows#cancelling-workflows) | | **Get workflow result** | Get result by workflow id | [Executing Workflows](/docs/executing-workflows#checking-for-result) | ## Administration | Action | Description | API docs | | --- | --- | --- | | **Get Subscription Status** | Check current subscription status and trial eligibility | [Subscription](/docs/admin-subscription) | | **Get Seats** | Get active subscription seats | [Subscription](/docs/admin-subscription) | | **Set Seats** | Set number of subscription seats | [Subscription](/docs/admin-subscription) | | **Get Accounts** | List connected LinkedIn accounts with profile URL, avatar, headline, pending sessions, and reconnection links | [Accounts](/docs/admin-accounts) | | **Connect Account** | Create connection session for a new LinkedIn account | [Connection Sessions](/docs/admin-connection-sessions) | | **Reparse Account Info** | Refresh stored profile URL, avatar, headline, and name for an account | [Accounts](/docs/admin-accounts) | | **Reconnect Account** | Create reconnection session for an account that requires reconnection | [Connection Sessions](/docs/admin-connection-sessions) | | **Get Connection Session** | Get connection or reconnection session status | [Connection Sessions](/docs/admin-connection-sessions) | | **Cancel Connection Session** | Cancel a pending connection or reconnection session | [Connection Sessions](/docs/admin-connection-sessions) | | **Disconnect Account** | Disconnect a LinkedIn account | [Accounts](/docs/admin-accounts#accounts-disconnect) | | **Regenerate Token** | Regenerate identification token for an account | [Accounts](/docs/admin-accounts) | | **Get Limits Defaults** | Get system default rate limits | [Limits](/docs/admin-limits) | | **Get Limits** | Get configured rate limits for an account | [Limits](/docs/admin-limits) | | **Get Limits Usage** | Check current usage against configured limits | [Limits](/docs/admin-limits) | | **Set Limits** | Configure rate limits for an account | [Limits](/docs/admin-limits) | | **Delete Limits** | Delete specific account rate limits | [Limits](/docs/admin-limits) | | **Reset Limits** | Reset all limits to system defaults | [Limits](/docs/admin-limits) | ## Usage examples We collect the following examples to show how Linked API can be used with n8n to automate LinkedIn-related operations. They’re intended to inspire practical ways to reduce manual steps in your business processes. > 💡 We also have a ready [n8n template](/integrations/n8n/standard-outreach-sequence) that you can import and use right away, or customize for your specific case. ## Content warming & outreach Here is the scenario example of how you can use Linked API & n8n integration for social selling through gradual engagement before sending requests for connect. This workflow warms up prospects automatically: first it likes and comments on their latest posts, then sends a connection request, checks if it’s accepted, and withdraws unaccepted ones after 7 days. All actions are scheduled and logged in a Google Sheet, so you can monitor who’s at each stage. **Modules:** Google Sheets, Linked API (fetchPerson, reactToPost, commentOnPost, sendConnectionRequest, checkConnectionStatus, withdrawConnectionRequest), Slack. ![Example: Content warming & outreach](/images/docs/Workflow-1.webp) ## Form → CRM → LinkedIn/Email Here is the scenario example of how you can use Linked API & n8n to instantly turn new leads into personalized outreach at the moment they submit a form. When someone fills out your lead form (Typeform, website, ad campaign, etc.), the scenario instantly adds them to your CRM (e.g. Pipedrive), searches for their LinkedIn profile, and decides what to do next: send a connection request and log their LinkedIn URL or send a follow-up email instead. Every new lead will get a timely, personalized touch without manual lookup. **Modules:** Typeform (Trigger), Pipedrive, Linked API (searchPeople, sendConnectionRequest), Chat GPT, Email. ![Example: Form → CRM → LinkedIn/Email](/images/docs/3.webp) ## LinkedIn SMM tracker Here is the scenario example of how you can use Linked API & n8n to get automated insights into your LinkedIn growth and engagement. Once a week, the workflow collects your LinkedIn metrics (SSI score, profile performance, and post stats), saves them to Google Sheets, compares with last week’s data, and sends a Slack summary with what’s up or down. **Modules:** Google Sheets, Linked API (retrieveSSI, retrievePerformance, fetchPerson, fetchPost), Slack. ![Example: LinkedIn SMM tracker](/images/docs/--------------------------2025-10-24----14.03.26.webp) ## Recruiting automation Here is the scenario example of how you can use Linked API & n8n to automate candidate search, profile validation, and connection requests from ATS (Airtable) to LinkedIn. When a new record is added, it searches LinkedIn for a matching profile, validates fit using ChatGPT, sends a connection request, and tracks its status. The system updates candidate records daily, withdraws unaccepted requests after 7 days, and notifies the team in Slack when connections are accepted. **Modules:** Airtable, Linked API (searchPeople, sendConnectionRequest, checkConnectionStatus, withdrawConnectionRequest), ChatGPT, Slack. ![Example: Recruiting automation](/images/docs/5-1.webp) ## ERP lead warming Here is an example of how you can use Linked API and n8n to automate lead enrichment and engagement directly from your ERP system. Each company record is used to find up to three decision-makers on LinkedIn, fetch their profiles, and define if they are Active or Inactive based on posting activity over the last 90 days. The workflow continues only with active contacts, generating a short relevant comment with ChatGPT, and then sending a connection request. **Modules:** ERP (HubSpot, or other), Linked API (fetchCompany, fetchPerson, fetchPost, commentOnPost, sendConnectionRequest), ChatGPT. ![Example: ERP lead warming](/images/docs/2.webp) ## Standard Outreach Sequence Automate your LinkedIn outreach with this n8n workflow powered by [Linked API](https://linkedapi.io/). Sends connection requests, monitors acceptance, delivers personalized messages, and follows up automatically – all tracked in Google Sheets (you can adjust to something else). ### What it does - Sends connection requests to new leads - Monitors when connections are accepted - Sends your message sequences from Google Sheet (up to 3 messages per lead) - Follows up automatically if no reply - Marks leads as declined/expired/no response when appropriate - Tracks all leads and statuses in Google Sheets ### Setup - [Use this template in n8n](https://n8n.io/workflows/12915-manage-linkedin-outreach-sequences-with-linked-api-and-google-sheets/) - Copy the [Google Sheet template](https://docs.google.com/spreadsheets/d/141fJskisAQ7H8AxtojQ7LZrnd14EOyB26RdDq5aczEU/copy) - Connect credentials in n8n: - Google Sheets (OAuth2) - Linked API (get keys at [app.linkedapi.io](https://app.linkedapi.io)) - Set `DOCUMENT_LINK` and `SHEET_NAME` in the `Config` node (your spreadsheet URL after copying the template) - Add leads with `Status` = `NEW` and fill in: - `Connection note` (optional) - `Message 1`, `Message 2`, `Message 3` (required) - Activate the workflow ### Configuration | Setting | Default | Description | | --- | --- | --- | | DOCUMENT_LINK | – | URL to your Google Sheet | | SHEET_NAME | Leads | Name of the sheet with leads | | DAILY_CONNECTION_LIMIT | 25 | Max connection requests per day | | HOURS_TO_CHECK_IF_CONNECTION_ACCEPTED | 24 | Check frequency for connection acceptance | | HOURS_TO_CHECK_IF_REPLIED | 4 | Check frequency for message replies | | HOURS_DELAY_AFTER_CONNECTION_ACCEPTED | 24 | Delay before first message | | DAYS_DELAY_BETWEEN_MESSAGES | 2 | Delay between follow-ups | | DAYS_WAIT_FOR_CONNECTION_ACCEPTANCE | 10 | Timeout for connection requests | | DAYS_WAIT_AFTER_LAST_MESSAGE | 4 | Days to wait after last message before marking as no response | --- # Make Integration ## Linked API + Make Linked API for Make connects your LinkedIn account to Make's automation platform, so you can build visual scenarios that search for prospects, send messages, manage connections, extract data, and more – all with [industry-leading safety](/safety). > Our app is available in the **Make Apps Marketplace** – just search for "Linked API" when adding a new module to your scenario. ### Common use cases - **Lead generation pipeline**.Search for prospects matching your criteria, automatically send connection requests, wait for acceptance, then send personalized follow-up messages. Connect the results to your CRM to track everything in one place. - **CRM synchronization**. When a new lead enters your CRM, automatically find their LinkedIn profile, send a connection request, and update the CRM with their LinkedIn data. Keep your sales pipeline enriched with real-time LinkedIn information. - **Content engagement**. Monitor when your target accounts post on LinkedIn, automatically react or comment on their posts, then log the engagement in your tracking spreadsheet. Build relationships at scale without losing the personal touch. - **Recruitment workflows**. Search for candidates with specific skills, send personalized InMails through Sales Navigator, track responses in your ATS, and automatically follow up with interested candidates. Streamline your entire recruitment funnel. - **Multi-channel outreach.** Combine LinkedIn with email, Slack, and other channels. When someone accepts your connection request, trigger an email sequence, notify your team in Slack, and create a task in your project management tool. ### How to get started To build LinkedIn automations with Make, read these essential guides: 1. [Creating connection](/integrations/make/creating-connection) – get your API tokens and connect to Make. 2. [Building scenarios](/integrations/make/building-scenarios) – learn how to use Linked API modules in your scenarios. 3. [Available modules](/integrations/make/available-modules) – explore all LinkedIn actions you can automate. ## Creating connection Setting up Linked API in Make requires two steps: **getting your API tokens** and **creating a connection**. This guide walks you through both steps. ## Getting your tokens 1. Sign up at [Linked API Platform](https://app.linkedapi.io/). 2. Choose your plan and start your 7-day free trial. 3. Connect your LinkedIn account (it takes about 2 minutes). 4. Copy your tokens from the dashboard (as shown below): ![](/images/docs/tokens.webp) ## Creating Make connection 1. In your Make scenario, add any Linked API module. 2. Click the "Create a connection" button in the module settings. ![](/images/docs/create-connection-button.webp) 3. Paste your tokens into the displayed fields. ![](/images/docs/paste-tokens.webp) 4. Click "Save". Your connection is now ready to use. ## Multiple LinkedIn accounts If you manage multiple LinkedIn accounts, create a separate connection for each one. Every account has its own **Identification Token**, while the **Linked API Token** remains the same. You can then switch between accounts by selecting different connections. ## Building scenarios Once your connection is set up, you can start building LinkedIn automations in Make. To add Linked API functionality to your scenarios: 1. Search for "Linked API" in the module search bar when building your scenario. 2. Select the module that matches what you want to do: send messages, search for people, retrieve company data, etc. See the [full list of available modules](/integrations/make/available-modules). 3. Configure the module with your specific parameters and select the connection [you created earlier](/integrations/make/creating-connection). ![](/images/docs/make-modules.webp) ### Combining with other tools The real power comes from combining Linked API modules with other apps in your Make scenarios. You can connect LinkedIn actions with: - **CRM systems** like HubSpot, Salesforce, or Pipedrive: automatically add new LinkedIn connections to your CRM or trigger LinkedIn messages when deals reach certain stages. - **Databases** like Airtable, Google Sheets, or PostgreSQL: store LinkedIn search results, track outreach campaigns, or pull prospect lists for automated connection requests. - **Communication tools** like Slack, Gmail, or Microsoft Teams: get notifications about LinkedIn responses or trigger LinkedIn actions from team messages. - **Webhooks and APIs**: integrate with any custom system or trigger LinkedIn workflows from external events. ## Available modules Linked API provides these Make modules for automating your LinkedIn flows: ## Messages | Module | Description | API docs | | --- | --- | --- | | **Manage Conversation** | Archive, star, or mute a conversation thread by thread ID | [`st.manageConversation`](/docs/action-st-manage-conversation) | | **Send Message** | Send message to person, or reply into an existing thread by thread ID, with optional archive, star, or mute of the conversation right after sending | [`st.sendMessage`](/docs/action-st-send-message) | | **Sync Conversation** | Load a person's earlier message history. Run once per person – not on every scenario run; to catch new replies use **Sync Inbox** once and **Poll Inbox** | [`st.syncConversation`](/docs/action-st-sync-conversation) | | **Sync Inbox** | Recommended way to watch incoming messages: enable whole-inbox monitoring so every incoming conversation can be polled | [`st.syncInbox`](/docs/action-st-sync-inbox) | | **Poll Inbox** | Poll the monitored inbox for new messages across all conversations, or set **Person URL** to get the whole known conversation with one person, including history loaded by **Sync Conversation** | [Monitoring Inbox](/docs/monitoring-inbox) | ## Connections | Module | Description | API docs | | --- | --- | --- | | **Accept an Invitation** | Accept a connection, company-follow, or newsletter-subscription invitation | [`st.acceptInvitation`](/docs/action-st-accept-invitation) | | **Check Connection Status** | Check connection status with person | [`st.checkConnectionStatus`](/docs/action-st-check-connection-status) | | **Ignore an Invitation** | Ignore a connection, company-follow, or newsletter-subscription invitation | [`st.ignoreInvitation`](/docs/action-st-ignore-invitation) | | **Remove Connection** | Remove person from connections | [`st.removeConnection`](/docs/action-st-remove-connection) | | **Retrieve Incoming Invitations** | Get all received connection, company-follow, and newsletter-subscription invitations | [`st.retrieveInvitations`](/docs/action-st-retrieve-invitations) | | **Retrieve Connections** | Get your connections with filtering | [`st.retrieveConnections`](/docs/action-st-retrieve-connections) | | **Retrieve Pending Requests** | Get all pending connection requests | [`st.retrievePendingRequests`](/docs/action-st-retrieve-pending-requests) | | **Send Connection Request** | Send connection request with optional note | [`st.sendConnectionRequest`](/docs/action-st-send-connection-request) | | **Sync Network** | Enable network monitoring so connection events can be polled | [`st.syncNetwork`](/docs/action-st-sync-network) | | **Withdraw Connection Request** | Withdraw pending connection request | [`st.withdrawConnectionRequest`](/docs/action-st-withdraw-connection-request) | | **Poll Network** | Poll the monitored network for new connection events | [Monitoring Network](/docs/monitoring-network) | ## People | Module | Description | API docs | | --- | --- | --- | | **Fetch Person** | Get person page information with optional experience, education, skills, posts | [`st.openPersonPage`](/docs/action-st-open-person-page) | | **Endorse Person Skill** | Endorse one skill of a 1st-degree connection by its exact name, in the profile owner's language | [`st.endorsePersonSkill`](/docs/action-st-endorse-person-skill) | | **Endorse Person Skills** | Endorse every skill of a 1st-degree connection whose name matches any of the RE2 patterns, or all of their skills; returns the outcome for each selected skill | [Endorsing skills](/docs/endorsing-skills) | | **Search People** | Search for people with advanced filtering | [`st.searchPeople`](/docs/action-st-search-people) | ## Companies | Module | Description | API docs | | --- | --- | --- | | **Fetch Company** | Get company information with optional employees, decision makers, posts | [`st.openCompanyPage`](/docs/action-st-open-company-page) | | **Search Companies** | Search for companies with advanced filtering | [`st.searchCompanies`](/docs/action-st-search-companies) | ## Posts and Comments | Module | Description | API docs | | --- | --- | --- | | **Comment on Post** | Leave comment on post; returns the new comment's URN and URL | [`st.commentOnPost`](/docs/action-st-comment-on-post) | | **Create Post** | Publish a post with optional media attachments and mentions; returns the new post's URL and URN | [`st.createPost`](/docs/action-st-create-post) | | **Create Repost** | Repost a post as is or with your own commentary; returns the repost's own URL and URN | [`st.createRepost`](/docs/action-st-create-repost) | | **Fetch Post** | Get post information and engagement metrics | [`st.openPost`](/docs/action-st-open-post) | | **React to Comment** | React to a comment by comment URL (like, love, support, celebrate, insightful, funny) | [`st.reactToComment`](/docs/action-st-react-to-comment) | | **React to Post** | React to post (like, love, support, celebrate, insightful, funny) | [`st.reactToPost`](/docs/action-st-react-to-post) | | **Reply to Comment** | Reply to a comment by comment URL; returns the reply's URN and URL | [`st.replyToComment`](/docs/action-st-reply-to-comment) | | **Search Posts** | Search for posts with advanced filtering by sort, date, content type, author, and mentions | [`st.searchPosts`](/docs/action-st-search-posts) | ## Jobs | Module | Description | API docs | | --- | --- | --- | | **Fetch Job** | Get job details such as company, location, salary, description | [`st.openJob`](/docs/action-st-open-job) | | **Search Jobs** | Search for jobs with advanced filtering | [`st.searchJobs`](/docs/action-st-search-jobs) | ## Your Account | Module | Description | API docs | | --- | --- | --- | | **Retrieve Feed Posts** | Get posts from your home feed | [`st.retrieveFeed`](/docs/action-st-retrieve-feed) | | **Retrieve Profile Viewers** | Get the people who recently viewed your profile, with an optional limit and a since timestamp | [`st.retrieveProfileViewers`](/docs/action-st-retrieve-profile-viewers) | | **Retrieve Performance** | Get LinkedIn dashboard analytics | [`st.retrievePerformance`](/docs/action-st-retrieve-performance) | | **Retrieve SSI** | Get current SSI (Social Selling Index) | [`st.retrieveSSI`](/docs/action-st-retrieve-ssi) | | **Get Actions Statistics** | Get statistics about previously executed actions | [API Usage Statistics](/docs/checking-api-usage-statistics) | ## Sales Navigator | Module | Description | API docs | | --- | --- | --- | | **Retrieve Alerts in Sales Navigator** | Read lead and account alerts with filters and sorting | [`nv.retrieveAlerts`](/docs/action-nv-retrieve-alerts) | | **Retrieve Lists in Sales Navigator** | Read your lead or account lists and the IDs used to save into them | [`nv.retrieveLists`](/docs/action-nv-retrieve-lists) | | **Create List in Sales Navigator** | Create a lead or account list with a name you do not already use for that type | [`nv.createList`](/docs/action-nv-create-list) | | **Delete List in Sales Navigator** | Delete one of your lists; its leads or accounts stay saved | [`nv.deleteList`](/docs/action-nv-delete-list) | | **Rename List in Sales Navigator** | Rename one of your custom lists to a name you do not already use for that type | [`nv.renameList`](/docs/action-nv-rename-list) | | **Retrieve List Leads in Sales Navigator** | Read the leads in one of your lead lists | [`nv.retrieveListLeads`](/docs/action-nv-retrieve-list-leads) | | **Retrieve List Accounts in Sales Navigator** | Read the accounts in one of your account lists | [`nv.retrieveListAccounts`](/docs/action-nv-retrieve-list-accounts) | | **Retrieve Saved Searches in Sales Navigator** | Read your saved lead or account searches and the URLs used to read their results | [`nv.retrieveSavedSearches`](/docs/action-nv-retrieve-saved-searches) | | **Create Saved Search in Sales Navigator** | Save a lead or account search, given its URL | [`nv.createSavedSearch`](/docs/action-nv-create-saved-search) | | **Delete Saved Search in Sales Navigator** | Delete one of your saved searches by its ID | [`nv.deleteSavedSearch`](/docs/action-nv-delete-saved-search) | | **Fetch Company in Sales Navigator** | Get company information with optional employees and decision makers from Sales Navigator | [`nv.openCompanyPage`](/docs/action-nv-open-company-page) | | **Fetch Person in Sales Navigator** | Get person page information from Sales Navigator | [`nv.openPersonPage`](/docs/action-nv-open-person-page) | | **Manage Conversation in Sales Navigator** | Archive or unarchive a conversation thread by thread ID via Sales Navigator | [`nv.manageConversation`](/docs/action-nv-manage-conversation) | | **Save Account in Sales Navigator** | Save a company as an account, optionally into one of your account lists | [`nv.saveAccount`](/docs/action-nv-save-account) | | **Save Lead in Sales Navigator** | Save a person as a lead, optionally into one of your lead lists | [`nv.saveLead`](/docs/action-nv-save-lead) | | **Search Companies in Sales Navigator** | Search for companies with advanced filtering via Sales Navigator | [`nv.searchCompanies`](/docs/action-nv-search-companies) | | **Search People in Sales Navigator** | Search for people with advanced filtering via Sales Navigator | [`nv.searchPeople`](/docs/action-nv-search-people) | | **Send Message in Sales Navigator** | Send message to person via Sales Navigator, or reply into an existing thread by thread ID | [`nv.sendMessage`](/docs/action-nv-send-message) | | **Sync Conversation in Sales Navigator** | Load a person's earlier Sales Navigator message history. Run once per person – not on every scenario run; to catch new replies use **Sync Inbox in Sales Navigator** once and **Poll Inbox** | [`nv.syncConversation`](/docs/action-nv-sync-conversation) | | **Sync Inbox in Sales Navigator** | Recommended way to watch incoming Sales Navigator messages: enable whole-inbox monitoring in Sales Navigator so every incoming conversation can be polled | [`nv.syncInbox`](/docs/action-nv-sync-inbox) | | **Unsave Account in Sales Navigator** | Unsave an account; its saved leads stay saved | [`nv.unsaveAccount`](/docs/action-nv-unsave-account) | | **Remove Account from List in Sales Navigator** | Remove an account from one of your account lists; it stays saved and in your other lists | [`nv.removeAccountFromList`](/docs/action-nv-remove-account-from-list) | | **Unsave Lead in Sales Navigator** | Unsave a lead, which also removes them from your custom lead lists | [`nv.unsaveLead`](/docs/action-nv-unsave-lead) | | **Remove Lead from List in Sales Navigator** | Remove a lead from one of your lead lists; they stay saved and in your other lists | [`nv.removeLeadFromList`](/docs/action-nv-remove-lead-from-list) | ## Custom Workflows | Module | Description | API docs | | --- | --- | --- | | **Execute Custom Workflow** | Execute custom workflow by raw definition | [Building Workflows](/docs/building-workflows) | ## Administration | Module | Description | API docs | | --- | --- | --- | | **Get Subscription Status** | Check current subscription status and trial eligibility | [Subscription](/docs/admin-subscription) | | **Get Seats** | Get active subscription seats | [Subscription](/docs/admin-subscription) | | **Set Seats** | Set number of subscription seats | [Subscription](/docs/admin-subscription) | | **Get Accounts** | List connected LinkedIn accounts with profile URL, avatar, headline, pending sessions, and reconnection links | [Accounts](/docs/admin-accounts) | | **Connect Account** | Create connection session for a new LinkedIn account | [Connection Sessions](/docs/admin-connection-sessions) | | **Reparse Account Info** | Refresh stored profile URL, avatar, headline, and name for an account | [Accounts](/docs/admin-accounts) | | **Reconnect Account** | Create reconnection session for an account that requires reconnection | [Connection Sessions](/docs/admin-connection-sessions) | | **Get Connection Session** | Get connection or reconnection session status | [Connection Sessions](/docs/admin-connection-sessions) | | **Cancel Connection Session** | Cancel a pending connection or reconnection session | [Connection Sessions](/docs/admin-connection-sessions) | | **Disconnect Account** | Disconnect a LinkedIn account | [Accounts](/docs/admin-accounts#accounts-disconnect) | | **Regenerate Token** | Regenerate identification token for an account | [Accounts](/docs/admin-accounts) | | **Get Limits Defaults** | Get system default rate limits | [Limits](/docs/admin-limits) | | **Get Limits** | Get configured rate limits for an account | [Limits](/docs/admin-limits) | | **Get Limits Usage** | Check current usage against configured limits | [Limits](/docs/admin-limits) | | **Set Limits** | Configure rate limits for an account | [Limits](/docs/admin-limits) | | **Delete Limits** | Delete specific account rate limits | [Limits](/docs/admin-limits) | | **Reset Limits** | Reset all limits to system defaults | [Limits](/docs/admin-limits) | ## Usage examples We collect the following examples to show how Linked API can be used with Make to automate LinkedIn-related operations. They’re intended to inspire practical ways to reduce manual steps in your business processes. ## Content warming & outreach Here is the scenario example of how you can use Linked API & Make integration for social selling through gradual engagement before sending requests for connect. This workflow warms up prospects automatically: first it likes and comments on their latest posts, then sends a connection request, checks if it’s accepted, and withdraws unaccepted ones after 7 days. All actions are scheduled and logged in a Google Sheet, so you can monitor who’s at each stage. **Modules:** Google Sheets, Linked API (Fetch aPerson, React to a Post, Comment on a Post, Send a Connection Request, Check a Connection Status, Withdraw a Connection Request), Slack. ![Example: Content warming & outreach workflow](/images/docs/Content-warming---outreach-example.webp) ## Form → CRM → LinkedIn/Email Here is the scenario example of how you can use Linked API & Make to instantly turn new leads into personalized outreach at the moment they submit a form. When someone fills out your lead form (Typeform, website, ad campaign, etc.), the scenario instantly adds them to your CRM (e.g. Pipedrive), searches for their LinkedIn profile, and decides what to do next: send a connection request and log their LinkedIn URL or send a follow-up email instead. Every new lead will get a timely, personalized touch without manual lookup. **Modules:** Typeform (Webhook), Pipedrive, Linked API (Search People, Send a Connection Request), Email. ![Example: Form → CRM → LinkedIn/Email workflow](/images/docs/Form-----CRM-----LinkedIn-example-2.webp) ## LinkedIn SMM tracker Here is the scenario example of how you can use Linked API & Make to get automated insights into your LinkedIn growth and engagement. Once a week, the workflow collects your LinkedIn metrics (SSI score, profile performance, and post stats), saves them to Google Sheets, compares with last week’s data, and sends a Slack summary with what’s up or down. **Modules:** Google Sheets, Linked API (Retrieve SSI, Retrieve Performance, Fetch a Person, Fetch a Post), set of variables, Slack. ![Example: LinkedIn SMM tracker workflow](/images/docs/LinkedIn-SMM-tracker-example.webp) ## Recruiting automation Here is the scenario example of how you can use Linked API & Make to automate candidate search, profile validation, and connection requests from ATS (Airtable) to LinkedIn. When a new record is added, it searches LinkedIn for a matching profile, validates fit using ChatGPT, sends a connection request, and tracks its status. The system updates candidate records daily, withdraws unaccepted requests after 7 days, and notifies the team in Slack when connections are accepted. **Modules:** Airtable, Linked API (Search People, Check a Connection Status, Send/Withdraw a Connection Request), ChatGPT, Slack. ![Example: Recruiting automation workflow](/images/docs/-Recruiting-Automation-example.webp) ## ERP lead warming Here is an example of how you can use Linked API and Make to automate lead enrichment and engagement directly from your ERP system. Each company record is used to find up to three decision-makers on LinkedIn, fetch their profiles, and define if they are Active or Inactive based on posting activity over the last 90 days. The workflow continues only with active contacts, generating a short relevant comment with ChatGPT, and then sending a connection request. **Modules:** ERP (HubSpot, or other), Linked API (Fetch a Company, Fetch a Person, Comment on a Post, Send a Connection Request), ChatGPT. ![Example: ERP lead warming](/images/docs/ERP-Lead-Warming--company-lists--2.webp) --- # Guides ## ChatGPT for Sales: Add Your LinkedIn Account to Call Prep and Follow-Up ChatGPT for sales usually starts with a prompt list: draft the cold email, summarize the account, rehearse the objection. This guide covers one call and the part of it that lives on LinkedIn – who the attendees are now, who you already know at their company, and what you last said to each other – and how ChatGPT can work from your own LinkedIn account before the call and after it. > **The short version.** ChatGPT already drafts emails and researches companies, and through OpenAI's Sales plugin it works from your CRM, call recordings, Slack and Teams. LinkedIn's own plugin in ChatGPT looks up who someone is. Connect your own LinkedIn account through Linked API and ChatGPT also sees what only your account knows: the attendees' recent posts, who you know at their company, and your conversation with each of them. Before the call it writes the brief; after it, it drafts the reply and a connection note, and nothing is sent until you approve. You need a Linked API account with your LinkedIn account connected, added to ChatGPT as a custom connection – OpenAI offers that to Business and Enterprise/Edu workspaces on the web. ## Before the call: a LinkedIn brief in ChatGPT One ask, one brief – the setup is [below](#what-you-need-first): **You:** Call with Halden Systems on Wednesday – Tom Becker, VP Sales, and Priya Shah, Head of Revenue Operations; their LinkedIn URLs and Halden's company page are below. Using my LinkedIn account, read their experience and their posts and comments from the last 90 days, check whether I'm connected to each of them, find my 1st- and 2nd-degree connections in sales or RevOps roles at Halden, load and read my conversation with each attendee, and write a one-page brief with three openers. Don't send anything. **Agent** (used Linked API: fetch_person ×2, check_connection_status ×2, fetch_company ×2, sync_conversation ×2, get_inbox ×2): - experience, and posts and comments from the last 90 days - connected to Priya; not connected to Tom, no invitation pending - employees with "sales", then "revenue operations", in their position, at 1st or 2nd degree to you - your message history with each attendee, loaded once - the conversation with each attendee, by their profile URL Brief ready. You're connected to Priya and last wrote to each other in September; Tom is a 2nd-degree connection you haven't messaged. At Halden, two people in sales roles are 1st-degree connections and six people in sales or RevOps roles are 2nd-degree – people to look into, not a ready introduction path. The three openers: Tom's posts on a monthly forecast, Priya's comment on CRM data hygiene, and the case study you sent her. Nothing has been sent. | Attendee | Role and time in it | Recent topic they posted about | Connected? | Last exchange | | --- | --- | --- | --- | --- | | Tom Becker | VP Sales, 1 year 7 months | Three posts on moving his team from a quarterly to a monthly forecast | No – 2nd degree | None | | Priya Shah | Head of Revenue Operations, 3 years 2 months | A comment on a thread about CRM data hygiene | Yes – 1st degree | In September she asked for a case study on routing inbound leads; you sent it, no reply since | *Nothing is sent from your account – the follow-up after the call waits for your approval.* *Example run – the names and details are invented for illustration. A run like this takes a few minutes in ChatGPT. A 2nd-degree connection is someone two steps away from you, not necessarily the person who can introduce you, and a private or limited profile stays limited.* If more people sit behind the decision than joined the call, [mapping the buying committee](/guides/b2b-buying-committee) at the account is the next step. ## What ChatGPT already does for sales – and what your LinkedIn account adds Per OpenAI's Sales plugin page, the plugin is built to "Prepare account work and customer follow-up". The apps that page lists are Slack, Teams, Zoom, Granola, Fireflies, Otter.ai, Salesforce and HubSpot, plus "19 more". LinkedIn has its own plugin in ChatGPT, and its listing reads: "Look up any professional on LinkedIn without leaving ChatGPT. See their title, company, location and follower count", with "Prepare an attendee brief" among its example prompts. Between them, those cover your CRM, your calls and who someone is. What neither describes is your own LinkedIn account – your network at the account and your conversations: | Moment | OpenAI's Sales plugin and your apps | LinkedIn's plugin in ChatGPT | Your own LinkedIn account through Linked API | | --- | --- | --- | --- | | The account | Account research from your CRM and connected apps | Not in its listing | Who works there in the roles you name, at 1st or 2nd degree to you | | The person | CRM records and call notes | Title, company, location and follower count, with a link to the profile | Their experience, recent posts and comments, and whether you're connected | | The last exchange | Chat and call recordings | Not in its listing | Your LinkedIn conversation with them | | After the call | Customer follow-up drafted from your apps | A link to the profile, to connect yourself | A reply in your LinkedIn conversation and a connection note, sent only when you approve | ## What you need first You need a [Linked API](/) account with your LinkedIn account connected to it, added to ChatGPT as a custom connection. Linked API works through a dedicated cloud browser on your own account, at a human pace, and never stores your password. The [setup steps for ChatGPT](/mcp/installation#chatgpt) are in the installation guide, and [what the connection can do](/mcp/overview) is covered in the overview. - **Your ChatGPT plan.** Per [OpenAI's help](https://help.openai.com/en/articles/12584461), "Custom MCP server connections and full MCP support are available for ChatGPT Business and Enterprise/Edu customers on ChatGPT web". On Business, "Only admins and owners can create and publish plugins for custom MCP servers"; on Enterprise/Edu, admins can let selected members connect one. - **On Pro.** OpenAI allows Pro read and fetch tools only, and since version 2.3.24 Linked API marks which of its tools only read. By those two rules, Pro can look people, companies and posts up and read messages already captured, but can't load missing conversation history or send anything – both runs on this page need Business, Enterprise or Edu. - **Inbox monitoring, if you want it.** Ask ChatGPT once to turn on inbox monitoring for your account if you want it to see new messages across your whole inbox. Reading one person's conversation works without it. ChatGPT is one way in. The same account also works from Claude, Cursor or Claude Code through the MCP server, the agent-friendly CLI or a ready-made skill – the [LinkedIn AI agent guide](/guides/linkedin-ai-agent) compares the routes. ## After the call: the follow-up, approved Paste your notes and ask for the drafts: **You:** Here are my notes from the Halden call. Read my conversation with Priya – load it first if it isn't loaded – and draft a reply in that conversation confirming the next steps. Tom joined the call and we're not connected; draft a connection note to him of 200 characters or less. Show me both and wait. **Agent** (used Linked API: get_inbox, check_connection_status): - your conversation with Priya, loaded before the call - Tom – still not connected, no invitation pending Two drafts, written from your notes and the brief. Nothing has been sent. | To | Where it goes | Draft | | --- | --- | --- | | Priya Shah | Your existing LinkedIn conversation | "Thanks for today, Priya. As agreed, I'll send the routing pilot plan by Tuesday, and we'll go through it with Tom next week." | | Tom Becker | Connection request with a note (117 characters) | "Hi Tom – thanks for joining today. Your posts on monthly forecasting came up twice; glad to connect before the pilot." | *Nothing goes out until you approve each draft – ChatGPT may also ask you to confirm before it sends.* *Example run.* Per [LinkedIn's help](https://www.linkedin.com/help/linkedin/answer/a563153), a note can be up to 200 characters, and without Premium you can add one to up to three connection requests per month – see [what to write in a connection request](/guides/linkedin-connection-request-message). **Did they reply?** Once you've loaded a conversation, Linked API keeps adding its new messages for a while (30 days by default). Before you write again, ask ChatGPT to refresh the conversation and read it. An empty result means nothing new has been captured yet, not that they haven't replied. **ChatGPT's own approvals.** ChatGPT has its own setting for how plugin actions are approved. Per OpenAI's [help on app permissions](https://help.openai.com/en/articles/20001495), with "Always ask", "ChatGPT asks before reading app information or making changes", and "Sending an email, message, comment, or invitation" is one of its examples of an action that "may require additional review". ## What this does not do - **Emails and phone numbers.** Linked API reads what your LinkedIn account can see; it doesn't look up contact details. - **Intent data and call recording.** Keep your data provider and your call recorder for those. - **CRM updates.** ChatGPT doesn't write the call back to your CRM unless you also add a CRM plugin in ChatGPT, or build it with [n8n](/integrations/n8n/overview) or [Make](/integrations/make/overview). - **Sequences.** There are no scheduled follow-ups and no automatic stop when someone replies – each follow-up is a run you start and approve. - **Alerts.** Nothing tells you when an attendee posts or changes jobs; ChatGPT reads LinkedIn when you ask. - **Private profiles.** A private or limited profile stays limited – ChatGPT reads what your account can see. ## Frequently Asked Questions (FAQ) #### How can I use ChatGPT for sales? Use it where it has real context: briefing yourself before a call and drafting the follow-up after it. OpenAI's Sales plugin brings in your CRM, call recordings, Slack and Teams. Connected to your own LinkedIn account through Linked API, ChatGPT also reads the attendees' recent posts, who you know at their company and your conversation with each of them, and drafts LinkedIn replies you approve. #### What's the best use of ChatGPT for sales? Preparing for and following up on real conversations, from real context. A generic prompt gets a generic opener; a brief built from the person's recent posts and your last exchange gets one they recognize. Keep the approval step: ChatGPT drafts, you decide what is sent. #### Can ChatGPT access LinkedIn? Two ways. LinkedIn's own plugin in ChatGPT looks up professionals – per its listing, their title, company, location and follower count, with a link to the profile. Connecting your own LinkedIn account through Linked API adds what that account can see and do: your network at a company, your conversations, and replies and connection requests sent when you approve them. #### Does ChatGPT's Sales plugin read LinkedIn? The apps OpenAI's Sales plugin page lists are Slack, Teams, Zoom, Granola, Fireflies, Otter.ai, Salesforce and HubSpot; another 19 are counted but not named there. LinkedIn is not among the listed ones. #### Which ChatGPT plan do I need? Per OpenAI's help, custom MCP server connections with full support are available on ChatGPT Business and Enterprise/Edu on the web, and on Business an admin or owner adds them. Pro gets read and fetch tools only; by OpenAI's rule and Linked API's read-only marks, it can look people and companies up and read messages already captured, but can't load missing conversation history or send. The setup is linked [above](#what-you-need-first). #### Will ChatGPT send messages without asking? Not in these runs: each prompt asks ChatGPT to show the drafts and wait, and nothing is sent until you approve. ChatGPT also has its own approval setting for plugin actions – with "Always ask", it asks before reading app information or making changes, sending a message included. #### Can I use ChatGPT for sales prospecting? Yes – searching for the right people and writing first notes works the same way through your LinkedIn account; see [AI sales prospecting on LinkedIn](/guides/ai-sales-prospecting-linkedin). #### Can I do the same in Claude? Yes. The same LinkedIn account connects to Claude, with Anthropic's Sales plugin covering the CRM side – see [Claude for sales](/guides/claude-for-sales). ## Build it in, or hand it to an agent Get it out of the box: connect the MCP server as set up above, the agent-friendly [CLI](/cli/getting-started) or a ready-made [skill](/skills), and ask in plain language. Or build it into your own tools with the REST API, the Node and Python [SDKs](/sdks/installation) and the shell CLI. Either way it runs on your own LinkedIn account. Plans are flat per seat, from $49/mo billed annually – see [pricing](/pricing). *Facts verified November 9, 2026 – OpenAI's Sales plugin page, LinkedIn's ChatGPT plugin listing and OpenAI's help articles on custom MCP servers and action approvals checked on that date.* ## AI for Staffing Agencies: What to Automate First, Desk by Desk AI for staffing agencies works best job by job, not as one tool for the whole desk. Start where the data is ready, one system is involved and only your team sees a mistake; leave screening and assignment for last. LinkedIn-side jobs – client changes, redeployment checks, BD and sourcing research – an agent can run on your own account, with you approving. > **The short version.** Go job by job: client side, candidate side and back office each have their own data and their own system. Read before you change, and change before you reach out – checks that only read data come first, and anything that edits a record or contacts a person needs a human. Keep screening and assignment for last; they are regulated and they affect people. Check your existing ATS, payroll and VMS tools first for back-office work. On LinkedIn, an agent can re-check contractors and client contacts from your ATS export and draft outreach you approve – it changes nothing on its own. ## A worked run: re-check contractors and client contacts from your ATS The agent works through [Linked API](/) on your own LinkedIn account, in a real cloud browser at a human pace – Linked API never stores your password. Connect it through the [MCP server](/mcp/overview) in Claude, ChatGPT or Cursor, give a coding agent the agent-friendly [CLI](/cli/getting-started), or install ready-made [skills](/skills); the [LinkedIn AI agent guide](/guides/linkedin-ai-agent) covers the setup. **You:** Here's an export from our ATS: 38 contractors whose assignments end in the next 45 days, and 22 client hiring managers we've placed with in the past year, with their LinkedIn URLs and the employer and title we have on file. Re-read each profile with experience and compare every current role with what we have. Flag contractors whose profile shows a possible new or concurrent role for my confirmation – don't take anyone off the list. Tell me which client contacts have moved company or changed title; for those client contacts only, read the new company's page, load our message history first and draft a short note using only what you read. Send nothing and change nothing in the ATS. **Agent** (used Linked API: fetch_person ×60, fetch_company ×3, sync_conversation ×4, get_inbox ×4): - current roles and experience of 38 contractors and 22 client contacts - compared with the ATS: contractors – 31 no contradiction, 4 possible new or concurrent role, 3 unknown; client contacts – 18 unchanged, 3 at a new company, 1 promoted - the three new employers – industry, LinkedIn members, open jobs - history with the four changed client contacts, loaded once - the last message with each - 4 drafts written 38 contractors: 31 show no contradiction, 4 show a possible new or concurrent role – please confirm, 3 don't list the assignment. All 38 stay on your availability review; nothing was changed in the ATS. 22 client contacts: 18 unchanged, 3 at a new company, 1 promoted – 4 drafts ready, nothing sent. Some of the rows that need you: | Person | Group | On file (ATS) | On LinkedIn now (since) | What it means | Next step | | --- | --- | --- | --- | --- | --- | | Jordan P. | Contractor | Data Analyst at Fairmont Health, ends Dec 2026 | Also Senior Analyst at Lakeview Bank (Oct 2026) | Possible new or concurrent role | Confirm with Jordan – keep on the review | | Sam R. | Contractor | Network Engineer at Calder Logistics | Calder still current; also independent consultant (Sep 2026) | Possible concurrent role | Confirm – keep on the review | | Nina T. | Contractor | QA Tester at Brightpath Software | Assignment not on the profile | Unknown | Ask Nina – keep on the review | | Chris B. | Client contact | Engineering Manager at Calder Logistics | Director of Engineering at Ridgeway Freight (Oct 2026) | Moved – Ridgeway: Truck Transportation, 420 members, 12 open jobs | Draft ready – last message June 2026 | | Lena H. | Client contact | HR Manager at Fairmont Health | Senior HR Manager at Fairmont Health (Sep 2026) | Promoted at the same client | Draft ready – no history loaded | *Nothing goes out and nothing is written back until you approve.* *Example run, fictional people and companies. Profiles are self-reported and often updated late; contractors can hold concurrent roles and may list the agency rather than the client. The ATS end date stays the source of truth. Experience dates are monthly.* Every change in that table is an observation for a recruiter to confirm – not a status change. Linked API's network monitoring reports new connections, not job changes, so this is a re-read you run on a schedule, for example weekly. The compare-and-confirm routine – checking every current role before anything is written back – is set out in the [CRM hygiene guide](/guides/crm-hygiene). ## AI in staffing today Agencies are budgeting for it. In Staffing Industry Analysts' [survey of more than 300 staffing executives](https://www.staffingindustry.com/news/global-daily-news/how-much-will-ai-increase-demand-for-staffing) for its North American outlook (June–August 2026), "A net 84% of executives expect to increase investment in those areas over the next 12 months" – the areas being technology and automation, not AI alone. The same research found that "Staffing firms with under $10 million in revenue are less than half as likely to increase their usage of AI agents than staffing firms with over $150 million." In SIA's [2025 outlook](https://www.staffingindustry.com/news/global-daily-news/ai-growth-not-job-cuts-inside-sias-2025-staffing-outlook) (more than 500 executives), sourcing automation topped the list of tools executives planned to use more, at 54%. And few firms run AI end to end – in Bullhorn's [survey of nearly 2,300 recruitment professionals](https://www.bullhorn.com/news-and-press/press-releases/bullhorn-grid-report-staffing-firms-using-ai-see-stronger-growth-faster-placements/) (November–December 2025), "Only 10 percent of firms have implemented agentic AI across their full workflow". ## The desk map: every job, its data and its system of record The "system of record" column is the typical home of each job's data; agencies differ, and many run their CRM inside the ATS. | Desk | Job | Data it needs | Usual system of record | Where AI comes from | Our guide | | --- | --- | --- | --- | --- | --- | | Client | BD from job posts and signals | Hiring companies, the role, the person behind it | CRM (often inside the ATS) | A LinkedIn agent: research | [Recruitment business development](/guides/recruitment-business-development) | | Client | Job-order intake | Call notes, fee, terms | ATS or CRM job record | You, with a note-taking tool | – | | Client | New roles at existing clients | Clients' new postings | CRM | A LinkedIn agent: job search on client companies | [Recruitment business development](/guides/recruitment-business-development) | | Client | Client-contact job changes | Each contact's current employer and title | CRM contact record | A LinkedIn agent: profile re-check to confirm | This guide; [CRM hygiene](/guides/crm-hygiene) | | Client | VMS requisitions | Released requisitions, rates, submittal caps | The client's VMS | Your VMS tools | – | | Candidate | Sourcing | Profiles against the must-haves; your ATS database first | ATS | ATS search, plus a LinkedIn agent for research | [AI candidate sourcing](/guides/ai-candidate-sourcing-linkedin) | | Candidate | Outreach and follow-up | Profile evidence, the role brief, reply status | ATS or CRM activity | A LinkedIn agent on LinkedIn; your email and SMS tools elsewhere | [Engaging passive candidates](/guides/passive-candidates) | | Candidate | Screening | Applications, answers, assessments | ATS | Screening tools – regulated, last | [AI recruiting agents](/guides/ai-recruiting-agent) | | Candidate | Interview scheduling and reminders | Calendars | ATS or scheduler | Scheduling tools | – | | Candidate | Redeployment | Assignment end dates; what each profile shows now | ATS | ATS reports, plus a LinkedIn profile check to confirm | This guide | | Back office | Onboarding and checks | Documents, background checks | Onboarding module or ATS | Your vendor's tools | – | | Back office | Timesheets | Hours, approvers | Time and attendance, or the client's VMS | Your vendor's tools | – | | Back office | Payroll | Pay rates, hours, tax | Payroll system or PEO | Your vendor's tools | – | | Back office | Invoicing | Approved time, bill rates | Back office or VMS invoicing | Your vendor's tools | – | | Back office | Compliance | Policies, audit trail | HR and legal | You and your counsel | – | Of these 15 jobs, four rows have LinkedIn research or checks an agent can run – researching new roles at existing clients, flagging possible client-contact changes, BD research from job posts and sourcing research. Outreach is LinkedIn-only, redeployment gets a profile-checking step, and nine rows need other systems. For choosing between agent products, see [AI recruiting agents](/guides/ai-recruiting-agent). ## What to automate first: four questions There is no single right order – it depends on your data and your systems. Ask four questions about each job: 1. **Is the data ready** – clean, and in one system? 2. **How many systems does the job touch?** 3. **Who sees a mistake** – your team, or a candidate or client? 4. **Does the action only read data, change a record, or reach a person?** Read-only internal checks go first, whatever the channel – a timesheet exception check in your vendor's tool can come before any LinkedIn work. Steps that change a record come next, with a person confirming; anything that reaches a person after that, with approval. Keep logistics apart from judgement: scheduling and reminders are low-stakes once the data is ready, while screening, ranking and assignment go last. **One example, for a stated setup** – a 30-person agency with a clean ATS, a VMS for two large clients and payroll through a PEO: 1. Read-only checks – timesheet exceptions in the vendor's tool, the contractor availability review, client-contact job changes. 2. ATS and CRM updates that a recruiter confirms. 3. Outreach drafts with approval – BD, sourcing, redeployment calls. 4. Scheduling and reminders. 5. Screening and assignment, with an audit trail. Others publish their own orders – dreach puts the client side first; Tommaso Maria Ricci, Viktor and Beyond Elevation each lay out a rollout sequence; Globus.ai maps each workflow's data and integration dependencies. A different setup gives a different order; the four questions are what carries over. ## Handoffs between systems Most desk jobs end by handing data to another system: requisitions and submittals move between the client's VMS and your ATS, contacts and activity between the ATS and the CRM, approved time from timesheets to payroll and then to invoicing. A lot of that sits outside your walls – per SIA's [VMS research](https://www.staffingindustry.com/news/global-daily-news/vms-spend-rises-to-303b-with-increase-in-sow), "Spend flowing through vendor management systems rose 7% to $303 billion last year" – that is, in 2025 – so the requisition, the timesheet approval and often the invoice live in the client's system. The rule for agents follows from that: an agent writes back to your ATS or CRM only if it also has that system's tool and a person approves. Linked API reads and acts on LinkedIn only – its output is a list for your team to review, not a change in your records. ## Screening and assignment: why they go last Screening, ranking and assignment are where AI decisions affect people directly, and where the rules are: - **New York City.** [Local Law 144](https://www.nyc.gov/site/dca/about/automated-employment-decision-tools.page) "prohibits employers and employment agencies from using an automated employment decision tool unless the tool has been subject to a bias audit within one year of the use of the tool", and requires the audit results to be public and candidates to be notified. - **European Union.** The [AI Act](https://eur-lex.europa.eu/eli/reg/2024/1689/oj/eng) lists as high-risk "AI systems intended to be used for the recruitment or selection of natural persons" (Annex III, 4(a)), and systems that allocate tasks based on behaviour or personal traits or that monitor and evaluate workers' performance and behaviour (4(b)). Under [Regulation (EU) 2026/1744](https://eur-lex.europa.eu/eli/reg/2026/1744/oj/eng), those high-risk provisions apply from 2 December 2027. - **Colorado.** The [re-enacted act](https://leg.colorado.gov/bill_files/116489/download) applies from 1 January 2027 to consequential decisions made on or after that date. This is not legal advice – check with counsel for the states and countries you hire in. ## What this does not do - **Your ATS, CRM or VMS** – Linked API doesn't read or write them; an agent writes back only with that system's own tool and your approval. - **Email, SMS and phone numbers** – none. - **Screening, scheduling and the back office** – onboarding, timesheets, payroll, invoicing and compliance checks stay in your other tools. - **Automatic job-change alerts** – changes come from profile re-reads you run, and each one is an observation to confirm. - **Sequences** – no scheduled follow-ups or automatic stop on reply. ## Frequently Asked Questions (FAQ) #### How are staffing agencies using AI? Most are increasing technology and automation budgets, with sourcing at the front of the queue, while only a small share run AI across the whole workflow. In practice, AI lands job by job – research and checks first, judgement last. #### What should a small staffing agency automate first? Jobs where the data is already clean and in one system, only your team would see a mistake, and the action only reads data – a timesheet exception check or an availability review. Leave screening and assignment until last. #### Can AI find new clients for a staffing agency? It can do the research – reading job posts, finding the hiring manager and drafting a first note for your approval. The full approach is in our guide to [recruitment business development](/guides/recruitment-business-development). #### Is AI screening legal for staffing agencies? It is regulated in a growing number of places – New York City's Local Law 144 covers employment agencies, and the EU and Colorado have rules with 2027 start dates. See the section above, and check with counsel. #### Will AI replace recruiters? Not for the parts that matter most: judging fit, keeping client and candidate relationships, and approving what goes out. AI takes on the reading, checking and drafting around those decisions. #### How do I know when a placed contractor or client contact changes jobs? Re-read their LinkedIn profiles on a schedule and compare every current role with your records. Treat each change as an observation to confirm before you update anything – the [CRM hygiene guide](/guides/crm-hygiene) shows the routine. ## Build it in, or hand it to an agent Get it out of the box: connect the [MCP server](/mcp/overview), the agent-friendly [CLI](/cli/getting-started) or a ready-made [skill](/skills), and ask in plain language. Or build it into your own tools with the REST API, the Node and Python [SDKs](/sdks/installation) and the shell CLI. Either way it runs on your own LinkedIn account. Plans are flat per seat, from $49/mo billed annually – see [pricing](/pricing). *Facts verified November 6, 2026 – survey figures and regulatory text checked against the cited Staffing Industry Analysts, Bullhorn, NYC DCWP, EUR-Lex and Colorado General Assembly pages; dreach, Ricci, Viktor, Beyond Elevation and Globus.ai pages read on that date.* ## Biotech Lead Generation for Suppliers: Find Buyers on LinkedIn Biotech lead generation for suppliers starts with who evaluates what you sell – process development and quality for a manufacturing partner, clinical operations for a CRO, the lab manager or principal investigator for instruments. LinkedIn is where you find those people at each company, read what they work on and post about, and send a short note tied to your own results. This guide is about B2B lead generation for biotech: suppliers selling to biotech and pharma companies – CDMOs, CROs, instrument and reagent makers, life-science software vendors. It is not about "lead generation" in drug discovery, and not about marketing to doctors. > **The short version.** Start from what you sell – the evaluator for a manufacturing partner is not the evaluator for a reagent or a lab system. Read the programme team, not the org chart: at a small spin-out the founders evaluate, at a larger biotech the function leads do. Use conferences as dated windows – a post about a meeting is context, not proof they will buy. Bring your own triggers: funding, trials and grants come from your own sources, and LinkedIn adds the people and what they post. An AI agent can do the reading on your own LinkedIn account and draft notes you approve before anything is sent. ## Pharma and biotech on LinkedIn: read the programme team The agent works through [Linked API](/) on your own LinkedIn account, in a real cloud browser at a human pace – Linked API never stores your password. Connect it through the [MCP server](/mcp/overview) in Claude, ChatGPT or Cursor, give a coding agent the agent-friendly [CLI](/cli/getting-started), or install ready-made [skills](/skills); the [LinkedIn AI agent guide](/guides/linkedin-ai-agent) covers the setup. **You:** We're a viral-vector CDMO. Our case: we took a 120-person gene therapy company from a research-grade AAV process to its first GMP lot. Find gene therapy companies headquartered in Massachusetts with 51–200 or 201–500 employees – keyword "gene therapy", industries Biotechnology Research or Pharmaceutical Manufacturing. At each, look for the head of process development, the CMC lead and the head of technical operations; check whether I'm connected; read their recent posts; and draft a connection note under 200 characters tied to our case – only from what their profile and posts show. Send nothing. **Agent** (used Linked API: search_companies, fetch_company ×16, fetch_company ×16, fetch_company ×16, fetch_person ×13, check_connection_status ×13): - keyword "gene therapy", Biotechnology Research or Pharmaceutical Manufacturing, headquartered in Massachusetts, 51–200 and 201–500 employees, up to 20: 16 companies - employees titled "process development" - employees titled "CMC" - employees titled "technical operations" - the three passes deduplicated: 13 people at 10 companies; 6 companies with no matching title - current role, company and recent posts - 2 already connected 16 companies; 13 people at 10 of them; 6 companies held – no matching title found in these searches. 11 notes drafted, 2 people you're already connected to. Nothing has been sent. The first rows: | Company | On LinkedIn | Person and title | From the profile or posts | Connected? | Draft note | | --- | --- | --- | --- | --- | --- | | Northbridge Gene Therapeutics | 140 members | Elena V., Head of Process Development | Her post about moving from adherent to suspension HEK293 | No | "Hi Elena – saw your post on moving to suspension HEK293. We took a gene therapy team from a research-grade AAV process to its first GMP lot; happy to compare notes." | | Harborline Bio | 260 members | Raj M., Director, CMC | His post on full/empty capsid analytics | No | "Hi Raj – your post on full/empty capsid analytics caught my eye. We recently took a 120-person gene therapy company to its first GMP lot. Glad to connect." | | Cedarpoint Therapeutics | 95 members | Tom K., VP Technical Operations | Already connected | Yes | Message instead of a connection request | | Quarry Hill Genomics | 70 members | – | No matching title found in these searches | – | Held | *Nothing goes out until you approve.* *Example run, fictional companies and people. 51–500 employees is this run's chosen profile, not a rule. LinkedIn member counts can over- or understate a biotech, and 0 means unknown. Company search matches headquarters only, so a company based elsewhere with a Massachusetts site is missed. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* The run uses the two industry labels most biotech and pharma companies file under on LinkedIn – Biotechnology Research and Pharmaceutical Manufacturing. CROs have no label of their own, so search them by keyword. The exact labels for other segments are in the [LinkedIn industry list](/guides/linkedin-industry-list). Each note leans on something the person actually wrote, plus the result you supplied – nothing the agent couldn't read. Titles and companies come from each person's profile and member counts from the company page. On a free LinkedIn account only up to three invitations a month can carry a personalised note ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a563153)), so with more drafts than that, send the rest without a note and use the text once they accept. ## Who evaluates depends on what you sell | What you sell | Who usually evaluates | Who else should be in it | What to bring | | --- | --- | --- | --- | | Manufacturing (CDMO) | Head of process development, CMC lead, head of technical operations | Quality – bring them in early; procurement at larger companies | A comparable process you ran, timelines, capacity | | Clinical services (CRO) | Clinical operations, outsourcing | Quality management, procurement | Comparable studies in the same therapeutic area | | Lab instruments and reagents | Lab manager, principal investigator | Procurement; grant rules at academic labs | Data from a comparable lab, a demo | | Life-science software | Varies – lab informatics, research IT, the scientists who use it | Quality assurance for validated (GxP) systems | A validation package, references | The titles are common practice, not a measured split. A few sources bound parts of the table: - **Manufacturing.** For commercial manufacturing, the FDA's guidance on [contract manufacturing quality agreements](https://www.fda.gov/media/86193/download) (2016) says "the owner's quality unit is legally responsible for approving or rejecting drug products manufactured by the contract facility, including for final release." That guidance covers commercial CGMP manufacturing and excludes investigational and clinical-trial materials – so bringing quality into a supplier evaluation earlier is our recommendation, not a legal rule for every purchase. In [ISR's tracking of CDMO selection criteria](https://isrreports.com/tracking-evolution-cdmo-selection-criteria-biologic-drug-substance-manufacturing/) for biologic drug-substance manufacturing (published 2025, results 2020–2023, mainly large and midsize biopharma in North America and Western Europe; sample size not stated), reliable on-time delivery and capacity rose to the top "Most Important" attributes by 2023. - **Clinical services.** For clinical-trial service providers, [ICH E6(R3)](https://database.ich.org/sites/default/files/ICH_E6%28R3%29_Step4_FinalGuideline_2025_0106.pdf) (2025) says "The sponsor is responsible for assessing the suitability of and selecting the service provider to ensure that they can adequately undertake the activities transferred to them." In a [study of 18 large German pharma companies](https://pmc.ncbi.nlm.nih.gov/articles/PMC5278541/) (Hennig et al., 2017), the departments involved in choosing a preferred provider were procurement, quality management and clinical research. And in [ISR's report in Life Science Leader](https://www.qgdigitalpublishing.com/article/Preferred+Provider+Agreements+At+Small+%26+Emerging+Sponsors/4366460/765171/article.html) (November 2022; 58 respondents from small and emerging sponsors), 9% of those respondents reported formal preferred-provider agreements for Phase 2/3 services, against 84% of respondents from large sponsors ($1B+ annual R&D spend). - **Lab instruments.** In [Lab Manager's reader survey](https://www.labmanager.com/2022-purchasing-trends-survey-29284) (2022), a new technology purchase "is typically initiated by the lab manager or primary researcher making a request or proposal". To map everyone else around a deal, see [how to map a B2B buying committee](/guides/b2b-buying-committee). ## Stage changes who you talk to At a 15–20-person spin-out, the founders and the chief scientific officer usually are the evaluators – and LinkedIn's decision-maker list, which is ranked by seniority, is the right list to read. At a 150-person biotech the same list returns the CEO, CSO, chief medical officer and CFO first, while the people who will run your project sit a level or two below. That is why the run above searches each company's employees by function title instead. ## Conference windows Meetings give you a dated reason to look. The next ones, per their organisers: [ASHG 2026](https://www.ashg.org/meetings/future-past/) ran October 20–24 in Montreal, and ASHG 2027 is October 26–30 in Nashville; [SLAS2027](https://www.slas.org/events-calendar/slas2027-international-conference-exhibition/) runs January 30 – February 3 in San Diego; [AACR 2027](https://www.aacr.org/meeting/aacr-annual-meeting-2027/) April 2–7 in Orlando; [BIO 2027](https://convention.bio.org/) June 7–10 in Philadelphia. In the organiser's [SLAS2027 exhibitor prospectus](https://www.slas.org/SLAS/assets/File/public/events/slas2027/SLAS_134_QLIFKKZU_105_SLAS_Prospectus_FINAL.pdf.pdf#page=8), 25% selected sourcing new suppliers as an objective; the sample size is not stated. Here is the same idea for a genomics-tools or bioinformatics vendor, a few weeks after ASHG: **You:** Find posts from the past month that mention ASHG by people who work in Biotechnology Research. Keep authors whose headline says genomics, sequencing, bioinformatics or computational biology; open each profile and tell me what they presented or said they were looking for. Draft nothing yet. **Agent** (used Linked API: search_posts, fetch_person ×21): - "ASHG", past month, author industry Biotechnology Research, up to 50: 50 posts - post text and date checked: 29 mention ASHG 2026 within the window – LinkedIn widens narrow searches, so the rest didn't match - 24 of those by people rather than company pages, deduplicated to 21 profiles; all 21 pass the headline check - current company and recent posts 21 people whose own posts mention ASHG 2026. 7 said they presented a talk or poster, 3 said they were looking for something specific. Nothing drafted. The first rows: | Person | Headline | What the post says | Company (from the profile) | Connection | | --- | --- | --- | --- | --- | | Dana S. | Senior Scientist, Computational Genomics | Said she presented a poster on long-read variant calling | Brightwater Bio | 2nd | | Marco L. | Director, Bioinformatics | Said the team is looking for a better way to manage sequencing data at scale | Lumen Therapeutics | 3rd+ | | Aisha K. | Sequencing Lab Manager | Said she gave a talk on single-cell workflows | Harborline Bio | 2nd | *Example run, fictional people. A post that mentions a meeting is context – not proof of attendance or of a plan to buy – and there is no conference attendee list to read. The agent runs the search when you ask; nothing watches automatically yet.* For a CDMO the same window is BIO; for an oncology tools vendor, AACR. More on how post search behaves is in the [LinkedIn post scraper guide](/guides/linkedin-post-scraper). ## Bring your own triggers Funding rounds, trial registrations and phase changes, grants and publications are what this market watches – and Linked API does not supply any of them. Bring the company names from your own sources, such as Crunchbase, ClinicalTrials.gov or NIH RePORTER. The agent finds each company's LinkedIn page – check the headquarters and industry, because namesakes exist – and runs the same team read. Hiring is a hint you can read on LinkedIn. A process-development or quality-control posting can mean a programme moving toward the clinic – or a backfill, or a team building in-house what it used to outsource. Treat it as a reason to look, never as a claim. The [LinkedIn jobs guide](/guides/linkedin-jobs-scraper) covers job search itself. ## "Won't every AI note sound the same?" Salesmotion warns that biotech buyers get "dozens of AI-generated messages, all referencing the same LinkedIn profile data". It is a fair warning, and the run above is built around it: - **The note hangs on what the person wrote** – a recent post or a stated process problem – plus your specific case, not on a headline anyone could read. - **Rows with nothing specific are held**, not filled with a generic compliment. - **You approve every note** before it goes. Agent research for life-science sellers is not new – Succession publishes agent guides for it, and Miniloop's life-sciences playbook covers LinkedIn targeting and note rules. What this guide adds is the concrete run on your own LinkedIn account, with held rows and approval built in. ## What to send, and when to follow up Keep the first note short and about their work, with one line of your proof. Patterns by supplier type – editorial guidance, filled with your own facts: - **CDMO:** "Saw your post on [process step]. We took [a comparable company] from [starting point] to [milestone]; happy to compare notes." - **CRO:** "Noticed [their programme or post]. We recently ran [a comparable study]; glad to connect." - **Instruments and reagents:** "Your talk on [topic] at [meeting] was interesting – we work with labs doing [the same method]." - **Software:** "Saw you're scaling [data or workflow problem]. We helped [a comparable team] with [result]." Follow up once, after a per-person check: have the agent load that person's conversation once, then read it before you write again. An empty result means nothing has been captured yet – not that they didn't reply. One follow-up is this guide's workflow, not a rule from data. More note patterns are in the [connection request message guide](/guides/linkedin-connection-request-message), and [lead qualification](/guides/lead-qualification) covers what to do with a reply. Expect a long road. Public companies selling instruments and software into this market describe it in their annual reports – [Schrödinger](https://www.sec.gov/Archives/edgar/data/1490978/000149097826000010/sdgr-20251231.htm): "our sales cycles can be as long as nine to twelve months or longer"; [Veeva](https://www.sec.gov/Archives/edgar/data/1393052/000139305226000014/veev-20260131.htm): "may span 12 months or longer". Those are their words about their own sales, not a benchmark. ## What this does not do - **Funding, pipeline and trial data** – no funding rounds, trial phases or IND status. - **Publications, patents and grants** – none; neither conference speaker nor attendee lists. - **Technographics** – which instruments, LIMS or ELN a lab runs, or which CRO or CDMO it already uses. - **Emails and phone numbers** – none. - **Site-level location** – company search matches headquarters only. - **Automatic watching** – signals are coming soon, not available yet; you re-run searches yourself. - **Sequences** – no scheduled follow-ups or automatic stop on reply. ## Frequently Asked Questions (FAQ) #### How do CDMOs and CROs find new clients? Through referrals, partnering meetings, conferences and outbound. LinkedIn helps with the outbound part: finding the people who evaluate your service at each company and reading what they work on before you write. #### Who should I contact at a biotech company? It depends on what you sell. For manufacturing, process development, CMC and technical operations, with quality brought in early; for clinical services, clinical operations and outsourcing; for instruments, the lab manager or principal investigator. At a small spin-out, the founders. #### Is LinkedIn useful for reaching scientists? Many scientists keep a LinkedIn profile, but how active they are varies, and bench scientists tend to post less than business development and leadership. Expect some held rows, and lean on people who do post. #### How long is the sales cycle when selling to biotech? Schrödinger describes software sales cycles of nine to twelve months or longer; Veeva says a new-customer sales cycle may span 12 months or longer. These are company-stated examples, not a benchmark for selling to biotech. #### Do I need Sales Navigator? Not for the runs above – they use standard LinkedIn search. Sales Navigator adds options such as several job titles in one employee search and revenue filters. #### How many personalised connection requests can I send on LinkedIn? On a free account, up to three a month can carry a personalised note, each up to 200 characters; Premium members can add a note to every invitation. An older LinkedIn help page still says five. #### What does "lead generation" mean in drug discovery? In drug discovery, "lead generation" is the hit-to-lead stage of finding candidate molecules – a different topic from this guide. ## Build it in, or hand it to an agent Get it out of the box: connect the [MCP server](/mcp/overview), the agent-friendly [CLI](/cli/getting-started) or a ready-made [skill](/skills), and ask in plain language. Or build it into your own tools with the REST API, the Node and Python [SDKs](/sdks/installation) and the shell CLI. Either way it runs on your own LinkedIn account. Plans are flat per seat, from $49/mo billed annually – see [pricing](/pricing). For the general agent prospecting loop, see [AI sales prospecting on LinkedIn](/guides/ai-sales-prospecting-linkedin). *Facts verified November 6, 2026 – regulatory text, survey findings, annual-report statements and conference dates checked against the cited FDA, ICH, ISR, Lab Manager, SLAS, AACR, BIO, ASHG and SEC pages; Miniloop, Succession and Salesmotion pages read on that date.* ## MSP Lead Generation: How Managed Service Providers Find Clients on LinkedIn In MSP lead generation, referrals are the largest reported channel; outreach adds another route. LinkedIn's job is the research behind that outreach: the businesses in your niche and radius, the person who decides at each – usually the owner or office manager below about 50 staff – and a note that gives them a reason to switch. Then you pick up the phone. One caveat up front: owners and office managers of small practices are often thin on LinkedIn. At some businesses you will find only the owner, and a few will show no one at all. > **The short version.** Referrals are the biggest reported channel. Outreach adds another route, and LinkedIn is where you research it. Route by size: at small businesses a business person decides on IT; once there is an IT manager, offer to work alongside them. Assume they already have an MSP – write about what makes people switch, not "do you need IT support?". LinkedIn gives you names and context, not phone numbers, so the call is still yours. An AI agent can do the reading on your own LinkedIn account and draft notes you approve before anything is sent. ## LinkedIn lead generation for MSPs: research one niche in one radius The agent works through [Linked API](/) on your own LinkedIn account, in a real cloud browser at a human pace – Linked API never stores your password. Connect it through the [MCP server](/mcp/overview) in Claude, ChatGPT or Cursor, give a coding agent the agent-friendly [CLI](/cli/getting-started), or install ready-made [skills](/skills); the [LinkedIn AI agent guide](/guides/linkedin-ai-agent) covers the setup. Here is one niche – dental practices – in one radius: **You:** We're a 12-person MSP in Columbus, Ohio. Three of our clients are dental practices – for one, we moved a four-chair practice in Dublin off break-fix support last year. Find dental practices headquartered around Columbus with 11–50 or 51–200 employees, using the keyword "dental". At each, find the owner and the office manager or practice administrator, check whether I'm connected, read their recent posts, and draft a connection note under 200 characters – only from what their profile shows and what I've told you. Don't send anything. **Agent** (used Linked API: search_companies, fetch_company ×8, fetch_company ×8, fetch_company ×8, fetch_person ×11, check_connection_status ×11): - keyword "dental", industry Dentists, headquartered around Columbus, 11–50 and 51–200 employees: 8 practices - decision makers, ranked by seniority - employees titled "office manager" - employees titled "practice administrator" - profile and recent posts of the 11 people found at 7 practices - 2 already connected 8 practices; 11 people found at 7 of them. 9 notes drafted, 2 people you're already connected to, 1 practice held. Nothing has been sent. The first rows: | Practice | On LinkedIn | Person | Title | Connected? | What the note mentions | | --- | --- | --- | --- | --- | --- | | Brightview Family Dental | 14 members | Karen L. | Office Manager | No | Her role running the front office; your Dublin practice | | Brightview Family Dental | 14 members | Dr. Maya R. | Owner | No | Her post about opening a second location; your Dublin practice | | Scioto Smiles Dental Group | 31 members | Dr. Alan P. | Founder | Yes | Already connected – message instead | | Scioto Smiles Dental Group | 31 members | Renee T. | Practice Administrator | No | Her post about switching scheduling software | | Clintonville Dental Studio | Unknown (0) | Dr. Sam K. | Owner | No | Owner row only – no matching office-manager or practice-administrator profile found in these searches | | Westerville Dental Care | 6 members | – | – | – | Held – no matching profiles found in these searches | *Nothing goes out until you approve.* *Example run, fictional practices and people. LinkedIn's member count can understate a small office, and 0 means unknown. Company search matches headquarters only, so a group based elsewhere is missed; if LinkedIn doesn't offer the Dentists label in a search, the agent falls back to Medical Practices plus the keyword. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* One of the drafts, for Karen at Brightview: > "Hi Karen – saw you run the front office at Brightview. We're a Columbus MSP; last year we moved a four-chair Dublin practice off break-fix IT. Happy to connect." The note uses two things only: her title from the profile and the client story you supplied. Where the agent found nothing to go on, it held the row instead of guessing. The decision-maker list is ranked by seniority, which at a 20-person practice usually surfaces the owner; the office manager needs her own title search. For other niches, copy the exact labels from the [LinkedIn industry list](/guides/linkedin-industry-list) – Law Practice, Accounting, Construction and so on. ## Where MSP clients come from Ask buyers rather than MSPs and referrals still lead. In JumpCloud's [survey of 900 IT decision makers](https://jumpcloud.com/wp-content/uploads/2025/01/SME-IT-Trends-Q1-2025-Accessible-1.pdf) at organisations of up to 2,500 employees in the US, UK and Australia (November 2024), "Most commonly, organizations find their MSP partners through recommendations (45%), followed by an online search (37%), and the MSP reaching out (17%)". That last group matters for outreach – and so does what the prospect already has. In Kaseya's [survey of 1,061 MSPs](https://www.kaseya.com/assets/downloads/resources/Kaseya_2026-State-of-the-MSP_report_2026.pdf) (November 2025), about a third said their new clients are mainly competitive takeaways and nearly half a mix of switchers and first-timers; "Only a small minority say that most new clients are outsourcing to an MSP for the first time." Switching prospects are common, so plan your outreach around them. | Channel | What it gives you | Where LinkedIn helps | | --- | --- | --- | | Referrals and existing clients | The warmest introductions | Notice when a contact at a client moves to a new company – a warm name at a new account | | Partners – accountants, insurance brokers, vendors | Introductions to their clients | Find the partner firms in your radius by industry and the person who runs each | | Online search and your website | Businesses already looking | Not LinkedIn's job | | Outreach – calls, email, LinkedIn | Businesses that are not looking yet | The research: who decides, what they post, whether you are already connected | | Local events and business groups | Face time | Look up the people you met and connect with a note about the conversation | ## Who signs for managed IT – a starting map by company size Who you write to depends mostly on whether the business has its own IT staff. In SMB Group's [survey of 738 US small and midsize businesses](https://www.smb-gr.com/wp-content/uploads/2024/08/2024-SMB-Buying-Journey-Final.pdf) (June 2024, sponsored by Dell Technologies and SAS), "81% of SMBs with 50+ employees have FT IT staff; in businesses with less than 50 employees, 21% have FT IT staff". That survey measures who has IT staff, not who signs, so treat the routing below as common practice – a place to start, not a rule: | Company size | Who usually decides | Who to reach first | What tends to matter to them | | --- | --- | --- | --- | | Under about 50 staff, usually no full-time IT | The owner or managing partner | The office manager or practice administrator who fields the IT problems day to day, then the owner | Things that keep breaking, one number to call, predictable cost | | About 50–200 staff, usually an IT manager | The IT manager or director, with the owner or CFO signing | The IT manager | Help-desk overflow, after-hours cover, projects the team cannot staff – the co-managed conversation | Guides from Fox & Crow and Cleanlist use similar maps; the title list is shared ground. At the larger end several people weigh in – see [how to map a B2B buying committee](/guides/b2b-buying-committee). ## What to say when they already have an MSP Most of the people you write to already have someone doing their IT, so "do you need IT support?" misses. Write to the reasons businesses leave. In JumpCloud's [survey of 612 IT decision makers](https://jumpcloud.com/wp-content/uploads/2024/08/Your-Route-To-Positive-Client-Interactions-An-SME-IT-Trends-Q324-Special-Report.pdf) in the UK and US (June 2024), cost was the most common reason for leaving an MSP – "This was the reason that 28% of SMEs stopped using MSPs: it became too expensive." – and "Nearly a quarter (23%) of SMEs have ended their relationship with an MSP due to poor customer service or a bad experience with their account or sales team." Another 26% had outgrown their MSP's services. Three patterns that follow from that – editorial guidance, filled with your own facts: - **Cost:** "If you ever want a second opinion on what you pay for IT, happy to send one – we look after [number] [niche] practices in [city]." - **Service:** "We took over IT for [a similar client] last year after [the problem you solved]. If response times ever bother you, happy to compare notes." - **Growth:** "Saw [practice] is opening a second location – that's often when the current setup starts to strain. We set up [a client]'s second site last year." On a free LinkedIn account, only up to three connection requests a month can carry a personalised note, each up to 200 characters; Premium members can personalise every invitation ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a563153); an older help page still says five). So most invitations go without a note – write after they accept. More note patterns are in the [connection request message guide](/guides/linkedin-connection-request-message). ## Co-managed IT: find the internal IT manager Above about 50 staff the business often has its own IT person, and the opening is to work alongside them. In [TechTarget's description](https://www.techtarget.com/news/Co-managed-IT-support-sees-demand-in-the-remote-work-era/847940/) (2021), co-managed IT "lets MSPs target customers that have in-house IT staff", and "the customer's IT department generally offloads pieces of the IT infrastructure to the MSP while maintaining full control of other elements". Of one MSP's clients, the same article notes: "Customers tend to offload tier 1 and afterhours support to the MSP." A job posting for IT support is one way to find those teams: **You:** Find IT support specialist and systems administrator jobs located in Ohio, posted in the past month. Open each posting, check each employer is a 51–200-employee company on LinkedIn, and find its IT manager or IT director. Draft a short note offering after-hours and help-desk cover alongside their team. Don't send anything. **Agent** (used Linked API: search_jobs ×2, fetch_job ×12, search_companies ×9, fetch_company ×5, fetch_company ×5): - "IT support specialist" and "systems administrator", located in Ohio, past month: 12 postings - employer page, posting date and location – 9 distinct employers, all posted within the month - each employer's name, 51–200 employees: 5 match the posting's company page, 4 held - employees titled "IT manager" - employees titled "IT director" - IT leads found at 4 of the 5 companies; 4 drafts written 12 postings from 9 employers; 5 confirmed at 51–200 employees on LinkedIn; IT leads found at 4. Nothing has been sent. The first rows: | Company | Role posted (location) | IT lead found | Note angle | | --- | --- | --- | --- | | Hartwell Fabrication | Systems Administrator (Dayton) | Mark J., IT Manager | After-hours cover while he hires | | Maple Ridge Logistics | IT Support Specialist (Columbus) | Priya S., IT Director | Help-desk overflow during the Microsoft 365 move the posting mentions | | Cedar Point Insurance Group | IT Support Specialist (Toledo) | – | Held – no matching IT-manager or IT-director profile found in these searches | | Brookfield Senior Living | Systems Administrator (Akron) | – | Held – not found in the 51–200 band | *Nothing goes out until you approve.* *Example run, fictional companies and people. These are employers advertising roles located in Ohio – a posting's location is the role's, not the headquarters. A posting is a hint, not proof: the company may be building its own team or already work with an MSP. An IT manager suggests a co-managed conversation, not how they buy.* The size check runs through company search on purpose: the member count a company page shows can understate a small office, so it is not used to confirm the 51–200 band. The agent also checks each posting's own date, because on LinkedIn's AI-powered job search some filters are skipped rather than applied. For more on job search itself, see the [LinkedIn jobs guide](/guides/linkedin-jobs-scraper). ## "Isn't researching every company a waste?" Fox & Crow, which coaches MSP sales teams, makes the case against it in its MSP lead generation guide, writing of AI: "Don't use it to research every company before you call, and don't let it fill in data your source never had." Their objection prices a rep's time – minutes of reading before every dial. - **The reading moves off the rep.** The agent reads the profiles and posts; the rep reviews one table and makes the call. - **Their second rule is ours too.** Drafts use only what the agent fetched and what you told it; when the data is missing, the row is held, never filled in. - **Research only the accounts that pass your filter.** Niche, radius and size come first, so the agent reads a short list, not a whole state. ## From a reply to a call This guide's workflow is one follow-up, after a per-person check: have the agent load that person's conversation once, then read it before writing again. An empty result means nothing has been captured yet – not that they didn't reply. One follow-up is a choice, not a finding. Expect a long road after that. In an [MSP Success reader survey](https://mspsuccess.com/inside-the-client-acquisition-playbook-msps-share-their-secrets/) (published with Kaseya branding, December 2025; the sample size is not disclosed), "For 70% of MSP Success survey respondents, that takes 3-6 months" – from lead to paying customer. When someone replies, take it off LinkedIn. You know the person's name, role and practice; the phone call, the site visit and the proposal are yours. To decide which replies are worth that call, see [lead qualification](/guides/lead-qualification). ## What this does not do - **Phone numbers and emails** – none; MSP sales runs on calls, and the call needs a number from elsewhere. - **The prospect's current MSP, stack and contracts** – no Microsoft 365 or Google Workspace, firewall or backup details, renewal dates, compliance or cyber-insurance status. - **Local directories** – Google Business Profile, chambers of commerce and state licensing boards are outside LinkedIn. - **Branch offices** – company search matches headquarters only. - **Sequences** – no scheduled follow-ups or automatic stop on reply; the agent checks the conversation before each follow-up you ask for. - **Signals** – automatic alerts on job changes or posts are coming soon, not available yet. - **Thin or private profiles** – what a person doesn't show on LinkedIn, the agent can't read. ## Frequently Asked Questions (FAQ) #### How do MSPs get clients? Referrals and existing clients are the biggest reported source, followed by online search and outreach. LinkedIn helps with the outreach part: finding the businesses in your niche and radius, the person who decides at each and a reason to write. #### Does LinkedIn work for MSPs, or is it just spam? It works as research plus a short, relevant note to the right person – not as mass invitations. LinkedIn's own rules say: "Do not use our invitation feature to send promotional messages to people you don't know or to otherwise spam people." ([Professional Community Policies](https://www.linkedin.com/legal/professional-community-policies)) #### Who should an MSP target at a small business? Below about 50 staff, the owner or managing partner, usually reached through the office manager or practice administrator who deals with IT day to day. Once there is an IT manager, start with them and offer co-managed help. #### How many personalised connection requests can I send on LinkedIn? On a free account, up to three a month can carry a personalised note, each up to 200 characters. Premium members can add a note to every invitation, though connection request limits still apply. #### Do I need Sales Navigator? Not for the runs above – they use standard LinkedIn search. Sales Navigator adds options such as revenue bands and several job titles in one employee search. #### Where does LinkedIn fit in an MSP sales process? At the start: finding the right businesses and people, and the first touch. Discovery, the assessment, the proposal and the close stay with you. #### What's the difference between MSP and MSSP lead generation? MSSPs sell security, usually to IT directors and security leaders; MSPs sell managed IT, often to business owners and office managers. For the security side, see [cybersecurity lead generation](/guides/cybersecurity-lead-generation). ## Build it in, or hand it to an agent Get it out of the box: connect the [MCP server](/mcp/overview), the agent-friendly [CLI](/cli/getting-started) or a ready-made [skill](/skills), and ask in plain language. Or build it into your own tools with the REST API, the Node and Python [SDKs](/sdks/installation) and the shell CLI. Either way it runs on your own LinkedIn account. Plans are flat per seat, from $49/mo billed annually – see [pricing](/pricing). For the general agent prospecting loop, see [AI sales prospecting on LinkedIn](/guides/ai-sales-prospecting-linkedin). The same approach for other buyers: [lead generation for software development companies](/guides/software-development-lead-generation) and [how freight brokers find shippers](/guides/how-to-find-freight-shippers). *Facts verified November 6, 2026 – survey figures and quotes checked against the cited JumpCloud, Kaseya, SMB Group, MSP Success, TechTarget and LinkedIn Help pages; Fox & Crow's and Cleanlist's MSP guides read on that date.* ## Cybersecurity Lead Generation: Reaching CISOs and IT Leaders on LinkedIn Cybersecurity lead generation on LinkedIn means finding the organisations you can help, the security or IT leader at each one and a real reason to write – then sending a short, specific note backed by a case study, not a fear pitch. Security buyers lean on peers, analysts and events, so LinkedIn works best as research and a warm introduction rather than a volume channel. > **The short version.** Pick sectors where you already have proof – a case study from a similar organisation is what security buyers look for. Target by company size: at smaller organisations an IT director often decides, at large ones the CISO or head of security. Use LinkedIn for research and introductions, not volume: the organisation, the right leader, what they post, and a short note. Treat timing signals as hypotheses – a security job posting or a new security leader is a reason to look, not proof of a purchase. An AI agent can do the research on your own LinkedIn account and draft notes you approve before anything is sent. ## A worked run: researching hospital security leaders with an AI agent The agent works through [Linked API](/) on your own LinkedIn account, in a real cloud browser at a human pace – Linked API never stores your password. Connect it as a custom connector in Claude (no code), through the [MCP server](/mcp/installation) in any MCP client, or with the agent-friendly [CLI](/cli/getting-started); the [LinkedIn AI agent guide](/guides/linkedin-ai-agent) covers the setup. **You:** We're an MSSP. Our case study: after a merger, we consolidated a regional hospital group's security tools and took over its 24/7 monitoring. Search for hospitals and health care organisations headquartered in Ohio with 201 to 1,000 employees, using the keyword "health". At each, look for a CISO, a director of information security or an IT director, check whether I'm connected, read their recent posts and draft a connection note under 200 characters tied to our case study – only from what their profile shows. Send nothing. **Agent** (used Linked API: search_companies, fetch_company ×36, fetch_person ×10, check_connection_status ×10): - keyword "health", Hospitals and Health Care, headquartered in Ohio, United States, 201–500 and 501–1,000 employees: 12 organisations - three title passes per organisation – "CISO", then "security", then "IT director" - current role and recent posts of the matching leaders - 1 already connected From these keyword and title searches – a sample, not every hospital in Ohio or every security role – 10 leaders at 9 organisations; 3 organisations had no matching title. 9 notes drafted, 1 person you're already connected to. Nothing has been sent. Three of them: | Organisation | Person and title | From the profile | Draft note | | --- | --- | --- | --- | | Lakeshore Community Health | Dana P., Director of Information Security | Posted about consolidating security tools after a merger | "Hi Dana – saw your post on consolidating tools after the merger. We helped a regional hospital group through the same; happy to connect." | | Valley Regional Medical Center | Tom R., IT Director, 2 years in the role | Posted about a new patient-records rollout; already connected | Message instead of a connection request | | Maple Grove Hospital | – | No matching title found in these searches | Held – try the CIO or the compliance lead | *Nothing goes out until you approve.* *Example run, fictional organisations. On a free LinkedIn account only a few invitations a month can carry a note – see below. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* The agent searches each organisation's employees by title rather than using LinkedIn's decision-maker list, which is ranked by seniority – at a hospital that puts the CEO and CFO first, not the security team. Every result is a sample of what these searches return; a different keyword or title finds different people. ## Where cybersecurity vendors and MSSPs find customers | Channel | What it takes | What LinkedIn adds | | --- | --- | --- | | Peer referrals and past customers | Happy customers willing to introduce you | Who your customers know at other organisations | | Industry analysts | Briefings, evaluations, time | – | | Industry events and networking groups | Travel, sponsorship, a calendar | Who to meet before the event and who to follow up with after | | Vendor and channel partner programmes | A partnership with the platforms your buyers already run | The partner and reseller teams to talk to | | Content and trade media | Research, articles, a point of view | Where the security leaders you target read and comment | | LinkedIn outbound | Your account, a sector with proof, time each week | Named leaders, their posts and a first touch | | Cold email and phone | A list with contact data | The right name and a reason to call | Where buyers actually hear about vendors matters for how you use LinkedIn. In The Hoffman Agency's [survey of 500 cybersecurity decision makers](https://ccgrouppr.com/wp-content/uploads/2026/06/Fast-decisions-high-stakes-2026-6262.pdf) (fieldwork by Coleman Parkes, April 2026), the top sources of vendor awareness were direct peers (35%), industry analysts (32%) and industry events (28%); paid vendor campaigns on LinkedIn came in at 15%. When choosing a vendor, 87% said "Evidence of delivering for similar businesses" had a high or medium impact. Most respondents were IT and security managers – CISOs were 4% of the sample – but the direction is clear: LinkedIn is a weak discovery channel and a strong research channel. Use it to find the right person and arrive with proof. ## Pick sectors where you have proof Start where a case study already speaks for you. The hook in the third column is your knowledge, not something LinkedIn shows – LinkedIn has no compliance data. | Target sector | LinkedIn industry labels | The hook you bring | Your proof | | --- | --- | --- | --- | | Hospitals and health care | Hospitals and Health Care; Hospitals; Medical Practices | Patient-data obligations | A similar provider | | Banks and insurers | Banking; Financial Services; Insurance; Insurance Carriers | DORA, in application since 17 January 2025 for EU financial entities ([EIOPA](https://www.eiopa.europa.eu/digital-operational-resilience-act-dora_en)); the SEC's cyber incident disclosure rule for US public companies ([SEC](https://www.sec.gov/newsroom/press-releases/2023-139)) | A similar bank or insurer | | Defence suppliers | Defense and Space Manufacturing | The CMMC rule, effective 10 November 2025 ([Federal Register](https://www.govinfo.gov/content/pkg/FR-2025-09-10/html/2025-17359.htm)) | A similar supplier | | Retail and e-commerce | Retail; Online and Mail Order Retail | PCI DSS v4.x requirements in effect since 31 March 2025 ([PCI SSC](https://blog.pcisecuritystandards.org/now-is-the-time-for-organizations-to-adopt-the-future-dated-requirements-of-pci-dss-v4-x)) | A similar retailer | | EU essential services | Utilities; Electric Power Generation; Telecommunications | NIS2, which member states had to transpose by 17 October 2024 ([European Commission](https://digital-strategy.ec.europa.eu/en/policies/nis2-directive)) | A similar operator | All of these deadlines have passed, so treat them as context the buyer already lives with, not a countdown. There is no "Cybersecurity" or "Information Security" industry on LinkedIn; security vendors usually sit under Computer and Network Security or Data Security Software Products, which is useful for partner research rather than for finding buyers. Every current label is in our [LinkedIn industry list](/guides/linkedin-industry-list), and tiering the accounts you choose is covered in [account-based selling](/guides/account-based-selling). ## Which security titles to target, by company size Who decides depends on size. In ActualTech Media and the Cybersecurity Marketing Society's survey of 327 US senior security professionals (late 2023; the publisher notes it is not a professional research firm): | Company size | Who usually decides | Who else to know | | --- | --- | --- | | Under 500 employees | IT management; the CEO or CFO is also a common final decision maker | IT director or IT manager | | 500–5,000 employees | Upper IT and security management | Head of security, director of information security, head of IT | | Over 5,000 employees | The CISO – 28% named the CISO as the final decision maker | VP or head of security, security operations, GRC and compliance leads | Security architects and engineering managers often evaluate the technical fit; that is common practice rather than a survey finding. Whatever the size, go to the security leader, not around them: in SC Media's reading of a Merritt Group report (2020, 53 participants), "attempting to circumvent the CISO and speak with a higher-level executive" was one of the top three turn-offs. Mapping the rest of the group is covered in our guide to the [B2B buying committee](/guides/b2b-buying-committee). ## The weekly LinkedIn loop for security sellers 1. **Pick a sector and a size band** where you have proof. 2. **Find the organisations** – a keyword plus the exact industry label, the size band and the headquarters location. 3. **Find the security or IT leader at each one, account-first** – search the organisation's employees by title. Don't copy the company's headquarters into a people search's location: that filter means where the person lives. 4. **Read the profile and recent posts** – time in the role, what they care about, anything you can refer to honestly. 5. **Check the connection** – already connected, invitation pending, or neither. 6. **Draft a short note** tied to one case study, and **approve it** yourself. 7. **Send** at a human pace, inside your account's limits. 8. **Before any follow-up, make sure that person's conversation has been loaded from LinkedIn, then read it.** Loading it once is enough – it keeps collecting new messages for a while. An empty inbox feed alone is never evidence that they did not reply. 9. **Follow up once**, and stop as soon as they reply. When a reply turns into a conversation, our [lead qualification checklist](/guides/lead-qualification) helps decide whether it is worth a call. ## Timing signals – and what they don't prove - **A security role posted.** A job search for "security engineer" or "CISO" in your region, then opening each posting for the company and the description. 100signals argues that "When a company posts for a CISO, security engineer, or GRC analyst, it signals a security budget unlock." Treat it as a reason to research, not proof of a purchase. Job-search filters are applied on a best-effort basis, and Linked API's job data does not include the hiring team. Our [LinkedIn jobs guide](/guides/linkedin-jobs-scraper) covers job search in detail. - **A new senior hire at an account.** Sales Navigator alerts can report that a target account hired a senior decision maker. The alert says "senior hire", not "security leader", so open the profile and check the title. It needs Sales Navigator, and nothing watches for it automatically. - **A past contact's new role.** Re-read the profiles of security leaders you already know; a move to a new organisation is a natural reason to reconnect. - **What they post.** A post about an audit, a migration or a hiring push is context for your note, not intent data. The wider set of signals, and how to route each one, is in our guide to [LinkedIn buying signals](/guides/linkedin-buying-signals). ## What to send: a short note and one follow-up Security leaders get a lot of vendor outreach, and the advice from the people receiving it is consistent: - **No fear and no absolutes.** Gary Hayslip, quoted by CyberTheory: "don't waste a CISOs time stating you do 100% coverage, 100% remediation, or 100% capturing of anything." - **Do the research and name one problem.** Ian Thornton-Trump, CISO at Inversion6, told [ISMG](https://www.bankinfosecurity.com/ciso-inbox-sales-funnel-a-31891): "Don't send me a voice note on LinkedIn. Do not suggest that we've met when we really haven't," and advised: "Think about who the person is, do the research, and then come to me with what is the one business problem". - **Lead with proof from a similar organisation** – a factor 87% of respondents in the Hoffman survey above rated as having a high or medium impact. Two example notes, under 200 characters: - "Hi Priya – your post on SOC staffing hit home. We run detection for two regional banks with similar teams; happy to share what changed for them." - "Hi Marcus – congrats on the new role. We helped a hospital group your size through a security tool consolidation; would be glad to connect." LinkedIn's own rules set the limits. Its [help page on invitations](https://www.linkedin.com/help/linkedin/answer/a563153) says "You can add a personalized message to up to three connection requests per month" and "Each message can be up to 200 characters", while Premium members can personalise every invitation; an [older help page](https://www.linkedin.com/help/linkedin/answer/a550555) says five, so LinkedIn's pages disagree. On a free account, send the rest without a note and write once they accept. Before the one follow-up, make sure that person's conversation has been loaded and read it, and stop as soon as they reply. More note examples are in our guide to [LinkedIn connection request messages](/guides/linkedin-connection-request-message). ## For MSSPs and channel sellers The same loop works for managed security service providers, pointed at IT directors and IT managers at smaller organisations, where IT management often makes the call. For managed IT – help desk, devices, Microsoft 365, co-managed IT – see [MSP lead generation](/guides/msp-lead-generation). For partner research – the vendors whose platforms you resell or manage – search companies under Computer and Network Security or Data Security Software Products. ## What this does not do - **No security data.** No breach intelligence, compliance status, security stack or intent data. - **No contact data.** No emails or phone numbers. - **No sequences.** No CRM write-back unless you build it, no multi-step sequencer and no automatic stop on reply. - **No automatic signal watching.** Sales Navigator alerts and job searches are things you or the agent check, not feeds that watch for you. LinkedIn's filters and limits still apply, and keeping your account in good standing is part of the job. LinkedIn's [Professional Community Policies](https://www.linkedin.com/legal/professional-community-policies) say: "Do not use our invitation feature to send promotional messages to people you don't know or to otherwise spam people." Keep the pace human and the volume small – a sector with proof and a handful of well-researched notes a week. ## Frequently Asked Questions (FAQ) #### How do cybersecurity companies generate leads? Mostly through peers, analysts, events, partner programmes and content, with outbound on top. LinkedIn works best as the research and introduction layer: find organisations where you have proof, the right security or IT leader, and a specific reason to write. #### Should a cybersecurity vendor target the CISO or the IT director? It depends on size. At organisations under about 500 employees, IT management usually decides, and the CEO or CFO is also a common final decision maker; in larger ones, upper IT and security management or the CISO make the call. Go to the security leader first rather than around them. #### How do I reach a CISO on LinkedIn without being ignored? Do the research, refer to something real from their profile or posts, lead with a case study from a similar organisation, and name one business problem. Skip fear, absolute claims and pretending you have met. #### How do you sell cybersecurity without fear-based messaging? Lead with evidence – what you delivered for a similar organisation – and a specific problem the buyer is likely to have. Security leaders repeatedly say fear and "100% coverage" claims make them stop reading. #### Is a company hiring security engineers a good lead? It is a reason to look, not proof of a purchase. A security posting can mean a budget or a new project, or simply a replacement hire. Read the posting and the leader's profile before deciding to write. #### Should I buy a CISO email list? A list gives you addresses, not fit or timing, and it doesn't tell you why a leader would care this week. Linked API doesn't supply emails; it helps you find the right organisations and leaders on LinkedIn and write to them there. #### How do MSSPs find clients? The same way vendors do – referrals, partners, events and outbound – usually aimed at IT directors at smaller organisations. LinkedIn helps find the right person and arrive with a relevant case study. #### Can an AI agent do lead generation for a cybersecurity company? It can do the research: find organisations by industry and size, find the security or IT leader by title, read their profiles and posts, check connections and draft notes for your approval. The relationship and the selling stay with you. ## Build it in, or hand it to an agent Get it out of the box: connect the [MCP server](/mcp/installation), the agent-friendly [CLI](/cli/getting-started) or a ready-made [skill](/skills) – the MCP server and the CLI also cover job search and Sales Navigator alerts. Or build it into your own tools with the REST API, the Node and Python [SDKs](/sdks/installation) and the shell CLI. Either way it runs on your own LinkedIn account. Plans are flat per seat, from $49/mo billed annually – see [pricing](/pricing). The same loop for other buyers: [lead generation for software development companies](/guides/software-development-lead-generation) and [how freight brokers find shippers](/guides/how-to-find-freight-shippers). *Facts verified November 4, 2026 – survey figures, quotes and regulatory dates checked against the cited Hoffman Agency, ActualTech Media, SC Media, ISMG, CyberTheory, 100signals, European Commission, EIOPA, SEC, Federal Register and PCI SSC pages on that date.* ## Founder-Led Sales: Stages, First Hire and LinkedIn Outbound Founder-led sales is the stage when a startup's founder does the selling personally – finding the first customers, running discovery and closing deals – until the motion is repeatable enough to hand to a first sales hire. It is not the same as founder-led growth or founder-led marketing, which are about the founder's own audience as a growth channel rather than who does the selling. > **The short version.** Founder-led sales is a stage, not a company type: the founder works out who buys and why, then makes it repeatable. Hand it over when the motion is documented and repeatable – practitioners put the bar at dozens of qualified prospects and a steady win rate, as the sections below show. On LinkedIn, an AI agent can take care of the legwork – list building, profile research, draft notes, and checking acceptances and replies – on your own account, waiting for your approval before anything is sent. The conversations and the closing stay yours, and what the agent's runs leave behind becomes the handoff pack for your first sales hire. ## What is founder-led sales? The definition most pages build on comes from Pete Kazanjy's [Founding Sales](https://www.foundingsales.com/): "Founder Led Sales is the process by which startup founders discover, refine, and scale their product's initial sales motion. This includes the messaging, ideal customer profile, prospecting, sales materials, and more needed to close the first few dozen customers themselves, and then successfully hiring and onboarding early sales reps, before finally handing off this running sales machine to professional sales leadership." Three things follow from it: - **It is a stage with a handoff.** The founder sells first, then hires, then hands the running machine to sales leadership. The founder does not disappear from sales, though: Seth DeHart writes in [Growth Unhinged](https://www.growthunhinged.com/p/founder-led-sales-framework) that "at least one founder is the steward of revenue for the company. Forever." - **It is a learning job before it is a volume job.** The first customers teach you the messaging and the ideal customer profile; the volume comes later, from people you hire. - **The term is most associated with Kazanjy's book**, *Founding Sales*. Treat claims about who "coined" it with care – the pages that rank for it associate it with the book but do not name an inventor. ## A worked run: Monday's LinkedIn outbound with an AI agent Here is one week's outreach step, from a saved search to approved notes, plus a look back at last week. This example and the follow-up one [further down](#follow-ups-and-replies-without-a-sequencer) assume [network monitoring](/docs/monitoring-network) was on before the week they report on – switching it on collects new acceptances and does not backfill earlier ones. This one also reads the inbox feed, which holds only messages that arrived after [inbox monitoring](/docs/monitoring-inbox) was enabled; before any follow-up, the agent reads each person's own conversation instead, so an empty feed never counts as "no reply". **You:** Here's my saved Sales Navigator search and my ICP: heads of operations at logistics software companies in the US with 50–500 employees, who talk about manual processes. Find 20 people I'm not connected to yet, read their posts and comments from the last 30 days, and draft a connection note under 200 characters that refers to something they wrote – SKIP anyone with nothing specific. Then tell me who accepted last week's invitations and who replied. Send nothing until I approve. **Agent** (used Linked API: nv_search_people, check_connection_status ×20, fetch_person ×17, get_network, get_inbox): - 20 leads from the saved search URL - 3 already connected or with an invitation pending - current role, posts and comments from the last 30 days - invitations accepted in the last 7 days - messages received since last Monday 14 notes drafted and 3 people skipped with nothing specific to refer to. From last week: 4 people accepted and 2 replied. Nothing has been sent. Three of the 17: | Person | Why they fit | What they wrote | Draft note | | --- | --- | --- | --- | | Rachel T. | Head of Operations, 140-person freight software company | A post on moving carrier onboarding off spreadsheets | "Hi Rachel – your post on getting carrier onboarding out of spreadsheets hit home. Would be glad to connect." | | Marcus L. | VP Operations, route-planning software, 300 employees | A comment on what dispatch automation still gets wrong | "Hi Marcus – your comment on what dispatch automation still misses was sharp. Happy to connect." | | Priya D. | Head of Ops, warehouse software startup | Nothing in the last 30 days | SKIP – nothing specific to refer to | *Nothing goes out until you approve; then the agent sends the approved notes at a human pace on your own account.* *Example run. Sales Navigator search needs a Sales Navigator seat on the account and the Plus plan; a saved standard LinkedIn search works the same way. Assumes network and inbox monitoring were on all of last week – they collect new activity only. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* The agent works through [Linked API](/) on your own LinkedIn account, in a real cloud browser at a human pace – Linked API never stores your password. Connect it once and ask in plain language: as a custom connector in Claude (no code), through the [MCP server](/mcp/installation) in any MCP client, or with the agent-friendly [CLI](/cli/getting-started) in Claude Code or Codex. How agents connect to a LinkedIn account in general is covered in the [LinkedIn AI agent guide](/guides/linkedin-ai-agent). Why approve every note: it goes out under your name, to people you may sell to for years. LinkedIn allows 200 characters in a note on a free account and 300 on Premium, and it limits how many personalized notes an account can send – when that limit hits, the invitation can still go out without a note. What to write, and when to skip the note entirely, is in [LinkedIn connection request message examples](/guides/linkedin-connection-request-message); how many invitations are sensible per week is in the [connection limit guide](/guides/linkedin-connection-limit-2026). For a deeper version of the find-and-qualify step, see [AI for sales prospecting on LinkedIn](/guides/ai-sales-prospecting-linkedin). ## The stages of founder-led sales The most detailed stage model comes from a founder-led sales workshop [GTMnow](https://gtmnow.com/the-founder-led-sales-playbook/) ran with Pete Kazanjy and wrote up in March 2026: | Kazanjy's stage | What is true | What to work on | | --- | --- | --- | | **Stage 0 – Zero Customers, Zero Motion** | No customers and no process yet | "validated ICP and problem-pain calibration, not revenue" | | **Stage 1 – First Customers, No Playbook** | A few customers, nothing written down | "run 30 to 50 qualified prospects through your process, document every step, track your conversion rates at each stage" | | **Stage 2 – Proven Motion, First Hire** | "A win rate of 15 to 25% on qualified pipeline, a defined sales cycle, and a clear map of the buying group" | Hire the first rep and check that the motion transfers | | **Stage 3 – Repeatable Motion, Building Team** | "Two to four reps are running the motion consistently" | Bring in sales leadership; the founder's role "shifts from doing to enabling" | Kazanjy also splits the whole journey into two modes – figuring it out, then scaling it – and the write-up names the classic error: "The most common mistake founders make in sales is entering Scale mode before they have actually finished Figure It Out mode." The first list he recommends is "a spreadsheet of 75 to 100 target accounts that match your ICP hypothesis", and a minimum viable sales motion is "somewhere in the range of 30 to 50 qualified prospects run through your process, with 10 to 20 converting". Seth DeHart's framework in Growth Unhinged covers the same arc in six phases: finding early product-market fit, acquiring customers, the first sales hire(s), making it predictable, multiple sales hires and hiring a sales leader. All of these numbers are practitioner rules of thumb, not laws. ## How founders find a repeatable motion Before anything can be delegated, the founder has to find out what works. That is a loop, run with real buyers, and each turn should leave something written down: | Step | What the founder does | What it leaves behind | | --- | --- | --- | | 1. Hypothesis | Picks the customer and the problem to test | A one-paragraph ICP and the problem statement | | 2. First conversations | Starts with warm introductions, then reaches out to people who match the ICP | A list of conversations and where each one came from | | 3. Discovery | Asks how the buyer handles the problem today and what it costs them | Notes in the buyer's own words | | 4. Demo and next step | Shows the outcome that matters to this buyer and asks for a concrete next step | Next steps agreed or declined, and why | | 5. Update | Records objections, wins and losses, and changes the hypothesis | A revised ICP and pitch, and an objection log | The founder owns this loop because the learning is the point. Objections reach the person who can change the product, the price or the pitch the same day, and the pattern a first sales hire needs only exists once someone has written it down. Alex Kracov, CEO and co-founder of Dock, describes [his version](https://www.kracov.co/writing/founder-sales): he positioned each early call as a "feedback call", found many of them through introductions from investors and friends and through his own LinkedIn posts, and writes: "After every call, you need to look and think about how you can evolve the pitch." For deciding which leads are worth a conversation, see our [lead qualification checklist](/guides/lead-qualification); for preparing the call itself, [Claude for sales](/guides/claude-for-sales). The AI agent sections further down help with step 2 – the outreach – not with the learning. ## How long should a founder lead sales – and when to hire the first sales rep? There is no single answer, and the practitioners set the trigger differently: - **Kazanjy, as [Dock](https://www.dock.us/library/founder-led-sales) reports it,** "doesn't recommend transitioning until you have done at least 50 sales demos and have a repeatable win rate of 20% or higher". - **Jason Lemkin** of [SaaStr](https://www.saastr.com/the-founders-guide-to-transitioning-from-founder-led-sales-why-most-get-it-wrong-and-how-to-get-it-right/) puts the start of scaling "typically around $1M-$2M ARR" and says to bring on account executives first rather than a VP of Sales – then to get two AEs hitting quota before hiring a head of sales, around $2M–$3M ARR for sales-led companies. - **Seth DeHart** ties it to the process rather than a number: hire only once you have a "(roughly) repeatable sales process", and test it by asking: "Could you document the whole process and let someone else run it without your involvement?" - **On who to hire,** the GTMnow write-up of Kazanjy's workshop says: "Hire to execute the motion, not to discover it." The right first hire is "a high-ceiling, somewhat experienced seller". The common thread: hire when the motion exists and is written down, not when you are tired of selling. A rep brought in to discover the motion inherits the founder's hardest job without the founder's authority to change the product. And the founder does not leave sales entirely – as Lemkin puts it: "The goal isn't to remove yourself from sales entirely." ## Where a founder's week goes on LinkedIn For B2B founders, LinkedIn is often where step 2 of the loop happens – the outreach to people who match the hypothesis. Most of that work is legwork an AI agent can do on your own account, and some of it is judgement only you can make: | Step | What an AI agent can do | What stays with the founder | | --- | --- | --- | | Build the list | Run your saved LinkedIn or Sales Navigator search, or search by title, industry and location | Setting the ICP | | Research | Read each person's profile, current role and recent posts | – | | Avoid duplicates | Check whether you are already connected or have an invitation pending | – | | Write the note | Draft a short note that refers to something the person wrote | Approving every note | | Send | Send the approved invitations at a human pace, inside your account's limits | – | | Accepts and replies | Report who accepted and who replied | The conversation | | Follow up | Draft follow-ups after checking the inbox | Approving every follow-up | | Post | Publish or comment from a draft you approved | The voice and the opinion | | Calls, demos, pricing, closing | – | All of it | ## Follow-ups and replies without a sequencer Linked API has no sequencer and no automatic stop when someone replies. Each follow-up is a new run you approve, and the inbox check comes first: **You:** Draft a short follow-up for everyone who accepted my invitation in the last 7 days and hasn't written to me. Check the inbox first and skip anyone who already replied. Show me the drafts – don't send. **Agent** (used Linked API: get_network, sync_conversation ×6, get_inbox ×6, fetch_person ×4): - 6 invitations accepted in the last 7 days - each person's conversation loaded from LinkedIn (once per person) - each person's conversation read; 2 of the 6 already replied – left for you - current role and latest posts 4 follow-ups drafted. The 2 people who replied are waiting for you in the inbox. Nothing has been sent. Two of the drafts: | Person | Accepted | Draft follow-up | | --- | --- | --- | | Rachel T. | Tuesday | "Thanks for connecting, Rachel. Is carrier onboarding still the most manual step for your team, or has that moved on?" | | Dan K. | Thursday | "Thanks for connecting, Dan. Saw you're expanding the ops team – happy to compare notes on what you're automating first." | *The agent sends each approved follow-up as a single message; it does not schedule the next one.* *Example run. Assumes network monitoring was on for the whole 7 days – it collects new acceptances only. Replies are checked in each person's own conversation. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* Messages go only to people you are connected with. If you would rather be pinged than ask, Linked API can send an `inbox.messageReceived` webhook to your own tools when someone writes, and a `network.connectionAccepted` event when an invitation is accepted ([webhooks](/docs/webhooks)). Cadence and message templates are in the [cold outreach guide](/guides/linkedin-cold-outreach-strategies-2026); what to do once a reply turns into a call is in [Claude for sales](/guides/claude-for-sales). ## Posting and warm signals Outbound lands better with people who already recognise your name. A founder's own posts and comments build that, and the voice has to stay the founder's – an agent can publish a post or a comment from a draft you approved, not form your opinions for you. Warm leads are an on-demand pull today: ask the agent who viewed your profile, or who reacted to and commented on a post in your space, and add the ones who fit to Monday's list. Our guides to [who viewed your LinkedIn profile](/guides/linkedin-who-viewed-my-profile) and [LinkedIn buying signals](/guides/linkedin-buying-signals) cover both. ## Handing outbound to your first sales hire When you hire, hand over the motion, not just the contacts. The GTMnow write-up of Kazanjy's workshop lists what should exist in writing first: a written ICP, a prospecting playbook, a discovery guide, a demo script, an objection guide, a competitive sheet and defined deal stages. If an agent has been running your outreach, part of the prospecting playbook already exists as artifacts: - **The saved search URL** – the list definition, exactly as you ran it. - **The ICP and the prompt** – the rules the agent applied, in plain language. - **The notes and follow-ups that got replies** – your real message-market fit, not a template. - **The reply log** – who answered, what they said and what happened next. The new hire connects their own LinkedIn account – one seat per account – and runs the same prompts under their own name. They start with your evidence instead of a blank page, and you can check what GTMnow's write-up calls the critical success metric – "whether the rep's conversion metrics track close to yours" – from the first week. ## What outbound – and an agent – can't fix - **Positioning and ICP.** If the message is wrong for the market, more invitations make it fail faster. That is the job of the learning loop above. - **Contact data.** Linked API returns LinkedIn data, not personal emails or phone numbers, and it sends no email. - **Sequences and booking.** No multi-step sequencer, no automatic stop on reply, no meeting booking, and no CRM write-back unless you build it, for example with [n8n](/integrations/n8n/overview) or [Make](/integrations/make/overview). - **LinkedIn's own limits.** Invitation and note limits still apply, and the pace stays human. - **The selling.** The agent finds, reads, drafts and reports. Discovery, demos, pricing and closing are yours – that is what founder-led means. If you would rather buy a packaged AI SDR than assemble your own, our guide to [AI BDRs](/guides/ai-bdr) walks through that choice. ## Frequently Asked Questions (FAQ) #### What is founder-led sales? Founder-led sales is the stage when a startup's founder sells personally – finding the first customers, running discovery and closing – and works out the messaging and the ideal customer profile before hiring sales reps. Pete Kazanjy's *Founding Sales* describes it as discovering, refining and scaling the initial sales motion, then handing it to professional sales leadership. #### How do I do founder-led sales on LinkedIn without a sales team? Start from a written ICP and a saved LinkedIn or Sales Navigator search. Each week, have an AI agent build the list, read profiles and recent posts, and draft short notes that refer to something the person wrote; approve each note before it is sent. Check who accepted and who replied, and keep the conversations yourself. #### How long should a founder lead sales? Until the motion is repeatable and written down. Practitioners give different triggers: Kazanjy, as Dock reports it, at least 50 demos and a repeatable win rate of 20% or higher; Jason Lemkin, first account executives once you start scaling, typically around $1M–$2M in annual recurring revenue. Most add that a founder never leaves sales entirely. #### When should a founder hire the first sales rep? When the sales process is documented and repeatable – Seth DeHart's test is whether someone else could run it from your documentation without you. Hire someone to execute a motion that already works, not to discover one. #### What should I hand over to my first sales hire? A written ICP, a prospecting playbook, a discovery guide, a demo script, an objection guide, a competitive sheet and defined deal stages – plus, if an agent ran your outreach, the saved search, the prompt, the notes that got replies and the reply log. #### Can an AI agent run founder-led sales for me? It can run the outreach legwork – lists, research, draft notes, acceptances and replies – on your own LinkedIn account, waiting for your approval before anything is sent. It cannot do the selling: discovery, demos, pricing and closing stay with the founder. #### Is founder-led sales the same as founder-led growth or founder-led marketing? No. Founder-led sales is about who sells – the founder, until the motion is handed to a sales team. Founder-led growth and founder-led marketing are about the founder's own audience and content as a growth channel. ## Hand the legwork to an agent, keep the selling Get it out of the box: connect the [MCP server](/mcp/installation), the agent-friendly [CLI](/cli/getting-started) or a ready-made [skill](/skills) and run the Monday routine from a plain-language ask. Or build it into your own tools with the REST API, the Node and Python [SDKs](/sdks/installation) and the shell CLI. Either way it runs on your own LinkedIn account. Plans are flat per seat, from $49/mo billed annually – see [pricing](/pricing). *Facts verified November 4, 2026 – quotes and figures checked against Founding Sales, Alex Kracov's essay, GTMnow, Dock, SaaStr and Growth Unhinged on that date.* ## How to Find Shippers as a Freight Broker: Where LinkedIn Fits Freight brokers find shippers through referrals and former accounts, cold calls, load boards and shipper directories, trade shows – and LinkedIn. If you are working out how to find freight shippers, LinkedIn's part is the research: pick a niche, find shipper companies by industry and size, find the logistics or transportation manager, and send a short note before you call. > **The short version.** Pick a niche first – a mode, an equipment type, a commodity or a region – then find the companies that ship it. On LinkedIn you can narrow companies by industry, size and location, but not by lanes, equipment or freight volume, so you infer those from what a company makes. Put the role you want in the search and check the current title on the profile: the person who books freight is usually a shipping, logistics or transportation manager, not the company president. An AI agent can do this research on your own LinkedIn account and draft short notes you approve before anything is sent. The phone still closes the deal – LinkedIn finds the right name and gives the call a reason, but it does not give you phone numbers. ## A worked run: finding shippers with an AI agent The agent works through [Linked API](/) on your own LinkedIn account, in a real cloud browser at a human pace – Linked API never stores your password. Connect it as a custom connector in Claude (no code), through the [MCP server](/mcp/installation) in any MCP client, or with the agent-friendly [CLI](/cli/getting-started); the [LinkedIn AI agent guide](/guides/linkedin-ai-agent) covers the setup. Then ask in plain language: **You:** I run reefer out of the Southeast. Find food and beverage manufacturers in Georgia with 51 to 500 employees, find the person who handles logistics or transportation at each, check whether I'm already connected, and draft a connection note under 200 characters for each – only from what their profile shows. Send nothing until I approve. **Agent** (used Linked API: search_companies, fetch_company ×36, fetch_person ×15, check_connection_status ×15): - keyword "food", industry Food and Beverage Manufacturing, Georgia, United States, 51–200 and 201–500 employees: 18 companies - two passes per company – employees with "logistics", then "transportation", in their title - current role, earlier roles and recent posts - 1 already connected 14 notes drafted. 3 companies held with no logistics or transportation title found, and 1 person you're already connected to – message instead. Nothing has been sent. Three of the 18: | Company | Person | From the profile | Draft note | | --- | --- | --- | --- | | Peachtree Dairy Co. | Marcus H., Transportation Manager, 3 years in the role | Posted about adding a second distribution center | "Hi Marcus – saw the second distribution center news. I run reefer out of the Southeast and would be glad to connect." | | Savannah Snack Foods | Alicia R., Logistics Manager, 8 months in the role | Previously at a 3PL | "Hi Alicia – noticed you came over from the 3PL side. I run reefer in the Southeast; happy to connect." | | Brightfield Bakery | – | No logistics or transportation title found | Held – try the operations manager or call the main line | *Nothing goes out until you approve; then the agent sends the approved notes at a human pace on your own account.* *Example run. On a free LinkedIn account only a few invitations a month can carry a note – see below. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* For this MCP run, include a keyword as well as the company filters; the CLI and the API can also start from a pasted search URL. The agent filters each company's employees by title rather than using LinkedIn's decision-maker list, because that list is ranked by seniority – founders and C-level first – which is rarely who books freight. Company fields such as headcount, website and specialties are covered in our [LinkedIn company scraper guide](/guides/linkedin-company-scraper). ## Where freight brokers find shippers Most brokers use several channels at once. Here is what each one takes and where LinkedIn helps: | Channel | What it takes | What LinkedIn adds | | --- | --- | --- | | Referrals and former accounts | An existing book of business and people who moved jobs | Shows where your past contacts work now | | Cold calls | A list, a phone number and a reason to call | The right name and a recent detail to open with | | Load boards | A subscription; good for covering freight, weaker for new shippers | The person behind a company you saw posting | | Shipper directories (MacRAE's Blue Book, Thomasnet, IndustryWeek 500, USDA business listings) | Time to work through company lists | Who handles logistics at each listed company | | Trade shows and associations | Travel, booth or ticket costs | Who to look for before the event and who to follow up with after | | B2B data tools | A paid seat; usually the source of phone numbers | – | | LinkedIn | Your account, a niche and time each week | Company research, named contacts and a first touch | DAT, which runs a load board itself, is candid about the limits of its own channel: its guide to [companies in need of freight brokers](https://www.dat.com/solutions/companies-in-need-of-freight-brokers) says: "Load boards are one of the best places to connect with and build a strong network of carriers, but it is not the best place to find new shippers." And its [Finding Shippers 101](https://www.dat.com/resources/wp-content/uploads/resource-assets/whitepaper/Finding-Shippers-101.pdf) guide is just as direct about the phone: "You're going to do some cold calling." ## Pick a shipper niche first Every practitioner guide starts here. DAT's Finding Shippers 101 tells new brokers to "pick either a region of the country, a specific market, or a particular industry to focus your prospecting" and sums it up as "Aim small, miss small." Carriersource puts it as "Before any tactic, decide who you're for," with examples such as flatbed for building materials in the Southeast or reefer for produce out of California. Then map the niche to what LinkedIn can actually filter. You can narrow companies by **industry, company size and headquarters location**. You cannot filter by **mode, equipment, lanes or freight volume** – those you infer from what the company makes and where it makes it. A dairy processor in Georgia probably ships refrigerated loads out of the Southeast; LinkedIn will not tell you its lanes. ## Shipper titles and industry labels to search on LinkedIn This is the table to keep open while you prospect. The industry labels are LinkedIn's current ones – use them exactly as written, because LinkedIn matches the label you type against its own list. | Niche (mode) | LinkedIn industry labels | Company size | Titles to search | | --- | --- | --- | --- | | Food and beverage (reefer) | Food and Beverage Manufacturing; Dairy Product Manufacturing; Meat Products Manufacturing; Wholesale Food and Beverage | 51–200, 201–500 | Logistics Manager, Transportation Manager, Shipping Manager | | Building materials (flatbed) | Glass, Ceramics and Concrete Manufacturing; Wood Product Manufacturing; Wholesale Building Materials | 51–200, 201–500 | Shipping Manager, Operations Manager | | Chemicals and plastics (tanker, dry van) | Chemical Manufacturing; Plastics and Rubber Product Manufacturing; Packaging and Containers Manufacturing | 51–200 to 501–1,000 | Logistics Manager, Supply Chain Manager | | Machinery and parts (dry van, flatbed) | Machinery Manufacturing; Motor Vehicle Parts Manufacturing | 51–200 to 501–1,000 | Transportation Manager, Director of Logistics | | Importers and distributors | Wholesale Import and Export | 11–50 to 201–500 | Logistics Coordinator, Supply Chain Manager | Where the titles come from: Freightbrokerbootcamp suggests searching for shipping, logistics and warehouse managers; SONAR, FreightWaves' market-data product, lists the "transportation manager, vice president or director of logistics or logistics analyst"; Cognism names everyone "from the COO and the logistics manager to the financial controller". At small manufacturers the owner may book freight personally, but TruckingOffice's warning holds: "It's not always the business president who makes the shipping decisions." Launch Leads, a lead-generation agency for brokers, treats procurement and the front office as gatekeepers rather than targets. Two practical notes: - **Put the role in the search, then check the profile.** LinkedIn's own [people search help](https://www.linkedin.com/help/linkedin/answer/a525054) recommends entering the role in the search bar. An agent can also use Linked API's position filter; either way, confirm the current title and employer on the profile before you write. - **Some familiar labels no longer exist.** "Consumer Goods" and "Automotive" are not current LinkedIn industries. Our [LinkedIn industry list](/guides/linkedin-industry-list) has every current label and explains how the filter behaves: the label is typed into LinkedIn's industry filter and the first suggestion is taken, and a label LinkedIn does not offer stops the search. ## The weekly LinkedIn loop for brokers 1. **Pick the niche** for the week – one industry, one region, one size band. 2. **Find the companies** – a keyword plus the industry, size and location filters. 3. **Find the person** – the logistics, transportation or shipping manager at each company. 4. **Read the profile and recent posts** – time in the role, what the company ships, anything worth mentioning. 5. **Check the connection** – already connected, invitation pending, or neither. 6. **Draft a short note** and **approve it** yourself. 7. **Send** at a human pace, inside your account's limits. 8. **Follow up** – before writing again, make sure that person's conversation has been loaded from LinkedIn (once is enough – it keeps collecting new messages for a while), then read it. An empty inbox feed never counts as "no reply". 9. **Call.** The LinkedIn touch gives the call a name and a reason; the phone does the selling. Deciding which replies deserve a call is the subject of our [lead qualification checklist](/guides/lead-qualification). ## What to send: a short note and one follow-up LinkedIn's own rules decide how much you can say. Its [help page on invitations](https://www.linkedin.com/help/linkedin/answer/a563153) says "You can add a personalized message to up to three connection requests per month" and "Each message can be up to 200 characters", while Premium members "can send unlimited personalized invitations to all their connection requests (connection request limits may still apply)". An [older LinkedIn help page](https://www.linkedin.com/help/linkedin/answer/a550555) says five, so LinkedIn's own pages disagree on the free allowance. On a free account, send the rest without a note and write once they accept. Keep it human and specific, and keep volume sensible. Among the reasons LinkedIn gives for [restricting invitations](https://www.linkedin.com/help/linkedin/answer/a551012): "Many of your invitations have been ignored, left pending, or marked as spam by the recipients." Its [Professional Community Policies](https://www.linkedin.com/legal/professional-community-policies) say: "Do not use our invitation feature to send promotional messages to people you don't know or to otherwise spam people." A note that names something real about the shipper and says what you run is enough; the pitch belongs in the call. More examples are in our guide to [LinkedIn connection request messages](/guides/linkedin-connection-request-message). ## How LinkedIn fits with calls and load boards LinkedIn does not replace the phone in brokerage. It finds the right name at the right company and gives you a reason to call – a new distribution center, a new hire, a post about a peak season. Linked API returns LinkedIn data only: **no phone numbers and no emails**. For the call, use the company's main line, its website or your data tool. Load boards stay what they are good at – covering freight – while LinkedIn feeds the prospecting side. ## Hiring signals: shippers posting logistics roles A company hiring a logistics coordinator or a transportation manager moves enough freight to need someone owning it. An agent can search LinkedIn jobs for those titles in your region over the past month and open each posting for the company and the description. Treat it as a hypothesis, not intent: a logistics hire does not mean the shipper wants a broker, job-search filters are applied on a best-effort basis, and Linked API's job data does not include the hiring team. Our [LinkedIn jobs guide](/guides/linkedin-jobs-scraper) covers job search in detail. ## For 3PL and freight-forwarder sales reps The loop is the same with different targets: importers (Wholesale Import and Export), manufacturers with export activity, and supply chain and logistics titles. The market context is consolidation – the 2026 Annual 3PL Study, as [summarised by the University of Tennessee](https://haslam.utk.edu/gsci/news/annual-3pl-study-university-of-tennessee/), found that "50% of shippers are consolidating the number of 3PL partners they use". The summary does not give a sample size, but the direction is clear: you are competing to stay on a shorter list, so fit and timing matter more than volume. ## Freight broker lead generation: build your list or buy one A bought shipper list gives you company names and, often, phone numbers. It does not tell you which of them fit your niche, who books freight there today, or why they would take your call this week. A post on the Transportation Intermediaries Association's news site by SalesDrip goes further: "Online Shipper Databases and Lists can do more harm than good." Building your own list from LinkedIn gives you fit and a named person, but no phone number. Many brokers combine the two: LinkedIn for who and why, a data tool or the main line for the number. To get a LinkedIn list into a spreadsheet, see [how to export LinkedIn search results](/guides/export-linkedin-search-results). The same loop for another vertical is in our guide to [lead generation for software development companies](/guides/software-development-lead-generation). ## What this does not do - **No contact data.** No phone numbers and no emails. - **No freight data.** No lanes, volumes, load or rate data, and no FMCSA, customs or bill-of-lading data. - **No sequences.** No CRM write-back unless you build it (for example with [n8n](/integrations/n8n/overview) or [Make](/integrations/make/overview)), no multi-step sequencer and no automatic stop on reply. - **LinkedIn's filters, LinkedIn's limits.** Industry matching follows LinkedIn's own filter, and LinkedIn's invitation and note limits still apply. ## Frequently Asked Questions (FAQ) #### How do freight brokers find shippers? Through referrals and former accounts, cold calls, load boards and shipper directories, trade shows, B2B data tools and LinkedIn. Most brokers pick a niche first – a mode, a commodity or a region – and work several channels at once, with the phone doing most of the selling. #### How do I find shippers on LinkedIn? Search companies by industry, size and location for your niche, then find the logistics, transportation or shipping manager at each one and check the current title on the profile. Send a short, specific note or connect without one, and follow up once they accept. An AI agent can do the research and draft the notes for your approval. #### Who should a freight broker contact at a shipper? Usually a shipping, logistics or transportation manager, or a director of logistics or supply chain at larger companies. At small manufacturers the owner may book freight, but not always. Procurement and the front desk tend to be gatekeepers. #### Should a freight broker specialize in a niche? Yes – practitioner guides from DAT to Carriersource start there. A niche by mode, commodity or region makes it easier to find the right companies, write a relevant message and sound credible on the call. #### Is cold calling still effective for finding shippers? Yes. The guides that rank for this topic, including DAT's, still treat the phone as central. LinkedIn helps you call the right person with a reason to talk; it does not replace the call. #### Should I buy a shipper list? It can save time, but a list tells you nothing about fit or timing, and some industry voices warn that lists do more harm than good. Many brokers build a focused list from LinkedIn and use a data tool only for phone numbers. #### How do freight agents find shippers? The same way brokers do – a niche, referrals, calls, directories and LinkedIn – usually inside the brokerage's systems and rules for which accounts they may work. #### How many personalized connection notes can I send on LinkedIn? LinkedIn's current help page says a free account can add a personalized note to up to three connection requests a month, each up to 200 characters; an older page says five. Premium members can personalize every invitation. #### Is AI going to replace freight brokers? Not the brokering. An AI agent can research companies, find the right contact and draft notes for your approval, but building shipper relationships, pricing freight and running loads stay with people. ## Find shippers faster, keep the phone Get it out of the box: connect the [MCP server](/mcp/installation), the agent-friendly [CLI](/cli/getting-started) or a ready-made [skill](/skills) and run the weekly loop from a plain-language ask. Or build it into your own tools with the REST API, the Node and Python [SDKs](/sdks/installation) and the shell CLI. Either way it runs on your own LinkedIn account. Plans are flat per seat, from $49/mo billed annually – see [pricing](/pricing). *Facts verified November 4, 2026 – LinkedIn Help pages and the cited DAT, Carriersource, TIA and University of Tennessee pages checked on that date.* ## Ideal Customer Profile (ICP) Template for B2B An ideal customer profile (ICP) describes the companies most likely to buy from you, succeed with your product and stay – by industry, size, location, the buyer you sell to, and the events that make them ready. Build it from your best customers, not from the market you hope for: the evidence is already in the deals you have won. > **The short version.** Copy the template below: company rows first, one buyer row, then must-haves, nice-to-haves and disqualifiers. Each row says where its evidence comes from – LinkedIn answers (industry, headcount on LinkedIn, headquarters, what the company does, the buyer's title and role dates), LinkedIn hints (seniority, whether a company has open vacancies), or your CRM and interviews (revenue, deal size, retention, pains, tech stack). Fill it from 20–50 of your best closed-won customers rather than a guess. An AI agent can read those customers on LinkedIn, tally the pattern, fill the template and draft the searches that find more like them – you review before any list is built. ## The ICP template (copy it) Paste this into a sheet, a doc or your CRM. The third column tells you where to get each answer; the last column shows the kind of value that goes there. | Field | What to write | Where the evidence comes from | Example | | --- | --- | --- | --- | | **Industry** | The exact LinkedIn industry label(s) your best customers share | **LinkedIn answers** – the company page | e.g. Software Development | | **Headcount on LinkedIn** | A band, such as 51–200 | **LinkedIn answers** – LinkedIn's member count, not the range a company declares | e.g. 51–200 | | **Headquarters** | Countries or regions | **LinkedIn answers** | e.g. United States | | **What they do** | Keywords from their specialties and description | **LinkedIn answers** | e.g. B2B SaaS, payments | | **Company age** | Founded between… | **LinkedIn answers**, when the page shows it | e.g. 2015–2021 | | **Open vacancies** | Whether they are hiring at all | **LinkedIn hints** – a total count, not which team | e.g. has open jobs | | **Revenue band** | A range | **Your CRM** – Sales Navigator offers revenue only as a search filter | e.g. $10M–$50M | | **Funding stage** | Bootstrapped, seed, Series A… | **Your CRM or other sources** | e.g. Series A–B | | **Tech stack** | Tools they must use, or must not | **Your CRM, interviews** | e.g. uses Salesforce | | **Pains and why they bought** | In the customer's words | **Interviews, call notes** | e.g. "reps spend Mondays building lists" | | **Buying trigger** | The event that made them ready | **Interviews**; LinkedIn hints such as a new leader in the role | e.g. new VP Sales in the last 6 months | | **Buyer: title and function** | Who signs or champions | **LinkedIn answers** – the title as the person reports it | e.g. Head of Revenue Operations | | **Buyer: seniority** | Manager, director, VP… | **LinkedIn hints** – inferred from the title | e.g. director or above | | **Buyer: time in role when they bought** | Typical tenure on the close date | **LinkedIn experience dates + your CRM's close date** | e.g. under 18 months | | **Buyer: past companies** | Patterns worth noting | **LinkedIn answers** | e.g. previously at a larger SaaS company | | **Buyer: where they are based** | Only if your ICP needs it | **LinkedIn answers** – the person's location, not the company's headquarters | e.g. any | | **Must-haves** | The rows a company has to match | Your call from the tally | e.g. industry and headcount | | **Nice-to-haves** | Rows that raise priority | Your call | e.g. open vacancies | | **Disqualifiers** | Who to leave out | LinkedIn and your CRM | e.g. under 10 people on LinkedIn | Value measures – retention, expansion, deal size, time to close – decide which customers count as "best" in the first place. They come from your CRM and are not rows in the profile. The buyer row covers one person; the rest of the buying group is in our guide to [mapping a B2B buying committee](/guides/b2b-buying-committee), and every current industry label is in our [LinkedIn industry list](/guides/linkedin-industry-list). ## Worked example: an AI agent fills the template from 30 customers The fastest way to fill the template is to let an AI agent read your customers for you. It works through [Linked API](/) on your own LinkedIn account, in a real cloud browser at a human pace – Linked API never stores your password. Connect it as a custom connector in Claude (no code), through the [MCP server](/mcp/installation) in any MCP client, or with the agent-friendly [CLI](/cli/getting-started); the [LinkedIn AI agent guide](/guides/linkedin-ai-agent) covers the setup. **You:** Here are our 30 best closed-won customers from the last 12 months – each with the company's LinkedIn URL, the buyer's LinkedIn URL and the deal's close date (closed-won.csv). Read each company and buyer, tally industry, headcount on LinkedIn, headquarters, open vacancies, buyer title, and how long the buyer had been in that role at that company on the close date, and fill in the ICP template. Mark anything LinkedIn doesn't show as "from CRM" or "unknown". Then draft a company search and a buyer search that would find more like them, run each once as a small check, and don't contact anyone. **Agent** (used Linked API: fetch_company ×30, fetch_person ×30, search_companies, search_people): - industry, headcount on LinkedIn, headquarters, specialties, open vacancies - title, role start dates, past companies – tenure worked out against each close date - keyword "software", Software Development and IT Services and IT Consulting, 51–200 and 201–500, headquartered in the United States or the United Kingdom - keyword "revenue operations", current companies: 10 of the matched companies All 30 read. Here is the pattern – the filled ICP and both searches follow. Nothing has been contacted. | Field | What 30 customers show | Evidence | | --- | --- | --- | | Industry | Software Development 14 · IT Services and IT Consulting 7 · Financial Services 4 · other 5 | LinkedIn answers | | Headcount on LinkedIn | 11–50: 4 · 51–200: 15 · 201–500: 8 · unknown (none shown): 3 | LinkedIn answers | | Headquarters | United States 19 · United Kingdom 7 · other 4 | LinkedIn answers | | Buyer title | Head or Director of RevOps 11 · VP Sales 9 · founder 5 · other 5 | LinkedIn answers | | Time in role on the close date | under 18 months: 17 · 18 months or more: 11 · unknown (no start date shown): 2 | LinkedIn experience dates + CRM close date | | Open vacancies | any open jobs: 21 of 30 – the count says nothing about which team | LinkedIn hints | | Check runs | company search: 4 of 5 spot-checked customers came back · buyer search: 12 people at 8 of the 10 companies, employers verified | – | *You review the profile before any full list is built.* *Example run, illustrative companies. If your file has buyer names but no LinkedIn URLs, the agent first finds each buyer at the company by title. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* Here is the filled ICP that run produces – the template's rows with this example's values: | Field | This example's ICP | Evidence | | --- | --- | --- | | Industry | Software Development; IT Services and IT Consulting (must-have) | LinkedIn answers | | Headcount on LinkedIn | 51–500 (must-have); 11–50 only with open vacancies (nice-to-have) | LinkedIn answers | | Headquarters | United States, United Kingdom (must-have) | LinkedIn answers | | Open vacancies | Any (nice-to-have) | LinkedIn hints | | Revenue band | From CRM | Your CRM | | Buyer | Head or Director of Revenue Operations, or VP Sales | LinkedIn answers | | Buyer: time in role when they bought | Often under 18 months – a new leader building their stack (nice-to-have) | LinkedIn experience dates + CRM close date | | Pains and trigger | From your call notes | Interviews | | Disqualifiers | Fewer than 11 people on LinkedIn; existing customers and open deals | LinkedIn and your CRM | | Unknowns | 3 customers showed no headcount – kept as unknown, not dropped | – | And the two searches it turns into, account-first: 1. **Company search** – a keyword ("software") plus the industries Software Development and IT Services and IT Consulting, the size bands 51–200 and 201–500, and headquarters in the United States or the United Kingdom. 2. **Buyer search** – people with "revenue operations" or "VP Sales" in their title, at the companies the first search matched (as current companies). Check each person's employer against the company criteria. The check run above used 10 companies; building the full list is a separate, later step. ## How to create an ideal customer profile from your best customers The steps behind the example, if you do them by hand or want to check the agent's work: 1. **Choose 20–50 closed-won customers and define "best".** Use your CRM: retained, expanded, quick to close. HubSpot's advice is to "Pull your top 20–30 accounts by revenue, retention, and product engagement"; Salesmotion's is to "Pull 50–100 closed-won deals from the last 12 months". Treat the size as a working range, not a rule. Adding a few churned or closed-lost accounts gives you contrast for the disqualifiers. 2. **Read each company** – industry, headcount on LinkedIn, headquarters, specialties, open vacancies. 3. **Read the buyer** – start from the buyer in your CRM and their LinkedIn profile; if you only have a company, find the person by title. Note the deal's close date: the buyer's tenure only means something measured on that date, not today. 4. **Tally** – counts per industry, headcount band, region, buyer title, and the buyer's time in role on the deal's close date (role start dates from LinkedIn, the close date from your CRM; anything unresolved stays unknown). 5. **Write must-haves, nice-to-haves and disqualifiers.** This is judgement, not a score: a pattern in 14 of 30 customers may be a must-have, one in 5 of 30 a nice-to-have. Our [lead qualification checklist](/guides/lead-qualification) shows how to apply the result to each new lead. 6. **Turn it into searches, account-first, and check what comes back.** A few of your known customers should reappear in the company search; if they don't, a label or a band is off. ## Negative ICP: who to leave out A negative ICP lists the companies and people you do not want, even if they look keen. Some disqualifiers are readable on LinkedIn: industries you do not serve, headcount bands that are too small or too large, headquarters regions you cannot support, employees of a competitor, and titles such as student, intern or "former". Others only your CRM knows: why customers churned, which deals turned out to be a bad fit, who never paid. Template makers treat this as its own section – Miro's ICP templates include "Anti-ICP" red flags, for example. Write yours next to the must-haves so nobody builds a list without it. ## ICP vs buyer persona | | Ideal customer profile | Buyer persona | | --- | --- | --- | | Describes | A type of company (an account) | A person inside that company | | Answers | Which companies to pursue | How to talk to the people there | | Built from | Firmographics, your best customers, disqualifiers | Interviews, roles, goals, objections | | Used by | Sales, RevOps, marketing for targeting | Marketing and sales for messaging | HubSpot puts it in two sentences: "ICPs tell you which companies to pursue. Buyer personas tell you how to sell to the people inside those companies." How many ICPs a company should have is less settled: Cognism argues for one, while Product Marketing Alliance suggests two or three well-defined ones. Start with one built from your best customers and split it only when the tally clearly shows two different groups. ## Turn the ICP into LinkedIn searches (account-first) - **Industry → the exact LinkedIn label.** Use the label exactly as LinkedIn writes it: it is typed into LinkedIn's industry filter, and when nothing matches by name, LinkedIn's first suggestion is taken. - **Headcount → a size band** (1–10 up to 10,001+). - **Headquarters → the company search's location filter**, which matches where a company is headquartered. - **Buyer → a people search by title at the matched companies.** Use the companies from the first search as current companies and verify each person's employer. - **Don't copy the headquarters into the people search's location.** In a people search, location means where the person lives: copying it would drop an overseas employee of a company that fits, and let through a local employee of one that doesn't. Add a person location only if your ICP separately requires the buyer to be based somewhere. - **A company search needs a keyword** alongside the filters – an agent always includes one; the CLI and the API can also start from a search URL you paste. The standard people search has no company-size filter, so size is checked on the company. - **On Sales Navigator**, a pasted search URL carries seniority, function and years in role. Which filters each LinkedIn plan offers is covered in our guide to [LinkedIn advanced search](/guides/linkedin-advanced-search). ## Keep it current Re-run the tally each quarter on that quarter's new wins and compare: a new industry creeping in, a shift in headcount, a different buyer title. The pages that publish ICP templates disagree on the cadence – HubSpot suggests reviewing at least once a quarter, Product Marketing Alliance at least once a year. With an agent doing the reading, quarterly costs little. ## What this run can't fill - **Revenue** – not a field on a LinkedIn company page; Sales Navigator offers it only as a search filter band. - **Funding, tech stack and intent** – not read from LinkedIn here; bring them from your CRM or other sources. - **Which team is hiring** – the company page shows a total vacancy count, not the team; individual job listings could show it, but this run does not read them. - **Win rates, deal size, retention** – your CRM. - **Seniority** – inferred from titles; there is no seniority field. - **Exact headcount** – LinkedIn's member count, which can differ from the range a company declares; LinkedIn itself notes that [counts based on member profiles may differ from actual employee counts](https://www.linkedin.com/help/learning/answer/a565340/). No headcount shown means unknown, not small. ## Frequently Asked Questions (FAQ) #### How do you write an ideal customer profile? Start from 20–50 of your best closed-won customers, read each company and its buyer, and tally what they share – industry, size, location, buyer title, time in role. Turn the strongest patterns into must-haves, the weaker ones into nice-to-haves, and add disqualifiers. The template on this page gives you the rows. #### What should an ideal customer profile include? Company rows (industry, headcount, headquarters, what the company does, company age, hiring, revenue band, funding, tech stack), the buyer you sell to (title, seniority, time in role), the pains and triggers behind the purchase, and the fit logic: must-haves, nice-to-haves and disqualifiers. #### What is the difference between an ICP and a buyer persona? An ICP describes a type of company you should target; a buyer persona describes a person inside it and how to talk to them. Build the ICP first, then personas for the people in those companies. #### How many customers do you need to build an ICP? Enough to see a pattern. Published advice ranges from your top 20–30 accounts (HubSpot) to 50–100 recent closed-won deals (Salesmotion); 20–50 is a practical working size for most B2B teams. #### Can you have more than one ICP? Yes, but the advice differs: some recommend a single ICP, others two or three. Start with one and split it only when your customer data clearly shows separate groups that buy for different reasons. #### What is a negative ICP? A list of the companies and people you deliberately leave out – industries you do not serve, sizes or regions you cannot support, competitors' employees, and the patterns behind churn or bad-fit deals. #### How often should you update your ICP? At least once a year, and ideally each quarter on your newest wins. Re-running the tally is quick if an agent reads the customers for you. #### Can you build an ICP from LinkedIn data? Most of the company and buyer rows, yes: industry, headcount on LinkedIn, headquarters, specialties, the buyer's title, role dates and past companies – with your CRM's close dates, also how long each buyer had been in the role when they bought. Revenue, funding, tech stack, pains and deal data come from your CRM and interviews. #### Is there a free ICP template? Yes – the table at the top of this page. Copy it into a sheet, a doc or your CRM, and use the evidence column to see which rows LinkedIn can fill for you. ## Build it in, or hand it to an agent Get it out of the box: connect the [MCP server](/mcp/installation), the agent-friendly [CLI](/cli/getting-started) or a ready-made [skill](/skills) and let an agent fill the template from your customers – the filled profile is also the kind of ICP the LinkedIn growth skill asks for before it qualifies leads. Or build it into your own tools with the REST API, the Node and Python [SDKs](/sdks/installation) and the shell CLI. Either way it runs on your own LinkedIn account. Plans are flat per seat, from $49/mo billed annually – see [pricing](/pricing). Next: apply the profile to each lead with the [lead qualification checklist](/guides/lead-qualification), tier the accounts in [account-based selling](/guides/account-based-selling), or put it to work in [AI sales prospecting](/guides/ai-sales-prospecting-linkedin). *Facts verified November 4, 2026 – quotes checked against the cited HubSpot, Salesmotion, Cognism, Product Marketing Alliance and Miro pages on that date.* ## Lead Qualification Checklist: What LinkedIn Answers and What to Ask on the Call A lead qualification checklist answers one practical question: should a rep spend time on this lead now? It works best when it separates two checks that most lists blur together – whether the lead **fits** your customer profile, and whether they are **ready** to buy. This guide gives you a copyable checklist, marks which lines LinkedIn can answer and which only a conversation can, compares the common frameworks, and shows how an AI agent can gather the LinkedIn evidence for you. > **The short version.** Qualifying a lead means two checks. **Fit** asks whether they could buy: the person's role and time in it, as they report it, and the company's industry, size and location – most of which you can read on LinkedIn. **Readiness** asks whether they are worth working now: a confirmed need, who decides, budget, timing and how the decision gets made – which come from a conversation. Use the checklist below, let an AI agent collect the LinkedIn evidence for each lead with a source behind every claim, treat anything it cannot see as unknown, and review the result before anyone reaches out. A lead is qualified only when it fits and the conversation shows it is ready. ## The lead qualification checklist Copy this table into your CRM or a sheet and set your own thresholds. The last column says where the answer comes from. | # | Check | What to look for | Evidence | | --- | --- | --- | --- | | 1 | Company fit | Industry, headcount band and location match your customer profile | **LinkedIn answers** – the company's industry, location and headcount on LinkedIn | | 2 | Role | A title in the function you sell to | **LinkedIn answers** – the title as the person reports it | | 3 | Seniority | Senior enough to own the problem | **LinkedIn hints** – inferred from the title | | 4 | Time in role | A recent start, or long enough to have influence | **LinkedIn answers** – experience dates, by month | | 5 | Disqualifiers | A student, an intern, a "former" title, an employee of a competitor; an existing customer or open deal | **LinkedIn + your CRM** | | 6 | Need | Posts about the problem, open roles, company specialties – then confirmed on the call | **LinkedIn hints**, **confirm on the call** – a hypothesis until they say it | | 7 | Authority | Can they buy, or bring in who can? – then confirmed on the call | **LinkedIn hints**, **confirm on the call** – a title proxy and the company's senior people; a title is not purchasing authority | | 8 | Budget | Money set aside for this problem | **Ask on the call** | | 9 | Timing | When they need it solved | **Ask on the call** | | 10 | Decision process | Who else decides, and how | **Ask on the call** | | 11 | **Fit verdict** | **exclude / fit / strong fit / unknown** | From the LinkedIn evidence in rows 1–7. "Unknown" means a required fit field could not be read | | 12 | **Readiness** | **advance** with an agreed next step / **nurture** until a named trigger or date / **unresolved** – confirm the missing answer | From the confirmed answers in rows 6–10, after the conversation | Two rules keep the verdicts honest: - **A missing budget or timeline does not make fit unknown.** Fit and readiness are separate decisions; a lead can be a strong fit and still need a conversation. - **A fit verdict alone is not sales qualification.** A lead is qualified when it fits *and* the readiness disposition is "advance" – which requires a confirmed need, a decision maker or an agreed route to one, and answers on budget, timing and process. LinkedIn does not show revenue on a company page – Sales Navigator offers revenue only as a search filter band – so budget signals always come from the conversation. For mapping everyone involved in a decision, see our [B2B buying committee guide](/guides/b2b-buying-committee); for tiering whole accounts rather than single leads, see [account-based selling](/guides/account-based-selling); and to keep titles and companies current after hand-off, see [CRM hygiene](/guides/crm-hygiene). ## Let an AI agent check fit – you review the result The fit half is research, and an AI agent can do it for a whole list. Connect Claude, Cursor or another MCP client to the Linked API [MCP server](/mcp/overview), or give Claude Code or Codex the agent-friendly [CLI](/cli/getting-started), and give it written rules. Here is a worked example with one illustrative customer profile: - **Fit requires all of:** a current title in sales leadership or revenue operations (VP, Head or Director of Sales, Sales Operations or RevOps); a current company whose LinkedIn industry is "Software Development" or "IT Services and IT Consulting" (exact labels from our [LinkedIn industry list](/guides/linkedin-industry-list)); a company headcount on LinkedIn of 51–500; a location in the United States or the United Kingdom. - **Hard exclusions:** works at a named competitor; a student, an intern or a "former" title; an existing customer or open deal in your CRM. - **Unknown:** a required fit field can't be read – no current position, no company page, no headcount shown or no location. Missing optional evidence, such as no recent posts or no open roles, never fails or blocks fit. - **Strong fit:** fit, plus at least one extra signal – started the current role 3–24 months ago, the company has open sales roles, or a post in the last 90 days about pipeline, outbound or sales hiring. - **Readiness:** not confirmed for anyone yet – that needs a conversation. The customer and open-deal check needs your export, or a CRM tool connected to the same agent – Linked API reads LinkedIn, not your CRM. Here is what a run looks like: **You:** Here are 30 leads – LinkedIn profile links, plus names and companies for the inbound ones – and our export of current customers and open deals (customers.csv). Check each lead against the rules above. Cite the profile or company field behind every claim. Mark anything you can't see as unknown, write "CRM check not performed" if a lead can't be matched against the export, and leave readiness as "not yet confirmed". Don't contact anyone – show me the table. **Agent** (used Linked API: fetch_person ×30, fetch_company ×24, search_jobs ×6): - current title, time in role, location - industry, headcount on LinkedIn, headquarters - open sales roles at companies that already fit - customers.csv matched; 2 leads excluded as existing customers 30 leads checked: 9 strong fit, 12 fit, 4 unknown, 5 excluded. Three examples: | Lead | Fit evidence | Extra signals | Ask on the call | Fit verdict | Readiness | | --- | --- | --- | --- | --- | --- | | VP of Sales, B2B software company | Title "VP of Sales"; industry "Software Development"; 120 employees on LinkedIn; location United States | Started the role 7 months ago; 3 open SDR roles | Budget, timing, who else decides | **Strong fit** | Not yet confirmed | | Head of RevOps, IT services firm | Title "Head of RevOps"; industry "IT Services and IT Consulting"; location United Kingdom; **no headcount shown** | – | Company size, then the readiness questions | **Unknown** | Not yet confirmed | | Sales Director at a competitor | Current company is on your competitor list | – | – | **Exclude** | – | *Nobody is contacted until you review the table.* *Example run with illustrative leads. Works the same in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* You review the table, correct anything the agent got wrong, and decide who moves on. The agent stops at the table because the prompt tells it to – the pause is an instruction you give, not a built-in approval step – so keep "don't contact anyone" in the prompt. Writing and sending the first message is the next stage of the full workflow in our [AI sales prospecting guide](/guides/ai-sales-prospecting-linkedin). If you build lists from LinkedIn searches, the ready-made [LinkedIn growth skill](/skills/linkedin-growth) already runs a lighter fit check against your customer profile on search results before it invites anyone. For agent workflows beyond qualification, see the [LinkedIn AI agent guide](/guides/linkedin-ai-agent). Developers can run the same reads in code – see [opening a person page](/docs/action-st-open-person-page) and [opening a company page](/docs/action-st-open-company-page). ## Fit vs qualified: two different questions HubSpot defines it simply: "Lead qualification is the process of determining whether a lead or prospect is a fit for a product or service." In practice, that splits into two questions answered by different evidence: | | Fit | Readiness | | --- | --- | --- | | **The question** | Could they buy? | Are they worth working now? | | **Evidence** | Public profile and company data | What they tell you | | **Who checks it** | A rep, an SDR or an AI agent, before outreach | A rep, in the conversation | | **Typical outcome** | exclude / fit / strong fit / unknown | advance / nurture / unresolved | Keeping them apart stops two common mistakes: chasing a perfect-fit lead with no project, and dropping a good fit because nobody has asked about budget yet. ## Lead qualification frameworks compared | Framework | Letters | Where it comes from | What LinkedIn can evidence | | --- | --- | --- | --- | | **BANT** | Budget, Authority, Need, Timeframe | IBM. Its 2008 BANT Criteria Template uses "Timeframe" and warns that "Opportunity records lacking descriptions of a Customer's Budget, Authority, Need and Timeframe (BANT) will be rejected as incomplete." | Budget – no. Authority – a proxy. Need – a hypothesis. Timeframe – no | | **CHAMP** | Challenges, Authority, Money, Prioritization | Described by HubSpot as a framework that "prioritizes Challenges over Authority" | Challenges – a hypothesis. Authority – a proxy. Money and Prioritization – no | | **MEDDIC** | Metrics, Economic Buyer, Decision Criteria, Decision Process, Identify Pain, Champion | Developed at PTC in the 1990s ([MEDDICC's history](https://meddicc.com/resources/who-created-meddic)) | Economic Buyer and Champion – candidates only. The rest – no | | **GPCTBA/C&I** | Goals, Plans, Challenges, Timeline; Budget, Authority; Negative Consequences, Positive Implications | Developed internally at HubSpot | Goals and Challenges – hints at most. The rest – no | *Our editorial pick: BANT works as a quick gate for transactional deals; MEDDIC suits complex enterprise sales with several decision makers. Whichever you use, the LinkedIn column is the same – it fills in fit, and leaves readiness to the conversation.* Sources: [IBM's BANT template](https://public.dhe.ibm.com/software/pwuploads/BANTTemplate.doc), [HubSpot on qualification frameworks](https://blog.hubspot.com/sales/ultimate-guide-to-sales-qualification) and [GPCTBA/C&I](https://blog.hubspot.com/sales/gpct-sales-qualification). ## Lead qualification questions to ask on the call These cover the readiness half of the checklist: - **Need:** What made you look at this now? What happens if nothing changes this quarter? - **Authority:** Who else will be involved in choosing a solution? Who signs off on a purchase like this? - **Budget:** Is there budget set aside for this, or would it need to be found? How have you paid for similar tools or services before? - **Timing:** When do you need this working? Is there a date or event driving that? - **Process:** What does your evaluation look like from here – a trial, a security review, a procurement step? Write the answers straight into rows 6–10 – confirming or correcting what LinkedIn hinted for need and authority – and set the readiness disposition before you hang up. ## Outbound vs inbound lead qualification - **Outbound.** Search narrows the list; then verify the current role, company and remaining fit criteria before the first touch. A standard LinkedIn people search has no company-size filter, so headcount and location still need checking against the company page. The checklist also removes disqualifiers before you write to anyone. - **Inbound.** The lead arrives with a name, a company and an email address. Find the LinkedIn profile by name and company, then run the same fit checks. Names collide – two people with the same name at different companies are common – so a person confirms the match. There is no lookup from an email address to a LinkedIn profile. Timing signals that move a lead up the list – a job change, new funding, open roles – are covered in [LinkedIn buying signals](/guides/linkedin-buying-signals). ## What a LinkedIn fit check can't tell you - **Budget, timing and the decision process** – those come from the conversation. - **Revenue per company** – not shown on company pages; Sales Navigator offers it only as a search filter band. - **Intent data and technographics** – what a company is researching or which tools it runs are not LinkedIn fields. - **Email addresses and phone numbers** – finding contact details is a separate enrichment step. - **Website visitors** – identifying who visited your site is a different category of tool. - **CRM write-back** – writing verdicts into your CRM is your own integration, or an n8n, Make or Zapier step. - **Real-time alerts** – today the agent checks when you ask; nothing is pushed to you when a lead changes jobs. ## Frequently Asked Questions (FAQ) #### What is a qualified lead? A lead that fits your customer profile and is ready to buy – there is a real need, someone who can decide, and a budget and timeline you have confirmed in a conversation. Fit alone makes a lead worth contacting; readiness makes it worth pursuing now. #### What is the difference between a lead and a qualified lead? A lead is anyone who might buy. A qualified lead has passed your checks: they fit the profile you sell to, and a conversation has shown they have the need, authority, budget and timing to move forward. #### How do you qualify an inbound lead? Find their LinkedIn profile by name and company, confirm it is the right person, and check fit – role, time in role, company industry, size and location. Then ask the readiness questions on the first call. There is no lookup from an email address to a LinkedIn profile. #### What is the difference between inbound and outbound leads? Inbound leads come to you – a form, a demo request, a reply to content. Outbound leads are people you find and contact first. Outbound leads need their fit checked before the first message; inbound leads need it checked before a rep spends time on them. #### Which lead qualification framework should I use? BANT is a quick gate for simpler deals; MEDDIC fits complex enterprise sales with several decision makers; CHAMP and GPCTBA/C&I put the buyer's challenges first. All of them depend on a conversation for budget and timing – LinkedIn can only fill in fit. #### Can AI qualify leads? An AI agent can do the fit research: read each profile and company, apply your written rules, cite its sources and mark what it cannot see as unknown. Readiness – budget, timing, the decision process – still needs a person to ask. Keep a review step before anyone is contacted. ## Build it in, or hand it to an agent Build fit checks into your own CRM, routing or scoring with the REST API, the Node and Python [SDKs](/sdks/installation) or the shell [CLI](/cli/getting-started). Or let an AI agent run them out of the box through the [MCP server](/mcp/overview), the agent-friendly CLI or a ready-made [skill](/skills), on your own LinkedIn account. Plans are flat per seat, from $49/mo billed annually – see [pricing](/pricing). *Facts verified 4 November 2026 – framework definitions checked against IBM's BANT template, HubSpot's published guides and MEDDICC's history of MEDDIC on that date.* ## LinkedIn Industry List: All 434 Industries, Codes and How to Filter by Them LinkedIn's official industry list is the [Industry Codes V2 table](https://learn.microsoft.com/en-us/linkedin/shared/references/reference-tables/industry-codes-v2) that LinkedIn publishes on Microsoft Learn: 434 active industries under 20 top-level sectors, each with a numeric ID. This page lists every one of them by sector, explains why other lists show different totals, and shows how to use the labels when you filter LinkedIn searches – by hand, through an AI agent or in code. > **The short version.** LinkedIn currently lists 434 industries, grouped under 20 top-level sectors such as Manufacturing, Professional Services, and Technology, Information and Media. LinkedIn's Help centre points members to the same table. Other totals describe something else: Recruiter and Talent Insights show a smaller subset, the original list had 147 entries, and third-party lists differ in scope and how recently they were compiled. Each industry has a stable numeric ID, but its label can change – so store the ID for data work, and use the exact current label when you filter a search. Sales Navigator uses the same taxonomy, Recruiter shows part of it, and LinkedIn's ad targeting uses its own. **[Jump to the full list](#the-full-linkedin-industry-list-by-sector)** – looking for one industry? Press Ctrl+F (Cmd+F on a Mac) and type its name. ## How many industries are on LinkedIn? | Count | What it is | Source | | --- | --- | --- | | **434** | Active industries in LinkedIn's current taxonomy (Industry Codes V2), under 20 top-level sectors and up to six levels deep | [Microsoft Learn](https://learn.microsoft.com/en-us/linkedin/shared/references/reference-tables/industry-codes-v2) | | 53 | Inactive V2 entries (IDs 3187–3239) that carry older labels such as "Automotive" and "Apparel and Fashion" – not offered as options | Microsoft Learn | | 147 | Codes in the original V1 list – every one of those IDs is still active in V2 | [Microsoft Learn, V1](https://learn.microsoft.com/en-us/linkedin/shared/references/reference-tables/industry-codes) | | 310 | Labels in the Recruiter and Talent Insights industry filter: 20 top-level, 153 second-level and 137 third-level | [LinkedIn Recruiter Help](https://www.linkedin.com/help/recruiter/answer/a1425422) | Other published totals differ because they cover a different scope or were compiled at a different time. When a list does not add up to 434, check whether it is the old V1 list, the Recruiter subset or a partial copy. The taxonomy is modelled on NAICS. [LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a720019) says: "We've updated our industry taxonomy to align with the North American Industry Classification System (NAICS) standards." The numbers are LinkedIn's own, though – Microsoft Learn notes that "the industry IDs listed on this page are LinkedIn defined and are different from the industry ID available in the NAICS defined codes." ## Filter a search by LinkedIn industry with an AI agent With an AI agent, you name the industry in plain language and the agent passes the labels through the search tools of the [MCP server](/mcp/overview) or the agent-friendly [CLI](/cli/getting-started): **You:** Find cloud companies in Germany in the Software Development or IT Services and IT Consulting industries, with 51 to 200 employees. Show the industry LinkedIn lists for each, so I can check the filter landed. **Agent** (used Linked API: search_companies): - term "cloud", industries Software Development and IT Services and IT Consulting, Germany, 51–200 employees Here are the first results, each with the industry LinkedIn shows on the company page: | Company | Industry on LinkedIn | Size | Location | | --- | --- | --- | --- | | Nordwerk Digital | IT Services and IT Consulting | 51–200 employees | Munich | | Kodera | Software Development | 51–200 employees | Berlin | | Feldtech Cloud | Software Development | 51–200 employees | Hamburg | *Example run. Works the same in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* The rules for exact labels, and what happens when a label doesn't match, are in [using LinkedIn industries as search filters](#use-linkedin-industries-as-search-filters). ## The full LinkedIn industry list, by sector The 20 sectors below are LinkedIn's top-level industries; each links to its table. Labels are copied exactly as LinkedIn writes them – spelling, commas and "and" included – because that is the form a search filter expects. "Under" names the industry each one sits beneath. For LinkedIn's one-line description of each industry, see the [Microsoft Learn table](https://learn.microsoft.com/en-us/linkedin/shared/references/reference-tables/industry-codes-v2). | Sector | ID | Industries | | --- | --- | --- | | [Accommodation Services](#accommodation-services) | 2190 | 9 | | [Administrative and Support Services](#administrative-and-support-services) | 1912 | 18 | | [Construction](#construction) | 48 | 12 | | [Consumer Services](#consumer-services) | 91 | 19 | | [Education](#education) | 1999 | 12 | | [Entertainment Providers](#entertainment-providers) | 28 | 21 | | [Farming, Ranching, Forestry](#farming-ranching-forestry) | 201 | 7 | | [Financial Services](#financial-services) | 43 | 20 | | [Government Administration](#government-administration) | 75 | 27 | | [Holding Companies](#holding-companies) | 1905 | 1 | | [Hospitals and Health Care](#hospitals-and-health-care) | 14 | 22 | | [Manufacturing](#manufacturing) | 25 | 91 | | [Oil, Gas, and Mining](#oil-gas-and-mining) | 332 | 8 | | [Professional Services](#professional-services) | 1810 | 42 | | [Real Estate and Equipment Rental Services](#real-estate-and-equipment-rental-services) | 1757 | 8 | | [Retail](#retail) | 27 | 21 | | [Technology, Information and Media](#technology-information-and-media) | 1594 | 41 | | [Transportation, Logistics, Supply Chain and Storage](#transportation-logistics-supply-chain-and-storage) | 116 | 16 | | [Utilities](#utilities) | 59 | 17 | | [Wholesale](#wholesale) | 133 | 22 | ### Accommodation Services | ID | Industry | Under | | --- | --- | --- | | 2190 | Accommodation Services | – | | 34 | Food and Beverage Services | Accommodation Services | | 2217 | Bars, Taverns, and Nightclubs | Food and Beverage Services | | 2212 | Caterers | Food and Beverage Services | | 2214 | Mobile Food Services | Food and Beverage Services | | 32 | Restaurants | Food and Beverage Services | | 31 | Hospitality | Accommodation Services | | 2197 | Bed-and-Breakfasts, Hostels, Homestays | Hospitality | | 2194 | Hotels and Motels | Hospitality | ### Administrative and Support Services | ID | Industry | Under | | --- | --- | --- | | 1912 | Administrative and Support Services | – | | 1938 | Collection Agencies | Administrative and Support Services | | 110 | Events Services | Administrative and Support Services | | 122 | Facilities Services | Administrative and Support Services | | 1965 | Janitorial Services | Facilities Services | | 2934 | Landscaping Services | Facilities Services | | 101 | Fundraising | Administrative and Support Services | | 1916 | Office Administration | Administrative and Support Services | | 121 | Security and Investigations | Administrative and Support Services | | 1956 | Security Guards and Patrol Services | Security and Investigations | | 1958 | Security Systems Services | Security and Investigations | | 104 | Staffing and Recruiting | Administrative and Support Services | | 1923 | Executive Search Services | Staffing and Recruiting | | 1925 | Temporary Help Services | Staffing and Recruiting | | 1931 | Telephone Call Centers | Administrative and Support Services | | 108 | Translation and Localization | Administrative and Support Services | | 30 | Travel Arrangements | Administrative and Support Services | | 103 | Writing and Editing | Administrative and Support Services | ### Construction | ID | Industry | Under | | --- | --- | --- | | 48 | Construction | – | | 406 | Building Construction | Construction | | 413 | Nonresidential Building Construction | Building Construction | | 408 | Residential Building Construction | Building Construction | | 51 | Civil Engineering | Construction | | 431 | Highway, Street, and Bridge Construction | Civil Engineering | | 428 | Subdivision of Land | Civil Engineering | | 419 | Utility System Construction | Civil Engineering | | 435 | Specialty Trade Contractors | Construction | | 453 | Building Equipment Contractors | Specialty Trade Contractors | | 460 | Building Finishing Contractors | Specialty Trade Contractors | | 436 | Building Structure and Exterior Contractors | Specialty Trade Contractors | ### Consumer Services | ID | Industry | Under | | --- | --- | --- | | 91 | Consumer Services | – | | 90 | Civic and Social Organizations | Consumer Services | | 1909 | Industry Associations | Civic and Social Organizations | | 107 | Political Organizations | Civic and Social Organizations | | 1911 | Professional Organizations | Civic and Social Organizations | | 2318 | Household Services | Consumer Services | | 100 | Non-profit Organizations | Consumer Services | | 2258 | Personal and Laundry Services | Consumer Services | | 2272 | Laundry and Drycleaning Services | Personal and Laundry Services | | 2259 | Personal Care Services | Personal and Laundry Services | | 2282 | Pet Services | Personal and Laundry Services | | 131 | Philanthropic Fundraising Services | Consumer Services | | 89 | Religious Institutions | Consumer Services | | 2225 | Repair and Maintenance | Consumer Services | | 2247 | Commercial and Industrial Machinery Maintenance | Repair and Maintenance | | 2240 | Electronic and Precision Equipment Maintenance | Repair and Maintenance | | 2255 | Footwear and Leather Goods Repair | Repair and Maintenance | | 2253 | Reupholstery and Furniture Repair | Repair and Maintenance | | 2226 | Vehicle Repair and Maintenance | Repair and Maintenance | ### Education | ID | Industry | Under | | --- | --- | --- | | 1999 | Education | – | | 132 | E-Learning Providers | Education | | 68 | Higher Education | Education | | 67 | Primary and Secondary Education | Education | | 105 | Professional Training and Coaching | Education | | 2018 | Technical and Vocational Training | Education | | 2019 | Cosmetology and Barber Schools | Technical and Vocational Training | | 2025 | Fine Arts Schools | Technical and Vocational Training | | 2020 | Flight Training | Technical and Vocational Training | | 2029 | Language Schools | Technical and Vocational Training | | 2012 | Secretarial Schools | Technical and Vocational Training | | 2027 | Sports and Recreation Instruction | Technical and Vocational Training | ### Entertainment Providers | ID | Industry | Under | | --- | --- | --- | | 28 | Entertainment Providers | – | | 38 | Artists and Writers | Entertainment Providers | | 37 | Museums, Historical Sites, and Zoos | Entertainment Providers | | 2161 | Historical Sites | Museums, Historical Sites, and Zoos | | 2159 | Museums | Museums, Historical Sites, and Zoos | | 2163 | Zoos and Botanical Gardens | Museums, Historical Sites, and Zoos | | 115 | Musicians | Entertainment Providers | | 2130 | Performing Arts and Spectator Sports | Entertainment Providers | | 2139 | Circuses and Magic Shows | Performing Arts and Spectator Sports | | 2135 | Dance Companies | Performing Arts and Spectator Sports | | 39 | Performing Arts | Performing Arts and Spectator Sports | | 33 | Spectator Sports | Performing Arts and Spectator Sports | | 2143 | Racetracks | Spectator Sports | | 2142 | Sports Teams and Clubs | Spectator Sports | | 2133 | Theater Companies | Performing Arts and Spectator Sports | | 40 | Recreational Facilities | Entertainment Providers | | 2167 | Amusement Parks and Arcades | Recreational Facilities | | 29 | Gambling Facilities and Casinos | Recreational Facilities | | 2179 | Golf Courses and Country Clubs | Recreational Facilities | | 2181 | Skiing Facilities | Recreational Facilities | | 124 | Wellness and Fitness Services | Recreational Facilities | ### Farming, Ranching, Forestry | ID | Industry | Under | | --- | --- | --- | | 201 | Farming, Ranching, Forestry | – | | 63 | Farming | Farming, Ranching, Forestry | | 150 | Horticulture | Farming | | 298 | Forestry and Logging | Farming, Ranching, Forestry | | 256 | Ranching and Fisheries | Farming, Ranching, Forestry | | 66 | Fisheries | Ranching and Fisheries | | 64 | Ranching | Ranching and Fisheries | ### Financial Services | ID | Industry | Under | | --- | --- | --- | | 43 | Financial Services | – | | 129 | Capital Markets | Financial Services | | 1720 | Investment Advice | Capital Markets | | 45 | Investment Banking | Capital Markets | | 46 | Investment Management | Capital Markets | | 1713 | Securities and Commodity Exchanges | Capital Markets | | 106 | Venture Capital and Private Equity Principals | Capital Markets | | 1673 | Credit Intermediation | Financial Services | | 41 | Banking | Credit Intermediation | | 141 | International Trade and Development | Credit Intermediation | | 1696 | Loan Brokers | Credit Intermediation | | 1678 | Savings Institutions | Credit Intermediation | | 1742 | Funds and Trusts | Financial Services | | 1743 | Insurance and Employee Benefit Funds | Funds and Trusts | | 1745 | Pension Funds | Funds and Trusts | | 1750 | Trusts and Estates | Funds and Trusts | | 42 | Insurance | Financial Services | | 1738 | Claims Adjusting, Actuarial Services | Insurance | | 1737 | Insurance Agencies and Brokerages | Insurance | | 1725 | Insurance Carriers | Insurance | ### Government Administration | ID | Industry | Under | | --- | --- | --- | | 75 | Government Administration | – | | 73 | Administration of Justice | Government Administration | | 3068 | Correctional Institutions | Administration of Justice | | 3065 | Courts of Law | Administration of Justice | | 3070 | Fire Protection | Administration of Justice | | 77 | Law Enforcement | Administration of Justice | | 78 | Public Safety | Administration of Justice | | 2375 | Economic Programs | Government Administration | | 3085 | Transportation Programs | Economic Programs | | 3086 | Utilities Administration | Economic Programs | | 388 | Environmental Quality Programs | Government Administration | | 2366 | Air, Water, and Waste Program Management | Environmental Quality Programs | | 2368 | Conservation Programs | Environmental Quality Programs | | 2353 | Health and Human Services | Government Administration | | 69 | Education Administration Programs | Health and Human Services | | 2360 | Public Assistance Programs | Health and Human Services | | 2358 | Public Health | Health and Human Services | | 2369 | Housing and Community Development | Government Administration | | 2374 | Community Development and Urban Planning | Housing and Community Development | | 3081 | Housing Programs | Housing and Community Development | | 2391 | Military and International Affairs | Government Administration | | 71 | Armed Forces | Military and International Affairs | | 74 | International Affairs | Military and International Affairs | | 79 | Public Policy Offices | Government Administration | | 76 | Executive Offices | Public Policy Offices | | 72 | Legislative Offices | Public Policy Offices | | 3089 | Space Research and Technology | Government Administration | ### Holding Companies | ID | Industry | Under | | --- | --- | --- | | 1905 | Holding Companies | – | ### Hospitals and Health Care | ID | Industry | Under | | --- | --- | --- | | 14 | Hospitals and Health Care | – | | 2115 | Community Services | Hospitals and Health Care | | 2112 | Services for the Elderly and Disabled | Community Services | | 2081 | Hospitals | Hospitals and Health Care | | 88 | Individual and Family Services | Hospitals and Health Care | | 2128 | Child Day Care Services | Individual and Family Services | | 2122 | Emergency and Relief Services | Individual and Family Services | | 2125 | Vocational Rehabilitation Services | Individual and Family Services | | 13 | Medical Practices | Hospitals and Health Care | | 125 | Alternative Medicine | Medical Practices | | 2077 | Ambulance Services | Medical Practices | | 2048 | Chiropractors | Medical Practices | | 2045 | Dentists | Medical Practices | | 2060 | Family Planning Centers | Medical Practices | | 2074 | Home Health Care Services | Medical Practices | | 2069 | Medical and Diagnostic Laboratories | Medical Practices | | 139 | Mental Health Care | Medical Practices | | 2050 | Optometrists | Medical Practices | | 2063 | Outpatient Care Centers | Medical Practices | | 2054 | Physical, Occupational and Speech Therapists | Medical Practices | | 2040 | Physicians | Medical Practices | | 2091 | Nursing Homes and Residential Care Facilities | Hospitals and Health Care | ### Manufacturing | ID | Industry | Under | | --- | --- | --- | | 25 | Manufacturing | – | | 598 | Apparel Manufacturing | Manufacturing | | 615 | Fashion Accessories Manufacturing | Apparel Manufacturing | | 112 | Appliances, Electrical, and Electronics Manufacturing | Manufacturing | | 998 | Electric Lighting Equipment Manufacturing | Appliances, Electrical, and Electronics Manufacturing | | 2468 | Electrical Equipment Manufacturing | Appliances, Electrical, and Electronics Manufacturing | | 3255 | Fuel Cell Manufacturing | Electrical Equipment Manufacturing | | 1005 | Household Appliance Manufacturing | Appliances, Electrical, and Electronics Manufacturing | | 54 | Chemical Manufacturing | Manufacturing | | 709 | Agricultural Chemical Manufacturing | Chemical Manufacturing | | 703 | Artificial Rubber and Synthetic Fiber Manufacturing | Chemical Manufacturing | | 690 | Chemical Raw Materials Manufacturing | Chemical Manufacturing | | 722 | Paint, Coating, and Adhesive Manufacturing | Chemical Manufacturing | | 18 | Personal Care Product Manufacturing | Chemical Manufacturing | | 15 | Pharmaceutical Manufacturing | Chemical Manufacturing | | 727 | Soap and Cleaning Product Manufacturing | Chemical Manufacturing | | 3251 | Climate Technology Product Manufacturing | Manufacturing | | 24 | Computers and Electronics Manufacturing | Manufacturing | | 973 | Audio and Video Equipment Manufacturing | Computers and Electronics Manufacturing | | 964 | Communications Equipment Manufacturing | Computers and Electronics Manufacturing | | 3 | Computer Hardware Manufacturing | Computers and Electronics Manufacturing | | 3245 | Accessible Hardware Manufacturing | Computer Hardware Manufacturing | | 994 | Magnetic and Optical Media Manufacturing | Computers and Electronics Manufacturing | | 983 | Measuring and Control Instrument Manufacturing | Computers and Electronics Manufacturing | | 3254 | Smart Meter Manufacturing | Measuring and Control Instrument Manufacturing | | 7 | Semiconductor Manufacturing | Computers and Electronics Manufacturing | | 144 | Renewable Energy Semiconductor Manufacturing | Semiconductor Manufacturing | | 840 | Fabricated Metal Products | Manufacturing | | 852 | Architectural and Structural Metal Manufacturing | Fabricated Metal Products | | 861 | Boilers, Tanks, and Shipping Container Manufacturing | Fabricated Metal Products | | 871 | Construction Hardware Manufacturing | Fabricated Metal Products | | 849 | Cutlery and Handtool Manufacturing | Fabricated Metal Products | | 883 | Metal Treatments | Fabricated Metal Products | | 887 | Metal Valve, Ball, and Roller Manufacturing | Fabricated Metal Products | | 873 | Spring and Wire Product Manufacturing | Fabricated Metal Products | | 876 | Turned Products and Fastener Manufacturing | Fabricated Metal Products | | 23 | Food and Beverage Manufacturing | Manufacturing | | 562 | Breweries | Food and Beverage Manufacturing | | 564 | Distilleries | Food and Beverage Manufacturing | | 2500 | Wineries | Food and Beverage Manufacturing | | 481 | Animal Feed Manufacturing | Food and Beverage Manufacturing | | 529 | Baked Goods Manufacturing | Food and Beverage Manufacturing | | 142 | Beverage Manufacturing | Food and Beverage Manufacturing | | 65 | Dairy Product Manufacturing | Food and Beverage Manufacturing | | 504 | Fruit and Vegetable Preserves Manufacturing | Food and Beverage Manufacturing | | 521 | Meat Products Manufacturing | Food and Beverage Manufacturing | | 528 | Seafood Product Manufacturing | Food and Beverage Manufacturing | | 495 | Sugar and Confectionery Product Manufacturing | Food and Beverage Manufacturing | | 26 | Furniture and Home Furnishings Manufacturing | Manufacturing | | 1080 | Household and Institutional Furniture Manufacturing | Furniture and Home Furnishings Manufacturing | | 1095 | Mattress and Blinds Manufacturing | Furniture and Home Furnishings Manufacturing | | 1090 | Office Furniture and Fixtures Manufacturing | Furniture and Home Furnishings Manufacturing | | 145 | Glass, Ceramics and Concrete Manufacturing | Manufacturing | | 799 | Abrasives and Nonmetallic Minerals Manufacturing | Glass, Ceramics and Concrete Manufacturing | | 773 | Clay and Refractory Products Manufacturing | Glass, Ceramics and Concrete Manufacturing | | 779 | Glass Product Manufacturing | Glass, Ceramics and Concrete Manufacturing | | 794 | Lime and Gypsum Products Manufacturing | Glass, Ceramics and Concrete Manufacturing | | 616 | Leather Product Manufacturing | Manufacturing | | 622 | Footwear Manufacturing | Leather Product Manufacturing | | 625 | Women's Handbag Manufacturing | Leather Product Manufacturing | | 55 | Machinery Manufacturing | Manufacturing | | 901 | Agriculture, Construction, Mining Machinery Manufacturing | Machinery Manufacturing | | 147 | Automation Machinery Manufacturing | Machinery Manufacturing | | 3247 | Robot Manufacturing | Automation Machinery Manufacturing | | 918 | Commercial and Service Industry Machinery Manufacturing | Machinery Manufacturing | | 935 | Engines and Power Transmission Equipment Manufacturing | Machinery Manufacturing | | 3241 | Renewable Energy Equipment Manufacturing | Engines and Power Transmission Equipment Manufacturing | | 923 | HVAC and Refrigeration Equipment Manufacturing | Machinery Manufacturing | | 135 | Industrial Machinery Manufacturing | Machinery Manufacturing | | 928 | Metalworking Machinery Manufacturing | Machinery Manufacturing | | 17 | Medical Equipment Manufacturing | Manufacturing | | 679 | Oil and Coal Product Manufacturing | Manufacturing | | 61 | Paper and Forest Product Manufacturing | Manufacturing | | 743 | Plastics and Rubber Product Manufacturing | Manufacturing | | 146 | Packaging and Containers Manufacturing | Plastics and Rubber Product Manufacturing | | 117 | Plastics Manufacturing | Plastics and Rubber Product Manufacturing | | 763 | Rubber Products Manufacturing | Plastics and Rubber Product Manufacturing | | 807 | Primary Metal Manufacturing | Manufacturing | | 83 | Printing Services | Manufacturing | | 20 | Sporting Goods Manufacturing | Manufacturing | | 60 | Textile Manufacturing | Manufacturing | | 21 | Tobacco Manufacturing | Manufacturing | | 1029 | Transportation Equipment Manufacturing | Manufacturing | | 52 | Aviation and Aerospace Component Manufacturing | Transportation Equipment Manufacturing | | 1 | Defense and Space Manufacturing | Transportation Equipment Manufacturing | | 53 | Motor Vehicle Manufacturing | Transportation Equipment Manufacturing | | 3253 | Alternative Fuel Vehicle Manufacturing | Motor Vehicle Manufacturing | | 1042 | Motor Vehicle Parts Manufacturing | Transportation Equipment Manufacturing | | 62 | Railroad Equipment Manufacturing | Transportation Equipment Manufacturing | | 58 | Shipbuilding | Transportation Equipment Manufacturing | | 784 | Wood Product Manufacturing | Manufacturing | ### Oil, Gas, and Mining | ID | Industry | Under | | --- | --- | --- | | 332 | Oil, Gas, and Mining | – | | 56 | Mining | Oil, Gas, and Mining | | 341 | Coal Mining | Mining | | 345 | Metal Ore Mining | Mining | | 356 | Nonmetallic Mineral Mining | Mining | | 57 | Oil and Gas | Oil, Gas, and Mining | | 3096 | Natural Gas Extraction | Oil and Gas | | 3095 | Oil Extraction | Oil and Gas | ### Professional Services | ID | Industry | Under | | --- | --- | --- | | 1810 | Professional Services | – | | 47 | Accounting | Professional Services | | 80 | Advertising Services | Professional Services | | 148 | Government Relations Services | Advertising Services | | 98 | Public Relations and Communications Services | Advertising Services | | 97 | Market Research | Advertising Services | | 50 | Architecture and Planning | Professional Services | | 3246 | Accessible Architecture and Design | Architecture and Planning | | 11 | Business Consulting and Services | Professional Services | | 86 | Environmental Services | Business Consulting and Services | | 137 | Human Resources Services | Business Consulting and Services | | 1862 | Marketing Services | Business Consulting and Services | | 2401 | Operations Consulting | Business Consulting and Services | | 123 | Outsourcing and Offshoring Consulting | Business Consulting and Services | | 102 | Strategic Management Services | Business Consulting and Services | | 99 | Design Services | Professional Services | | 140 | Graphic Design | Design Services | | 3256 | Regenerative Design | Design Services | | 3126 | Interior Design | Design Services | | 3242 | Engineering Services | Professional Services | | 3248 | Robotics Engineering | Engineering Services | | 3249 | Surveying and Mapping Services | Engineering Services | | 96 | IT Services and IT Consulting | Professional Services | | 118 | Computer and Network Security | IT Services and IT Consulting | | 3244 | Digital Accessibility Services | IT Services and IT Consulting | | 3102 | IT System Custom Software Development | IT Services and IT Consulting | | 3106 | IT System Data Services | IT Services and IT Consulting | | 1855 | IT System Design Services | IT Services and IT Consulting | | 3104 | IT System Installation and Disposal | IT Services and IT Consulting | | 3103 | IT System Operations and Maintenance | IT Services and IT Consulting | | 3107 | IT System Testing and Evaluation | IT Services and IT Consulting | | 3105 | IT System Training and Support | IT Services and IT Consulting | | 10 | Legal Services | Professional Services | | 120 | Alternative Dispute Resolution | Legal Services | | 9 | Law Practice | Legal Services | | 136 | Photography | Professional Services | | 70 | Research Services | Professional Services | | 12 | Biotechnology Research | Research Services | | 114 | Nanotechnology Research | Research Services | | 130 | Think Tanks | Research Services | | 3243 | Services for Renewable Energy | Professional Services | | 16 | Veterinary Services | Professional Services | ### Real Estate and Equipment Rental Services | ID | Industry | Under | | --- | --- | --- | | 1757 | Real Estate and Equipment Rental Services | – | | 1779 | Equipment Rental Services | Real Estate and Equipment Rental Services | | 1798 | Commercial and Industrial Equipment Rental | Equipment Rental Services | | 1786 | Consumer Goods Rental | Equipment Rental Services | | 44 | Real Estate | Real Estate and Equipment Rental Services | | 128 | Leasing Non-residential Real Estate | Real Estate | | 1759 | Leasing Residential Real Estate | Real Estate | | 1770 | Real Estate Agents and Brokers | Real Estate | ### Retail | ID | Industry | Under | | --- | --- | --- | | 27 | Retail | – | | 1339 | Food and Beverage Retail | Retail | | 22 | Retail Groceries | Food and Beverage Retail | | 1445 | Online and Mail Order Retail | Retail | | 19 | Retail Apparel and Fashion | Retail | | 1319 | Retail Appliances, Electrical, and Electronic Equipment | Retail | | 3186 | Retail Art Dealers | Retail | | 111 | Retail Art Supplies | Retail | | 1409 | Retail Books and Printed News | Retail | | 1324 | Retail Building Materials and Garden Equipment | Retail | | 1423 | Retail Florists | Retail | | 1309 | Retail Furniture and Home Furnishings | Retail | | 1370 | Retail Gasoline | Retail | | 1359 | Retail Health and Personal Care Products | Retail | | 3250 | Retail Pharmacies | Retail Health and Personal Care Products | | 143 | Retail Luxury Goods and Jewelry | Retail | | 1292 | Retail Motor Vehicles | Retail | | 1407 | Retail Musical Instruments | Retail | | 138 | Retail Office Equipment | Retail | | 1424 | Retail Office Supplies and Gifts | Retail | | 1431 | Retail Recyclable Materials & Used Merchandise | Retail | ### Technology, Information and Media | ID | Industry | Under | | --- | --- | --- | | 1594 | Technology, Information and Media | – | | 3133 | Media & Telecommunications | Technology, Information and Media | | 82 | Book and Periodical Publishing | Media and Telecommunications | | 1602 | Book Publishing | Book and Periodical Publishing | | 81 | Newspaper Publishing | Book and Periodical Publishing | | 1600 | Periodical Publishing | Book and Periodical Publishing | | 36 | Broadcast Media Production and Distribution | Media and Telecommunications | | 1641 | Cable and Satellite Programming | Broadcast Media Production and Distribution | | 1633 | Radio and Television Broadcasting | Broadcast Media Production and Distribution | | 35 | Movies, Videos and Sound | Media and Telecommunications | | 127 | Animation and Post-production | Movies, Videos and Sound | | 126 | Media Production | Movies, Videos and Sound | | 1611 | Movies and Sound Recording | Movies, Videos and Sound | | 1623 | Sound Recording | Movies and Sound Recording | | 1625 | Sheet Music Publishing | Movies, Videos and Sound | | 8 | Telecommunications | Media and Telecommunications | | 1649 | Satellite Telecommunications | Telecommunications | | 1644 | Telecommunications Carriers | Telecommunications | | 119 | Wireless Services | Telecommunications | | 6 | Technology, Information and Internet | Technology, Information and Media | | 2458 | Data Infrastructure and Analytics | Technology, Information and Internet | | 3134 | Blockchain Services | Data Infrastructure and Analytics | | 3128 | Business Intelligence Platforms | Data Infrastructure and Analytics | | 3252 | Climate Data and Analytics | Data Infrastructure and Analytics | | 84 | Information Services | Technology, Information and Internet | | 3132 | Internet Publishing | Information Services | | 3129 | Business Content | Internet Publishing | | 113 | Online Audio and Video Media | Internet Publishing | | 3124 | Internet News | Online Audio and Video Media | | 85 | Libraries | Information Services | | 3125 | Blogs | Internet Publishing | | 1285 | Internet Marketplace Platforms | Technology, Information and Internet | | 3127 | Social Networking Platforms | Technology, Information and Internet | | 4 | Software Development | Technology, Information and Internet | | 109 | Computer Games | Software Development | | 3131 | Mobile Gaming Apps | Computer Games | | 5 | Computer Networking Products | Software Development | | 3130 | Data Security Software Products | Software Development | | 3101 | Desktop Computing Software Products | Software Development | | 3099 | Embedded Software Products | Software Development | | 3100 | Mobile Computing Software Products | Software Development | ### Transportation, Logistics, Supply Chain and Storage | ID | Industry | Under | | --- | --- | --- | | 116 | Transportation, Logistics, Supply Chain and Storage | – | | 94 | Airlines and Aviation | Transportation, Logistics, Supply Chain and Storage | | 87 | Freight and Package Transportation | Transportation, Logistics, Supply Chain and Storage | | 1495 | Ground Passenger Transportation | Transportation, Logistics, Supply Chain and Storage | | 1504 | Interurban and Rural Bus Services | Ground Passenger Transportation | | 1512 | School and Employee Bus Services | Ground Passenger Transportation | | 1517 | Shuttles and Special Needs Transportation Services | Ground Passenger Transportation | | 1532 | Sightseeing Transportation | Ground Passenger Transportation | | 1505 | Taxi and Limousine Services | Ground Passenger Transportation | | 1497 | Urban Transit Services | Ground Passenger Transportation | | 95 | Maritime Transportation | Transportation, Logistics, Supply Chain and Storage | | 1520 | Pipeline Transportation | Transportation, Logistics, Supply Chain and Storage | | 1573 | Postal Services | Transportation, Logistics, Supply Chain and Storage | | 1481 | Rail Transportation | Transportation, Logistics, Supply Chain and Storage | | 92 | Truck Transportation | Transportation, Logistics, Supply Chain and Storage | | 93 | Warehousing and Storage | Transportation, Logistics, Supply Chain and Storage | ### Utilities | ID | Industry | Under | | --- | --- | --- | | 59 | Utilities | – | | 383 | Electric Power Generation | Utilities | | 385 | Fossil Fuel Electric Power Generation | Electric Power Generation | | 386 | Nuclear Electric Power Generation | Electric Power Generation | | 3240 | Renewable Energy Power Generation | Electric Power Generation | | 390 | Biomass Electric Power Generation | Renewable Energy Power Generation | | 389 | Geothermal Electric Power Generation | Renewable Energy Power Generation | | 384 | Hydroelectric Power Generation | Renewable Energy Power Generation | | 387 | Solar Electric Power Generation | Renewable Energy Power Generation | | 2489 | Wind Electric Power Generation | Renewable Energy Power Generation | | 382 | Electric Power Transmission, Control, and Distribution | Utilities | | 397 | Natural Gas Distribution | Utilities | | 398 | Water, Waste, Steam, and Air Conditioning Services | Utilities | | 404 | Steam and Air-Conditioning Supply | Water, Waste, Steam, and Air Conditioning Services | | 1981 | Waste Collection | Water, Waste, Steam, and Air Conditioning Services | | 1986 | Waste Treatment and Disposal | Water, Waste, Steam, and Air Conditioning Services | | 400 | Water Supply and Irrigation Systems | Water, Waste, Steam, and Air Conditioning Services | ### Wholesale | ID | Industry | Under | | --- | --- | --- | | 133 | Wholesale | – | | 1267 | Wholesale Alcoholic Beverages | Wholesale | | 1222 | Wholesale Apparel and Sewing Supplies | Wholesale | | 1171 | Wholesale Appliances, Electrical, and Electronics | Wholesale | | 49 | Wholesale Building Materials | Wholesale | | 1257 | Wholesale Chemical and Allied Products | Wholesale | | 1157 | Wholesale Computer Equipment | Wholesale | | 1221 | Wholesale Drugs and Sundries | Wholesale | | 1231 | Wholesale Food and Beverage | Wholesale | | 1230 | Wholesale Footwear | Wholesale | | 1137 | Wholesale Furniture and Home Furnishings | Wholesale | | 1178 | Wholesale Hardware, Plumbing, Heating Equipment | Wholesale | | 134 | Wholesale Import and Export | Wholesale | | 1208 | Wholesale Luxury Goods and Jewelry | Wholesale | | 1187 | Wholesale Machinery | Wholesale | | 1166 | Wholesale Metals and Minerals | Wholesale | | 1128 | Wholesale Motor Vehicles and Parts | Wholesale | | 1212 | Wholesale Paper Products | Wholesale | | 1262 | Wholesale Petroleum and Petroleum Products | Wholesale | | 1153 | Wholesale Photography Equipment and Supplies | Wholesale | | 1250 | Wholesale Raw Farm Products | Wholesale | | 1206 | Wholesale Recyclable Materials | Wholesale | ## V1 vs V2 LinkedIn industry codes LinkedIn's first industry list (V1) had 147 codes. Its replacement, V2, was rolled out from 2022 – Microsoft Learn's V1 page says "We are migrating to Industry V2 codes and they will be available from April 2022" – and grew the list to the 434 industries above. Every V1 ID survived into V2, but most of the labels did not: 95 of the 147 now read differently (counting "&" and "and" as the same). The ID stayed; the name changed. | ID | V1 label | V2 label | | --- | --- | --- | | 4 | Computer Software | Software Development | | 96 | Information Technology and Services | IT Services and IT Consulting | | 6 | Internet | Technology, Information and Internet | | 11 | Management Consulting | Business Consulting and Services | | 80 | Marketing and Advertising | Advertising Services | | 137 | Human Resources | Human Resources Services | Two practical consequences: - **For data, store the ID.** A CRM field or a dataset keyed on "Computer Software" silently stops matching when LinkedIn shows "Software Development"; ID 4 is the same industry in both versions. - **Old names still circulate.** The 53 inactive V2 entries carry V1-era labels such as "Automotive" and "Apparel and Fashion". They are kept for history, not offered as options, so a list built from them is out of date. ## Sales Navigator, Recruiter and Ads industry lists - **Sales Navigator** uses the same taxonomy. Its account search Help links the Industry filter to LinkedIn's industry codes and adds: "when you select an industry filter, accounts are filtered with child industries too" ([Sales Navigator Help](https://www.linkedin.com/help/sales-navigator/answer/a1461507)). The lead search's industry filter is defined without that note, so don't assume a parent industry pulls in its children there. Names shown in the filter can differ slightly from the table. - **Recruiter and Talent Insights** offer a subset – 310 labels that "may not include all of the industries" in the full list ([Recruiter Help](https://www.linkedin.com/help/recruiter/answer/a1425422)). Picking a top-level label returns candidates mapped to it and everything below, and "members that don't have an associated industry won't appear in the search results." - **LinkedIn Ads** targets company industry with "a proprietary taxonomy developed by LinkedIn's team" ([Marketing Solutions Help](https://www.linkedin.com/help/lms/answer/a424655)). Check the values in Campaign Manager itself rather than assuming they match this list. ## How to choose your industry on a profile or Page On a profile or a LinkedIn Page you add an industry "from our industry options" ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a720019)): type a name in the Industry field "and select from the options that appear" ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a595160)). Most people pick the industry of the organisation they work for rather than their job function – a recruiter at a software company is usually in Software Development, not Staffing and Recruiting. If your exact industry isn't offered, choose its closest parent from the list above. ## Use LinkedIn industries as search filters The table above is the reference, not a promise that every label is offered on every search surface. Two rules hold everywhere: filter with the **label**, not the numeric ID, and use the **exact current** label. Linked API's people, company, employee, connection and job searches take an `industries` list, and post search takes author industries. Each search runs on your own LinkedIn account: Linked API types the label into LinkedIn's industry filter and picks from what LinkedIn suggests. - **Matching ignores case and punctuation**, and "&" counts as "and", so "IT Services & IT Consulting" finds "IT Services and IT Consulting". - **When nothing matches by name, LinkedIn's first suggestion is taken.** That is how a renamed label can still land on its successor, but a vague label can land on a neighbour. Use exact labels from the list. - **On people, company, employee, connection and post searches, and on every Sales Navigator search, an industry LinkedIn offers no option for fails the search** with a `filterNotApplied` error, instead of quietly running a wider search than you asked for. - **Job search is the exception.** It is best effort: an industry LinkedIn doesn't offer falls back to LinkedIn's first suggestion, and on accounts with LinkedIn's AI-powered job search, industries can't be applied at all. - **Reading industries back:** company results carry LinkedIn's industry text – the V2 name on standard company pages – so you can check what you got. People results carry no industry field. **With an AI agent**, you name the industry in plain language and the agent passes the labels through the search tools of the [MCP server](/mcp/overview) or the agent-friendly [CLI](/cli/getting-started) – [the example run near the top](#filter-a-search-by-linkedin-industry-with-an-ai-agent) shows a company search filtered by two industries. In the CLI, pass a label that contains a comma as a JSON array, such as `--industries '["Technology, Information and Internet"]'` – a plain comma-separated value would split it into two filters. For agent workflows beyond search, see the [LinkedIn AI agent guide](/guides/linkedin-ai-agent). In code, a company search filtered by two industries, which stops with LinkedIn's message if a label doesn't apply: ```typescript import LinkedApi, { LinkedApiError } from "@linkedapi/node"; const linkedapi = new LinkedApi({ linkedApiToken: "your-linked-api-token", identificationToken: "your-identification-token", }); async function main(): Promise { try { const workflow = await linkedapi.searchCompanies.execute({ term: "data platform", filter: { // Exact labels from LinkedIn's industry list – not the numeric IDs. industries: ["Software Development", "IT Services and IT Consulting"], locations: ["Germany"], sizes: ["51-200"], }, limit: 50, }); const { data, errors } = await linkedapi.searchCompanies.result(workflow.workflowId); const notApplied = errors.find(({ type }) => type === "filterNotApplied"); if (notApplied) { // LinkedIn offered no match for a value; the message names the field and value to fix. console.error(`Fix the filter: ${notApplied.message}`); process.exitCode = 1; return; } if (!data) { console.error(`Search failed: ${errors.map(({ message }) => message).join("; ")}`); process.exitCode = 1; return; } for (const company of data) { console.log(`${company.name} | ${company.industry} | ${company.location}`); } } catch (caught) { if (caught instanceof LinkedApiError) { console.error(`Linked API error: ${caught.message}`); process.exitCode = 1; return; } throw caught; } } main(); ``` People, company and post searches need a keyword or a pasted search URL alongside their filters; see [searching for companies](/docs/searching-for-companies) and [searching for people](/docs/searching-for-people) for the full parameter lists. To decide which filters exist on which LinkedIn plan, see our guide to [LinkedIn advanced search](/guides/linkedin-advanced-search); to build tighter keyword searches around an industry, see [Boolean search](/guides/linkedin-boolean-search). Company records with their industry, size and employees are covered in the [LinkedIn company scraper guide](/guides/linkedin-company-scraper), and turning a search into a spreadsheet in [how to export LinkedIn search results](/guides/export-linkedin-search-results) and, for Sales Navigator, [how to export leads from Sales Navigator](/guides/linkedin-sales-navigator-scraper). ## Frequently Asked Questions (FAQ) #### How many industries are on LinkedIn? 434 active industries, grouped under 20 top-level sectors, in LinkedIn's current Industry Codes V2 taxonomy. Lists with other totals are usually the original V1 list (147 codes), the Recruiter subset (310 labels) or a partial copy. #### Where is LinkedIn's official industry list? On Microsoft Learn, in the Industry Codes V2 table, which LinkedIn's own Help centre links to as the full list of industries. It gives each industry's ID, label, place in the hierarchy and a short description. #### What are LinkedIn industry codes? The numeric IDs LinkedIn assigns to each industry – 4 for Software Development, 96 for IT Services and IT Consulting, 43 for Financial Services. They are LinkedIn's own numbers, not NAICS codes, and they stay stable when a label is renamed. #### Does Sales Navigator use the same industry list? Yes, it uses the same taxonomy. In account search, selecting an industry also includes its child industries, according to LinkedIn's Sales Navigator Help; displayed names can differ slightly from the table. #### Why did my LinkedIn industry name change? LinkedIn replaced its original industry list with the larger V2 taxonomy from 2022 and renamed most of the old labels while keeping their IDs – "Computer Software" became "Software Development", for example. Your profile or Page now shows the new name for the same industry. #### Can I filter a LinkedIn search by industry automatically? Yes. Linked API's people, company, employee, connection and job searches accept LinkedIn's industry labels and run on your own account, from code or through an AI agent. Use exact labels from the list: on most searches, a label LinkedIn doesn't offer fails the search instead of widening it. ## Build it in, or hand it to an agent Filter by industry inside your own product, CRM or pipeline with the REST API, the Node and Python [SDKs](/sdks/installation) or the shell [CLI](/cli/getting-started). Or let an AI agent run the same searches out of the box through the [MCP server](/mcp/overview), the agent-friendly CLI or a ready-made [skill](/skills), on your own LinkedIn account. Plans are flat per seat, from $49/mo billed annually – see [pricing](/pricing). *Facts verified 4 November 2026 – the industry list, counts and V1 labels checked against Microsoft Learn's Industry Codes tables, and the Sales Navigator, Recruiter, Ads and member guidance against LinkedIn's Help centre, on that date.* ## Lead Generation for Software Development Companies: A LinkedIn Outbound Playbook Lead generation for software development companies usually starts the same way: the first projects came from your network, referrals slowed down, and now the team needs a pipeline it can control. This guide is for software development and IT services firms in that position. It covers the LinkedIn outbound half of client acquisition – which accounts to pick, when to reach out, who to contact, what to send and how to turn a reply into a qualified project – and how an AI agent or a short script can do the research for you. > **The short version.** If your work has come from referrals, keep working past clients and your network – and add LinkedIn outbound as the part of the pipeline you control. Run it as a weekly loop: pick sectors where you have case studies, find accounts with a reason to talk now, check that an external team could actually fit, send the engineering leader a short note tied to a matching case study, follow up once, and stop when they reply. Count qualified projects, not messages. An AI agent can do the research and draft every touch; you approve what goes out. ## Let an AI agent run the research – you approve every message The research is the slow part, and it is the part an AI agent does well. Connect Claude, Cursor or another MCP client to the Linked API [MCP server](/mcp/overview), or give Claude Code or Codex the agent-friendly [CLI](/cli/getting-started), and here is what one research run looks like: **You:** Find companies in Germany hiring senior React or Node developers, posted in the last month. For each company, list the open roles with their descriptions, the CTO or VP Engineering, and anyone I'm connected to there. Draft a connection note for each buyer that ties our Payd case study to their roles, under 200 characters. Don't send anything – show me the drafts. **Agent** (used Linked API: search_jobs, fetch_job ×23, fetch_company ×9): - 23 jobs in Germany, posted in the past month - job descriptions: stack, seniority, contract wording - the CTO or VP Engineering at each company, and your 1st-degree connections there - 7 notes drafted; 2 accounts held with no matching case study Here are the accounts worth a note. Nothing has been sent. | Company | Open roles (from job descriptions) | Buyer | Warm path | Draft note | | --- | --- | --- | --- | --- | | Finlo | 3 × Senior React (contract, fintech onboarding) | Anna K., CTO | 2nd degree via a former colleague | "Hi Anna – saw the three React roles…" | | Routely | 1 × Node lead (full-time) | Marc D., VP Engineering | – | Hold: no matching case study | *The agent waits for your go-ahead.* *Example run. Works the same in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* You review the packet, check fit, edit or reject each draft, and only then ask the agent to send. The approval step is something you ask the agent for – Linked API sends what it is told to – so keep "show me first" in the prompt. To stop the sequence on a reply, the agent or your code checks the inbox before each follow-up; Linked API's [inbox monitoring](/docs/monitoring-inbox) reports new messages as they arrive. A few boundaries to know: - The ready-made [LinkedIn growth skill](/skills/linkedin-growth) sends invitations without a note, and the ready-made skills don't search jobs. For job research and personalised notes, use the MCP server, the CLI or the SDKs directly. - In the CLI, a list-flag value that contains a comma – a location such as "Austin, Texas" or an industry such as "Technology, Information and Internet" – goes in as a JSON array, for example `--locations '["Austin, Texas"]'`; a plain comma-separated value would split it. The jobs search `--location` flag takes a comma-containing location as it is. - No route supplies email addresses, Clutch or Upwork data, or intent data. The research is what your own LinkedIn account can see. More agent workflows for sales are in our [LinkedIn AI agent guide](/guides/linkedin-ai-agent). ## Where software development companies get clients | Channel | What it needs | What LinkedIn adds | | --- | --- | --- | | **Referrals and past clients** | Delivered projects, people who remember you | See when past contacts move to a new company | | **Directories and review sites** (Clutch, GoodFirms) | Reviews, a complete profile, often a paid placement | Nothing directly – these run on their own platforms | | **Partnerships** (agencies, consultancies, VCs) | A clear specialism others can refer to | Find partner firms and their founders | | **Content and search** | Case studies and articles that answer buyers' questions | Distribution for the same case studies | | **LinkedIn outbound** | A target list, a reason to talk, a matching case study | Company and job search, the engineering buyer, warm paths | | **Cold email** | Verified addresses and a sending setup | The research that makes the email specific | Referrals carry a lot of weight in services businesses. Hinge's [2026 High Growth Study](https://hingemarketing.com/about-hinge/news-events/news/article/hinge-announces-the-launch-of-the-2026-high-growth-study-executive-summary) reports that "leads from referrals and direct human outreach account for nearly two-thirds of all new business" across professional services firms – a figure for the whole sector, and the release does not give a sample size. Demand for outside developers is real: in [Deloitte's Global Outsourcing Survey 2024](https://www.deloitte.com/content/dam/assets-shared/docs/services/consulting/2025/global-outsourcing-survey-2024.pdf) of more than 500 business and technology leaders, 72% outsource application or software development. ## The weekly LinkedIn outbound loop 1. **[Pick the sectors and company sizes where you have proof.](#pick-the-sectors-and-company-sizes-where-you-have-proof)** 2. **[Find accounts](#how-to-find-accounts-on-linkedin)** that match them. 3. **[Look for a reason to talk now](#signals-that-a-company-may-need-developers-and-what-they-don-t-prove)** – open engineering roles, a new technology leader, a past contact at a new company. 4. **[Find the engineering buyer](#who-to-contact-the-engineering-buyer-not-the-hr-team)** at each account. 5. **[Check outsourcing fit](#check-outsourcing-fit-before-you-write)** before writing a word. 6. **[Send a short note and one follow-up](#what-to-send-a-connection-note-and-one-follow-up)**, then stop on reply. 7. **[Qualify the reply](#turn-a-reply-into-a-qualified-project)** and **[measure](#how-to-measure-software-development-lead-generation)** what turned into projects. ## Pick the sectors and company sizes where you have proof Start from your delivered work, not from the market. A cold message works when it can point to a project like the buyer's own; without one, it is a generic pitch. | Company size | Who usually signs | What they tend to buy | Your proof | | --- | --- | --- | --- | | Startup (1–50) | Founder or CTO | An MVP, a dedicated team | A product you took from zero to launch | | Scale-up (51–500) | CTO, VP Engineering, Head of Product | Team extension in a stack | A team you embedded, in their stack | | Mid-market (500+) | VP Engineering, IT director | Modernisation, integrations | A migration or integration you delivered | *This is a starting map from common practice, not a rule – at some companies procurement or the CEO signs.* The rule that matters: only target sectors where you can show a case study. When you filter by industry, use LinkedIn's exact labels – "Software Development", "Financial Services", "Hospitals and Health Care" – from our [LinkedIn industry list](/guides/linkedin-industry-list). ## How to find accounts on LinkedIn | Filter | Standard LinkedIn search | Sales Navigator | | --- | --- | --- | | Industry | Yes, by LinkedIn's industry labels | Yes | | Company headcount | Yes, in bands (11–50, 51–200…) | Yes, plus headcount growth | | Location | Yes | Yes, by headquarters | | Annual revenue | – | Yes | Build the search around the sectors and sizes above, add a keyword (company searches need one), and save the result as your account list. Our [advanced search guide](/guides/linkedin-advanced-search) covers which filters each LinkedIn plan offers; the [company search docs](/docs/searching-for-companies) show the same search through the API. ## Signals that a company may need developers – and what they don't prove - **Open engineering roles.** - Search jobs by role, location and date posted, then open each job: the description shows the stack, the seniority and whether the role is a contract. - The job links to its company, so you can move from roles to the account. Linked API's job result does not include a hiring-team field, so find the engineering buyer through the company, below. - Several roles open at once, contract roles and a role posted again are reasons to look closer. - The mechanics of job search are in our [LinkedIn jobs guide](/guides/linkedin-jobs-scraper). - **A new technology leader.** A new CTO or VP Engineering often reviews how the team builds and who it works with. Sales Navigator's alerts include "A company hired a senior decision maker" for accounts you save; Linked API reads the alerts currently in that feed. - **A past contact at a new company.** People you delivered for take your name with them. Re-check where your past client contacts work now; a move is a warm reason to say hello. - **Headcount growth.** Sales Navigator's headcount-growth filter finds accounts adding staff fast. None of these proves that a company wants an outside team. As 100signals puts it in its own guide, "The posting does not establish a need for outsourcing." A company hiring React developers may be growing its own team, replacing someone or preparing a build it will run in-house. Treat every signal as a reason to research, then let the fit check below decide. Deloitte's survey gives the context: "Access to talent has emerged as the number-one driver influencing outsourcing decisions." For the full list of signals and how to collect them, see [LinkedIn buying signals](/guides/linkedin-buying-signals). ## Who to contact: the engineering buyer, not the HR team The recruiter who posted a role is not your buyer. Use the size table above to choose the title – founder or CTO at a startup, CTO or VP Engineering at a scale-up, VP Engineering or IT director in the mid-market – and find that person through the company's employee list, filtered by title. Two practical notes: - **Seniority lists rank founders and C-level first.** That is right for a startup, and wrong for a 500-person company where the VP Engineering owns delivery. Filter employees by the title you want instead. - **Look for warm paths.** A 1st-degree connection, a shared connection or a former colleague at the account beats a cold note every time. When several people shape the decision, our [B2B buying committee guide](/guides/b2b-buying-committee) covers mapping and reaching them; [account-based selling](/guides/account-based-selling) covers tiering accounts and running plays. ## Check outsourcing fit before you write Before any message, check the account against your delivery model: - [ ] **A matching case study** in their sector or their stack. - [ ] **A stack you deliver** – the job descriptions tell you what they use. - [ ] **A size and budget band you serve.** - [ ] **Signs they work with external teams** – contract roles, an agency named in a job description, a partners page. - [ ] **Timezone and language fit** for the way you deliver. Exclude an account only on an explicit refusal of vendors or outsourcing ("no agencies") or a known mismatch with how you deliver. On-site or full-time wording describes that vacancy, not the company's view of external teams. No fit, no message. ## What to send: a connection note and one follow-up Keep the note short, specific and free of a pitch. Each example below stays under LinkedIn's 200-character note limit: > Hi Anna – saw the three React roles at Finlo. We built the onboarding app for Payd, a fintech at a similar stage. Happy to share what we learned scaling it. > Hi Marc – congrats on the CTO role at Routely. We rebuilt dispatch for a logistics firm moving off a legacy stack last year. Would a short case study help? > Hi Priya – we worked together when I delivered the Kora portal. Saw you're at Medly now. Would be good to stay in touch. After they accept, send one follow-up with a concrete, low-effort offer – a 20-minute scoping call, or a short technical audit of the area their open roles point to. If there is no reply, stop there. Two facts to plan around: - **Free accounts have a monthly note allowance.** LinkedIn Help says "You can add a personalized message to up to three connection requests per month", each up to 200 characters ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a563153)). Premium removes that cap. Spend the notes where the case-study match is strongest; more scenarios are in our [connection request message guide](/guides/linkedin-connection-request-message). - **Benchmarks are only a reference.** Expandi's IT benchmark, based on 1,731,259 connection requests sent by 1,825 information technology and services accounts between May 2025 and April 2026, reports 28.4% acceptance and a 10.5% reply rate after acceptance. That is one vendor's data on its own users: your numbers will differ, so measure your own. For post-acceptance message templates and follow-up timing, see our [cold outreach guide](/guides/linkedin-cold-outreach-strategies-2026). ## Turn a reply into a qualified project A reply is interest, not an opportunity. On the first call, establish: - [ ] **The business problem** and the outcome they want. - [ ] **The delivery scope** – a new build, team extension, modernisation or an integration. - [ ] **Whether they will use an external team** for it. - [ ] **A budget band and the timing.** - [ ] **Who approves** the engagement. - [ ] **One dated next step**, recorded in your CRM. Count a **qualified opportunity** only when the problem, a scope you deliver, openness to an external team, a plausible budget and timing, and the approver are known – with a dated next step. 100signals draws the same line in its guide between a contact's interest and a real external-development opportunity. ## Build the research step into your own tools Developers can run the steps from [the agent run above](#let-an-ai-agent-run-the-research-you-approve-every-message) in their own code or pipeline: [job search](/docs/action-st-search-jobs), [opening each job](/docs/action-st-open-job) for the company link and description, and [company employees](/docs/action-st-retrieve-company-employees) filtered by the buyer's title, through the REST API, the Node and Python [SDKs](/sdks/installation) or the shell [CLI](/cli/getting-started). Approved notes go out with [`sendConnectionRequest`](/docs/action-st-send-connection-request) at a human pace, inside the per-account [limits](/docs/admin-limits) you set, and the [inbox webhook](/docs/monitoring-inbox) tells your code when someone replies. Finding new postings on a schedule is covered in the [LinkedIn jobs guide](/guides/linkedin-jobs-scraper); the same job-to-people step for recruitment agencies is in [recruitment business development](/guides/recruitment-business-development). ## How to measure software development lead generation | Metric | What it tells you | | --- | --- | | Acceptance rate | Whether your targeting and note make sense to the buyer | | Reply rate after acceptance | Whether the follow-up offer is worth answering | | Meetings booked | Whether replies turn into conversations | | **Qualified opportunities** | Replies that meet the checklist above – the number that matters | | Proposals and wins | Whether outbound produces projects, not just calls | | Source of each won project | How outbound compares with referrals and inbound | Measure against your own baseline from the first few weeks, not against someone else's benchmark, and change one thing at a time – the sector, the signal, the note or the offer. ## Keep your LinkedIn account in good standing Outreach on LinkedIn runs inside LinkedIn's rules. Its [Professional Community Policies](https://www.linkedin.com/legal/professional-community-policies) say: "Do not use our invitation feature to send promotional messages to people you don't know or to otherwise spam people." Research properly, write to people with a real reason, and keep a human pace. LinkedIn does not publish a weekly invitation number; if you hit its limit, "this restriction typically lasts one week" ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a550555)). Linked API runs your own account in a real, dedicated cloud browser – LinkedIn's own pages, at a human pace, within the [limits](/docs/admin-limits) you set – and never stores your password. Like any automation, it carries some risk, which is why volume and pace matter more than the tool. ## Frequently Asked Questions (FAQ) #### How do software development companies get clients? Mostly through referrals and past clients at first, then through partnerships, directories such as Clutch, content, and outbound. LinkedIn outbound is the channel a firm controls directly: pick accounts where you have proof, reach the engineering buyer with a specific reason, and qualify replies into projects. #### Does LinkedIn outreach work for software development companies? It works when it is specific: a sector where you have a case study, a reason to talk now, and a short note to the person who owns delivery. Generic pitches to everyone with "CTO" in their title rarely do. Measure qualified opportunities, not messages sent. #### Who should I contact at a target company? The person who owns engineering delivery: the founder or CTO at a startup, the CTO or VP Engineering at a scale-up, and the VP Engineering or IT director at a larger company. The recruiter who posted a role is not the buyer. #### Are companies hiring developers good leads for outsourcing? They are worth researching, not a sure thing. Open roles show that a company is building, but a company may be growing its own team rather than looking for an outside one. Check the job descriptions, signs of external teams and your case-study match before you reach out. #### How many companies should a software firm contact each week? As many as you can research properly. The limit is the quality of the fit check and the note, not a target number – and your LinkedIn account's own limits apply too. #### Can an AI agent do lead generation for a software company? It can do the research and the drafting. Through Linked API's MCP server or CLI, an agent searches companies and jobs, finds the engineering buyers and drafts notes for you to approve. You decide who gets a message and what it says, and you qualify the replies. ## Build it in, or hand it to an agent Build the research and outreach steps into your own CRM or pipeline with the REST API, the Node and Python [SDKs](/sdks/installation) or the shell [CLI](/cli/getting-started). Or let an AI agent run them out of the box through the [MCP server](/mcp/overview), the agent-friendly CLI or a ready-made [skill](/skills), on your own LinkedIn account. Plans are flat per seat, from $49/mo billed annually – see [pricing](/pricing). *Facts verified 4 November 2026 – survey figures checked against Hinge's and Deloitte's published releases, the Expandi benchmark and 100signals' guide against their live pages, and LinkedIn limits against LinkedIn Help, on that date.* ## How to Export LinkedIn Search Results to Excel or CSV You built a search on LinkedIn and want the people in a spreadsheet. This guide shows how to export LinkedIn search results – by hand, with a browser extension, with an AI agent or with a few lines of code – what LinkedIn itself allows, and how to get the file open in Excel or Google Sheets without garbled names. > **The short version.** There are three practical ways to export LinkedIn search results. For a handful of people, copy the rows into a sheet by hand. For a one-off list, a browser extension can save the results pages you have open to a CSV file. For a list you will refresh, enrich or send on to a CRM, run the same search on your own account through an API or an AI agent and write the rows to a CSV, a sheet or the CRM directly. LinkedIn itself offers no export button for standard search – its Help documents a CSV export only in LinkedIn Recruiter – and it shows a free account at most 250 results per search, so split a larger search into narrower ones. A result row gives you the name, headline, location and profile link; search-result rows contain no email addresses, and finding missing emails is a separate enrichment step. ## Can you export LinkedIn search results? Not from a standard LinkedIn search. What LinkedIn documents, product by product: | Product | Native export | Results you can see | |---|---|---| | **Standard search, free account** | No export option in LinkedIn Help | "A maximum of 250 results per search or 25 pages of search results" ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a520842)) | | **Premium** | No export option in LinkedIn Help | "Everything listed above for free members", plus more people searches on Premium Business and above (same page) – no separate number | | **Sales Navigator** | "LinkedIn currently doesn't offer the option to export account and lead information from Sales Navigator into a CSV or XLS file"; CRM Sync on Advanced Plus ([Sales Navigator Help](https://www.linkedin.com/help/sales-navigator/answer/a102031)) | Up to 2,500 lead results across 100 pages ([Sales Navigator Help](https://www.linkedin.com/help/sales-navigator/answer/a106030)) | | **LinkedIn Recruiter** | PDF or CSV: "200 profiles per month, per seat via PDF"; by CSV "a total of 5000 unique profiles and 200 files per month, per seat"; "up to 25 candidates per export"; "Recruiter Lite doesn't support exporting to CSV" ([Recruiter Help](https://www.linkedin.com/help/recruiter/answer/a412149)) | – | Recruiter's CSV comes from a project's Pipeline, not from a button on the search page. Exporting Sales Navigator leads is its own topic – see our [Sales Navigator scraper guide](/guides/linkedin-sales-navigator-scraper). Two details people trip over. LinkedIn's data archive, "Download your data", contains your connections and your "Search Queries" – the words and dates of your searches – not the results ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a1339364)); exporting your own network is covered in our [connections export guide](/guides/export-linkedin-connections). And export tools commonly state that a standard search reaches 1,000 results (100 pages of 10), while LinkedIn's Help states 250 for a free account. Plan for LinkedIn's figure. ## Export LinkedIn search results with an AI agent With an AI agent, you describe the list instead of clicking through it: **You:** Find heads of sales at fintech companies in London, up to 200 people, and save them to search-results.csv with name, headline, location, connection degree and profile link. Tell me how many rows came back. **Agent** (used Linked API: search_people): - heads of sales in London, industry Financial Services, up to 200 results - 184 rows written to search-results.csv Saved 184 people to search-results.csv – fewer than 200 because that is how many results LinkedIn showed for this search. The first rows: | Name | Headline | Location | Degree | Profile link | | --- | --- | --- | --- | --- | | Hannah W. | Head of Sales at a payments startup | London | 2nd | linkedin.com/in/… | | Kwame A. | Head of Sales, UK & Ireland – lending platform | London | 3rd | linkedin.com/in/… | | Sofia R. | Head of Sales at a regtech company | Greater London | 2nd | linkedin.com/in/… | *Example run. Works the same in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* The agent runs the search on your LinkedIn account and writes the file. Through the [MCP server](/mcp/overview) or the AI-agent-friendly [CLI](/cli/getting-started), the search tools take keywords and filters – title, location, industry, current and past company, school, connection degree – so the agent rebuilds your search from them. To reuse a people search URL you copied from LinkedIn, hand it to the agent as it is: the MCP `search_people` tool takes it as `customSearchUrl`, and the CLI takes it as `linkedin person search --url`, so every filter you set in the browser applies. Ready-made [skills](/skills) cover people and company search too. Ask the agent to report the row count. A short result usually means LinkedIn's limit or a narrow search, not a failed export. For how agents connect to a LinkedIn account, see the [LinkedIn AI agent guide](/guides/linkedin-ai-agent). ## What a LinkedIn search result contains A search shows a short card per result, and an export captures what is on that card. Linked API's search response returns these fields: - **People:** name, headline, location, profile link and your connection degree (API output also carries the photo URL and a permanent member ID). - **Companies:** name, industry, location and the company page link. Linked API's search response does not separate current company and title (some extensions split them out of the card); fetch the profile for those fields and for experience, education, skills and the About section. Each profile visit counts toward LinkedIn's commercial use limit, which LinkedIn does not publish as a number ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a564226)), so read profiles only for the rows you will use. Our [LinkedIn profile scraper guide](/guides/linkedin-profile-scraper) covers that step. Search-result rows contain no email addresses. Finding missing emails is a separate enrichment step, usually charged per email found. One more thing: results are personal. "LinkedIn uses proprietary relevance algorithms to generate a results order that's unique to each member" ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a524188)), so the same search can return a different list on a colleague's account. ## Three ways to export LinkedIn search results | Route | How it reads LinkedIn | Rows per run | Where the data goes | Best for | |---|---|---|---|---| | **By hand** | You, page by page | A page at a time | Wherever you paste | Up to a few dozen people | | **Browser extension or export tool** | Reads the results page in your browser, or runs in the vendor's cloud on your session | As the tool allows, within LinkedIn's limit | A CSV file | A one-off list | | **API or AI agent on your own account** | Runs the search from your own account | Up to LinkedIn's limit per search, repeatable | A CSV, a sheet, a CRM or your product | A list you refresh, enrich or act on | ## Export with a browser extension or export tool **By hand, step by step.** Run the search on LinkedIn. Open a sheet with four columns: name, headline, location, profile URL. For each result, copy the name and headline, and right-click the name to copy the profile link. Move to the next page and repeat. It is fine for a few dozen people and slow beyond that. **With a browser extension, step by step.** The "LinkedIn → CSV Exporter" extension on the Chrome Web Store describes its own steps: install it and pin it to the toolbar; log in to LinkedIn and run a people search – "Make sure you see a list of people profiles in the results", on a URL like linkedin.com/search/results/people/; click the extension icon; "Select how many result pages you want to export"; then "Click Export Search Results and download your CSV file". Its free tier exports one results page per export. Tools work in different ways, and the difference matters for your account: | Tool | How it reaches LinkedIn | Standard search | Emails in the export | |---|---|---|---| | **LinkedIn → CSV Exporter** | An extension in your own browser; "Works only on LinkedIn search pages that show people" | Yes – not Sales Navigator or Recruiter | No | | **PhantomBuster LinkedIn Search Export** | Runs in PhantomBuster's cloud on your LinkedIn session cookie, connected through its browser extension or pasted by hand | Yes – Sales Navigator has a separate Phantom | Not in the search export | | **Simular** | A computer-use agent that, in Simular's words, "runs your search in a real browser on a cloud VM and writes each row into your sheet" | Yes, and Sales Navigator | Profile enrichment as a separate step | | **Evaboot** | A Sales Navigator export tool – its pricing FAQ answers "Do I need a Sales Navigator account?" with yes | No | Yes, per credit | | **Linked API** | Your own account in a real, dedicated cloud browser; you drive it with code or an AI agent | Yes, people and companies | No | Before you pick one, check four things: how it signs in to your account (your browser, your session cookie, your password, or a dedicated browser), the per-run and per-day limits it states, whether emails cost extra, and where the file ends up. ## Export to CSV from your own code Developers get the same export in their own code: [`st.searchPeople`](/docs/action-st-search-people) takes a keyword and filters, or the URL of a people search you built in the browser as `customSearchUrl`, and returns each person's name, headline, location, connection degree and profile link – a few lines with the Node or Python [SDK](/sdks/installation) turn that into a CSV. A failed search comes back with LinkedIn's message, so stop on it rather than writing an empty file, and write the file as UTF-8 with a byte-order mark so Excel opens non-Latin names correctly. The `limit` can go up to 1,000 per call, but LinkedIn still decides how many results your account sees. A company search works the same way with [`searchCompanies`](/docs/action-st-search-companies). Every filter is listed under [`st.searchPeople`](/docs/action-st-search-people), with walkthroughs in [searching for people](/docs/searching-for-people) and [searching for companies](/docs/searching-for-companies). If you are comparing scraper APIs and datasets across profiles, companies and posts, our [LinkedIn scraper API guide](/guides/linkedin-scraper-api) covers that choice. ## Send the results to Excel, Google Sheets or a CRM **Open the file correctly.** In Excel, use Data → From Text/CSV, set File Origin to 65001: Unicode (UTF-8) and the delimiter to Comma, then Load – double-clicking a CSV can garble accented and non-Latin names. In Google Sheets, use File → Import → Upload, then choose where the data goes and the separator ([Google Docs Help](https://support.google.com/docs/answer/40608)). **Keep a sheet or CRM updated.** For a sheet that refreshes, write rows with the Google Sheets API or an [n8n](/integrations/n8n/overview) or [Make](/integrations/make/overview) workflow; for HubSpot, see the [HubSpot integration](/integrations/hubspot-linkedin-integration). Keeping CRM records current is its own job – our [CRM hygiene guide](/guides/crm-hygiene) covers it. To re-run a saved search and pick up only new people, use the routine in the [advanced search guide](/guides/linkedin-advanced-search). ## How to export more than 250 results 250 is LinkedIn's figure for a free account; it publishes no separate number for Premium. Either way, the fix is the same: split the search into narrower ones that each fit under the limit – by location, current company, industry, connection degree or title – then merge the files and remove duplicates by profile link. A [Boolean search](/guides/linkedin-boolean-search) helps you build tight variants. Judge by the rows you get back, not by the counter. LinkedIn says "Search results are always approximate and the actual results may differ from the results counter at the top of search results page" ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a525054)). If you need bigger lists, Sales Navigator shows up to 2,500 leads per search, and Recruiter's CSV export is counted per seat. ## Keep your account in good standing while exporting Searches and profile visits count toward LinkedIn's commercial use limit, so export what you will actually use and keep a human pace. Linked API runs your own account in a real, dedicated cloud browser – LinkedIn's own pages, at a human pace, within the per-account [limits](/docs/admin-limits) you set – and never stores your password. Like any automation, it carries some risk, which is why volume and pace matter more than the tool. For what LinkedIn's terms say about collecting data, see our guide on [how to scrape LinkedIn](/guides/how-to-scrape-linkedin). ## Frequently Asked Questions (FAQ) #### Can you export LinkedIn search results to Excel? Not natively from a standard LinkedIn search – LinkedIn's Help documents an export only in LinkedIn Recruiter, as PDF or CSV from a project. To get a standard search into Excel, copy the rows by hand, use a browser extension that saves the results to CSV, or run the search through an API or an AI agent and write a CSV, then open it in Excel with UTF-8 encoding. #### Is there a free way to export LinkedIn search results? Yes, for small lists. Copying rows by hand costs nothing, and some browser extensions have a free tier – the "LinkedIn → CSV Exporter" extension, for example, exports one results page per export for free. #### How many LinkedIn search results can I export? LinkedIn shows a free account up to 250 results per search, across 25 pages, and publishes no separate number for Premium. Sales Navigator shows up to 2,500 leads per search. To export more from a standard search, split it into narrower searches and merge the files. #### Can I get email addresses from a LinkedIn search export? Not from the search itself – search-result rows contain no email addresses. Finding missing emails is a separate enrichment step, usually charged per email found. #### Can I export a Sales Navigator search? LinkedIn's Sales Navigator Help says it does not offer an export of leads or accounts to CSV or XLS; CRM Sync on the Advanced Plus plan is the alternative it names. Our [Sales Navigator scraper guide](/guides/linkedin-sales-navigator-scraper) compares the tools people use instead. #### Why does my export have fewer rows than LinkedIn's counter? Three reasons: LinkedIn's limit on how many results an account can see (250 on a free account), a counter LinkedIn itself calls approximate, and results that are ordered and filtered for each member. Split the search into narrower ones and count the rows you actually get. ## Build it in, or hand it to an agent Build search exports into your own product, CRM sync or workflow with the REST API, the [Node and Python SDKs](/sdks/installation) or the shell [CLI](/cli/getting-started). Or have an AI agent run them out of the box through the [MCP server](/mcp/overview), the agent-friendly CLI or a ready-made [skill](/skills) – searching on your own LinkedIn account and writing the rows wherever you need them. Plans are flat per seat, from $49/mo billed annually – see [pricing](/pricing). *Facts verified November 3, 2026 – LinkedIn Help pages and the vendor pages named here checked on that date.* ## Recruitment Business Development: How Agencies Win Clients on LinkedIn Recruitment business development is how a recruitment or staffing agency wins new clients and more work from the ones it has – not the job of hiring business development staff. This guide covers where agency clients come from, a weekly routine for finding and approaching them on LinkedIn, how to turn a reply into a job order, and how an AI agent can run the research on your own account. > **The short version.** Recruitment business development is how an agency wins and grows clients: new accounts, new job orders and repeat work. On LinkedIn it works best as a weekly routine. Pick a niche you can fill, find companies that are hiring in it, find the people behind the hire – the manager who needs the role filled and whoever can bring in an agency, which differs by company – and open with a reason tied to that role: the vacancy itself, a candidate you could put forward, or a recent change at the company. Follow up once and stop when they reply. A reply is not a client yet: on the call, agree the need, the urgency, who signs off and the terms, then record the job order. Count meetings and job orders, not messages sent, and run the same check on your existing clients' new roles. A job ad is a noisy lead – the role may already be with other agencies or run by an internal recruiter – so check how long it has been open and who owns it before you write. An AI agent can do the research and draft every touch on your own LinkedIn account, while you approve each message and keep the calls and the relationship. ## What is recruitment business development? Recruitment business development (BD) is the work of winning client accounts and new job orders, as opposed to finding the candidates who fill them. Loxo's definition covers the whole span: "identifying potential clients, engaging them, getting them to do business with you, taking their job orders, maintaining excellent relationships". | | Business development | Candidate sourcing | Account management | |---|---|---|---| | **Produces** | First meetings and new job orders | Shortlists for open roles | Repeat orders from existing clients | | **Usually done by** | A BD manager or a 360 recruiter | A sourcer or delivery recruiter | An account manager or the recruiter who placed | | **On LinkedIn** | Companies hiring, the people who own the hire | Candidates – see [AI candidate sourcing](/guides/ai-candidate-sourcing-linkedin) and [engaging passive candidates](/guides/passive-candidates) | Your clients' new roles and changes – see [grow existing clients](#grow-existing-clients) | In agency language, a 360 recruiter does both halves – wins the job order and fills it. ## Let an AI agent run the research – you approve every message The slow part of BD is research, and it is exactly what an agent can do on your own LinkedIn account. It needs two inputs from you: - **A niche brief, written once:** the roles and locations you fill, the candidates you have on hand, what makes your agency worth a call, and who not to approach – existing clients, companies you place candidates into from. - **The weekly job search:** the terms and filters in [how to find companies that are hiring](#how-to-find-companies-that-are-hiring-on-linkedin), below. **The agent's weekly routine:** search the niche's jobs; open each job for its company, posted date, applicant count and description; drop roles posted by agencies and roles you cannot fill; read each company's people for the head of the function and your 1st-degree contacts; read one or two profiles; draft a note and a follow-up per account – or SKIP; show you the drafts; send only the ones you approve; and stop the follow-up when someone replies. An illustrative delegation prompt: > Every Monday, using my niche brief below: > 1. Search LinkedIn jobs posted in the past week for [roles] in [locations]. > 2. Open each job. Drop it if a staffing or recruiting agency posted it, or if the company is on my do-not-approach list. > 3. For each remaining company, read up to 10 employees whose title matches the head of that function and its top 5 decision makers. Mark my 1st-degree connections. > 4. Read the profiles and recent posts of the one or two most likely owners. Treat them as possible contacts, not confirmed owners. > 5. Draft one connection note under 200 characters and one follow-up per company, using only facts from the job post, the company page and the profiles. Mention a candidate only if they are on my candidate list. Never mention fees or terms. If nothing specific links my agency to the company, write SKIP. > 6. Show me the drafts in a table. Send only the ones I approve. > 7. If anyone replies, stop their follow-up and tell me. Here is what one Monday run returns: **You:** Run the Monday routine above for Senior Data Engineer and Head of Data roles in London. **Agent** (used Linked API: search_jobs, fetch_job ×31, fetch_company ×17, fetch_person ×24): - 31 jobs posted in the past week in London - company, posted date, applicants and description; 9 posted by agencies and 4 on your do-not-approach list, dropped - the head of data and top decision makers at each company, your 1st-degree connections marked - profiles and recent posts of the likely owners - 11 drafts written; 6 companies skipped 11 companies are worth a note, 6 skipped. Nothing has been sent. Three of them: | Company | Open roles | Possible owner | Warm path | Draft note | | --- | --- | --- | --- | --- | | Quantly | 2 × Senior Data Engineer, 41 applicants | Priya N., Head of Data | – | "Hi Priya – saw the two senior data engineering roles. I have two engineers available with streaming experience. Worth a short call?" | | Ledgerly | Head of Data Platform, posted 3 days ago | Tom R., CTO | Anna S., Data Lead – your 1st-degree | "Hi Tom – noticed the Head of Data Platform search. We place data leaders in London fintech; happy to share how we shortlist." | | Brightpath | 1 × Analytics Engineer | – | – | SKIP – no one on your candidate list fits | *The agent waits for your approval, and stops a follow-up when someone replies.* *Example run. Works the same in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* **The review gate lives in your prompt or your code.** Linked API has no built-in approval queue or sequence engine: nothing is sent unless your agent or code calls a send action, so "draft, show, send only what I approve" is a rule you give the agent. LinkedIn's own BD tooling for agencies says the same: "Review and personalize AI-generated messages before sending" ([Recruiter Help](https://www.linkedin.com/help/recruiter/answer/a9324085)). **What the agent cannot do here:** - return the job poster – read "Meet the Hiring Team" on the page yourself; - find emails or phone numbers; - write to your CRM, unless your agent also has a CRM tool; - give an exhaustive count for a role or niche – search and employee results are capped lists. It does read each company's own totals: the number of employees and the number of current vacancies the company has posted, a quick check of size and hiring activity per account. **How the agent reaches LinkedIn.** Out of the box, through the [MCP server](/mcp/overview) – tools such as `search_jobs`, `fetch_job`, `fetch_company`, `fetch_person`, `send_connection_request`, `send_message` and `nv_retrieve_alerts` ([full list](/mcp/available-tools)) – or the AI-agent-friendly [CLI](/cli/getting-started) (`linkedin jobs search`, `linkedin jobs fetch`, `linkedin company fetch`), with ready-made [skills](/skills) covering the people, company and messaging steps. Or build it in, with the REST API, the [Node and Python SDKs](/sdks/installation) and the shell CLI. For how agents connect to a LinkedIn account in general, see our [LinkedIn AI agent guide](/guides/linkedin-ai-agent); for agents on the candidate side, see the [AI recruiting agent guide](/guides/ai-recruiting-agent). ## Where do recruitment agencies find new clients? Most agencies mix several channels. The table sums up how each works and what practitioners warn about; it is practitioner advice, not measured data. | Channel | How it works | Watch out for | |---|---|---| | **Existing and past clients, referrals** | New roles at companies you already placed into; introductions from people you placed | Easy to neglect while chasing new logos | | **Job-ad response (the "ad chase")** | TheirStack defines it as "a recruitment prospecting method where agencies systematically monitor job postings to identify companies with active hiring needs" | Speed matters – Pin tells reps to act "within 48 hours of the alert firing" – and so does crowding (below) | | **MPC / speculative candidate** | You market a strong candidate you already represent (the "most placeable candidate") to companies likely to need them | Send it anonymised, and only for a real candidate | | **Signal outreach** | A new senior leader, a team that is growing, a new office – Loxo's BD guide points to "new C-level positions" | A signal is a reason to talk, not proof of a vacancy | | **LinkedIn content and network** | Posts about your niche's market keep you visible to hiring managers | Slow to pay off | | **Calls and email** | Still the main channels for many desks | Volume without a reason gets ignored | Citable benchmarks are scarce here: the research for this guide found no primary study of agency-to-client reply rates, so this guide quotes none. Set your own baseline in the first month instead (see [measurement](#how-to-measure-recruitment-business-development)). ## The weekly BD loop on LinkedIn 1. [Pick a niche](#pick-a-niche-where-hiring-demand-is-growing) you can actually fill. 2. [Find companies that are hiring](#how-to-find-companies-that-are-hiring-on-linkedin) in it this week. 3. [Find the people behind the hire](#how-to-find-the-hiring-manager-behind-a-job-post). 4. [Send one relevant touch](#what-to-send-a-connection-note-and-one-follow-up) – a note tied to the role or the change. 5. Follow up once, and stop when they reply. 6. [Turn the reply into a qualified job order](#turn-a-reply-into-a-job-order). 7. [Log meetings and job orders](#how-to-measure-recruitment-business-development), not messages. Steps 2 and 3 are the slow part – reading job posts, company pages and profiles for every account. That is the part an [AI agent can take over](#let-an-ai-agent-run-the-research-you-approve-every-message), as in the run above. ## Pick a niche where hiring demand is growing Practitioners agree on this one. "Generalist staffing firms compete on price; niche firms compete on knowing the market," as Pin's guide puts it, and Agency Leads' playbook says "A successful recruitment BD strategy is always vertical-specific." Your niche is where you already have candidates and market knowledge. For a sanity check on demand, LinkedIn and the American Staffing Association track paid LinkedIn job postings published by staffing and recruiting firms in the US. Year-over-year change, as of June 2025 ([The State of Staffing & Search, February 2026](https://d2m21dzi54s7kp.cloudfront.net/wp-content/uploads/2019/10/asa-linkedIn-state-of-staffing-report-jan-2026.pdf)): | Industry | Change in staffing-firm job postings, 2025 | |---|---| | Construction | +44% | | Hospitals and Health Care | +35% | | Accommodation and Food Services | +22% | | Government Administration | +19% | | Manufacturing | −7% | | Utilities | −23% | These are paid postings by staffing firms themselves (their own corporate roles excluded), so they show where agencies already see demand – not where clients go unserved. Use the table to confirm a niche, not to jump to a new one. If you pitch for retained or exclusive work in that niche, a market map is a strong asset – see our [talent mapping guide](/guides/talent-mapping-recruitment). ## How to find companies that are hiring on LinkedIn LinkedIn's job search is the raw material: every post names a company, a role, a location and a date. The filters that matter for BD ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a507441)): | Filter | Why it matters for BD | |---|---| | **Date posted** – past 24 hours, past week, past month | Fresh roles, before the market crowds in | | **Employment type** – contract, full-time, part-time | Contract roles for staffing desks, full-time for perm | | **Experience level** – up to director and executive | Senior roles for retained or executive search | | **Location, company** | Your territory; a named target account | | **Under 10 applicants** | A role that may not be attracting people on its own | | **In your network** | A company where you already have a connection | LinkedIn is also rolling out an AI-powered job search beside the classic one. The two offer different refinements, and which one an account sees is LinkedIn's choice, so a filter may need its AI-search equivalent ([two versions of LinkedIn jobs search](/docs/searching-for-jobs)). **Read the post before you act on it:** - **How long it has been open.** A reposted job "will be treated as a new job" ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a522249)), so a fresh date can hide an old role. Leonar's agency guide treats roles open for 30 days or more as the stronger signal. - **Whether the search is live.** "Actively Reviewing Applicants" appears "when the recruiter has reviewed one or more applications in the past two weeks" ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a1655396)). - **Applicant count and salary**, when the post shows them. - **Who posted it.** Skip roles posted by other agencies. **The catch.** A visible job ad is visible to every agency. In a Reddit thread on BD in r/Recruitment, a headhunter described messaging companies that advertise roles on LinkedIn, and one reply was: "To join 30 recruiters on every role". A job ad gives you a reason to talk, not a client. **A second source of signals on Sales Navigator.** Hiring is one of several [buying signals on LinkedIn](/guides/linkedin-buying-signals), and Sales Navigator account alerts flag changes such as a company hiring a senior decision maker. Linked API reads them with [`nv.retrieveAlerts`](/docs/action-nv-retrieve-alerts) from the feed Sales Navigator currently shows you; Linked API does not store alerts or send alert webhooks, so you check on a schedule and remember which alerts you have seen. ## How to find the hiring manager behind a job post On a LinkedIn job page, members can see a "Meet the Hiring Team" section that includes the job poster ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a767235)), when the poster chooses to display their profile on the post ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a415043)). That person is often not who you want: TheirStack's documentation on job posters warns that "in many cases this is just the recruiter that has posted the position and not the future manager of the hired person in the company." Aim for two people: the manager who needs the role filled, and whoever can engage an agency. At a small company that is often the same founder or head of the team; at a larger one, talent acquisition or procurement may own agency relationships. LinkedIn's own advice for agency BD is to "Reach out to key decision-makers who are actively #Hiring" ([Recruiter Help](https://www.linkedin.com/help/recruiter/answer/a9324085)). Practitioners on forums often say "skip HR" – treat that as one view, not a rule. To find them, search the company's people by the title that runs the function – Head of Data for a data engineer, Finance Director for a payroll manager – and check who you are already connected to there, 1st degree first. Treat everyone this turns up as a possible contact until you have checked: a title does not prove who owns this vacancy. The job post, the person's recent posts or a short question settles it. Our [LinkedIn company scraper guide](/guides/linkedin-company-scraper) covers reading a company's employees and decision makers, and the [B2B buying committee guide](/guides/b2b-buying-committee) covers mapping several people at one account. ## What to send: a connection note and one follow-up The channel depends on your connection: - **1st degree** – a message. - **2nd or 3rd degree** – a connection request. A free account can add a personalized note to "up to three connection requests per month", each "up to 200 characters"; Premium members can personalize every invitation ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a563153)). More examples are in our [connection request message guide](/guides/linkedin-connection-request-message). - **InMail** – a Premium, Sales Navigator or Recruiter feature with monthly credits ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a541643)); see the [InMail guide](/guides/linkedin-inmail). Every touch should carry one reason tied to this company now, one detail you can stand behind – a candidate you actually represent, a market fact – and one small ask. Pin's guide sums it up: "Pitch the role, not the agency." Three examples, all for invented companies: **1. A job-ad response** (176 characters): > Hi Dana – saw Northwind is hiring a Senior Data Engineer in Berlin. I place data engineers in Berlin fintech and have two people in process who fit. Worth 15 minutes this week? Follow-up, once connected: > Thanks for connecting, Dana. Most data engineers I speak to in Berlin ask first about hybrid days and the stack. If it helps, I can share what candidates are asking for right now – 15 minutes on Thursday? **2. A candidate you could put forward** (177 characters): > Hi Marco – I'm representing a payroll manager (8 years, multi-country, ADP) who is open to roles in Milan. With your finance team growing, would an anonymised profile be useful? Follow-up: > Marco, the payroll manager I mentioned has had a second interview elsewhere, so the window is short. The anonymised profile is ready if you want to see it – no commitment. **3. A signal: a new senior leader** (178 characters): > Congrats on the new role, Priya. New CTOs often reshape the platform team early on – I recruit platform engineers in London and put together a short salary snapshot. Want a copy? Follow-up: > Priya, here is the snapshot I mentioned: base ranges for senior platform engineers in London this quarter. If the team plan changes, I'm happy to talk through the market. **A starting cadence to test (editorial guidance):** a connection request, with a note only when you have a specific reason; a message once they accept; one follow-up about a week later that adds something new; then stop. Any reply stops the sequence. Keep it targeted – a handful of 1:1 touches per niche each week, never a bulk send. ## Turn a reply into a job order A reply is a conversation, not a client. The first call decides whether there is work and on what terms. A checklist (editorial guidance): - **The need:** the role, why it is open, why now. - **Urgency and timeline:** when they need someone in seat, and what happens if they don't. - **Budget:** the salary band, and whether the budget for an agency fee exists. - **Who can engage an agency:** who signs off, and whether there is an approved-supplier (PSL) process you would need to join. - **Competition:** which other agencies or internal recruiters are already working the role. - **The brief and the terms:** what a strong candidate looks like, the fee, exclusivity if any. - **The next step:** a dated action – a shortlist by Friday, a signed agreement, a call with the hiring manager. Then record the opportunity, the brief and the next step in your CRM or ATS – that stays your system of record. An agent can turn your call notes into a summary; it does not own the deal. ### Grow existing clients Once a week, run the same job search filtered to the companies you already work with or have placed into, and check Sales Navigator alerts on saved client accounts for a new senior leader or a growing team. When a client opens a new role, write to the manager you placed for before the post collects other agencies. After a placement, check in and ask who else is hiring. For deciding which clients deserve that attention, the tiering in our [account-based selling guide](/guides/account-based-selling) applies to agencies too. ## Build the research step into your own tools Developers can run the job-to-people step from [the agent run above](#let-an-ai-agent-run-the-research-you-approve-every-message) in their own code: open each job ([`st.openJob`](/docs/action-st-open-job)) for the company link and description, then read the company's [employees](/docs/action-st-retrieve-company-employees) matching the owner's title and its top [decision makers](/docs/action-st-retrieve-company-dms), through the REST API, the Node and Python [SDKs](/sdks/installation) or the shell [CLI](/cli/getting-started). Mark a failed read for a retry rather than turning it into "no owner found". Finding the jobs in the first place – [`searchJobs`](/docs/action-st-search-jobs) with the filters above, and polling for new postings – is covered with code in our [LinkedIn jobs API guide](/guides/linkedin-jobs-scraper). Approved notes and messages go out with [`sendConnectionRequest`](/docs/action-st-send-connection-request) and `sendMessage` at a human pace, inside the per-account [limits](/docs/admin-limits) you set, and the [inbox webhook](/docs/monitoring-inbox) tells your code when someone replies, so the follow-up is skipped. The same job-to-people step for software development agencies is in [lead generation for software development companies](/guides/software-development-lead-generation). ## How to measure recruitment business development Count the funnel weekly, per niche: | Stage | What to count | |---|---| | Touches | Notes, messages and InMails sent | | Responses | Accepted invitations, replies | | First meetings | Calls booked with someone who can engage you | | Job orders | Roles you agreed to work, with terms | | Placements | Hires and fees – in your CRM | Agency Leads' playbook names the two ratios that show where it breaks: "Meeting rate: percentage of conversations that convert to a discovery call" and "Close rate: percentage of discovery calls that result in a job order or signed contract". LinkedIn's own BD InMail report for RPS+ tracks "Sent, Responded, Accepted, Not responded, or Hours to accept" ([Recruiter Help](https://www.linkedin.com/help/recruiter/answer/a9966001)) – the same top of the funnel. There is no public benchmark worth borrowing, so treat your first month as the baseline and change one thing at a time: the niche, the signal, or the message. ## Tools agencies use for business development | Tool | What its BD side does | LinkedIn involvement | Published price | |---|---|---|---| | **LinkedIn RPS+** | Business Development mode: search for "prospective clients who are actively hiring" and AI-drafted 1:1 BD InMails, no bulk; for RPS+ users only, rolling out gradually | Inside LinkedIn Recruiter | Contact sales | | **Sales Navigator** | Account and lead lists, alerts, InMail | LinkedIn's own | Core US$119.99/month or US$1,079.88/year ([details](/guides/linkedin-sales-navigator-cost)) | | **Loxo** | ATS and CRM with Account-Based Prospecting – "filters for company size, location, industry, hiring signals", verified work emails, "multi-step, multi-channel outreach campaigns" | Chrome extension in every plan | Account-Based Prospecting is on the Professional plan, quote-based; Core starts at $149 per user / month, billed annually | | **Bullhorn** | Staffing ATS and CRM; Pro adds a recruitment CRM (sales pipeline), Max adds multi-step AI outreach | LinkedIn integrations (RSC and Apply Connect) from Core | Starter $99 per user / month; Pro and Max quote-based | | **Recruiterflow** | ATS and CRM with multichannel sequences and sales automation | Chrome extension and LinkedIn imports | Platform plan $149 per user / month on monthly billing, or $119 billed annually | | **TheirStack** | Job-posting data for the ad chase – a hiring-manager field where available, webhooks | Postings from job boards and career pages, LinkedIn among them | App credits from $109 one-time; API from $49 per month | | **Leonar** | Recruiting CRM with a prospecting and BD module and an MCP connection; email and WhatsApp automated | LinkedIn steps "come back to you as tasks to complete on LinkedIn yourself" | $199 per user / month excl. tax on monthly billing, or $149 per user / month billed annually ($1,788 a year prepaid) | | **Linked API** | The LinkedIn layer for your agent or code: job search, company and people reads, notes, messages, inbox webhooks | Works on your own account from a real cloud browser | Flat per seat, from $49/mo billed annually ([pricing](/pricing)) | **When a bundled tool is the better choice.** If your team already works in LinkedIn Recruiter, RPS+ does BD inside the seat you pay for. If you want contact data, email sequences and the CRM in one product, an agency platform such as Loxo, Bullhorn or Recruiterflow is built for that. If your BD is mostly email at volume, a sequencing tool with verified contact data fits better than a LinkedIn layer. And if nobody on the team will own an agent's prompt and review its drafts, start with the manual routine above. Linked API fits when you want the LinkedIn research and sending on your own account, inside your own agent or code. ## Keep your LinkedIn account in good standing LinkedIn publishes no fixed number of invitations you may send, but it does say what triggers a restriction: "many invitations within a short amount of time", invitations "ignored, left pending, or marked as spam", and suspected use of an automation tool ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a551012)). BD on LinkedIn works at low volume anyway: a few targeted touches a week, each about a specific role or change. Linked API runs your account in a real, dedicated cloud browser – LinkedIn's own pages, at a human pace, inside the per-account limits you set – and never stores your password. Like any automation, it carries some risk, which is why the volume and the reason for each message matter more than the tool. The [AI BDR guide](/guides/ai-bdr) covers the account questions to ask of any tool in more depth. ## Frequently Asked Questions (FAQ) #### What is business development in recruitment? It is the work of winning client accounts and new job orders for an agency – finding companies that need help hiring, reaching the people who can engage you, agreeing the terms and keeping those clients. It is separate from candidate sourcing, which fills the roles once you have them. #### How do recruitment agencies find new clients? Through a mix of channels: repeat work and referrals from existing clients, responding to job ads, marketing a strong candidate you represent, outreach triggered by changes such as a new senior leader, and content, calls and email. On LinkedIn, the core routine is to find companies hiring in your niche, reach the people behind the hire with a specific reason, and follow up once. #### Should I contact the hiring manager or HR? Aim for the manager who needs the role filled and whoever can engage an agency – at a small company often the same person, at a larger one possibly talent acquisition or procurement. The job poster shown on LinkedIn is often an internal recruiter. Practitioners frequently go to the hiring manager first, but the right route depends on the company. #### Is chasing job ads worth it? As one channel, yes – a job post is a clear, current reason to get in touch. But it is visible to every agency, the role may already be with others, and the contact may not have authority to engage you. Check how long the role has been open and who owns it, and combine job ads with signals and your existing clients. #### How many follow-ups should a BD message get? A sensible starting point to test is one: a connection request, a message once they accept, one follow-up about a week later that adds something new, then stop. Any reply stops the sequence. This is editorial guidance, not a measured rule. #### Can I use LinkedIn Recruiter for business development? LinkedIn offers a Business Development mode in Recruiter Professional Services Plus (RPS+): a search for prospective clients who are actively hiring and AI-drafted 1:1 BD InMails. It is for RPS+ users only and is being rolled out gradually; LinkedIn does not publish the price. #### Can AI do business development for a recruitment agency? It can do the research and the drafts: find hiring companies, read the company and the likely owners, and write a note and a follow-up for each account. The approval of every message, the call and the relationship stay with you. On your own LinkedIn account, an agent can do this through Linked API's MCP server or the AI-agent-friendly CLI, with ready-made skills for the people, company and messaging steps. ## Build it in, or hand it to an agent Build the BD research and sending into your own CRM or recruiting tool with the REST API, the [Node and Python SDKs](/sdks/installation) or the shell [CLI](/cli/getting-started). Or have an AI agent run it out of the box through the [MCP server](/mcp/overview), the agent-friendly CLI or a ready-made [skill](/skills) – reading each hiring company, drafting each touch and sending only what you approve, on your own LinkedIn account. Plans are flat per seat, from $49/mo billed annually – see [pricing](/pricing). *Facts verified November 3, 2026 – LinkedIn Help pages, the LinkedIn × ASA report and the vendor pages named here checked on that date.* ## Account-Based Selling on LinkedIn: Tiers, Plays and Measurement Account-based selling, also called account-based sales, turns prospecting around: instead of working a long list of people, you pick a few companies worth winning and sell to each one as a unit. This guide covers what that means, how it differs from account-based marketing, and how to run it on LinkedIn – tiers, plays, a coordinated cadence and account-level measurement – with an AI agent or code doing the research and drafts while you approve what is sent. > **The short version.** Account-based selling – also called account-based sales – means choosing a small set of high-value companies and selling to each one as a market of one: researching the account, reaching several people in its buying group with messages about what each of them owns, and measuring progress per account rather than per email. Account-based marketing works the same accounts from the marketing side – on LinkedIn it often adds paid ads aimed at a list of companies – and this guide covers the sales-led outreach. On LinkedIn the work is: pick and tier your target accounts, find the right people and who you already know there, plan a play for each tier, run a coordinated cadence that starts with your warmest contact and adds people week by week, and review every account's progress weekly. An AI agent can keep each account's research current and draft every touch, as long as you approve what is sent. ## What is account-based selling? Account-based selling is a B2B sales approach that treats each target company as a market of one: a defined list of accounts, several people reached at each, and progress judged by account. HubSpot puts it the same way – "An account-based model treats every account like a market of one." | | Who runs it | Main channels | What it measures | | --- | --- | --- | --- | | Account-based selling (ABS) | Sales – AEs and SDRs | Outreach to named people at named accounts: LinkedIn, email, calls, meetings | Meetings and pipeline per account | | Account-based marketing (ABM) | Marketing, working with sales | Content, events and ads for the same accounts – and, in [LinkedIn's own description](https://business.linkedin.com/advertise/resources/marketing-terms/abm), sales outreach and organic engagement too | Account engagement and pipeline | | LinkedIn account-based advertising | Marketing | Paid ads to an uploaded company list – LinkedIn's [company targeting](https://business.linkedin.com/advertise/ads/targeting/company-targeting) takes up to 300,000 company names | Reach and engagement by account | When both teams work the same accounts, they share one target list, one owner per account and one activity record, so a buyer does not get an ad, an SDR message and an AE invitation in the same week from people who do not know about each other. LinkedIn's ABM page makes the same point about collaboration tools that "allow sales teams to share insights, notes, and updates about target accounts". You will also meet "target account selling" – an older, named sales methodology (TAS) sold by OnTarget, which Siebel acquired in 1999 and which later became The TAS Group ([InfoWorld](https://www.infoworld.com/article/2181466/oracle-to-sell-siebel-s-ontarget.html)). It shares the idea of focusing on a few accounts, but it is a specific branded process. ## Run account research with an AI agent The research is the part of account-based selling to hand off. Each week an agent reads every target company page – size and open jobs, your 1st-degree connections there, the most senior decision makers LinkedIn lists, and the company's posts from the last 30 days – and compares it with last week; tiers, plays and the weekly review are set out below. Through the [MCP server](/mcp/available-tools), the agent-friendly [CLI](/cli/getting-started) or a ready-made [skill](/skills), a Monday review looks like this: **You:** Every Monday: read accounts.json, last week's account summaries and my activity log. For each tier-1 and tier-2 account, fetch the company page and list what changed since last week – new posts, open jobs, new 1st-degree connections, new decision makers. If there is no previous summary for an account, write a baseline instead and say so. Propose the next touch for each planned role, with a draft, within two invitations or messages per account per week. Send nothing until I approve each draft. **Agent** (used Linked API: fetch_company ×12): - headcount, open jobs, your 1st-degree connections, top decision makers and posts from the last 30 days - compared with last week's summaries; 1 account had none 3 of 12 accounts changed this week, and 1 new account got a baseline. Nothing has been sent. | Account | Tier | What changed | Proposed next touch | | --- | --- | --- | --- | | Corvane | 1 | A new VP Operations among the decision makers; 3 new data jobs open | Invite the VP Operations with a note on the data hiring – draft ready | | Helix Freight | 1 | Company post: a new warehouse in Rotterdam | Message your 1st-degree connection there, Lisa M., to ask who owns the rollout | | Brightwell | 2 | 2 new 1st-degree connections | Ask one of them for context before inviting the CFO | | Nordline | 2 | No previous summary | Baseline written – no touch proposed this week | *The agent waits for your approval on each draft.* *Example run. Works the same in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* What each summary holds: - **Your 1st-degree connections at the account** – the warm starting points. - **Senior decision makers** – LinkedIn returns them ranked by seniority, founders and C-level first ([docs](/docs/action-st-retrieve-company-dms)); asking for the top five keeps the list short. - **A flag when part of a company page could not be read**, so an empty list is not mistaken for "nobody there", and a retry for pages that could not be opened. The agent reads with `fetch_company` and sends only what you approve with `send_connection_request` or `send_message`; the approval gate lives in your instructions or your code. Each request runs in your account's dedicated cloud browser at a human pace, within the per-account limits you set ([admin limits](/docs/admin-limits)). [Inbox monitoring](/docs/monitoring-inbox) reports replies and [network monitoring](/docs/monitoring-network) reports accepted invitations, so your weekly account review updates itself. More on what an agent can do on your account is in [LinkedIn AI agents](/guides/linkedin-ai-agent). ## When account-based selling is worth it It fits deals that are large, few and slow, decided by many people. Forrester's survey of nearly 18,000 business buyers found that "13 internal stakeholders and nine external participants influence buying decisions" on average ([Forrester](https://www.forrester.com/blogs/state-of-business-buying-2026/)) – survey context for why one contact is rarely enough, not a list of 22 people to message. Pace matters too. LinkedIn's B2B Institute puts it bluntly: "95% of your potential buyers aren't ready to buy today" ([LinkedIn B2B Institute](https://business.linkedin.com/advertise/resources/b2b-institute/b2b-research/trends/95-5-rule)). Its author, Professor John Dawes, says "The 95% figure is not meant to be a precise rule" and is used "as a heuristic to get the idea across" ([John Dawes](https://johndawes.info/the-955-rule/)). Our reading: plan in months per account, not in a two-week burst. It is the wrong motion for high-volume, low-price sales, where a person-by-person process – such as [AI-assisted prospecting](/guides/ai-sales-prospecting-linkedin) – costs less per deal. ## Choose and tier your target accounts Start with fit you can actually read: industry, company size, location, whether the company is hiring or growing, and what it posts about. [Company search](/docs/action-st-search-companies) and [company pages](/docs/action-st-open-company-page) give you all of that. Then tier the list. This is one illustrative model – editorial guidance, not a benchmark: | Tier | Active accounts per seller | People per account | Research depth | Personalization | | --- | --- | --- | --- | --- | | Tier 1 – one to one | 10–20 | 4–6 | A full account plan | Every message individual | | Tier 2 – one to few | 30–50, in a few clusters | 2–3 | A short brief per cluster | One angle per cluster, a personal opening | | Tier 3 – one to many | A watchlist of up to a few hundred, not actively worked | 1–2, once a trigger fires | A trigger note | A template plus one specific line | Only tiers 1 and 2 count against a seller's capacity; tier 3 is a watchlist. Vendor guides draw the lines differently, and each figure has its own scope. HubSpot's first tier of 20 to 50 accounts is worked jointly by sales, sales development, marketing and executives, with about 200 accounts in a second tier. Salesmotion has each AE own 10–20 tier-1 accounts end to end, with 50–100 tier-2 accounts on warm nurture and 200–500 tier-3 accounts on automated engagement and signal monitoring. Expandi uses 5–25, 25–150 and "hundreds", and maps four to six people per tier-1 account. Re-tier when something changes – a hiring push, a new leader, someone at the account engaging with your posts. Which of those signals LinkedIn shows you is covered in [LinkedIn buying signals](/guides/linkedin-buying-signals). ## Find the people – and who you already know there Cover more roles at tier 1 than at tier 3 – typically the person who owns the problem, the one who owns the budget, and whoever has to evaluate or approve. Mapping the buying committee role by role is its own job, covered in [B2B buying committee](/guides/b2b-buying-committee). The first move is not a cold invitation. It is the people you already know at the account – your 1st-degree connections there – and then anyone who could introduce you. Sales Navigator's TeamLink helps with the second: it "helps you find prospects who can be introduced to you through someone you know", on Advanced and Advanced Plus plans ([LinkedIn Help](https://www.linkedin.com/help/sales-navigator/answer/a101027)). ## Plan the play for each tier A tier-1 play is an account plan. For an invented example – Northwind sells warehouse analytics to Fabrikam, an 870-person logistics company that just posted about delays in peak season: | Person (role) | What they own | Angle | First touch | Follow-up | | --- | --- | --- | --- | --- | | Head of Customer Success – a 1st-degree connection | Customer retention | How late shipments show up in renewals | A message asking how decisions like this get made at Fabrikam | Thanks, plus one relevant example | | VP Operations – the likely champion | Warehouse throughput | The peak-season post | A connection request with a note about that post | After acceptance, a two-line idea and a short-call ask | | Director of Data – the evaluator | Integration and data quality | Fitting the existing data stack | A connection request in week 3, referencing their stack | A technical one-pager if they reply | | CFO – the economic buyer | Cost and return | The cost of delays | Only after a conversation with the champion, ideally through them | – | A tier-2 play reuses one angle across a cluster of similar accounts, with a personal opening for each person. A tier-3 play waits for a trigger – a hiring post, a new leader – and then sends one specific message. ## Run a coordinated cadence across the account A starting schedule – editorial guidance, to test: 1. **Week 1** – your warmest contact: a 1st-degree connection or the likely champion. Engage genuinely with their posts. 2. **Week 2** – a second role, with a connection request and a note about what they own. 3. **Weeks 3–4** – the evaluator or the economic buyer. Mention an earlier conversation only if that person agreed you could. 4. **Then** – follow-ups on open threads, about a week apart. Three rules keep it from turning into noise: - **A cap of about two direct touches per account per week** – invitations and messages, across all its people. A genuine comment on a post does not count, and is never automated filler. - **One owner per account**, so two colleagues never write to the same buyer in the same week. - **A reply changes the plan.** That thread becomes a conversation, and new threads wait until you understand how the decision is made. Salesmotion's version is similar: initial outreach to two or three stakeholders in weeks 1–2, a third at a different level in weeks 3–4, and the economic buyer in weeks 5–8. For the note itself, see [connection request message examples](/guides/linkedin-connection-request-message); for choosing between a message and an invitation, see [connection degrees](/guides/linkedin-connection-degrees). ## Measure accounts, not activities Messages sent says little in account-based selling. Track each account on one line and review the board weekly: | Account | Tier | People planned / reached | Your 1st-degree connections there | Engaged (accepted or replied) | Meeting | Opportunity | Last touch | Next step | | --- | --- | --- | --- | --- | --- | --- | --- | --- | | Fabrikam | 1 | 4 / 2 | 1 | 2 | Booked | Discovery | Oct 30 | Evaluator invitation, week 3 | Re-tier quarterly. The account-level measures the main guides name – account engagement, stakeholder coverage, deal velocity – all come down to this table filled in honestly. ## Build the account summary into your own tools Developers can build the same account summary into a CRM or account board: one [`fetchCompany`](/docs/action-st-open-company-page) call with employees filtered to your 1st-degree connections, decision makers and recent posts returns it through the Node and Python [SDKs](/sdks/installation). ## Which tool does which part Account-based selling usually runs on several tools. What each one documents on its own pages: | Tool | What it is for | What its pages say | | --- | --- | --- | | LinkedIn Sales Navigator | Account lists and research inside LinkedIn | Account lists from CSV on Advanced and Advanced Plus, up to 1,000 accounts ([LinkedIn Help](https://www.linkedin.com/help/sales-navigator/answer/a1378574)); Relationship Explorer "surfaces up to eight of the most relevant leads at an account"; Buyer Intent and TeamLink on Advanced and Advanced Plus | | 6sense | Intent data and ads | "6sense identifies the account behind anonymous research, not the individual" | | Demandbase | ABM platform – intent, buying groups, ads | "Your AI agent builds your buying groups in seconds", from a "150 million+ contact database" | | Clay | Enrichment and research workflows | "200+ data and AI vendors" in its marketplace, Claygent research agents, waterfall enrichment and an email sequencer | | Common Room | Person-level signals | "Every buyer. Person-level. No gaps."; sequences that "advance automatically when a prospect goes quiet" | | Salesmotion | Account research and drafts | Signal, research and outreach agents; reps "Review, refine, and send" the drafts | | Apollo | Contact database and sequences | LinkedIn steps run as tasks in the rep's queue | | Linked API | The LinkedIn execution layer on your own account | Company and people research, invitations and messages from your code or your agent, sent only when you approve; no ads, email or third-party intent, so it works alongside the tools above | If your team already has Sales Navigator Advanced seats, its account lists, Relationship Explorer and TeamLink do much of the research by hand – see [what each Sales Navigator plan costs](/guides/linkedin-sales-navigator-cost). ## Frequently Asked Questions (FAQ) #### What is account-based selling? A B2B sales approach that treats each target company as a market of one: a short list of high-value accounts, several people reached at each with messages about what they own, and progress measured per account. It is also called account-based sales. #### What is the difference between account-based selling and account-based marketing? Account-based selling is led by sales and measured in meetings and pipeline per account. Account-based marketing is led by marketing and works the same accounts with content, events and ads – and in LinkedIn's description, sales outreach too. When both run, they should share one target list, one owner per account and one activity record. #### What are target accounts? The specific companies a team has decided to win, chosen for fit – industry, size, location, growth and need – and usually grouped into tiers by how much attention each gets. #### How many target accounts should a rep have? Fewer than most expect for one-to-one work. In our illustrative model a seller actively works 10–20 tier-1 and 30–50 tier-2 accounts, with a watchlist on top. Vendor guides vary: Salesmotion has each AE own 10–20 tier-1 accounts, while HubSpot's 20–50-account tier is worked jointly by sales, SDRs, marketing and executives. #### Which metrics matter in account-based sales? Per account: people planned versus reached, how many engaged, meetings, opportunity stage and the date of the last touch. Account engagement, stakeholder coverage and deal velocity are summaries of those. #### Can AI run account-based selling? It can do the research, keep each account's summary current, draft every touch and report what changed. A seller should approve each message before it is sent, and own the relationships. ## Build it in, or hand it to an agent Build account research, drafts and the account board into your CRM or sales tool with the REST API, the [Node and Python SDKs](/sdks/installation) or the shell [CLI](/cli/getting-started). Or have an AI agent run it out of the box through the [MCP server](/mcp/overview), the agent-friendly CLI or a ready-made [skill](/skills) – reading each account, drafting each touch and sending only what you approve, on your own LinkedIn account. Plans are flat per seat, from $49/mo billed annually – see [pricing](/pricing). *Facts verified November 2, 2026 – LinkedIn Help pages, the Forrester, LinkedIn B2B Institute and John Dawes sources, and the vendor pages named here checked on that date.* ## What Is an AI Recruiting Agent? Buy One or Assemble Your Own An AI recruiting agent is software that takes over the repetitive part of a recruiter's work and runs it on its own. This guide covers what one does across the hiring loop, how LinkedIn's Hiring Assistant and vendor agents handle sending and approval, how to assemble an agent on your own LinkedIn account – and when buying is the better call. > **The short version.** An AI recruiting agent is software that runs parts of the hiring loop on its own – finding candidates, researching them, writing and sending outreach, following up, and sometimes screening and scheduling – while a recruiter decides how much it may do without approval. Choose LinkedIn's Hiring Assistant if your team already sources in LinkedIn Recruiter: it is an add-on that works inside it. Choose a vendor agent such as hireEZ, Juicebox or Gem if what you need is their candidate data plus email outreach, screening or scheduling in one product. Assemble your own – Claude or another model working on your own LinkedIn account – if your own reasoning, rules or an embedded workflow needs to act on LinkedIn as you. Whichever you choose, check what can be sent without your approval and what is on by default, and keep a recruiter approving outreach and making every hiring decision. Here is the assembled kind in one run – Claude or another model working through [Linked API](/) on your own LinkedIn account, set up as described in [what an assembled recruiting agent looks like](#what-an-assembled-recruiting-agent-looks-like-on-linked-api). It drafts, then waits for your approval: **You:** For the senior data engineer role in role-brief.md – moving a payments platform from nightly batch jobs to streaming, hybrid in Berlin – search LinkedIn for data engineers in Berlin, pick the closest dozen by headline and read their experience, skills and posts from the last 90 days. For each fit, draft a connection note under 200 characters, or a first message if we're already connected, that ties one true detail from their profile to one detail of the role. Hold anyone the profile doesn't support. Send nothing until I approve each draft. **Agent** (used Linked API: search_people, fetch_person ×12): - "data engineer", location Berlin – 40 results, each with your connection degree - 12 picked by headline for a closer read - experience with dates, skills, posts from the last 90 days 10 of the 12 fit the brief and 2 are held. Drafted 9 connection notes and 1 message to a person you're already connected to. Nothing has been sent. Three of the 12: | Person | Connection | From the profile | Draft | | --- | --- | --- | --- | | Jonas K. | 2nd | Data Engineer at a mobility company, 3 years; posted about replacing nightly batch jobs with Kafka streams | Note: "Hi Jonas – your post on replacing nightly batch jobs with Kafka streams is close to our role: moving a payments platform to streaming, hybrid in Berlin. Open to connect?" | | Aylin D. | 1st | Senior Data Engineer, 22 months; Flink and Airflow named in her current role | Message: "Hi Aylin – Flink in your current role caught my eye. We're hiring a senior data engineer to move a payments platform from batch to streaming, hybrid in Berlin. Worth a short chat?" | | Tomasz W. | 3rd+ | Analytics Engineer, 4 years; dbt and SQL models | Held – no matching streaming or pipeline work found in the profile | *Nothing goes out until you approve each draft; then the agent sends at a human pace on your own account, and with inbox monitoring on, each reply comes back with the person's profile URL for your ATS.* *Example run. On a free account LinkedIn allows a personal note on as few as three connection requests a month; Premium removes that cap. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ## What is an AI recruiting agent? An AI recruiting agent works across several steps of hiring rather than answering one question at a time: | Step | What the agent does | Where LinkedIn comes in | | --- | --- | --- | | Source | Searches for people who match the role | People search, Recruiter or Sales Navigator – or the vendor's own profile index | | Research | Reads each profile and recent activity | Experience, skills, posts | | Reach out | Writes and sends the first message | Connection requests with a note, messages, InMail – or email outside LinkedIn | | Follow up | Sends follow-ups until someone replies | Messages; a reply stops the sequence | | Screen | Asks qualifying questions, sometimes by chat or voice | Usually outside LinkedIn | | Schedule | Books interviews | Calendars, outside LinkedIn | | Hand over | Records replies and notes | Your ATS | How much it does on its own is the real question. Braintrust's explainer grades it from L0 "Observe" to L4 "Act autonomously". At L2, "Act with approval", the agent "Drafts, queues, and waits for a yes", and "Nothing reaches a candidate unreviewed". Its advice: "Aim for L2 and L3, and treat L4 as a red flag in hiring." The run at the top of this page works at L2: it drafts and waits for a yes. ## AI recruiting agent vs AI recruiting assistant The words overlap. "AI recruiting assistant" also covers SMS chatbots that answer applicants, interview note-takers and AI features inside an ATS. An agent, in the sense used here, acts across several steps of the loop instead of waiting to be asked. ## Do AI recruiting agents work? What can be said: LinkedIn reports gains for its own agent, talent leaders plan to use agents, and candidates accept AI more readily when a person reviews its output. The sources reviewed here do not establish whether agent-run outreach outperforms a recruiter. - **LinkedIn's own figures.** Recruiters using Hiring Assistant "review 81% fewer profiles to find a qualified match" and see "66% higher InMail acceptance rates with Hiring Assistant vs. traditional sourcing methods" – "Based on LinkedIn data (January 2026)", so vendor-reported ([LinkedIn](https://business.linkedin.com/hire/hiring-assistant)). - **Adoption intent.** In Korn Ferry's survey of 1,674 talent leaders, "More than half (52%) of leaders plan to add autonomous agents to their teams in 2026" ([Korn Ferry](https://www.kornferry.com/about-us/press/korn-ferry-research-unveils-top-talent-acquisition-trends-shaping-2026)). That is a plan, not a result. - **The candidate side.** Among U.S. job seekers in Greenhouse's survey (n=1,200), 38% "have walked away from a hiring process because it included an AI interview" ([Greenhouse](https://www.greenhouse.com/uk/newsroom/63-of-job-seekers-have-faced-an-ai-interview-most-havent-had-a-good-one-yet)). A later Greenhouse survey found most are open to AI in hiring "as long as employers are upfront about how it's used" and "a human reviews the results" ([Greenhouse](https://www.greenhouse.com/newsroom/6-in-10-job-seekers-are-rethinking-how-they-write-to-avoid-sounding-like-ai-even-as-most-use-it-in-their-search)). Both are about AI interviews and AI in hiring, not about outreach. The useful test is your own. Run an agent on one role beside your current process for a few weeks, and compare qualified replies, interviews booked and recruiter time spent reviewing per hire. ## Three ways to get one: Hiring Assistant, a vendor agent, or your own | | LinkedIn Hiring Assistant | Vendor agents | Assembled on your own account | | --- | --- | --- | --- | | Who the candidate hears from | You, inside Recruiter – instant-outreach messages are signed as your Hiring Assistant | Usually your email address, through the vendor's sending | You, from your own LinkedIn account | | LinkedIn access | Inside LinkedIn Recruiter | Mostly the vendor's own profile index; LinkedIn as one source; InMail in some platforms | Your LinkedIn account, through Linked API | | Approval, as documented | Review each draft – or turn on instant outreach per project | Varies: Gem requires review before sending; Juicebox runs hands-off or with checkpoints; hireEZ lets recruiters review every outreach message | Whatever your agent instructions or code enforce | | On by default | The contract setting that permits auto-outreach; instant outreach is a per-project toggle | Varies – ask each vendor | Nothing runs until you or your agent call it | | Published pricing | None – an add-on to Recruiter | Solo plans from $100 (Pin, billed annually) to $494 a month (hireEZ); others by quote | Linked API from $49/mo per seat billed annually, plus your model and time | | Best for | Teams already sourcing in Recruiter | Teams that want candidate data, email and screening in one product | Teams whose own agent, rules or product must act on LinkedIn as themselves | ## LinkedIn's Hiring Assistant LinkedIn's own agent lives inside Recruiter: - **Who can get it.** It is "available as an add-on for LinkedIn Recruiter and LinkedIn Recruiter Professional Services Plus (RPS+) customers", assigned to users with a Recruiter User, Recruiter Admin or qualifying custom role, with a monthly limit on how many candidates each user can source or evaluate ([LinkedIn Help](https://www.linkedin.com/help/recruiter/answer/a7109304)). - **Languages and price.** It works in English, French, German, Dutch, Spanish, Portuguese and Italian; LinkedIn publishes no price. - **What's next.** "Hiring Assistant 2 will begin rolling out to customers in early November" ([LinkedIn](https://business.linkedin.com/hire/hiring-assistant)). Two separate settings decide whether it sends on its own. At the contract level, an admin can enable or disable auto-outreach for all users, and "The setting is enabled by default" ([LinkedIn Help](https://www.linkedin.com/help/recruiter/answer/a16441003)). At the project level, messages go out without per-message approval "only when you turn on the instant outreach toggle" – with it off, "Hiring Assistant will not automatically message candidates" ([LinkedIn Help](https://www.linkedin.com/help/recruiter/answer/a7109304)). With instant outreach on, follow-ups go out automatically when candidates do not reply in your timeframe, and messages are signed "Sent by [recruiter's first name]'s Hiring Assistant" ([LinkedIn Help](https://www.linkedin.com/help/recruiter/answer/a16377039)). LinkedIn's "No" to "Does Hiring Assistant make autonomous or automatic decisions?" is about hiring decisions, not about sending. ## Vendor agents What each vendor's own pages document: | Agent | What it does | Channels | Review, as documented | Published price | | --- | --- | --- | --- | --- | | hireEZ EZ Agent | Sources, reviews applications, screens by voice or chat, schedules | Email, SMS and InMail in hireEZ's platform | "Nothing moves forward without your approval"; recruiters "can review every outreach message before it's sent" | Solo from $494/mo, 7-day trial | | Juicebox Agents | Searches, screens and engages candidates | Email | "Run Agents fully hands-off, or set manual checkpoints at shortlist or sequencing" | $199 per agent/month on top of a seat | | Gem | Drafts outreach from profiles; sourcing and application-review agents | Email, SMS, InMail | Does not send automatically – "No – and that's intentional" | Custom, by company size, with startup rates | | Pin | Searches its own data sources and runs email outreach | Email | "Every automation is optional on every plan"; you can review "each candidate, each email, and each reply before anything goes out" | Solo $100 per user per month, billed annually | | Noon | "covers the whole hiring loop autonomously" | Email and SMS | Ask in a demo | No public price list | | HeroHunt | Searches "1 billion profiles on the web" and runs outreach on "complete autopilot" | Outreach | Ask in a demo | – | | SeekOut AI Agents | Builds a rubric, finds candidates in public and ATS data, drafts outreach | Outreach | "recruiters approve or adjust at every critical step" | – | | Paradox | Screens by chat or text and schedules interviews – not a sourcing agent | Chat, SMS | – | – | Most vendor agents reach candidates by email or SMS from their own profile data. LinkedIn appears as one data source, and InMail appears among Gem's channels and in hireEZ's platform. ## The account-and-control checklist for a recruiting agent Ask these in a demo, or answer them for your own build before anything sends: | Question | A good answer contains | Evidence to ask for | | --- | --- | --- | | Who does the candidate hear from? | A named sender for every channel – your LinkedIn profile, your email, or a vendor address | A sample message as the candidate sees it | | What sends without approval, and what is on by default? | Approval rules per step – first message, follow-up, InMail, screening invite – and the defaults stated | The settings screen, at the account and project level | | Where does candidate data come from, and who keeps it? | The data sources named, and export and deletion terms for profiles, notes and conversations | The plan page and the data terms | | Which channels, and who pays for InMail? | Channels listed, and whether InMail credits come from your seat | The plan page; the [InMail guide](/guides/linkedin-inmail) explains credits | | Does the agent disclose itself to candidates? | A stated policy – a signature line, or messages sent as you | A sample message | | How do replies reach your ATS? | Replies routed to a named owner and logged in the ATS | The integration or webhook setup | | How fast does it act on a LinkedIn account? | Limits per action that you set, and a working-hours window | The limit settings | | Who makes screening decisions? | A person approves every advance and rejection | The workflow, step by step | The account mechanics – what a tool holds to act for you, and what happens when LinkedIn restricts an account – are in the checklist of our [AI BDR guide](/guides/ai-bdr). ## What an assembled recruiting agent looks like on Linked API In an assembled agent, each layer is something you own or choose: - **Data** – your ATS and a role brief you write once per vacancy. - **Reasoning** – your model or agent: Claude, ChatGPT, or your own code with your rules. - **LinkedIn execution** – [Linked API](/), on your own LinkedIn account in a dedicated cloud browser, at a human pace. It covers [people search](/docs/action-st-search-people), [profile reading](/docs/action-st-open-person-page) with experience and posts, connection requests with notes, messages, Sales Navigator InMail, [inbox monitoring](/docs/monitoring-inbox) for replies, and per-action [limits](/docs/admin-limits) with a [working-hours window](/docs/working-hours). - **Screening and scheduling** – the tools you already use. An AI agent with the [MCP server](/mcp/available-tools), the agent-friendly [CLI](/cli/getting-started) or a ready-made [skill](/skills) runs this loop from a plain-language brief – the run at the top of this page is one. Setup is covered in [giving an AI agent access to LinkedIn](/guides/linkedin-ai-agent). The sourcing step, with an evidence-backed shortlist, is in [AI candidate sourcing on LinkedIn](/guides/ai-candidate-sourcing-linkedin); the outreach craft – what to research and how to sequence follow-ups – is in [how to engage passive candidates](/guides/passive-candidates). What Linked API does not supply: an ATS, screening or assessments, scheduling, email, contact data or a language model. An assembled agent gets those from the tools you already use. ## What does an AI recruiting agent cost? Published prices vary widely. hireEZ says "Solo recruiters start at $494/mo with a 7-day free trial"; Juicebox charges "$199 per agent/month" on top of a seat; Pin's Solo plan is $100 per user per month, billed annually; Gem prices by company size, with startup rates. LinkedIn publishes no price for Hiring Assistant, and Noon has no public price list. An assembled agent is priced by its parts: a Linked API seat for each LinkedIn account (flat per seat, from $49/mo billed annually), your model usage, and the time to set it up and supervise it. It costs less in licences when you already have the model and the ATS; it costs more of your own attention, which is the trade. ## When a bundled agent is the better choice - **Your team already sources in LinkedIn Recruiter.** Hiring Assistant works where the team already works. - **You need candidate data and email at volume.** A vendor agent brings its own profile index and sending. - **Screening and scheduling are the bottleneck.** Tools built for chat screening and interview booking, such as Paradox, fit better. - **No one will own an assembled agent.** Someone has to set it up, watch it and fix it. ## Frequently Asked Questions (FAQ) #### What is an AI recruiting agent? Software that runs parts of the hiring loop on its own – sourcing, research, outreach, follow-ups, and sometimes screening and scheduling – while a recruiter sets how much it may do without approval. #### Can AI agents replace recruiters? They can take over repetitive steps – searching, first drafts, follow-ups, booking interviews – but not the judgment: who fits, how to handle a sensitive conversation, and the hiring decision itself. LinkedIn answers "No" when asked whether its own Hiring Assistant makes autonomous decisions. #### Does LinkedIn have an AI recruiting agent? Yes. Hiring Assistant is an add-on for LinkedIn Recruiter and RPS+ customers, and Hiring Assistant 2 begins rolling out in early November 2026. LinkedIn does not publish its price. #### Do AI recruiting agents send messages without approval? Some can. Hiring Assistant sends automatically only when a project's instant-outreach toggle is on; Juicebox can run fully hands-off or with checkpoints; Gem does not send automatically. An agent you assemble sends only what your instructions or code allow. #### How much does an AI recruiting agent cost? Published solo plans range from $100 a month (Pin, billed annually) to $494 a month (hireEZ), and Juicebox adds $199 per agent per month on top of a seat. Hiring Assistant's price is not published. An assembled agent costs a Linked API seat from $49/mo billed annually, plus your model and time. #### Can I build my own AI recruiting agent? Yes. Combine a model or agent such as Claude, a LinkedIn execution layer on your own account such as Linked API, and your ATS and scheduler. The sourcing step is walked through, with an evidence-backed shortlist, in our [AI candidate sourcing guide](/guides/ai-candidate-sourcing-linkedin). ## Give your recruiting agent an account it can use Build the loop into your ATS or recruiting product with the REST API, the [Node and Python SDKs](/sdks/installation) or the shell [CLI](/cli/getting-started). Or have an AI agent run it out of the box through the [MCP server](/mcp/overview), the agent-friendly CLI or a ready-made [skill](/skills) – researching candidates, drafting against your role brief and sending only what you approve, on your own LinkedIn account. Plans are flat per seat, from $49/mo billed annually – see [pricing](/pricing). *Facts verified November 2, 2026 – LinkedIn Help and product pages, the Korn Ferry and Greenhouse sources, and the vendor pages named here checked on that date.* ## LinkedIn Connection Request Message: Examples and When to Skip the Note What you put in a LinkedIn connection request message matters less than most template lists suggest, and more than a blank box implies. This guide starts with what published data says about notes, then gives sixteen short examples by scenario and shows how to let AI draft one per person for you to review. > **The short version.** A note does not guarantee that more people accept: in several large published datasets, blank connection requests were accepted as often or slightly more often, while campaigns that used notes saw more replies. So add a note when you have something real and specific to say – what you share, something they did, why now – in one or two sentences under 200 characters, with no pitch. If you have nothing specific, send the request blank rather than a generic line. The examples below cover sales, recruiting and networking, and the last sections show how to let AI draft a note per person for you to review before anything is sent. A note that works, after someone posts about a problem you also work on (162 characters): > Hi Maya – your post on onboarding emails that nobody opens matched what we see in our own data. I work on the same problem at Northwind. Would be glad to connect. More by scenario: [sales](#sales-and-business-development), [recruiting](#recruiting) and [networking and job seekers](#networking-and-job-seekers). ## Should you add a note to a LinkedIn connection request? Only when it says something specific. The published numbers are observational campaign data, not controlled experiments, and they point the same way on acceptance: | Source | Sample | Accepted with a note | Accepted without | What else it found | | --- | --- | --- | --- | --- | | Belkins, 2026 study | 11.5 million requests sent in 2025 | 25.3% | 27.6% | Replies 8.2% with a note vs 5.3% without | | SmartReach, State of LinkedIn Outreach 2026 | 500,000+ requests, Jan–Jun 2026 | 24% | 28% | – | | Reachium | 19,516 with a note, 160,639 without | 22.6% | 27.7% | The gap reversed in 2 of 3 paired accounts; the author "makes no claim in either direction" | | La Growth Machine A/B | 9,000 leads, three arms | 29–32% | 31% | – | HeyReach's help article reports 27% for blank requests against 22% with text, but states no sample, so read it as a vendor claim. What this supports: - **A note does not guarantee more accepts.** Blank requests did as well or better in these aggregates. - **Campaigns with notes were associated with more replies.** Reachium cautions that the reply gap cannot be separated from the rest of the outreach sequence. - **Editorial guidance, not a measured result:** be specific or send it blank, and never send a generic line. Keep notes under 200 characters: LinkedIn lets a free account add a personalized message to three connection requests a month, and Premium members to all of them ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a563153)). The full limits are in [LinkedIn connection limits](/guides/linkedin-connection-limit-2026). LinkedIn's own advice is "Keep your message short and specific". It says a good invitation usually includes "How you found the person or what you have in common", "Why you'd like to connect now", and "A clear and polite tone" ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a563153)). ## Send approved notes at a human pace with an AI agent Once you have approved notes – the examples and the AI drafting step follow below – sending them is mechanical. Linked API runs each request in your account's dedicated cloud browser at a human pace, within the per-account limits you set ([admin limits](/docs/admin-limits)), and reports LinkedIn's own answers instead of hiding them ([send connection request](/docs/action-st-send-connection-request)). With an AI agent connected through the [MCP server](/mcp/available-tools), the hand-off looks like this: **You:** Send the 15 connection requests in approved.csv – each row has a profile link and the note I approved, or no note where I left it blank. Stop at once if LinkedIn refuses a request as not allowed, and tell me what happened to each one. **Agent** (used Linked API: send_connection_request ×15): - sent one at a time at a human pace on your own account 11 of 15 requests went out with the approved note or none. The other 4 need a look: | Person | LinkedIn's answer | What it means | Next step | | --- | --- | --- | --- | | Diego F. | Already pending | Your earlier invitation is still waiting | Nothing to resend | | Hannah K. | Invitation already received | She invited you first | Accept her invitation | | Ola N. | Email required | She only accepts requests that include her email address | Skip, or add her email if you have it | | Tim V. | Note too long | The note ran over LinkedIn's limit | Shorten it and approve again | *Example run. Works the same in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* What LinkedIn can answer, and what to tell the agent to do: - **Note too long** (`noteTooLong`) goes back to you for a shorter version. The approved note is never silently dropped. - **Monthly note limit reached** (`noteLimitExceeded`) means the account has used its personalized notes for the month. Say in the prompt whether the rest go out without a note or wait for review. - **Already pending, already connected or their invitation already waiting** (`alreadyPending`, `alreadyConnected`, `invitationAlreadyReceived`) count as done, with no resend – for the last one, accept theirs. - **Email required** (`emailRequired`) marks people who only accept requests with their email address. - **Request not allowed – stop the batch** (`requestNotAllowed`). It can mean one person's settings, but it also covers reaching LinkedIn's sending limits, so carrying on would be the wrong move. That is why the prompt above says to stop. Keep the approval step in your prompt; the agent sends what you allow it to. A ready-made [skill](/skills) can run the same loop, and what else an agent can run on your account is in [LinkedIn AI agents](/guides/linkedin-ai-agent). The schedule and the review queue stay with you. After sending, a connection status check (`check_connection_status` for an agent) or [network monitoring](/docs/monitoring-network) tells you who accepted before your first message. The sending mechanics are in [how to automate LinkedIn connection requests](/guides/how-to-automate-linkedin-connection-requests), clearing old invitations is in [LinkedIn pending invitations](/guides/linkedin-pending-invitations), and what to send after they accept is in [LinkedIn cold outreach](/guides/linkedin-cold-outreach-strategies-2026). ## LinkedIn connection request message examples Each example stays under 200 characters, so it fits a free account. The names and companies are invented, and the counts are for these real-length names – swap in your own specifics. The point is the one detail that could not be sent to anyone else. For more copy-paste ideas, the template libraries from Expandi, SalesRobot and Skylead are good starting points. ### Sales and business development | Scenario | Note | Characters | Why it works | | --- | --- | --- | --- | | They changed roles | Congrats on the move to Brightline, Jonas. Taking over RevOps while the sales team doubles sounds like a big year – would be glad to connect and follow along. | 158 | A real trigger, no ask | | Same event | Hi Priya – I was at SaaStr too, and your answer on pricing for the first ten customers stuck with me. Would be glad to connect and keep the thread going. | 153 | Names the moment, not just the event | | A mutual connection referred you | Hi Tom – Elena Ruiz suggested I reach out; she said you rebuilt the partner program at Acme this year. I'm doing the same at Northwind and would like to connect. | 161 | The name explains the request | | A peer at a target account | Hi Aisha – I lead sales at Northwind and follow how Fabrikam runs its field team. Your point about territory planning in last week's interview caught my eye. Would like to connect. | 180 | Shows research without pitching | | They engaged with your post | Thanks for the comment on my post about churn, Leo – your point about pricing pages was sharper than mine. Would be glad to connect. | 132 | Builds on something they started | | A former colleague | Hi Dana – we overlapped at Contoso back in 2021. Saw you now lead customer success at Brightline – would be great to reconnect here. | 132 | Shared history is reason enough | ### Recruiting | Scenario | Note | Characters | Why it works | | --- | --- | --- | --- | | A candidate's specific work | Hi Wei – your write-up on migrating Kafka at Fabrikam is the kind of problem our data team works on every day. Would like to connect – no pitch. | 144 | Proves you read their work | | A passive candidate | Hi Omar – I recruit for platform engineering teams and follow people doing careful infrastructure work. Your talk on cost tagging stood out. Happy to just connect. | 163 | Honest about who you are, no job ask | | A hiring manager at a client | Hi Claire – I place backend engineers in Berlin and noticed Acme is growing its payments team. Would be glad to connect with the person building it. | 148 | Relevant to their current problem | | Alumni of the same company | Hi Marco – fellow Contoso alum here (I was on the data team until 2022). I recruit analytics engineers now and would like to stay in touch. | 139 | Shared employer, stated plainly | Engaging candidates who are not looking is its own skill; the full sourcing workflow is in [AI candidate sourcing on LinkedIn](/guides/ai-candidate-sourcing-linkedin). ### Networking and job seekers | Scenario | Note | Characters | Why it works | | --- | --- | --- | --- | | Same school | Hi Sam – fellow Michigan grad (2019). I'm moving from finance into product, and your path from analyst to PM is the one I'm trying to learn from. Glad to connect. | 162 | A clear, modest reason | | Someone whose work you admire | Hi Ana – your article on writing user interviews changed how I run mine. Thank you for sharing it. Would be glad to connect. | 124 | Specific thanks, nothing asked | | A recruiter, from the candidate side | Hi Ben – I see you recruit for data roles at Fabrikam. I'm a data engineer with six years in streaming systems and would like to connect so my profile is on your radar. | 168 | Useful to them, no job request in the note | | After meeting in person | Hi Grace – great talking at the Lisbon meetup yesterday about AI support tools. Connecting so we can pick it up again. | 118 | Recency does the work | | The same community | Hi Ravi – we're both in the RevOps Co-op community, and your answers on CRM cleanup are the most useful ones there. Would be glad to connect. | 141 | Shared space plus a specific compliment | **When to send it blank:** when their headline already makes the connection obvious, or when you cannot name one specific reason. A blank request beats "I'd like to add you to my professional network". ## What makes a connection note work This is editorial guidance drawn from LinkedIn's advice and the stronger template guides, not a measured result: - **One specific, checkable reference** – a post, a project, an event, a person you both know. - **A reason to connect now** – a new role, a conversation, something they just published. - **No pitch and no ask.** The Muse's advice to job seekers applies to everyone: never ask for the job – or the meeting – in the note. - **No stock lines.** "I'd like to add you to my professional network" tells them you did not look. - **The 500-people test.** Outreachbloom's check: if the note could have been sent to 500 other people, it is not specific enough. - **Their name, used naturally** – once, at the start, the way you would say it in person. - **Honesty matters.** A recipient can choose "I don't know this person", which stops further invitations from you, and LinkedIn says that feedback helps it decide "whether we may need to restrict the sender's account" ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a540852)). ## Let AI draft each note from the profile – then review it Writing a specific note for every person is where the time goes, and it is the part an AI model can draft well – if you give it the right inputs and keep a person in charge of sending. **Inputs for each person:** their headline, current role and company, and one or two recent posts with their dates. [Linked API](/docs/action-st-open-person-page) reads these from the profile on your own LinkedIn account – `fetchPerson` with posts in code, or the `fetch_person` tool for an AI agent. **An illustrative prompt:** > Draft a LinkedIn connection note for each person below. Rules: under 200 characters; mention one specific thing from their headline or recent posts, using only the text provided; no pitch and no meeting request; never invent facts. If nothing specific is there, answer SKIP and I will send the request without a note. **Then review every draft.** Approve it, edit it, or mark it blank. The model writes; you decide what goes out under your name. Hosted tools do this too: HeyLead drafts notes from profile signals, and Leonar puts the AI draft in front of a recruiter before it is pasted into LinkedIn. The [agent route](#send-approved-notes-at-a-human-pace-with-an-ai-agent) near the top of this guide is for when you want the draft-review-send loop on your own account, inside your own tools or agent. For the whole find, qualify and invite workflow around this step, see [AI for sales prospecting](/guides/ai-sales-prospecting-linkedin); for notes around a sales call, see [Claude for sales](/guides/claude-for-sales). ## Send from your own code or the CLI From your own code, the send step is [`sendConnectionRequest`](/docs/action-st-send-connection-request) in the Node and Python [SDKs](/sdks/installation), and each of LinkedIn's answers listed in the [agent route](#send-approved-notes-at-a-human-pace-with-an-ai-agent) comes back as an error code your script can branch on; from the shell it is `linkedin connection send --note "…"` in the [CLI](/cli/getting-started). ## Frequently Asked Questions (FAQ) #### Should I add a note to a LinkedIn connection request? Add one when you can say something specific about the person. In several large published datasets, blank requests were accepted as often or slightly more often than requests with notes, while campaigns with notes were associated with more replies – so a specific note is worth it, a generic one is not. #### What should I say in a connection request to someone I don't know? Say how you came across them and the one specific thing that prompted you – a post, a talk, a shared group – in a sentence or two, with no pitch. LinkedIn itself suggests explaining how you found the person or what you have in common, and why you want to connect now. #### What should I write to a recruiter? Say what you do in one line and why their area is relevant – for example your role and years of experience in the field they recruit for. Leave the job request out of the note; once you are connected, you can message them properly. #### Can someone reply to my note without accepting? Yes. LinkedIn says the recipient "can reply without accepting your invitation", and the conversation then appears in your messages ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a563153)). #### Can I change a note after sending it? LinkedIn documents no way to edit a sent invitation. You can withdraw it – the recipient is not notified – but you cannot invite the same person again for up to three weeks ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a568295)). #### Is "I'd like to add you to my professional network" a good message? No. It is the default line and tells the person you did not look at their profile. A blank request is a better choice than a generic note. ## Build it in, or hand it to an agent Build the draft-review-send loop into your own CRM or outreach tool with the REST API, the [Node and Python SDKs](/sdks/installation) or the shell [CLI](/cli/getting-started). Or have an AI agent run it out of the box through the [MCP server](/mcp/overview), the agent-friendly CLI or a ready-made [skill](/skills) – drafting from each profile and sending only what you approve, on your own LinkedIn account. Plans are flat per seat, from $49/mo billed annually – see [pricing](/pricing). *Facts verified November 2, 2026 – LinkedIn Help pages and the published acceptance datasets named here checked on that date.* ## How to Engage Passive Candidates: A Research-First LinkedIn Playbook To engage passive candidates – people who are not applying for jobs but would move for the right role – you need a reason that is about them, not a job ad. This guide covers who counts as passive, why most recruiter messages get ignored, what to research before the first touch, a follow-up sequence to test, and how to let an AI agent do the research and drafting while a recruiter approves every message. > **The short version.** Passive candidates are people who are not applying for jobs but would consider the right move – in Gallup's late-2025 poll, 40% of U.S. employees were watching for opportunities without actively looking, against 11% actively searching. They answer a specific reason, not a job ad. So research each person before the first touch – a recent post, a career move, a project – and pair one true detail about them with one real detail about the role: the problem, the setup, the pay you can share. Reach them through the channel your relationship allows. A sensible starting point to test is a first message once they accept, then two follow-ups about a week apart, stopping the moment they reply. When someone says "not now", agree when to come back. An AI agent can do the per-person research and draft each message from your role brief, as long as a recruiter approves every message before it goes out. ## What is a passive candidate? A passive candidate is someone who is employed, not applying for jobs, and open to the right move. Active candidates are the opposite: they search and apply. Gallup asks U.S. employees the question directly – "To what extent are you currently looking for a different job than the one you have now?" – and the answers split like this: | Gallup's answer option | Share of U.S. employees, Q4 2025 | What it means for outreach (editorial) | | --- | --- | --- | | Actively looking for another job | 11% | Job posts and applications already reach them | | Watching for opportunities, but not actively looking | 40% | The core of outreach – open, but not searching | | Not looking for another job | About 49% | Can still consider the right role; the reason has to be stronger and the timing better | The shares come from Gallup's poll of 22,368 U.S. employees, fielded October 30 – November 13, 2025 ([Gallup](https://www.gallup.com/workplace/703280/worker-thriving-declines-job-market-pessimism-grows.aspx)); its tracker put the combined share watching or actively seeking at 53% in August 2026 ([Gallup](https://www.gallup.com/467702/indicator-employee-retention-attraction.aspx)). Gallup measures whether people are looking, not whether they will answer a recruiter – the third column is our reading, not Gallup's. The figure most articles quote – "70% of the global workforce is passive talent" – comes from LinkedIn's 2015 Global Talent Trends survey of 20,931 members. It is more than ten years old, so use it with its date. ## Research passive candidates with an AI agent Give an AI agent a short role brief and your shortlist, and ask it to research each person and draft the first touch in one go – you approve every message. With an AI agent connected through the [MCP server](/mcp/available-tools) or the agent-friendly [CLI](/cli/getting-started), a run looks like this: **You:** Here are 8 LinkedIn profiles from my shortlist. Role brief: Senior Data Engineer at a fintech, fully remote in the EU, owns the move from batch to real-time pipelines and mentors two juniors. For each person, read every current role with months in it and their posts from the last 90 days. Draft a connection note, a first message and two follow-ups using only facts from the brief and the profile. SKIP anyone with nothing that links them to the role. Don't send anything. **Agent** (used Linked API: fetch_person ×8): - current roles with months in each, earlier roles, posts from the last 90 days - 6 people drafted; 2 skipped 6 people drafted, 2 skipped. Nothing has been sent. Three of them, with the first message: | Person | From the profile | Draft first message | | --- | --- | --- | | Marta L. | Data Engineer at a logistics company, 26 months; posted about moving batch pipelines to streaming | "Hi Marta – your post on moving batch pipelines to streaming caught my eye. This role owns exactly that move at a fintech, fully remote in the EU. Open to a short chat?" | | Kofi A. | Two current roles: Senior Data Engineer, 14 months, and an evening data engineering course he teaches | "Hi Kofi – teaching data engineering on the side stood out. This role mentors two juniors while it moves a fintech to real-time pipelines, fully remote in the EU. Worth a call?" | | Sven H. | Staff Engineer, 8 months; no posts in 90 days | SKIP – nothing links him to this role | *The agent waits for your approval before sending any note or message.* *Example run. Works the same in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* What to ask the agent for, so the research holds up: - **Every current role.** A person can hold more than one, so the agent lists them all instead of guessing which matters. - **A flag when part of a profile could not be read** – the posts, say – so an empty post list is not mistaken for a quiet profile. - **A retry for profiles it could not open**, instead of drafting from nothing; the run carries on with the next person. Approved notes and messages go out with `send_connection_request` and `send_message` – in code, `sendConnectionRequest` and [`sendMessage`](/docs/action-st-send-message) – each run in your account's dedicated cloud browser at a human pace, within the per-account limits you set ([admin limits](/docs/admin-limits)). Keep the approval step in your instructions; the agent sends what you allow it to. The send step, with LinkedIn's note errors explained, is in the [connection request message guide](/guides/linkedin-connection-request-message), and message mechanics are in [how to automate LinkedIn messages](/guides/how-to-automate-linkedin-messages). To stop the follow-ups when someone answers, [inbox monitoring](/docs/monitoring-inbox) sends a [webhook event](/docs/webhook-event-types) for each new message – mark that person as replied and drop their pending follow-ups. A ready-made [skill](/skills) can run the loop too, and what else an agent can run on your account is in [LinkedIn AI agents](/guides/linkedin-ai-agent). Read only what the message needs. The privacy note in the [talent mapping guide](/guides/talent-mapping-recruitment) applies here too. ## Why passive candidates ignore recruiter messages LinkedIn's own data on recruiter InMails points at the usual reasons: - **Bulk messages.** "InMails that are sent individually see response rates roughly 15% higher than InMails sent in bulk" – from LinkedIn's analysis of tens of millions of recruiter InMails sent between May 2021 and April 2022 ([LinkedIn Talent Blog](https://www.linkedin.com/business/talent/blog/talent-strategy/these-inmails-get-best-response-rates)). - **Long messages.** "The response rate for the shortest InMails is 22% higher than the average response rate for all InMails" – the shortest being under 400 characters (same study). - **No connection to the company.** "Candidates are 46% more likely to accept an InMail if they're already connected to someone at your company" ([LinkedIn Talent Blog](https://www.linkedin.com/business/talent/blog/talent-acquisition/how-to-recruit-passive-candidates)). The rest is editorial, but consistent with that data: a pasted job description, no reason why this person, a message in their busiest month, and follow-ups that never stop. ## Where to find passive candidates on LinkedIn Search cannot tell you who is open. Standard and Sales Navigator search have no job-seeking filter, and a member's recruiters-only Open to Work setting is visible only to people using LinkedIn Recruiter ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a507508)) – so a profile without the green frame tells you nothing. Search by role, current and past company, school and location, then judge from the profile. Turning a vacancy into that search and an evidence-backed shortlist is covered in [AI candidate sourcing on LinkedIn](/guides/ai-candidate-sourcing-linkedin); search operators are in [LinkedIn Boolean search](/guides/linkedin-boolean-search), and mapping a whole market is in [talent mapping for recruitment](/guides/talent-mapping-recruitment). This guide starts where the shortlist ends. ## Research each person before the first touch What you can say depends on what the profile shows. This table is editorial guidance: | Signal on the profile | What it lets you say | Where you read it | | --- | --- | --- | | A recent post or comment | The point they made, and how it connects to the role's problem | Their recent activity | | A talk, article or open-source project | The specific work, by name | Featured section, posts, links | | A new role, under about six months | Congratulations – no pitch yet; note when to come back | Experience: start date | | Several years in the same role | What a next step could look like – more scope, a new problem | Experience: months in the role | | A shared employer or school | The overlap, stated plainly | Experience and education | Done by hand, this takes minutes per person – Juicebox's guide budgets five to ten minutes for each top-tier candidate. That reading and the first draft are the parts to hand to an AI agent, further down. ## How to reach passive candidates: the first message and the follow-ups The channel depends on your relationship: - **Already connected (1st degree):** send a message. - **2nd or 3rd degree:** send a connection request – with a note only when you have a specific reason – and message once they accept. A free account can add a note to three requests a month, up to 200 characters; Premium removes the monthly cap ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a563153)). Recruiting note examples are in [LinkedIn connection request message examples](/guides/linkedin-connection-request-message). - **Outside your network, on a paid plan:** InMail needs Premium, Sales Navigator or Recruiter, and runs on credits that come back when the recipient accepts, declines or replies within 90 days ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a541643)) – the details are in the [LinkedIn InMail guide](/guides/linkedin-inmail). What the first message carries: 1. **One true detail about them** – the post, the project, the move. 2. **One verified detail about the role that connects to it** – the actual problem, the setup (remote, hybrid, location), the pay you are allowed to share. LinkedIn's Talent Blog lists what candidates weigh: "Compensation", "Career and personal growth opportunities", "Intrinsic enjoyment of the work", "Professional autonomy", "Flexible work opportunities" and "Mission and values alignment". 3. **Why now**, in a clause. 4. **One small ask** – a 15-minute call, not a CV. ### A starting cadence to test This is editorial guidance, not a measured LinkedIn schedule: 1. Connection request – a note only if you have a specific reason. 2. The first message, once they accept. 3. Follow-up one, about a week later, adding something new – a detail about the team, or an answer to a question their post raised. 4. Follow-up two, about a week after that – a short close-the-loop. 5. Stop. Any reply – yes, no or later – ends the sequence. The published follow-up data comes from email, not LinkedIn. In Gem's analysis of over 4 million recruiting email sequences (March 2023 – February 2024), the cumulative reply rate rose from 11.7% after the first email to 22.6% after the fifth and then flattened; recruiters typically waited six days between emails. Ashby's analysis of 500,000+ email sequences (January 2022 – January 2024) found replies plateau around 23% after three emails, with most campaigns spacing emails four days apart. And in LinkedIn's InMail study, 90% of the responses that arrived came within a week. None of this tests a LinkedIn sequence – it is why a week between touches and a stop after the third message are a reasonable place to start. ### One worked sequence For an invented candidate, Wei, a staff data engineer at Fabrikam who posted about moving the team's pipeline to Flink, and an invented role at Northwind that owns the same migration: | Step | Message | Characters | | --- | --- | --- | | Connection note | Hi Wei – your post on moving Fabrikam's pipeline to Flink was the clearest write-up of that migration I've read. I recruit for data teams and would be glad to connect. | 167 | | First message, after Wei accepts | Thanks for connecting, Wei. Why I reached out: Northwind is starting the same Kafka-to-Flink move you described, and the staff engineer who owns it will set the design. It's fully remote within the EU, €110–130k. Would a 15-minute call next week be worth it, even just to compare notes? | 286 | | Follow-up one, about a week later | Hi Wei – one detail I left out: the team is four engineers, and the migration has a fixed date because the old cluster is retired next autumn. Happy to send the architecture outline if that's more useful than a call. | 216 | | Follow-up two, about a week after that | Last note from me, Wei. If the timing is wrong, no problem at all – tell me when would be better and I'll come back then. | 121 | The first message pairs Wei's post with the role's real problem, its setup and its pay band, and asks for one small thing. Nothing in the sequence is a pasted job description. ## Let an AI agent research and draft – you approve every message The research and the first draft are where the time goes, and both suit an AI model – if it gets the right inputs and a recruiter keeps the send button. **Two inputs:** - **A role brief you write once per vacancy** – the company, the actual problem or scope, location and workplace arrangement, the compensation you are allowed to share, and what makes the role worth a move. - **Evidence per person** – current roles with months in each, earlier roles, and recent posts with their dates. [Linked API](/docs/action-st-open-person-page) reads these from the profile on your own LinkedIn account: the `fetch_person` tool for an AI agent, or `fetchPerson` with experience and posts in code. **An illustrative prompt:** > You draft LinkedIn recruiting messages. Inputs: one role brief and one research packet per person. For each person, write a connection note (under 200 characters, or blank), a first message (under 400 characters) and two short follow-ups. Rules: use only facts from the role brief and the packet, and never invent; tie one true detail about the person to one verified detail about the role; no salary or benefits that are not in the brief, and no pasted job description; one small ask. If nothing in the packet links this person to this role, answer SKIP. **Then review every draft.** A recruiter reads each one and approves, edits or skips it before anything is sent. LinkedIn builds its own tool the same way: with AI-Assisted Messages in Recruiter, "you are responsible for reviewing the message draft for accuracy and making any necessary edits" ([Recruiter Help](https://www.linkedin.com/help/recruiter/answer/a1480502)). Hosted tools draft recruiting messages too, with different review steps: | Tool | Best for | Review, as documented | | --- | --- | --- | | LinkedIn Recruiter – AI-Assisted Messages | Teams already on Recruiter seats | The recruiter reviews each draft and sends it | | LinkedIn Hiring Assistant | Recruiter customers delegating sourcing | Review each draft and send one by one or in bulk – or turn on instant outreach for a project, which drafts, sends and follows up automatically | | Gem | In-house teams running email sequences from a recruiting CRM | With its AI custom token, each recipient must be reviewed before the sequence sends | | SeekOut | Sourcing teams writing email sequences | You review each AI-written message in per-candidate mode, or the shared template, before the sequence starts | | hireEZ EZ Agent | High-volume teams across email, text and InMail | "Recruiters can review every outreach message before it's sent", per hireEZ's product explainer | | Juicebox | Small teams wanting search plus email on autopilot | You review the sequence before the agent uses it; lead approval can be manual or automatic | | Linked API | Teams that want the loop on their own LinkedIn account, in their own code or agent | The approval gate is whatever your agent instructions or code enforce – nothing is sent until they call a send action | ## Build the research step into your own tools Developers can build the research step into their own tools: [`fetchPerson`](/docs/action-st-open-person-page) with experience and posts returns the same research packet through the Node and Python [SDKs](/sdks/installation). ## Keep "not now" candidates warm - **Agree when to come back.** Ask what is holding them back; the date should come from them, not from a fixed interval. - **LinkedIn's examples, not a rule.** Its Talent Blog suggests that for someone waiting to launch a major project or reach a personal milestone, "you might reach out in six months to a year to follow up", and for someone who just started a new job, a year or two. - **Re-read the profile before you return.** A new role, a new post or a finished project is the next reason to write. - **Keep them in view.** [Network monitoring](/docs/monitoring-network) shows who accepted your requests, so "not now" contacts stay in your network where their updates reach you. ## Frequently Asked Questions (FAQ) #### What is a passive candidate? Someone who is employed and not applying for jobs but would consider the right move. In Gallup's late-2025 poll of U.S. employees, 40% were watching for opportunities without actively looking, and 11% were actively searching. #### What percentage of the workforce is passive? The often-quoted 70% comes from LinkedIn's 2015 Global Talent Trends survey of 20,931 members. A more recent U.S. reading is Gallup's: in late 2025, 11% of employees were actively looking, 40% were watching for opportunities, and the rest were not looking. #### How do you reach passive candidates on LinkedIn? Through the channel your relationship allows: a message if you are connected, a connection request – with a specific note – if you are not, or InMail on a paid plan. Lead with one true detail about the person and one real detail about the role, and ask for something small. #### How many times should you follow up with a passive candidate? A sensible starting point to test is a first message once they accept, then two follow-ups about a week apart, stopping as soon as they reply. The published data comes from recruiting email sequences, where replies flatten after three to five messages. #### Should I use InMail or a connection request? A connection request costs nothing and keeps the conversation in your network, but a free account can add a note to only three requests a month. InMail reaches people outside your network on a paid plan, and the credit comes back when they accept, decline or reply within 90 days. Our [InMail guide](/guides/linkedin-inmail) has the credits per plan. #### Can AI write recruiting outreach messages? Yes, if it works from facts you supply and a recruiter approves each draft. LinkedIn's own AI-Assisted Messages in Recruiter makes the recruiter responsible for reviewing every draft, and the same rule belongs in any agent or script you build. ## Build it in, or hand it to an agent Build the research, draft, review and send loop into your ATS, CRM or recruiting tool with the REST API, the [Node and Python SDKs](/sdks/installation) or the shell [CLI](/cli/getting-started). Or have an AI agent run it out of the box through the [MCP server](/mcp/overview), the agent-friendly CLI or a ready-made [skill](/skills) – researching each candidate, drafting against your role brief and sending only what you approve, on your own LinkedIn account. Plans are flat per seat, from $49/mo billed annually – see [pricing](/pricing). *Facts verified November 2, 2026 – LinkedIn Help pages, LinkedIn's published InMail data, Gallup and the vendor pages named here checked on that date.* ## CRM Hygiene: A Practical Checklist and How to Keep Job Data Current Most CRM hygiene advice stops at "dedupe and enrich". This guide gives the whole recurring checklist, with the native HubSpot and Salesforce tool for each job and the plan it needs. It then goes deep on the one job that keeps failing quietly: titles and companies that were right last year. > **The short version.** CRM hygiene is the routine that keeps records accurate and usable: remove duplicates, enforce required fields and formats at entry, validate emails, fill gaps, refresh fields that go stale, give every record and deal an owner, keep deal stages and close dates current, retire inactive records, and agree who owns each standard. HubSpot and Salesforce have native tools for most of it, and HubSpot's enrichment even refreshes the values it filled, monthly – until someone edits them. Job title and company are where records drift quietly, because people change jobs: the median US employee has been with their current employer 4.1 years. Where native refresh cannot reach – fields someone edited, people the data vendor does not have – re-check the contact's saved LinkedIn profile on a schedule, send mismatches to a review queue instead of overwriting, and keep the old value. ## What is CRM hygiene? CRM hygiene is the recurring work that keeps the records in your CRM complete, consistent and current, so that routing, reporting and outreach run on facts rather than on last year's guesses. It is a schedule, not a one-off cleanup: data starts drifting again the day after the cleanup ends. The cost of skipping it is hard to measure precisely, but CRM admins feel it. In Validity's 2022 survey of 1,241 CRM users, "44% of respondents estimate their company loses over 10% in annual revenue due to poor quality CRM data" ([Validity](https://www.validity.com/press-releases/validity-launches-2022-state-of-crm-data-health-report-finds-data-confidence-does-not-match-reality/)). That is their estimate, not a measured loss. The job that fails most quietly is titles and companies. Here is the re-check an AI agent runs on your own LinkedIn account through [Linked API](/) – the method behind it is [further down](#re-check-against-saved-linkedin-profiles-with-a-review-queue): **You:** Here are the 40 contacts on my open deals, exported from the CRM with their LinkedIn URL, title, company and location. Re-check each saved LinkedIn profile with its experience and compare title, company and location with the CRM. Mark each one match, changed, possible move, still at company with a different primary role, or unknown, and list everything that isn't a match for my review – the stored value, the observed value and today's date. Change nothing in the CRM. **Agent** (used Linked API: fetch_person ×38): - current position, company, location and the experience list – 2 contacts have no saved URL - each profile compared with its CRM row; current roles are the experience entries without an end date 40 contacts: 29 match, 4 changed, 2 possible moves to confirm, 1 still at the company with a different primary role, 4 unknown – 2 with no saved URL and 2 profiles that could not be fetched. 11 rows go to your review; nothing was changed in the CRM. Some of them: | Contact | In the CRM | On the profile, observed 6 Nov 2026 | Status | Next step | | --- | --- | --- | --- | --- | | Maria L. | Sales Director, Northwind | Head of Sales, Northwind | changed | Review the title | | Ben O. | IT Manager, Calder Logistics | IT Director, Ridgeway Freight (since Oct 2026); Calder is not among the current roles | possible move | Confirm before you move the contact | | Sara V. | CFO, Brightline Health | Board Advisor, Kestrel – and CFO, Brightline Health, also current | still at company, different primary role | Review the title only | | Daniel K. | VP Operations, Harbor Foods | – | unknown – the profile could not be fetched | Retry; never read it as "no change" | *Nothing is written back until you approve each row.* *Example run, fictional people. A profile is self-reported, so a change is an observation to confirm – a rebrand or an acquisition also shows up as a possible move. Each re-check is one profile view on your account, within the limits you set. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ## The CRM hygiene checklist Cadences below are a sensible default; adjust them to how fast your records change. **Contact data** | Job | Who | How often | HubSpot | Salesforce | | --- | --- | --- | --- | --- | | Remove duplicates | Ops or admin | Weekly, and on every import | Review duplicate pairs in the data quality tools (Professional or Enterprise); bulk merge, custom rules and duplicate alerts need Data Hub Professional or Enterprise | Matching rules and duplicate rules that warn or block; org-wide duplicate jobs on Performance and Unlimited | | Enforce required fields and approved values; standardize formats | Admin | On entry, plus a monthly sweep | Required properties on the create-record form (Starter and up), dropdown properties (all plans), formatting issues to accept or reject | Required fields, picklists and validation rules | | Validate emails | Marketing ops | Before each campaign | An email-verification service | An email-verification service | | Fill gaps | Ops | On creation | Enrichment set to fill empty values only | An enrichment app or vendor | | Refresh stale contact fields | Ops, with rep review | Monthly for active records, quarterly for the rest | Continuous enrichment – monthly, and it stops on a property someone edited | Sales Navigator Advanced Plus data validation; otherwise a re-check ([below](#keep-titles-and-companies-current)) | **Pipeline and ownership** | Job | Who | How often | HubSpot | Salesforce | | --- | --- | --- | --- | --- | | Give every record and deal an owner | Sales ops | Weekly | A saved view filtered on owner "is unknown" (all plans); the "Rotate record to owner" workflow action on Sales Hub or Service Hub Professional or Enterprise | A report on records owned by inactive users or a default owner, and leads still sitting in a queue – then reassign; lead assignment rules for new leads | | Keep deal stages, close dates and next steps current | Each rep, checked by their manager | Weekly | A saved view of open deals whose close date "is before" today | A report on open opportunities with a close date before today; validation rules on stage changes | | Retire inactive records | RevOps | Quarterly | Set inactive contacts as non-marketing (Marketing Hub Starter and up); delete what your retention rule says to delete – a normal delete can be restored for 90 days | Delete per your retention rule | **Governance** | Job | Who | How often | HubSpot | Salesforce | | --- | --- | --- | --- | --- | | Agree standards and who owns each field; keep history | RevOps lead, with field owners | Quarterly | A field-ownership list ([below](#who-owns-each-field)); property history on every plan | The same list; field history tracking – 20 fields per object, 18 months in the UI and 24 via the API (Field Audit Trail tracks up to 200) | Sources: HubSpot's knowledge base on [duplicates](https://knowledge.hubspot.com/records/manage-duplicate-records), [data quality tools](https://knowledge.hubspot.com/data-management/use-data-quality-tools), [required fields on record creation](https://knowledge.hubspot.com/object-settings/set-up-fields-seen-when-manually-creating-records), [property field types](https://knowledge.hubspot.com/properties/property-field-types-in-hubspot), [enrichment settings](https://knowledge.hubspot.com/records/manage-data-enrichment-settings), [saved views](https://knowledge.hubspot.com/records/create-and-manage-saved-views), [workflow actions](https://knowledge.hubspot.com/workflows/choose-your-workflow-actions), [non-marketing contacts](https://knowledge.hubspot.com/records/set-contacts-as-non-marketing), [restoring deleted records](https://knowledge.hubspot.com/records/restore-deleted-records) and [property history](https://knowledge.hubspot.com/records/view-record-property-history); Salesforce Help on [duplicate management](https://help.salesforce.com/s/articleView?id=sales.managing_duplicates_overview.htm&type=5), [validation rules](https://help.salesforce.com/s/articleView?id=platform.fields_about_field_validation.htm&type=5), [lead assignment rules](https://help.salesforce.com/s/articleView?id=service.customize_leadrules.htm&type=5) and [field history tracking](https://help.salesforce.com/s/articleView?id=xcloud.tracking_field_history.htm&type=5). ## Why contact data goes stale People change jobs, titles and cities, and nobody tells your CRM. The numbers that hold up: - **Tenure.** The median US employee had been with their current employer 4.1 years in January 2026, and 20.6% of wage and salary workers had been there a year or less ([US Bureau of Labor Statistics](https://www.bls.gov/news.release/tenure.nr0.htm), September 2026). Among 25- to 34-year-olds the median is 3.0 years. That is tenure context, not a CRM decay rate – but it tells you a contact list of buyers will not stay put. - **Email.** ZeroBounce's 2026 report on customer lists it verified found that "at least 23% of an email list decays within just one year", with job changes among the causes ([ZeroBounce](https://zerobounce.net/email-list-decay)). Two figures circulate more than these, and neither means what it is quoted for. "B2B data decays 70.3% a year" traces to a 2009 survey of business-card holders reported in a [2015 Biznology post](https://biznology.com/2015/02/b2b-data-decay-list-rental-buyer-beware/), where 29.6% had changed companies and many more had changed some field. And "CRM data decays 34% a year" is Validity's 2022 respondents estimating how much their data would degrade if their company did not invest in quality – a survey estimate, not a measured rate. ## Who owns each field Most overwrite damage comes from two sources writing the same field with no rule about who wins. Decide it once, field by field: | Field | Source of truth | May an automated source overwrite it? | Re-check | | --- | --- | --- | --- | | Email | Form, rep or verification service | No – verify, then replace | Before campaigns | | Phone | Rep or data vendor | Review first | When you use it | | Job title | The person's current profile, as observed, and your enrichment | Review – unless the field was never edited and enrichment owns it | Monthly for active records | | Company | The same as job title | Review – a move is confirmed in two steps: observe, then confirm | Monthly for active records | | Location | Enrichment or the profile | Review | Quarterly | | Lifecycle stage, owner | Your CRM workflows | Never from an external source | – | HubSpot already works this way for its own enrichment: "Automatic enrichment doesn't overwrite values set by a user or another system" ([HubSpot](https://knowledge.hubspot.com/records/enrich-your-contact-and-company-data)). The table extends that rule to every source you add. ## Keep titles and companies current ### Start with what your CRM and LinkedIn plan already do - **HubSpot continuous enrichment.** It is available on Starter, Professional and Enterprise Hubs, and updates "previously enriched records monthly when new data becomes available". Each property can fill empty values only, overwrite, or stay untouched ([HubSpot](https://knowledge.hubspot.com/records/manage-data-enrichment-settings)). Two limits matter: - if a user or another system edits an enriched value, continuous enrichment "stops enriching that property"; - conversational enrichment and the workflow "Enrich record" action can overwrite properties regardless of those settings; - its data comes from HubSpot's own dataset, so people who are not in it are not refreshed. - **Sales Navigator Advanced Plus.** With CRM Sync turned on for HubSpot, Microsoft Dynamics, Oracle or Salesforce: - CRM badges flag out-of-date records ([LinkedIn Help](https://www.linkedin.com/help/sales-navigator/answer/a738351)); - on Salesforce and Dynamics only, the original data validation writes a "Not at Company" flag to the contact, on a daily or weekly schedule the admin sets ([LinkedIn Help](https://www.linkedin.com/help/sales-navigator/answer/a120992)); - "Update Leads and Contacts" fills the fields from the LinkedIn profile, ticks the mismatched ones and waits for the rep to confirm. It allows up to 1,000 updated contacts per user per month, and an admin must turn it on ([LinkedIn Help](https://www.linkedin.com/help/sales-navigator/answer/a594009)); - Relationship Maps let you select and update CRM records in bulk ([LinkedIn Help](https://www.linkedin.com/help/sales-navigator/answer/a6847835)); - Advanced Plus is priced by quote – see [Sales Navigator pricing](/guides/linkedin-sales-navigator-cost). - **Sales Navigator Core and Advanced.** The "Changed jobs" lead filter covers the last 90 days ([LinkedIn Help](https://www.linkedin.com/help/sales-navigator/answer/a1452817)), and saved-lead alerts tell you when "A saved lead has moved to a new company" ([LinkedIn Help](https://www.linkedin.com/help/sales-navigator/answer/a105133)). Both are useful to a rep, but neither writes back to the CRM. - **Hosted refresh workflows.** - Airtop's HubSpot template reads a list you choose, runs it through a B2B enrichment service, and updates title and company automatically – about $1.50 per 1,000 contacts scanned, by Airtop's own tests. It is the simpler choice when you trust the vendor's data and want no review step. - Clay tracks job changes for contacts by their LinkedIn URL. - PhantomBuster publishes a weekly LinkedIn refresh workflow that updates changed fields. ### Re-check against saved LinkedIn profiles, with a review queue The routes above leave gaps. Some fields stop refreshing because someone edited them, some people are not in the vendor's dataset, and Salesforce teams without Advanced Plus get no write-back. You may also simply want every change reviewed and the old value kept. For those records, use the person's own LinkedIn profile as an observation. It is something the member maintains, not proof of their current job, so it goes to review rather than straight into the field. 1. **Pick the records worth re-checking.** Open opportunities, customers' champions and contacts in active sequences – not the whole database. 2. **Fetch each saved LinkedIn profile URL.** 3. **Compare** title, company and location with what the CRM holds. 4. **Classify** each record (table below). 5. **Write a review row** with the stored value, the observed value and the date you observed it. 6. **Approve, then write back** through your CRM's import or API – or an [n8n](/integrations/n8n/overview) or [Make](/integrations/make/overview) workflow, which have their own HubSpot and Salesforce modules. 7. **Keep the old value.** HubSpot's property history keeps it on every plan, and so does Salesforce field history for tracked fields – or copy it to a "previous company" field. | Status | What it means | What to do | | --- | --- | --- | | `match` | Title, company and location agree | Nothing; record the check date | | `changed` | Same company, but a different title or location | Review the listed fields and update | | `possible move` | The stored company is not among the profile's current roles | Confirm before you move the contact | | `still at company, different primary role` | The profile lists several current roles; the stored company is one of them | Review the title only | | `unknown` | No saved URL, or the profile could not be fetched | Fix the URL or retry – never read it as "no change" | [Linked API](/docs/action-st-open-person-page) fetches the profile through your own LinkedIn account and returns the current position, company, location and, if you ask, the experience list. Developers can run the same check as a job next to their CRM sync: [`fetchPerson`](/docs/action-st-open-person-page) with `retrieveExperience` for each saved profile URL, a comparison of title, company and location with the CRM row, and a review row for anything that is not a match. Each call is asynchronous – `execute` starts the work and returns a workflow ID, `result` waits for it – and a failed fetch comes back in `errors`, which the row records as `unknown`. Write back only after review, through your CRM's import or API. SDK setup: [Node and Python SDKs](/sdks/installation). How to read the result: - **A failed fetch is `unknown`, not "no change".** If the URL is missing or the fetch fails, the row keeps the error, goes to review, and the run moves on to the next contact. - **Several current roles are checked before anyone is "moved".** The experience list shows every role without an end date. If the stored company is still among them, the contact is not flagged as having left. - **Company names are compared loosely.** Case, punctuation and suffixes such as Inc or Ltd are ignored; letters in any script count, and an empty value never counts as a match. Rebrands and acquisitions will still show up as `possible move`, which is why that status means "confirm", not "update". - **Each re-check is one profile view on your account.** It runs at a human pace and within the per-account profile-view limit you set ([admin limits](/docs/admin-limits)). The person may see that you viewed their profile, unless you browse in [private mode](/guides/linkedin-private-mode). So re-check the records that matter, on a cadence, rather than the whole database every week. - **Fetching a profile by URL** and the fields it returns are covered in the [LinkedIn profile scraper guide](/guides/linkedin-profile-scraper). From the shell, `linkedin person fetch --experience` returns the same data for a spot check ([CLI](/cli/commands)). **With an AI agent.** The [run near the top of this page](#what-is-crm-hygiene) is this check from a plain ask, through the [MCP server](/mcp/available-tools) or the agent-friendly CLI – how an agent gets access to your account is covered in [the LinkedIn AI agent guide](/guides/linkedin-ai-agent). The schedule and the review queue belong to you – your CRM, your scheduler or your agent's host. Linked API returns the observation; it does not decide what your CRM should say. ## How to audit CRM data quality A quarterly audit takes an afternoon and tells you which row of the checklist to fix first: 1. **Fill rates.** What share of active records have the fields you route and report on – owner, industry, lifecycle stage, title? HubSpot's data quality tools show property fill rates; in Salesforce, a report on blank values does the same. 2. **Duplicates.** How many duplicate pairs your tools flag, and whether the count is falling. 3. **Verification dates.** What share of records carries a "last verified" date, and how old it is. 4. **Sample mismatch rate.** Re-check a sample of 100 active contacts against their LinkedIn profiles and count the `changed` and `possible move` rows. That share includes spelling differences and moves you have not confirmed yet. To see how fast your data decays, re-check the same verified records again after a set interval, say a quarter. 5. **Bounces.** Hard-bounce rate on your last campaigns – the email column's version of the same number. ## Frequently Asked Questions (FAQ) #### How often should you clean CRM data? Continuously at entry – required fields, approved values, duplicate checks on import – and on a schedule for the rest. Weekly is a sensible default for owners and open deals, monthly for refreshing active contacts, and quarterly for audits and retiring inactive records. #### What causes CRM data decay? People change jobs, titles, cities and email addresses, and their records do not follow. Imports, duplicates and fields written by two sources without an ownership rule add to it. The median US employee has been with their employer 4.1 years, so a list of buyers changes steadily even when nobody touches it. #### How do I keep HubSpot data clean? Use the data quality tools for duplicates and formatting, required properties on the create-record form, saved views for records without an owner, and enrichment set to fill empty values. Continuous enrichment refreshes the values it filled every month, but it stops on any property someone edited – re-check those separately. #### How do I keep Salesforce data clean? Use matching and duplicate rules, required fields, picklists and validation rules, lead assignment rules, and field history tracking on the fields that matter. Sales Navigator Advanced Plus adds a "Not at Company" flag; without it, re-check job fields against another source and review the changes. #### How do I track job changes in my CRM? For hygiene, re-check saved LinkedIn profiles on a schedule and send `possible move` rows to review, as above. Sales Navigator alerts cover saved leads and Advanced Plus flags CRM contacts. To act on a job change as a sales signal – a champion who moved to a new account – see [LinkedIn buying signals](/guides/linkedin-buying-signals). #### Should enrichment overwrite CRM fields? Only the fields that source owns and that nobody has edited since. For everything else, let the new value go to review and keep the old one, which is the rule HubSpot applies to its own automatic enrichment. ## Build it in, or hand it to an agent Build the re-check into your own CRM sync with the REST API, the [Node and Python SDKs](/sdks/installation) or the shell [CLI](/cli), or run it from [n8n](/integrations/n8n/overview) or [Make](/integrations/make/overview). Or have an AI agent run it out of the box through the [MCP server](/mcp), the agent-friendly CLI or a ready-made [skill](/skills), on your own LinkedIn account. Plans are flat per seat, from $49/mo billed annually – see [pricing](/pricing). *Facts verified October 30, 2026 – HubSpot, Salesforce and LinkedIn help pages, the BLS tenure release, and the competitor workflows named here checked on that date.* ## Private Equity Deal Sourcing: How PE and VC Teams Use LinkedIn Most deal-sourcing guides are written by the companies that sell deal-sourcing databases. This one starts with how private equity and venture firms actually say they find deals, then shows the part LinkedIn can carry – and the parts it cannot. > **The short version.** Deal sourcing is how investors find companies to buy or back – through intermediaries such as investment banks and brokers, or through their own outreach to owners and founders. In a 2015 survey of private equity firms, about a third of closed deals were self-generated and about a third came from investment banks; venture capitalists surveyed in 2015–16 sourced mostly through their networks and their own outreach, with only about 10% arriving inbound. LinkedIn can support the research and outreach part of proprietary sourcing: finding owner and founder candidates, seeing how you are connected to them, and sending the first message from your own account. These workflows cover company and person research; for the financial and ownership picture, use a deal-sourcing database and your own diligence. ## What is deal sourcing? Deal sourcing is the work of finding companies an investor might acquire or back, before the investment process starts. A deal arrives in one of two ways: - **Intermediated** – an investment bank or broker runs a sale process and brings the company to many buyers, often as an auction. - **Proprietary** – the investor finds the company and starts the conversation directly, before or instead of an auction. That is what **proprietary deal flow** means. The word "proprietary" is used generously. In the largest academic survey of PE investors, firms considered almost 48% of their closed deals "proprietary in some way" – and the authors added that they had "no way of evaluating exactly what proprietary means nor can we validate the extent to which the deals truly are proprietary or advantaged" ([Gompers, Kaplan and Mukharlyamov, NBER](https://www.nber.org/papers/w21133)). Here is the research half of proprietary sourcing for one PE thesis, run by an AI agent on your own LinkedIn account through [Linked API](/) – the full workflow is [further down](#pe-workflow-build-an-owner-candidate-list): **You:** Find HVAC companies headquartered in Ohio with 51–200 employees, keyword "HVAC". Keep the ones with open jobs on LinkedIn. For each, read the company page and list the decision makers whose titles say Owner, Founder, CEO or President, with my connection degree to each. Change nothing and send nothing. **Agent** (used Linked API: search_companies, fetch_company ×25): - keyword "HVAC", headquartered in Ohio, 51–200 employees, up to 25 – 25 companies - members on LinkedIn, open jobs, founding year and the decision makers LinkedIn lists - 14 companies with open jobs kept, 11 with none dropped 14 companies with open jobs; owner candidates at 9 of them – 12 people, 2 of them 2nd-degree connections. At the other 5, no matching Owner, Founder, CEO or President title found among the decision makers. Nothing has been sent or changed. Some rows: | Company | On LinkedIn | Open jobs | Owner candidate | Your connection | | --- | --- | --- | --- | --- | | Buckeye Comfort Systems | 87 members | 4 | Greg H., Owner | 2nd | | Lakeside Mechanical | 132 members | 2 | Dana M., President | 3rd+ | | Riverbend Heating & Air | 64 members | 1 | Paul S., Founder & CEO | 3rd+ | | Summit HVAC Services | 150 members | 3 | No matching title found | – | *Nothing goes out – confirm ownership in your database or a company registry first, and ask a mutual connection for an introduction where you have one.* *Example run, fictional companies and people. A title is a lead to verify, not proof of ownership. Member counts come from LinkedIn members, not payroll, so small owner-run firms look thin, and company search matches headquarters only. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ## How do private equity firms find deals? The same survey of 79 PE investors, published in 2015, broke down where their closed deals came from: | Source | Share of closed deals | | --- | --- | | Proactively self-generated | about 36% | | Investment banks | 33% | | Executive network | 8.6% | | Deal brokers | 8.6% | | Management | 7.4% | | Other PE firms | 4.3% | The funnel is long: "For every hundred opportunities, considered, the average PE investor deeply investigates fewer than 24, signs an agreement with fewer than 14 and closes on only 6." Smaller and younger firms "generally tend to source more proprietary deals" ([NBER w21133](https://www.nber.org/papers/w21133)). Intermediated flow also leaks. Bain, citing Sutton Place Strategies data in 2017, found that "a typical firm will see only 18% of intermediated deals that might be relevant to the firm in its pipeline" ([Bain](https://www.bain.com/insights/a-two-pronged-approach-to-sourcing-more-pe-deals-forbes/)). These are historical surveys of source channels, not a current benchmark – but they explain why firms invest in their own outreach. ## How do VCs source deals? A survey of 885 venture capitalists at 681 firms, run between November 2015 and March 2016, found that "most of the deal flow comes from the VCs' networks in some form or another" ([Gompers, Gornall, Kaplan and Strebulaev, NBER](https://www.nber.org/papers/w22587)): - professional networks – over 30% of deals; - referrals from other investors – 20%; - referrals from existing portfolio companies – 8%; - proactively self-generated – almost 30%; - inbound from company management – only 10%. "The average firm in our sample screens 200 companies and makes only four investments in a given year." Few deals come from founders who arrive with no connection at all. ## Where LinkedIn fits, and where it does not | Job | LinkedIn, on your own account | Deal-sourcing database | Relationship CRM | | --- | --- | --- | --- | | Find companies by size, location, industry and hiring | Yes – company search and Sales Navigator account filters | Yes, with a fuller company universe | – | | Verified financials, funding, ownership, registrations | Not part of these workflows – Sales Navigator has an annual revenue filter, but treat it as a screen, not a figure | Yes – Grata, PitchBook, Harmonic and others | – | | Find the owner or founder candidate and their title | Yes – by title, to verify | Sometimes | – | | See how you are connected | Your connection degree to each person; named mutual connections in the LinkedIn interface; TeamLink on Sales Navigator Advanced plans | – | Relationship intelligence, such as Affinity | | Spot founders leaving notable employers | Profile changes, by comparing your own stored observations run to run | Harmonic-style departure and stealth tracking at scale | – | | First message | Yes – from your own account | – | – | | Pipeline and deal records | – | – | Yes | Use LinkedIn for the person-level research and the first touch; use a database for the market map and the numbers. ## PE workflow: build an owner-candidate list 1. **Define the target.** Use company search filters – industry, headquarters location, company size – or Sales Navigator's account filters. Sales Navigator adds company headcount growth over the last 12 months and "Job opportunities", which shows "only those with open job opportunities posted on LinkedIn" ([LinkedIn Help](https://www.linkedin.com/help/sales-navigator/answer/a1452817)). Save the search, and its URL carries the same filters into [Linked API](/docs/action-nv-search-companies). 2. **Read each company page.** LinkedIn shows the employee count, the number of open jobs, the founding year, the website and the description ([company page data](/docs/action-st-open-company-page)). The employee count comes from LinkedIn members, not payroll. LinkedIn's own Premium company insights appear only when a company has "enough employees with complete profiles" ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a563146)), so small owner-run firms look thin. 3. **List the decision makers.** For each company you get each decision maker's name, headline, location and your connection degree to them. Mark the people whose titles say Owner, Founder, CEO or President as **owner candidates** – a title is a lead to verify, not proof of ownership. 4. **Check by hand in LinkedIn.** - Confirm ownership against your database or a company registry. - Look at named mutual connections and ask for an introduction. - On Sales Navigator Advanced plans, TeamLink shows prospects "who can be introduced to you through someone you know" ([LinkedIn Help](https://www.linkedin.com/help/sales-navigator/answer/a101027)). 5. **Send a first message that sounds like you.** A free account can add a personal note to only a few connection requests a month – LinkedIn's current Help says three, of up to 200 characters ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a563153)) – and Premium removes that cap. Owners are not leads in a sequence; as Scaliq's guide for M&A advisors puts it, over-automated outreach "poses a severe reputation risk in relationship-driven markets". The [run near the top of this page](#what-is-deal-sourcing) is steps 1–3 for one thesis, from a plain ask to an AI agent. ## VC workflow: a stealth-founder watchlist The signal is public and simple. In Harmonic's words, "A LinkedIn profile updated to "stealth" or to a vague title like "building something new" is the most explicit signal that someone is starting a company", and the strongest version is "a departure from a high-density employer combined with no public landing at a new one". Harmonic also names the false positives: "sabbaticals and ordinary job moves where the next role is not yet listed". The label also lags – as Poach puts it, "if someone lists "Stealth Startup" as their job on LinkedIn, it's already too late". LinkedIn has no stealth setting of its own: Open to Work offers only all members, recruiters only or only you ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a507508)). The "Stealth Startup" company page that tens of thousands of members list as their employer is a community page created by members, and it points founders to Harmonic's sign-up form. 1. **Build the watchlist.** Search people by past company – the employers whose alumni you back – plus a title term, or save a Sales Navigator lead search with Past company and Changed jobs, which covers "leads who have changed jobs within the last 90 days" ([LinkedIn Help](https://www.linkedin.com/help/sales-navigator/answer/a1452817)). Keep each person's name and profile URL in `watchlist.json`. 2. **Re-check each profile on a schedule you own** – weekly is plenty. 3. **Compare with the last observation you stored, and list only what changed.** 4. **Review the list.** It is a list of profile changes, not a list of deals. Store one observation per profile – in `watchlist-state.json` or your own database: when it looked, the headline, the current employers and whether the profile shows a stealth label. | Change | What it means | | --- | --- | | `stealth label at baseline` | First check, and the profile already says stealth or "building something new" | | `stealth label added` | The label appeared since the last successful check | | `no current role listed` | There were current employers last time and none now – a member can also hide or delete experience, so check before you read it as a departure | | `current employer changed` | A previous current employer is gone and a different one appeared | | `unknown` | The profile could not be fetched; the stored observation is kept for the next run | Developers can run the re-check as a scheduled job: [`fetchPerson`](/docs/action-st-open-person-page) with `retrieveExperience` for each watched profile, then a comparison of the headline and the current employers with the stored observation. Each call is asynchronous – `execute` starts the work and returns a workflow ID, `result` waits for it – and a failed fetch comes back in `errors`, which becomes `unknown` and leaves the stored observation untouched. SDK setup: [Node and Python SDKs](/sdks/installation). How the rules work: - **The first successful check is the baseline.** Nobody is listed except people whose profile already shows a stealth label. - **Later runs compare with the last good observation**, and the new observation is stored only after a successful fetch. A failure is listed as `unknown` and changes nothing, so the next run still compares against the last good data. - **An empty experience list is a real result**, not an error. It only counts as `no current role listed` when the previous observation had a current employer. - **Company names are compared loosely** – case, punctuation and spacing are ignored, letters in any script count, and an empty name never matches. - **Each re-check is one profile view on your account**, at a human pace and within the per-account limit you set ([admin limits](/docs/admin-limits)). The person may see the view unless you browse in [private mode](/guides/linkedin-private-mode). - **The schedule and the state file are yours** – cron, a CI job, or your agent host's scheduled task. An illustrative prompt for an agent: > Re-check the LinkedIn profiles in my watchlist and compare each with the observation stored in watchlist-state.json. List anyone whose profile newly shows Stealth or "building something new", no current role, or a different current employer. Update the file only for profiles you fetched successfully. Change nothing on LinkedIn. ## Run it from code or an AI agent Linked API runs these searches and reads on your own LinkedIn account and returns JSON; your CRM or database keeps the pipeline. - **From code:** the REST API and the [Node and Python SDKs](/sdks/installation). Company pages come from `fetchCompany` with decision makers, people from `searchPeople` with a `previousCompanies` filter, and any saved Sales Navigator search from its URL. - **From the shell:** `linkedin company fetch --dms` and `linkedin person fetch --experience` in the [CLI](/cli/commands). - **From an agent:** the [MCP server](/mcp/available-tools) exposes `search_companies`, `fetch_company`, `search_people` and `fetch_person`, plus the Sales Navigator versions. The agent-friendly CLI and a ready-made [skill](/skills) work the same way. - **Sales Navigator searches** need a Sales Navigator subscription on the LinkedIn account and a Plus seat in Linked API. How an agent gets access to your account, and what else it can run there, is in [the LinkedIn AI agent guide](/guides/linkedin-ai-agent). Every Sales Navigator filter, by plan, is in [LinkedIn advanced search](/guides/linkedin-advanced-search#sales-navigator-search-filters-the-full-list), and the people-by-role pattern is in [mapping a B2B buying committee](/guides/b2b-buying-committee). ## Frequently Asked Questions (FAQ) #### What is proprietary deal flow? Deals an investor finds and starts directly with the owner or founder, before or instead of an auction run by a bank or broker. Firms use the term generously: PE investors in a 2015 survey called almost half their closed deals proprietary, and the authors could not verify what that meant. #### How do private equity firms source deals? Through their own outreach about as often as through investment banks, according to a 2015 survey of 79 PE investors: about 36% of closed deals were self-generated and 33% came from investment banks, with the rest from executive networks, brokers, management and other PE firms. #### How do VCs find startups before they raise? Mostly through networks – colleagues, other investors and portfolio founders – and their own outreach; only about 10% of deals arrive inbound. For founders who have just left a notable employer, a watchlist of their LinkedIn profiles, compared run to run, surfaces stealth labels and departures for review. #### Is "Stealth Startup" a real company on LinkedIn? No. It is a community company page created by members, which tens of thousands of people list as their employer while they build in stealth, and it points founders to Harmonic's sign-up form. A profile that lists it tells you someone is starting something, not what or with whom. #### What tools do PE firms use for deal sourcing? Usually a deal-sourcing database for the company universe and the numbers – Grata, PitchBook or Harmonic, for example – a relationship CRM such as Affinity for contacts and pipeline, and LinkedIn for finding and reaching the owner. Take verified financials, funding and ownership from the database and your own diligence, not from LinkedIn. #### Can you automate deal-sourcing outreach on LinkedIn? You can automate the research – lists, company pages, decision makers, profile re-checks – on your own account. Keep the first message personal: free accounts can add a note to only a few connection requests a month, and owners respond to people, not sequences. ## Build it in, or hand it to an agent Build the owner list or the watchlist into your own CRM or deal pipeline with the REST API, the [Node and Python SDKs](/sdks/installation) or the shell [CLI](/cli). Or have an AI agent run it out of the box through the [MCP server](/mcp), the agent-friendly CLI or a ready-made [skill](/skills), on your own LinkedIn account. Plans are flat per seat, from $49/mo billed annually – see [pricing](/pricing). *Facts verified October 30, 2026 – NBER papers, Bain, LinkedIn Help pages and the competitor pages named here checked on that date.* ## LinkedIn Advanced Search: Filters on Free, Premium and Sales Navigator LinkedIn's advanced search is the All filters panel on the search results page, and how much of it you get depends on your plan. This guide shows where it is, which filters each plan gives you, and how to keep a good search working once you have built it. > **The short version.** Type anything in the search bar, choose People, and open All filters – that is LinkedIn's advanced search. A free account filters by connection degree, location, current and past company, school, industry, profile language and a few more, and shows up to 250 results per search. Premium adds little to people search beyond filters such as "Actively hiring" – Premium Business mainly raises how much you can search each month. Sales Navigator is the full advanced search: 50+ lead and account filters, including function, seniority, years of experience, headcount, recent job changes and, on Advanced plans, buyer intent, with up to 2,500 results and saved searches that send weekly alerts. To keep a good search working, save it in Sales Navigator, or re-run it on a schedule from your own code or AI agent and keep only the people you have not seen before. ## How to do an advanced search on LinkedIn 1. Type a word, a title or a name in the search bar at the top of any LinkedIn page. 2. Choose **People** from the result categories. 3. Open **All filters**. The most-used filters sit along the top of the results; All filters holds the rest ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a523136)). 4. Set your filters and select **Show results**. Three things LinkedIn's own Help pages say that most guides leave out: - **The search box reads natural language now.** "LinkedIn's updated search experience can understand the meaning behind your query, not just exact keywords", and that mode does not support quotes – for exact matching, LinkedIn points you to Boolean ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a525054)). - **The result count is an estimate.** "Search results are always approximate and the actual results may differ from the results counter" (same page). - **You can re-run a search without rebuilding it.** Recent searches appear under the search bar and re-run when you click them ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a523136)). The results page URL also carries your filters, so a bookmarked results URL opens the same search again. Once a search is right, an AI agent can re-run it for you. Here is a saved search re-run on your own LinkedIn account through [Linked API](/), keeping only the people not seen before – the details are [further down](#re-run-a-saved-search-from-code-or-an-ai-agent): **You:** Run my saved LinkedIn search – this results URL for heads of sales in the US – up to 100 people. Compare them with seen-people.csv, list only the people who aren't in it with their headline, profile link and my connection degree, then add them to the file. If the search fails, change nothing. **Agent** (used Linked API: search_people): - the saved results URL as customSearchUrl, up to 100 – 100 people - compared with seen-people.csv by URN, or by profile URL where LinkedIn hides the URN – 93 already seen 100 people returned: 93 were already in seen-people.csv and 7 are new. The 7 are added to the file; nothing has been sent. Three of them: | Person | Headline | Your connection | | --- | --- | --- | | Katrin M. | Head of Sales, North America – payments platform | 3rd+ | | Jonas B. | VP Sales at a logistics software company | 2nd | | Elif S. | Head of Sales at an HR software scale-up | 2nd | *The 7 wait for your review; next week only people not in the file show up.* *Example run, fictional people. "New" means not seen in an earlier run, within what the search returned – keep the search narrow enough to fit the limit; LinkedIn shows a free account up to 250 results per search. The seen list lives where your agent can keep it – a file in Claude Code, or a sheet or CRM through a connector. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ## LinkedIn search filters by plan | | Free | Premium Career / Business | Sales Navigator | | --- | --- | --- | --- | | **People filters** | Connection degree, locations, current company, past company, connections of, followers of, school, industry, profile language, open to volunteering, service categories, keywords | The same, plus filters such as Actively hiring | 38 lead filters | | **Company filters** | Locations, industry, company size | The same | 16 account filters | | **Function, seniority, years of experience** | No | No | Yes | | **Recent job changes, recent posts** | No | No | Yes | | **Buyer intent, viewed your Company Page** | No | No | Advanced and Advanced Plus | | **People in CRM, past customer** | No | No | Advanced Plus | | **Results shown per search** | 250 (25 pages) | Not published | 2,500 leads or 1,000 accounts | | **Monthly search allowance** | Commercial use limit | Raised on Premium Business | Raised | | **Boolean** | In the search bar | In the search bar | Keywords, title and company fields, up to 15 operators | | **Running a search again** | Recent searches, or the results URL | Recent searches, or the results URL | 50 lead and 50 account saved searches, weekly alerts | Sources: LinkedIn Help on [people search filters](https://www.linkedin.com/help/linkedin/answer/a525054), [company search](https://www.linkedin.com/help/linkedin/answer/a541944), [free and Premium search results](https://www.linkedin.com/help/linkedin/answer/a520842), the [commercial use limit](https://www.linkedin.com/help/linkedin/answer/a564226), [Boolean search](https://www.linkedin.com/help/linkedin/answer/a524335) and its [operator limits](https://www.linkedin.com/help/linkedin/answer/a524411), [Sales Navigator filter definitions](https://www.linkedin.com/help/sales-navigator/answer/a1452817), the [Sales Navigator results limit](https://www.linkedin.com/help/sales-navigator/answer/a106030) and [saved searches](https://www.linkedin.com/help/sales-navigator/answer/a102024). LinkedIn introduces its free filter list with "such as", so treat it as the documented set rather than a guaranteed complete one. **Premium is not one thing.** - LinkedIn's plan comparison lists "Advanced search" only for Premium All-in-One, Sales Navigator Core and Recruiter Lite – not for Premium Career or Premium Business ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a545596)). - LinkedIn's own Premium Business sales page does mention "advanced search filters". The pages disagree, and the table above follows the Help comparison. - Premium All-in-One offers "unlimited search with advanced filters" for "job function, seniority, location, headcount, and years of experience". It has no Sales Navigator interface, and LinkedIn is still testing it, so it "may not be available for purchase in your location" ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a7443857)). **The monthly allowance.** A free account that searches a lot hits LinkedIn's commercial use limit. It resets "at midnight PST on the 1st of each calendar month". LinkedIn does not publish the number and cannot show how many searches you have left. Premium Business, Recruiter Lite and Sales Navigator raise it ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a564226)). What counts, and what to do when you hit it, is covered in [LinkedIn limits](/guides/understanding-linkedin-limits). Recruiting plans have their own filter set – Recruiter Lite's 20 recruiting filters and Recruiter's 40+ are compared in [AI candidate sourcing on LinkedIn](/guides/ai-candidate-sourcing-linkedin). For what each Sales Navigator tier costs, see [Sales Navigator pricing](/guides/linkedin-sales-navigator-cost). ## Sales Navigator search filters: the full list LinkedIn markets Sales Navigator on "50+ filters" ([LinkedIn](https://business.linkedin.com/sell/sales-navigator/advanced-search-filters)). Its current definitions page lists 38 lead filters and 16 account filters, grouped like this ([LinkedIn Help](https://www.linkedin.com/help/sales-navigator/answer/a1452817)): **Lead filters** - **Company:** current company, past company, company headcount, company type, company headquarters location. - **Role:** function, current job title, seniority level, past job title, years in current company, years in current position. - **Personal:** geography (region or postal code), industry, first name, last name, profile language, years of experience, groups, school. - **Buyer intent:** account has buyer intent, category interest, following your company, viewed your profile recently, viewed your Company Page recently. - **Best path in:** connection (1st, 2nd, group, 3rd+, TeamLink), connections of, TeamLink connections of, past customer, past colleague, shared experiences. - **Recent updates:** changed jobs in the last 90 days, posted on LinkedIn in the last 30 days. - **Workflow:** persona, account lists, lead lists, people in CRM, people you interacted with, saved leads and accounts. **Account filters** - **Company attributes:** annual revenue, company headcount, company headcount growth, headquarters location, industry, number of followers, department headcount, department headcount growth, Fortune. - **Spotlights:** job opportunities, recent activities, connection, buyer intent. - **Workflow:** companies in CRM, saved accounts, account lists. **Which tier unlocks what**, in LinkedIn's words: - Viewed your Company Page recently is "only available to Advanced and Advanced Plus users" ([a1452817](https://www.linkedin.com/help/sales-navigator/answer/a1452817)). - Buyer intent "is available for Sales Navigator Advanced and Advanced Plus edition users only" ([a507435](https://www.linkedin.com/help/sales-navigator/answer/a507435)), and so is Product Category Intent ([a106027](https://www.linkedin.com/help/sales-navigator/answer/a106027)). - Past customer is Advanced Plus only, and Executive TeamLink is Advanced and Advanced Plus (a106027). - The TeamLink connections of filter and People in CRM are marked "(Advanced Plus Only)" on LinkedIn's [filter comparison](https://business.linkedin.com/sell/sales-navigator/advanced-search-filters). The broader TeamLink feature – your team's connections as paths in – is on Advanced and Advanced Plus in the [plan comparison](https://business.linkedin.com/sell/sales-navigator/compare-plans). In search, then, the step from Core to Advanced buys the buyer-intent filters and Executive TeamLink, and the step to Advanced Plus adds the CRM-linked ones – People in CRM and Past customer – plus TeamLink connections of. Two filters you may see in older lists are gone. LinkedIn deprecated Posted Content and Became a Member, and folded the sales-intelligence filters into the Buyer intent, Best path in and Recent updates groups ([a106027](https://www.linkedin.com/help/sales-navigator/answer/a106027)). "Technologies used" and "Mentioned in the news" also appear in some guides, but neither is on LinkedIn's current definitions page. ## Boolean inside the filters Boolean works in LinkedIn's search bar: AND, OR and NOT in uppercase, quotes for exact phrases, parentheses to group, and no wildcards ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a524335)). In Sales Navigator it also works in the keyword, title and company fields, with a maximum of 15 operators per query ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a524411)). Operators and copy-paste strings are in [LinkedIn boolean search](/guides/linkedin-boolean-search); searching LinkedIn profiles from Google instead is [X-ray search](/guides/linkedin-xray-search). ## Make a search repeatable A search worth building is a search worth running again next week. **Inside LinkedIn** - On free and Premium accounts, re-run it from Recent searches, or keep the results URL. - In Sales Navigator, save it. - You get "weekly emails and alerts on your Sales Navigator homepage when new people or companies match your search criteria". - You can keep 50 lead searches and 50 account searches. - Editing a saved search saves the changed criteria as a copy ([LinkedIn Help](https://www.linkedin.com/help/sales-navigator/answer/a102024)). - Run a saved search again from Saved searches at the top of the Sales Navigator homepage ([LinkedIn Help](https://www.linkedin.com/help/sales-navigator/answer/a106022)). One behaviour to know before you trust a run: when a Sales Navigator lead search returns no results, it "might adjust a filter to show the closest matching leads" ([LinkedIn Help](https://www.linkedin.com/help/sales-navigator/answer/a735730)). New names still deserve a glance against your criteria. **With a hosted tool.** Several LinkedIn tools re-run saved searches for you: - Expandi's auto-refresh re-runs a search every 24 hours or 7 days and adds new leads to the list; - Evaboot's recurring exports repeat a Sales Navigator search, also from its MCP server, with only new leads in each run; - PhantomBuster's Sales Navigator Search Export has a watcher mode for new profiles; - Edges schedules people searches by URL, with an API. These suit you when you want the tool to own the schedule. If you would rather keep the schedule, the list and the hand-off in your own stack – on any plan, standard search included – run it from code or an agent. ## Re-run a saved search from code or an AI agent Running a search you built in LinkedIn once, from its URL, is covered in [LinkedIn boolean search](/guides/linkedin-boolean-search#from-boolean-to-scale-run-your-search-via-api). This section adds the recurring part: run the same search every week and keep only the people you have not seen before. [Linked API](/docs/searching-for-people) runs the search on your own LinkedIn account and returns each person as JSON. Your code keeps the list of who it has already seen. ```typescript import { readFile, writeFile } from "node:fs/promises"; import LinkedApi from "@linkedapi/node"; const linkedapi = new LinkedApi({ linkedApiToken: "your-linked-api-token", identificationToken: "your-identification-token", }); const SAVED_SEARCH_URL = "https://www.linkedin.com/search/results/people/?geoUrn=%5B%22103644278%22%5D&keywords=head%20of%20sales"; const SEEN_FILE = "seen-people.json"; async function loadSeen(): Promise> { try { return new Set(JSON.parse(await readFile(SEEN_FILE, "utf8"))); } catch (error) { if ((error as NodeJS.ErrnoException).code === "ENOENT") { return new Set(); } throw error; } } async function runSavedSearch(): Promise { const seen = await loadSeen(); const workflow = await linkedapi.searchPeople.execute({ customSearchUrl: SAVED_SEARCH_URL, limit: 100, }); const { data, errors } = await linkedapi.searchPeople.result(workflow.workflowId); if (errors.length > 0 || !data) { throw new Error(`Search failed: ${errors.map((error) => error.message).join("; ")}`); } for (const person of data) { const key = person.urn ?? person.publicUrl; if (seen.has(key)) { continue; } console.log(`${person.name} – ${person.headline} – ${person.publicUrl}`); seen.add(key); } await writeFile(SEEN_FILE, JSON.stringify([...seen], null, 2)); } runSavedSearch().catch((error) => { console.error(error); process.exitCode = 1; }); ``` ```python import json from pathlib import Path from linkedapi import LinkedApi, LinkedApiConfig, SearchPeopleParams linkedapi = LinkedApi( LinkedApiConfig( linked_api_token="your-linked-api-token", identification_token="your-identification-token", ) ) SAVED_SEARCH_URL = "https://www.linkedin.com/search/results/people/?geoUrn=%5B%22103644278%22%5D&keywords=head%20of%20sales" SEEN_FILE = Path("seen-people.json") def load_seen() -> set[str]: if not SEEN_FILE.exists(): return set() return set(json.loads(SEEN_FILE.read_text())) def run_saved_search() -> None: seen = load_seen() workflow = linkedapi.search_people.execute( SearchPeopleParams(custom_search_url=SAVED_SEARCH_URL, limit=100) ) result = linkedapi.search_people.result(workflow.workflow_id) if result.errors or result.data is None: messages = "; ".join(error.message for error in result.errors) raise RuntimeError(f"Search failed: {messages}") for person in result.data: key = person.urn or person.public_url if not key or key in seen: continue print(f"{person.name} – {person.headline} – {person.public_url}") seen.add(key) SEEN_FILE.write_text(json.dumps(sorted(seen), indent=2)) run_saved_search() ``` How to read it: - **The first run is the baseline.** It prints every current match as your starting list and records them all. Each later run prints only people who were not in an earlier run's results. - **"New" means not seen before, within what the search returned.** - The search returns the first matches up to `limit`, so anyone beyond that slice is never seen. - A newly listed person may have matched for months and only now moved into the slice. - Keep the search narrow enough that its matches fit inside the limit and your plan's cap. LinkedIn shows a free account up to 250 results per search, whatever limit you ask for. - **A failed run changes nothing.** If LinkedIn blocks the search or a filter cannot be applied, the code stops before it writes the seen list, so nobody is skipped next week. - **The key is the person's permanent `urn`.** When LinkedIn hides it, the key falls back to the profile URL. - **Sales Navigator works the same way.** Use `nvSearchPeople` with a Sales Navigator results URL, key each person by `hashedUrl`, and ask for up to 2,500 results. It needs a Sales Navigator subscription on the LinkedIn account and a Plus seat in Linked API ([`nv.searchPeople`](/docs/action-nv-search-people)). - **The schedule is yours** – cron, a CI schedule, n8n or Make. - A weekly run of one saved search is one search on your account. - It counts toward LinkedIn's limits like a search you run by hand. - It also counts toward the per-account search limit you set in Linked API ([admin limits](/docs/admin-limits)). From the shell, the [CLI](/cli/workflows) does the same. - `linkedin person search` takes typed filters (`--position`, `--locations`, `--current-companies`, `--connection-degrees` and more), or a saved search URL with `--url`. - The script below runs the saved URL as a one-action workflow with `linkedin workflow run`, which prints the action's result under `data`. ```bash set -euo pipefail cat > weekly-search.json <<'EOF' { "actionType": "st.searchPeople", "customSearchUrl": "https://www.linkedin.com/search/results/people/?geoUrn=%5B%22103644278%22%5D&keywords=head%20of%20sales", "limit": 100 } EOF touch seen.txt linkedin workflow run --file weekly-search.json --json > run.json jq -e '.data.success' run.json > /dev/null jq -r '.data.data[].publicUrl' run.json | sort -u > current.txt comm -13 seen.txt current.txt sort -u seen.txt current.txt -o seen.txt ``` `comm` prints the profile URLs that were not in earlier runs, and the last line adds them to `seen.txt`. The shell version keys on the profile URL for readability. `jq -e` stops the script when the search itself failed, so a failed run is never mistaken for "nobody new". **With an AI agent.** - An agent with the [MCP server](/mcp/available-tools) or the agent-friendly CLI runs the same search from a plain ask. How an agent gets access to your account, and what else it can run there, is in [the LinkedIn AI agent guide](/guides/linkedin-ai-agent). - Typed filters go through the `search_people` and `nv_search_people` tools. - A saved URL goes straight to `search_people` or `nv_search_people` as `customSearchUrl`; `execute_custom_workflow` in MCP and `linkedin workflow run` in the CLI run it too. The [run near the top of this page](#how-to-do-an-advanced-search-on-linkedin) is that plain ask: a saved URL, a seen list, and only the new people back. **Who owns the schedule and the memory.** Linked API runs the search and returns the results. The weekly job and the seen-before list live with your agent. In Claude Code that job is a cloud [scheduled task](https://code.claude.com/docs/en/routines) (formerly routines). Scheduled tasks are in research preview, on Pro, Max, Team and Enterprise plans. - A task runs on Anthropic's cloud from a fresh clone of its repository each time. - So the seen list must be committed back to the branch the task starts from. Tell it to in the prompt, because by default it pushes to a `claude/` branch. - Or keep the list in a sheet or CRM the task reaches through a connector. Setup is in [Claude Code for LinkedIn marketing](/guides/claude-code-linkedin-marketing#run-it-on-a-schedule-instead). What to do with the new people once you have them – qualify, enrich, invite – is the workflow in [AI sales prospecting on LinkedIn](/guides/ai-sales-prospecting-linkedin). People who change jobs are a signal of their own; see [LinkedIn buying signals](/guides/linkedin-buying-signals). ## Frequently Asked Questions (FAQ) #### Is LinkedIn advanced search free? Yes. All filters on the People results page is LinkedIn's advanced search, and a free account gets connection degree, location, company, school, industry, profile language and more. Sales Navigator is the paid, full version, with 50+ lead and account filters; Premium Career and Business add little to people search itself. #### Where did advanced search go on LinkedIn? It lives in the search results. Search for anything, choose People, and open All filters – the filters along the top are the most-used ones, and All filters holds the rest. #### How many results does a LinkedIn search show? A free account sees up to 250 results per search, across 25 pages. Sales Navigator shows up to 2,500 lead results or 1,000 account results per search. LinkedIn notes that the result counter at the top is approximate. #### Can you search LinkedIn by years of experience? Not in free LinkedIn search: years of experience is not among its documented filters. It is a Sales Navigator lead filter, along with years in current company and years in current position. Premium All-in-One also lists it, while LinkedIn tests that plan. #### How do I save a search on LinkedIn? On a free or Premium account, re-run it from Recent searches under the search bar, or bookmark the results URL, which carries your filters. In Sales Navigator, save the search from the results page: you can keep 50 lead and 50 account searches, each with weekly alerts about new matches. #### What is the difference between Sales Navigator Advanced and Advanced Plus filters? Advanced Plus adds the CRM-linked filters – People in CRM and Past customer – plus the TeamLink connections of filter. Buyer intent and Viewed your Company Page are on both Advanced and Advanced Plus, and neither is on Core. #### Can I run a LinkedIn search automatically every week? Sales Navigator alerts you weekly when new people match a saved search. To get the people themselves on your own schedule, on any plan, re-run the search URL from code or an AI agent and keep a list of who you have already seen. That stays within your plan's result cap and search allowance. ## Build it in, or hand it to an agent Build the weekly search into your own product, CRM sync or pipeline with the REST API, the [Node and Python SDKs](/sdks/installation) or the shell [CLI](/cli). Or have an AI agent run it out of the box through the [MCP server](/mcp), the agent-friendly CLI or a ready-made [skill](/skills) – from a plain-language ask, on your own LinkedIn account. Plans are flat per seat, from $49/mo billed annually – see [pricing](/pricing). *Facts verified October 30, 2026 – LinkedIn Help and Sales Navigator plan pages, and the competitor features named here, checked on that date.* ## What Is an AI BDR (or AI SDR)? Buy One or Assemble Your Own An AI BDR – sold just as often as an AI SDR – is software that does a business development rep's prospecting. It picks who to contact, researches them, writes and sends outreach by email and LinkedIn, and handles first replies until a person takes over. Underneath, it is three layers: the **data** that decides who to contact, the **reasoning** that writes and replies, and the **channel execution** that actually sends. It works when the market is large and well defined, the data is clean and the messaging is already proven. It breaks on stale lists, generic copy and, on LinkedIn, on the account it sends from. A bundled product ships all three layers. An assembled one keeps your data and your model and adds a LinkedIn execution layer in your own account – worth it when the reasoning and the data are yours and LinkedIn is the missing piece. > **The short version.** Buy a bundled AI BDR when you want meetings with little setup and your market fits the vendor's targeting. Assemble one when your ICP logic, your data or your model is the asset and you need LinkedIn to run from your own account, under limits you set. Either way, put the account questions in the checklist below to the vendor – or to your own build – before anything sends. ## What is an AI BDR? A business development representative fills the top of a sales pipeline: finds accounts that fit, works out who to talk to there, opens the conversation and books a meeting for an account executive. An AI BDR takes over the repetitive part of that day: 1. **Pick** – filter a market down to the accounts and people that match your ideal customer profile. 2. **Research** – read each person's profile, company and recent activity for a reason to reach out. 3. **Write** – draft a connection note, a first message or an email that uses that reason. 4. **Send and follow up** – run the touches on a schedule across email and LinkedIn. 5. **Triage replies** – sort answers into interested, not now and not a fit, and hand the live ones to a person. Here is that day as one morning run of an AI BDR assembled on your own account – your agent does the reasoning, [Linked API](/) does the LinkedIn work: **You:** Here are 30 target accounts from my CRM. At each, find the CFO or head of finance I'm not connected to yet, read their profile and posts from the last 30 days, and draft a connection note under 200 characters that uses something specific – skip anyone with nothing to refer to. Then tell me which invitations were accepted and which replies came in since yesterday, and sort the replies. Send nothing until I approve. **Agent** (used Linked API: search_people ×30, fetch_person ×21, get_network, get_inbox): - one search per account for its CFO or head of finance, 2nd- and 3rd-degree only – a match at 21 accounts - current role and company, posts from the last 30 days - invitations accepted since yesterday - messages received since yesterday A finance leader found at 21 of 30 accounts; no matching person found in these searches at the other 9. 15 notes drafted, 4 people skipped with nothing specific to refer to, 2 flagged – their profiles now name a different current company, so confirm before anything goes out. Since yesterday: 5 invitations accepted and 3 replies – 1 interested, 1 not now, 1 not a fit. Nothing has been sent. Three of today's rows: | Person | Account | What the agent found | Draft or status | | --- | --- | --- | --- | | Daniel R. | CFO, Northwind Logistics | A post on closing the books in five days | "Hi Daniel – your post on getting to a five-day close was a sharp read. Would be glad to connect." | | Sofia M. | VP Finance, Brightline Health | Her profile now names a different current company | FLAG – confirm she is still at the account | | Tom H. | Head of Finance, Kestrel Software | Replied since yesterday: "Let's talk after quarter end" | Not now – handed to you, with a check-in drafted for January | *Nothing goes out until you approve; then the agent sends the approved notes at a human pace on your own account, within your limits and working hours.* *Example run. Works on a regular LinkedIn account – no Sales Navigator seat needed. Assumes inbox and network monitoring were already on – they collect new activity only. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* The products differ less in those steps than in who owns each layer. A bundled AI BDR holds all three inside one vendor; an assembled one splits them between your own systems and the tools you choose. ![Diagram: two ways to run an AI BDR. On the left, a bundled AI BDR: one vendor box holds the data, the reasoning and the sending, with a "Whose account?" tag – yours or a vendor-managed profile, to ask before anything sends. On the right, an assembled AI BDR: your CRM, enrichment and signals are the data; your model or agent is the reasoning; LinkedIn runs through Linked API in your own account, with limits you set, working hours and replies coming back as events; email is a separate tool, not part of Linked API. Footer: either way, ask whose account sends, who sets the pace, and what happens on a restriction.](/images/guides/ai-bdr-bundled-vs-assembled.webp) ## AI SDR vs AI BDR: is there a difference? In job titles there is, and vendors still split the terms two different ways. AiSDR separates them by funnel stage – SDRs "focus on generating and qualifying leads at the top of the sales funnel", BDRs on developing those early connections into opportunities. SetSmart splits them by direction instead: "BDRs focus on outbound and account development while SDRs focus on inbound qualification." For software the distinction mostly disappears – most products sold under either name do outbound prospecting, and that is what this page means by both. The one real split is inbound: some AI SDRs only answer people who have already raised a hand. Qualified describes its Piper agent as following up "with inbound leads who fill out high-intent HubSpot forms or click HubSpot CTA buttons across your website" – a different job from cold outreach. ## Do AI BDRs actually work? They work where a human BDR's day is mostly volume: a market large enough that one person cannot cover it, a clear ideal customer profile, clean data and messaging that has already booked meetings by hand. An AI BDR multiplies a process that works; it does not invent one. AiSDR, which sells one, positions it as "a capacity multiplier for a sales team rather than a replacement for one". Where they break, by the vendors' own accounts and in practice: - **Thin or stale lists.** A wrong list sent faster is still a wrong list. Job changes and stale enrichment quietly turn a good list into a bad one. - **Generic copy.** Personalization that stops at `{first_name}` and `{company}` reads as automated, and buyers have learned to spot it. - **Email deliverability.** For the email half, SetSmart puts it bluntly: the bottleneck "is not message quality – it's inbox placement". - **Complex deals.** Multi-stakeholder deals, off-script objections and larger contracts still need a person – SetSmart's line is "Above $25K, you need a human in the door." - **Wrong expectations.** Buying an AI BDR as a replacement for a team rather than a multiplier for it is one of the four failure causes AiSDR names, alongside generic copy, no deliverability foundation and thin or stale lists. - **The LinkedIn account it sends from.** The one failure that can take a channel away rather than just lower a reply rate – covered next. The skepticism is part of the search itself: one of the top results for "ai sdr" is a Reddit thread titled "Has anyone found an AI SDR that actually works?". ## What happens to the LinkedIn account an AI BDR sends from? LinkedIn publishes no universal number of invitations you may send. What it does publish is what triggers a restriction: sending "many invitations within a short amount of time", invitations that are "ignored, left pending, or marked as spam", and activity where it suspects an automation tool – which can lead to a suspension ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a551012)). So the account an AI BDR sends from, and how its pace is controlled, is part of the buying decision, not a setup detail. Vendors that take this seriously publish their own ceilings. AiSDR's help center, for example, starts each LinkedIn account at 2 connection requests a day, never raises it past 15 a day automatically, and asks customers not to run other LinkedIn automation tools while its campaigns run. That is what a published self-limit looks like – the useful thing is that it is written down. The mechanics live elsewhere: how invitations, notes and waiting periods work is in our guides to [automating connection requests](/guides/how-to-automate-linkedin-connection-requests) and the [LinkedIn connection limit](/guides/linkedin-connection-limit-2026); how different tools hold authorization to your account is laid out in the connector table of our [LinkedIn AI agent guide](/guides/linkedin-ai-agent#how-can-an-agent-reach-your-account); LinkedIn's position on automation is in [restricted LinkedIn account](/guides/linkedin-account-restricted). The questions to ask about all of it are in the checklist below. ## Buy or assemble: how to choose | Your situation | Bundled AI BDR | Assembled on your own account | |---|---|---| | You want meetings next month with little setup | **Fits** | Too slow to start | | Your ICP logic, scoring or proprietary data is the asset | Your logic becomes the vendor's settings | **Fits** – the logic stays in your code or prompts | | You already run Claude, ChatGPT or an agent framework and want it to act | A second brain beside yours | **Fits** – your agent does the reasoning | | You need email infrastructure, warm-up and contact data | **Fits** – usually included | Buy those separately; Linked API does not supply them | | Outreach is part of your own product | Not built for it | **Fits** – you embed the execution layer | | One rep, a small market, no engineering or agent time | Possible, often overkill | Overkill – manual outreach may be enough | Vendors on the build side of this market draw the line in the same place. Updately's build/buy/assemble table puts LinkedIn sending in the buy column because "behavioural detection means pacing and account safety are the product". Swarmhit, which sells a LinkedIn sending API, says the part of a build that "still takes longest is the sending layer". Salesgear makes the same split for email – build the judgment layer yourself, buy execution and connect it to your model. The common thread: the reasoning is the easy part to own; the execution layer decides whether a self-built AI BDR survives contact with LinkedIn. ## The account-and-control checklist Ask these in a vendor demo, or answer them for your own build before anything sends. | Question | A good answer contains | Evidence to ask for | |---|---|---| | Whose LinkedIn account sends? | A named sender for every account – yours, a teammate's or a vendor-managed profile – and who owns that profile | The account list, and what happens to vendor-managed profiles if you leave | | What does the system hold to act for you, and where does it run? | Plain disclosure of what it keeps – password, session cookie, extension session or a hosted browser session – and where actions execute | The connection screen and the help or security page that says so | | Who sets the volume per action, and is it enforced? | Caps per action and period that you set, enforced by the system – an action over the cap does not run | A demo of hitting a cap, or the documentation of what happens at the cap | | When does it act? | A schedule or working-hours window in the account's own timezone that you control | The setting, and what happens to work requested outside it | | What happens when LinkedIn restricts the account? | A defined policy: stop sending, alert a named person, resume only by a person's decision | The written policy or runbook; ask for a past example | | Which actions run without review? | Approval rules per action type – invitations, first messages, InMail, replies – that you can tighten | The approval settings | | Where do replies go, and who owns them? | A named reply owner and a handoff time; replies reach your CRM or inbox, not only the vendor's dashboard | The routing setup, or the webhook or CRM integration | | Who keeps the conversations and lists if you leave? | Export of conversations, lists and activity logs, with stated retention and deletion terms | The export function and the contract or DPA terms | | What data does it bring, and what must you bring? | A clear split of contact data, intent data and email infrastructure – included, extra or yours | The plan page | | Can it run beside your own manual LinkedIn activity? | An explicit coordination policy – what you may do by hand while it runs and how the two are kept apart | The vendor's written guidance; some, like AiSDR, ask you not to run other automation alongside | ## What an assembled AI BDR looks like on Linked API In an assembled AI BDR, each layer is something you already own or choose – the [morning run](#what-is-an-ai-bdr) near the top of this page is one at work: - **Data** – your CRM, your enrichment provider and the signals you track, such as job changes and engagement on your posts ([buying signals](/guides/linkedin-buying-signals)). - **Reasoning** – your model or agent: Claude, ChatGPT, or your own code with your scoring rules and prompts. - **LinkedIn execution** – [Linked API](/), running in your own account. Each connected account gets its own dedicated cloud browser; you sign in once through LinkedIn's own flow, actions happen on LinkedIn's real pages at a human pace, and Linked API never stores your password. What the execution layer covers: | Job | What Linked API does | |---|---| | Find | People and company search; Sales Navigator search when the account has a seat | | Read | Profiles (experience, skills, education) and companies, including employee lists | | Reach out | Connection requests with a note, messages to 1st-degree connections, Sales Navigator InMail to people you are not connected to ([InMail guide](/guides/linkedin-inmail)) | | Replies | Inbox monitoring, with each new message delivered to your endpoint as a [webhook event](/docs/webhooks) – see [automating LinkedIn messages](/guides/how-to-automate-linkedin-messages) | | Control | Per-action [limits](/docs/admin-limits) by category and period (daily, weekly, monthly) that the platform enforces – an action over a cap does not run – and an optional per-account [working-hours window](/docs/working-hours) in the account's timezone | Use it both ways. An AI agent runs the workflow out of the box through the [MCP server](/mcp/overview), the AI-agent-friendly [CLI](/cli/getting-started) in Claude Code, Cursor or Codex, or a ready-made [skill](/skills). Or you build it into your own backend with the REST API, the [Node and Python SDKs](/sdks/installation) or the shell CLI. A worked example – from an ICP to an approved invitation – is in [AI for sales prospecting on LinkedIn](/guides/ai-sales-prospecting-linkedin); the person who usually wires this together is a [GTM engineer](/guides/gtm-engineer). What Linked API does not supply: email sending or warm-up, contact data such as emails and phone numbers, intent data, a language model, or a campaign builder. An assembled AI BDR gets those from the tools you already use – or does without them if LinkedIn is the only channel. ## What does an AI BDR cost? Bundled products are priced as a platform. AiSDR puts most AI SDR platforms at $200 to $5,000 a month, and 11x lists its Alice agent from $3,750 a month, billed annually. That usually buys the data, the model and the sending in one bill. An assembled AI BDR is priced by its parts: a Linked API seat for each LinkedIn account (flat per seat, from $49/mo billed annually), your model usage, any enrichment or email tools you add, and the time to build and run it – engineering hours or an agent you supervise. It can reduce licence fees when you already own the data and the model; integrating and running it still takes your own attention, which is the trade the decision table above is about. ## When a bundled AI BDR is the better choice - **You have no engineering or agent capacity.** An assembled system needs someone to wire it, watch it and fix it. - **You need email at scale.** Inbox infrastructure, warm-up and contact data in one place is exactly what bundled products sell. - **You want a vendor accountable for results.** Some teams would rather buy meetings than own a pipeline of tools. - **Your market fits their targeting.** If the vendor's data and playbooks already cover your buyers, building your own adds little. ## Frequently Asked Questions (FAQ) #### What is an AI BDR? An AI BDR is software that does a business development rep's prospecting: it picks who to contact, researches them, writes and sends outreach by email and LinkedIn, and handles first replies until a person takes over. It is built from three layers – data, reasoning and channel execution – which a bundled product ships together and an assembled one splits between your own tools. #### Is an AI SDR the same as an AI BDR? In software, mostly yes – vendors use the names interchangeably for outbound prospecting tools. In job titles, SDRs are often described as qualifying inbound leads or working the top of the funnel and BDRs as doing outbound account development, and some products called AI SDRs only answer inbound leads. #### Can an AI BDR replace a human BDR? It replaces the repetitive volume – searching, researching, first drafts and follow-ups – not the judgment. Complex, multi-stakeholder and larger deals still need a person in the conversation, and the vendors themselves position AI BDRs as a multiplier for a sales team rather than a replacement for one. #### Do AI SDRs actually work? They work for a large, well-defined market with clean data and messaging that has already worked by hand, and they underperform on stale lists, generic copy and weak email deliverability. Most published success numbers come from vendors, so judge one on meetings and pipeline in a pilot, not on messages sent. #### How much does an AI SDR cost? Bundled AI SDR platforms commonly run from a few hundred to several thousand dollars a month – AiSDR puts most at $200 to $5,000 a month, and 11x lists Alice from $3,750 a month billed annually. An assembled one costs its parts: a LinkedIn execution layer such as Linked API from $49/mo per seat billed annually, plus your model, data and time. #### Will an AI BDR get my LinkedIn account restricted? It can. LinkedIn publishes no universal invitation limit and restricts accounts for patterns such as many invitations in a short time, ignored invitations and suspected automation. No tool can promise otherwise; what you can control is whose account sends, enforced caps, working hours, review before sending and a stop policy – the questions in the checklist above. See our guide to a [restricted LinkedIn account](/guides/linkedin-account-restricted). #### Can I build my own AI SDR? Yes – most teams assemble one rather than build it from scratch: their CRM and enrichment for data, a model or agent for reasoning, an execution layer for LinkedIn and, if needed, an email tool. The sending layer is the hard part; Linked API supplies it for LinkedIn in your own account, and [AI for sales prospecting on LinkedIn](/guides/ai-sales-prospecting-linkedin) walks through a working example. #### Do I need Sales Navigator for an AI BDR on LinkedIn? Only for Sales Navigator search and InMail to people you are not connected to. Standard people and company search, profile reads, connection requests with notes and messages to your connections work on a regular LinkedIn account. ## Give your AI BDR an account it can use Assemble the LinkedIn half on your own account. Have an agent run it out of the box through the [MCP server](/mcp/overview), the AI-agent-friendly [CLI](/cli/getting-started) or a ready-made [skill](/skills) (`npx @linkedapi/skills`) – or build it into your own product with the [REST API and Node/Python SDKs](/sdks/installation) and the shell CLI. Plans are flat per seat, from $49/mo billed annually – see [pricing](/pricing). *Facts verified October 20, 2026 – LinkedIn Help pages, and AiSDR, 11x, SetSmart, Qualified, Updately, Swarmhit and Salesgear prices, quotes and limits checked against their live pages on that date; AiSDR and 11x prices and limits re-checked October 29, 2026.* ## Claude for Sales: Add LinkedIn to Call Prep and Follow-Up Most "Claude for sales" guides start in the CRM. This one is about one call, and the part of preparing for it that lives on LinkedIn: who this person is now, who you already know at their company, and what you last said to each other. > **The short version.** Claude is already good at the CRM half of a sales call: Anthropic's Sales plugin researches the account, preps the agenda and summarizes the call from your CRM, call recorder, data providers and public web search. What it does not have is your LinkedIn account – who at that company you are already connected to, what you two last said in your LinkedIn thread, and a way to reply there. Connect Claude to your own LinkedIn account and it can read the person's recent posts, your connections at the account and your thread before the call, then draft the LinkedIn follow-up after it: a reply in that thread, or a connection note for someone new on the call. You approve every message before it is sent. Here is one discovery call prepared from a single ask – the setup is [below](#give-claude-access-to-your-linkedin-account): **You:** Discovery call with Acme on Thursday: Jane Doe, VP Sales, and Raj Patel, RevOps lead; I've pasted their LinkedIn URLs and Acme's company page. Using my LinkedIn account, read each attendee's profile, experience, and posts and comments from the last 90 days, check whether we're connected, load our message history and read our thread, and find who I know at Acme in sales roles. Write a one-page brief with three openers, each tied to a post or a message, and the questions you couldn't answer. Don't send anything. **Agent** (used Linked API: fetch_person ×2, check_connection_status ×2, fetch_company, sync_conversation ×2, get_inbox ×2): - profile, experience, and posts and comments from the last 90 days - connected to Raj; not connected to Jane, no invitation pending - employees with "sales" in their position, at 1st or 2nd degree to you - your message history with each attendee, loaded once - the thread with each attendee, by their profile URL Brief ready for both attendees. You're connected to Raj and have a thread with him; Jane is a 2nd-degree connection with no message history. At Acme, one account executive is a 1st-degree connection and four people in sales roles are 2nd-degree – people to look into, not a ready introduction path. Open question: the size of Jane's previous company isn't on her profile. Nothing has been sent. | Who | Role and tenure | Recent activity | You and them | Opener | | --- | --- | --- | --- | --- | | Jane Doe | VP Sales, 2 years 4 months; before that, sales director at a payments company | Two posts this month on ramping new reps faster; a comment on a thread about forecast accuracy | 2nd degree, no message history | Her ramp-time post; the forecast-accuracy thread | | Raj Patel | RevOps lead, 8 months | Nothing in the last 90 days | 1st degree; in June you sent him a webinar link and he replied "will pass to the team" | His June reply about passing it to the team | *Nothing is sent from your account – the follow-up after the call waits for your approval.* *Example run – the names and details are invented for illustration. Claude reads what your account can see: a private or limited profile stays limited. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ## What Claude already does for sales – and what your LinkedIn account adds Anthropic's [Claude for Sales](https://claude.com/solutions/sales) offer is a [Sales plugin](https://claude.com/plugins/sales) with "ready-made skills for account research, call prep, call summaries, competitive intelligence, pipeline review", and connectors to Salesforce, HubSpot, Gong, Fireflies, Clay, ZoomInfo, Apollo, Outreach, Docusign, email and calendar. Its own Cowork tutorial frames the job as "[research any account before the first call](https://academy.claude.com/tutorials/using-claude-cowork-for-sales-account-research)", then run `/call-summary` afterwards. The plugin's [account research](https://github.com/anthropics/knowledge-work-plugins/blob/main/sales/skills/account-research/SKILL.md) works "via enrichment (web search + any connected data providers)", and its [call prep](https://github.com/anthropics/knowledge-work-plugins/blob/main/sales/skills/call-prep/SKILL.md) describes attendees from their CRM title. That covers a lot. What none of the connectors in those sales materials do is link your own LinkedIn account, so the parts of a call that only your account knows stay outside it: | Moment | What Claude uses today | What your LinkedIn account adds | |---|---|---| | Before the call – the account | CRM records, data providers, web search | Who works there and at what connection degree to you; the company's recent posts | | Before the call – the person | CRM title, public web search | Their profile and experience, recent posts and comments as your account sees them, and whether you are connected | | Before the call – your history | Email threads, call recordings | Your LinkedIn message thread with them | | After the call | An email draft and a CRM update | A reply in the LinkedIn thread, a connection note for a new attendee, a check for their reply | Claude can search the public web, but it has no access to your LinkedIn account by itself. The account reads and the sends below come from a tool connected to your account. ## Give Claude access to your LinkedIn account - **claude.ai, the Claude Desktop app or Cowork:** add Linked API as a custom connector. One connector covers all three ([step-by-step](/mcp/installation#claude)). - **Claude Code:** use the same MCP server, the agent-friendly [CLI](/cli/getting-started) or the ready-made skill (`npx @linkedapi/skills`, see [the LinkedIn skill](/skills/linkedin)). - **What it runs on:** a dedicated cloud browser on your own account, at a human pace, inside the [per-action limits](/docs/admin-limits) and [working hours](/docs/working-hours) you set. Linked API never stores your password. - **Turn on inbox monitoring once.** Ask Claude to run `sync_inbox` once for the account. It makes new replies show up when Claude checks the inbox, and it is what fires inbox webhooks if you automate the reply check later. Loading one person's history (`sync_conversation`) adds only that person's new messages, for a limited period (30 days by default), and fires no webhooks. - **Sales Navigator:** the Sales Navigator tools (`nv_`) need a Sales Navigator subscription on the account and a Linked API Plus seat. The full tool list is in [available tools](/mcp/available-tools), and the options for [giving an agent access to your LinkedIn account](/guides/linkedin-ai-agent) – what each connector holds and where actions run – are compared in the AI-agent guide. ## Before the call: the brief Claude builds from LinkedIn Give Claude the meeting, the attendees' LinkedIn URLs and the company page, and tell it what to read – the run at the top of this page is one such ask. The tools behind each step: | Step | Tool | What it returns | |---|---|---| | Person, experience and recent activity | `fetch_person` with experience, posts and comments since a date | Profile, roles, recent posts and comments | | Connection status | `check_connection_status` | Connected, not connected, or an invitation pending either way | | Who you know at the account | `fetch_company` with employees filtered by position and connection degree (1st, 2nd, 3rd+) | Matching employees with name, headline and profile URL | | Your thread | `sync_conversation` once per person, then `get_inbox` with the person's URL | The whole known conversation with that person | Two boundaries to keep in the brief. The 2nd-degree filter returns employees you are two steps from, not the mutual connection who could introduce you – those are people to investigate, not a ready path. And Claude reads what your account can see: a private or limited profile stays limited. ## After the call: the LinkedIn follow-up Paste your call notes – from `/call-summary` or your own – and ask for the LinkedIn half: **You:** Here are my notes from the Acme call. Using my LinkedIn account, draft a reply to Raj in our existing LinkedIn thread that confirms what we agreed and the next step, and a connection note to Jane of 200 characters or less that references the call. Show me both drafts and wait – never send without my explicit approval. **Agent** (used Linked API: get_inbox, check_connection_status): - your thread with Raj, loaded before the call - Jane – still not connected, no invitation pending Two drafts ready, written from your notes. Nothing has been sent. | To | Where it goes | Draft | | --- | --- | --- | | Raj Patel | Your existing LinkedIn thread | "Thanks for today, Raj. As agreed, I'll send the pilot scope by Friday, and we'll go through it with Jane next Thursday." | | Jane Doe | Connection request with a note (109 characters) | "Hi Jane – thanks for your time today. Glad to connect and to follow up on getting new reps productive faster." | *Nothing goes out until you approve each draft; then Claude sends both at a human pace on your account.* *Example run – the drafts draw only on your notes and what Claude read before the call. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* When you approve, Claude sends them: the reply with `send_message` into the existing thread – by its thread ID when the conversation has one, or by the person's URL when it does not (history loaded from a profile can carry no thread ID) – and the invitation with `send_connection_request` and your note. Connection notes are limited on free LinkedIn accounts, which get only [a few personalized invitations a month](https://www.linkedin.com/help/linkedin/answer/a563153); the [connection request guide](/guides/how-to-automate-linkedin-connection-requests) covers the details. A day later, ask "did Raj or Jane reply?" and Claude reads `get_inbox` for each attendee's URL. Two things to know about that answer: the inbox updates on a periodic sync, so a message from minutes ago may not be there yet, and an empty result means no reply has been captured yet – not that none was sent. Replies are captured once inbox monitoring is on – and for a person whose history Claude loaded, during that load's syncing period (30 days by default). ## Route replies to the deal owner in your own tools Developers can let replies come to them instead of asking. With inbox monitoring turned on once per account (`syncInbox`), every new message reaches your endpoint as an `inbox.messageReceived` [webhook](/docs/webhooks); without that step, it receives nothing. Key the call attendees by the `hashedUrl` from their `fetchPerson` result – the form the inbox reports on every message, while the public URL can be missing – and route a matching reply to the deal owner in Slack or your CRM. Deliveries are at least once, so deduplicate on the event `id`. The same calls run through the REST API, the Node and Python [SDKs](/sdks/installation) – `parseWebhookEvent` / `parse_webhook_event` read the payload – and the shell [CLI](/cli); the [docs](/docs) cover each action. Whole-inbox automation – every thread, not one call's attendees – is covered in [how to automate LinkedIn messages](/guides/how-to-automate-linkedin-messages). ## Guardrails - **You approve every send.** The prompts above say so, and the workflow never needs an exception. - **Pace is enforced, not suggested.** Per-action limits and working hours apply whatever Claude is asked to do. - **One account, one rep.** Each rep connects their own account; sharing one account across a team mixes threads and sender identity. - **Claude reads what your account can see.** Private profiles stay private, and nothing here returns emails or phone numbers. - **The CRM stays the system of record.** The brief and the follow-up feed it; they do not replace your CRM or your call recorder. ## Frequently Asked Questions (FAQ) #### Can Claude connect to LinkedIn? Yes, in two ways. LinkedIn's own connector in Claude's directory, [LinkedIn Hiring Pro](https://claude.com/marketplace/connectors/linkedin-hiring-pro), drafts and posts one free job and does nothing else. To work in your own account – read profiles, see who you know at a company, read and send messages – connect a tool on your account, such as Linked API as a custom connector, its MCP server, its CLI or its skill. See the [LinkedIn MCP server overview](/mcp/overview). #### Does the Claude Sales plugin read LinkedIn? Public web research and connected data providers can supply some LinkedIn information. The plugin's account research uses web search and connected data providers, and its call prep uses CRM titles. None of the connectors in Anthropic's sales materials links your own LinkedIn account, so your connections, your message threads and replies on LinkedIn are outside it. #### Can Claude connect to LinkedIn Sales Navigator? Yes, when the connected account has a Sales Navigator subscription and a Linked API Plus seat. Claude can then read Sales Navigator profiles and companies and send Sales Navigator messages through the Sales Navigator tools listed in [available tools](/mcp/available-tools). #### Will Claude send messages without asking? Not with this workflow: the prompt requires your explicit approval before anything is sent. The per-action limits and working hours on your account apply either way. #### Can I do this in Claude Code instead of claude.ai or Cowork? Yes. The same steps run in Claude Code through the MCP server, the CLI or the LinkedIn skill. For a marketing workflow in Claude Code, see [Claude Code for LinkedIn marketing](/guides/claude-code-linkedin-marketing); for finding and qualifying new prospects before there is a call, see [AI for sales prospecting](/guides/ai-sales-prospecting-linkedin). ## Build it in, or hand it to an agent Build the reply routing and the brief into your own tools with the REST API, the [Node and Python SDKs](/sdks/installation) or the [CLI](/cli). Or have Claude run it out of the box through the [MCP server](/mcp/available-tools), the agent-friendly CLI or a ready-made [skill](/skills). To map everyone involved in a deal, see [mapping a B2B buying committee](/guides/b2b-buying-committee); to watch for activity between calls, [LinkedIn buying signals](/guides/linkedin-buying-signals). Plans start at $49 a seat a month billed annually – see [pricing](/pricing). *Facts verified October 29, 2026 – Anthropic's sales page, Sales plugin and Claude connector directory checked on that date.* ## AI Candidate Sourcing on LinkedIn Without a Recruiter Seat Sourcing is the slowest part of filling a role, and most advice on AI sourcing assumes one of two things: a LinkedIn Recruiter seat, or a separate candidate database. This guide covers the setup most small teams actually have – a standard LinkedIn account – and walks one vacancy from search to a reviewed first message. > **The short version.** AI candidate sourcing means an agent does the searching and the reading. It turns a vacancy into a handful of searches, reads each profile against the role's must-haves, and hands you a shortlist with the evidence behind every name. Without a Recruiter seat it runs on LinkedIn's standard people search in your own account. You get filters for title, location, current and past company, school and industry – limited to what your account can see and to LinkedIn's monthly search allowance. You review the shortlist and every first message before anything is sent. What you do not get: Recruiter's extra filters and InMail credits, candidate emails or phone numbers, or an ATS. Here is one vacancy run end to end on a standard account – an agent such as Claude working through [Linked API](/) on your own LinkedIn account. The method behind each step is in [the worked example](#the-worked-example-one-vacancy-to-a-reviewed-shortlist) below: **You:** I'm hiring a Senior Backend Engineer (Go) for a payments startup in Germany. Must-haves: 5+ years in backend engineering, Go used in production, located in Germany. Nice-to-haves: payments or fintech, Kubernetes. Run two people searches, up to 40 results each – "golang", position "Backend Engineer", location Germany; then the same with past companies N26, Trade Republic or SumUp. Remove duplicates, read each person's experience and skills, and mark every must-have met, unknown or failed with the evidence – Go in the skills list alone is unknown. If a search fails, stop and tell me. Draft a connection note under 200 characters for each strong match. Send nothing. **Agent** (used Linked API: search_people ×2, fetch_person ×54): - "golang", position "Backend Engineer", location Germany, up to 40 each; the second adds past companies N26, Trade Republic or SumUp – 63 results - 54 distinct people after 9 duplicates removed by profile URL - experience with dates and descriptions, and skills 54 people read: 7 strong, 38 possible with the unknown named, 9 excluded with the reason. 7 notes drafted for the strong matches. Nothing has been sent. Three of them: | Candidate | Fit | Evidence | Draft note or next step | | --- | --- | --- | --- | | Lena (A) | Strong | Backend roles since 2019 (about 7 years); "payment APIs in Go" in the current role; Berlin | "Hi Lena, your payment API work in Go at ExamplePay stood out. We're hiring a senior Go engineer for a payments startup in Germany – open to a short chat?" | | Felix (B) | Strong | Six years in backend roles; "migrated services from Java to Go" in the current role; Munich | "Hi Felix, moving services from Java to Go in your current role stood out. We're hiring a senior Go engineer for a payments startup in Germany – open to a short chat?" | | Sara (C) | Possible | Backend roles since 2020; Hamburg. Go appears in skills only – production use not shown | No note yet – confirm Go in production first | *Nothing is sent until you approve each note; then the agent sends the approved requests at a human pace on your own account.* *Illustrative run – the vacancy and candidates are invented to show the method. On a free account LinkedIn allows a note on as few as three connection requests a month. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ## What AI candidate sourcing is – and what stays human Sourcing means finding people who have not applied. AI sourcing hands the repetitive part of that to software: running the searches, reading the profiles, and making a first judgment against the role's criteria. The criteria and the decisions stay with you. | Delegate to the agent | Keep with you | | --- | --- | | Turning the role into a few precise searches | The must-haves and nice-to-haves themselves | | Reading every profile the searches return | Who makes the shortlist | | Scoring each person against the criteria, with the evidence | Whether to contact someone, and what the message says | | Flagging gaps and unknowns instead of guessing | Everything after the reply – screening, interviews, the offer | | A first draft of the connection note | | It is worth doing well because sourced candidates convert. Gem's 2026 Recruiting Benchmarks report that sourced candidates are "nearly eight times more likely to be hired than inbound applicants", with direct sourcing delivering 11% of hires from 2.6% of applications. And AI is already part of the job: in LinkedIn's [Future of Recruiting 2025](https://business.linkedin.com/talent-solutions/resources/future-of-recruiting) report, 37% of organizations are integrating or experimenting with generative AI in hiring, and those using it save about 20% of their work week. ## Can you source on LinkedIn without Recruiter? Yes, within what standard search shows. Here is what each LinkedIn tier adds for sourcing: | | Standard (free) | Premium Business | Recruiter Lite | Recruiter | | --- | --- | --- | --- | --- | | People-search filters | Locations, current and past company, school, industry, connection degree, connections of, followers of, profile language, service categories, keywords | Same, plus "Actively hiring" | 20 recruiting filters, including skills and years of experience | 40+ filters, including Open to Work | | Reach | 1st, 2nd and 3rd+ degree results | Same | Up to 3rd-degree connections | The full LinkedIn network | | Monthly search allowance | Commercial Use Limit | Raised | Raised | Searches run in Recruiter | | InMail credits per month | None | 15 | 30 | 150 per seat | | Notes on connection requests | As few as three a month, 200 characters | Unlimited, 300 characters | – | – | | Hiring Assistant | No | No | No | Paid add-on | Sources: LinkedIn Help on [people search filters](https://www.linkedin.com/help/linkedin/answer/a525054), the [commercial use limit](https://www.linkedin.com/help/linkedin/answer/a564226), [InMail credits](https://www.linkedin.com/help/linkedin/answer/a543695), [personalized invitations](https://www.linkedin.com/help/linkedin/answer/a563153) and the [Recruiter plan comparison](https://www.linkedin.com/help/linkedin/answer/a417251). Two native options are worth knowing before you build anything: - **LinkedIn's own AI search.** LinkedIn now documents natural-language people search ("Finance leaders at nonprofits in Boston") where it is available on your account. It finds people. The workflow below adds what comes after the search: reading each profile, weighing the evidence and drafting a first touch for your review. - **Hiring Assistant.** This is LinkedIn's native AI agent for recruiters. It "runs dozens of searches across LinkedIn" and drafts messages, per LinkedIn's [product page](https://business.linkedin.com/hire/hiring-assistant). It is sold as an add-on to Recruiter, is not available on Recruiter Lite, and has no published price. If you already have Recruiter, start there. So is standard search plus an agent a "LinkedIn Recruiter alternative"? For the searching and reading, yes. For Recruiter's reach, recruiting filters and InMail volume, no – that is what the seat buys. ## Turn the vacancy into a search plan Not every criterion can be a filter. Split the role into what standard search can narrow and what only a profile read can confirm: | Criterion | Where it gets checked | | --- | --- | | Job title | Position filter, or keywords | | Location | Locations filter | | Employer history | Current company and past company filters | | Education | School filter | | Sector | Industry filter | | A skill or a stack | Keywords to narrow, then the profile to confirm | | Years of experience, seniority | The profile only – those filters are Recruiter features | | Open to work | The public #OpenToWork frame only. Members who share it with "Recruiters only" are visible [only to Recruiter users](https://www.linkedin.com/help/linkedin/answer/a507508) | Then budget the searches. Profile searches count toward LinkedIn's [commercial use limit](https://www.linkedin.com/help/linkedin/answer/a564226), which kicks in when your activity "indicates that you're likely using LinkedIn for commercial use, like hiring or prospecting". The allowance resets on the 1st of each month, and LinkedIn shows no counter. Premium Business, Recruiter Lite and Sales Navigator raise it. A few sharp searches beat many broad ones – more in our breakdown of [search query limits](/guides/understanding-linkedin-limits#search-query-limits). For the keyword part, LinkedIn search accepts Boolean AND, OR and NOT – see [LinkedIn Boolean search](/guides/linkedin-boolean-search), and [X-ray search](/guides/linkedin-xray-search) for the Google route. ## The worked example: one vacancy to a reviewed shortlist Everything below is illustrative: the vacancy, the candidates (A to E) and the results are invented to show the method, not taken from a live run. **The vacancy:** a Senior Backend Engineer (Go) for a payments startup, based in Germany or remote within Germany. - **Must-haves:** five or more years in backend engineering; Go used in production; located in Germany. - **Nice-to-haves:** payments or fintech experience; Kubernetes. **The search plan – two searches, no more:** | Search | Keywords | Filters | Limit | | --- | --- | --- | --- | | 1 | golang | Position "Backend Engineer", location Germany | 40 | | 2 | golang | The same, plus past company N26, Trade Republic or SumUp | 40 | The second search overlaps the first, so results are deduplicated by profile URL before anyone is read twice. **The evidence pass.** The agent reads the experience and skills of every distinct profile and applies one rule to each must-have: - **met** – the profile shows it (a role, its dates, its description); - **unknown** – the profile does not say either way; - **failed** – the profile shows the opposite. Two cases stay unknown on purpose. Go listed under skills alone does not count as production use – it needs a role or a description that mentions it. And fewer than five visible years in backend roles is not a failure, because a profile can leave earlier roles out. Then: - every must-have met → **strong**; - anything unknown, nothing failed → **possible**, with the unknown named; - any must-have failed → **excluded**, with the reason. Nice-to-haves only order people within a band. **The output – the top of the shortlist (illustrative):** | Candidate | Fit | Must-have evidence | Gaps and unknowns | Nice-to-haves | | --- | --- | --- | --- | --- | | A | Strong | Backend roles since 2019 (about 7 years); "payment APIs in Go" in the current role; Berlin, Germany | – | Payments, Kubernetes | | B | Strong | Six years in backend roles; "migrated services from Java to Go" in the current role; Munich, Germany | – | Kubernetes | | C | Possible | Backend roles since 2020 (about 6 years); Hamburg, Germany | Go appears in skills only – production use not shown | Fintech | | D | Possible | Go named in the current role; Cologne, Germany | Earlier titles say "Software Engineer" with no description – backend tenure unclear | – | | E | Excluded | Career starts with a "Graduate Backend Engineer" role in 2023, Go since then; Berlin, Germany | An entry-level start in 2023 means about 3 years in backend – fails the experience must-have | Payments | C and D are the point of the method: the agent marks what it could not confirm instead of rounding up. E is excluded with a reason you can check in seconds. ![Diagram: the AI candidate sourcing flow on a standard LinkedIn account. A vacancy with must-haves becomes a search plan of a few standard searches, limited by LinkedIn's monthly commercial use limit. The agent reads each profile's experience and skills and scores every must-have as met, unknown or failed. You review the resulting shortlist of strong, possible and excluded candidates. The agent drafts a first touch, and you approve each note before it is sent, within the connection-note limit.](/images/guides/ai-candidate-sourcing-flow.webp) ## Run it with an AI agent The run at the top of this page comes from one plain-language instruction. Connect an assistant to your LinkedIn account through a ready-made [skill](/skills) in Claude Code, Codex or Cursor, the [MCP server](/mcp/overview) in Claude or ChatGPT, or the agent-friendly [CLI](/cli). Setup is covered in [giving an AI agent access to LinkedIn](/guides/linkedin-ai-agent). The agent then uses [tools](/mcp/available-tools) such as `search_people`, `fetch_person` and `send_connection_request`. The pause before sending is part of your instruction, not a built-in approval queue – keep it explicit. So is the stop rule: if a search fails or LinkedIn limits searching, the agent should stop and tell you rather than treat it as zero results. Developers can build the same loop into an ATS or sourcing tool: [`searchPeople`](/docs/action-st-search-people) with the filters from the search plan, [`fetchPerson`](/docs/action-st-open-person-page) with `retrieveExperience` and `retrieveSkills` for the evidence pass – the scoring can be a plain function over those fields – and [`sendConnectionRequest`](/docs/action-st-send-connection-request) with a `note` for the rows you approve. Each call is asynchronous: `execute` starts the work and returns a workflow ID, and `result` waits for it. Failures come back in `errors` rather than as exceptions, so a failed search stops the run instead of reading as zero candidates, and `noteLimitExceeded` tells you the free note allowance is spent. SDK setup: [Node and Python SDKs](/sdks/installation); search reference: [searching for people](/docs/searching-for-people). For a quick look before writing any code, the same search runs from the [CLI](/cli/commands#people): ```bash linkedin person search --term "golang" --position "Backend Engineer" --locations "Germany" --limit 40 --json ``` ## Make the first touch How you reach someone depends on your relationship to them – check the [connection degree](/guides/linkedin-connection-degrees) first: | Relationship | Route | | --- | --- | | 1st-degree connection | A direct message | | 2nd or 3rd+ | A connection request with a note | | Open Profile member | A free message – LinkedIn [caps how many](https://www.linkedin.com/help/linkedin/answer/a544787) and publishes no number | Notes are the scarce resource on a free account. LinkedIn allows a personal note on [as few as three connection requests a month](https://www.linkedin.com/help/linkedin/answer/a563153) (its Help pages have said three to five), up to 200 characters each; Premium removes the monthly cap. So spend notes on the strong rows, and send the rest without a note or after upgrading. InMail to people outside your network needs Premium (15 credits a month on Business) or Sales Navigator, which Linked API reaches through its Sales Navigator actions – details in our [LinkedIn InMail guide](/guides/linkedin-inmail). A note that works names one specific, true thing from the profile and the role in a phrase – no pasted job ad. Lena's draft from the run at the top – 153 characters with this name and company: > Hi Lena, your payment API work in Go at ExamplePay stood out. We're hiring a senior Go engineer for a payments startup in Germany – open to a short chat? ## Guardrails: fairness, review, pace and limits **Fairness comes first in recruiting.** Score only on job-related evidence – the must-haves you wrote down. Never ask an agent to infer age, gender, ethnicity or any other protected trait from names, photos or graduation dates, and do not use those signals to rank. Keep the evidence column, so a person can see why each candidate landed where they did. The shortlist is a recommendation; a human makes the decision. Rules on automated hiring tools exist in some places, so check the ones that apply to you. **Review and approval are yours.** The pause before sending lives in your agent instruction or your code, as above. **Action caps are the platform's.** Linked API enforces per-action limits by category – searches, profile views, connection requests, messages – over daily, weekly or monthly periods, and you can set your own ([limits API](/docs/admin-limits)). LinkedIn publishes no weekly invitation number. If you go over, it may restrict invitations, and that restriction ["typically lasts one week"](https://www.linkedin.com/help/linkedin/answer/a550555). Our [connection limit guide](/guides/linkedin-connection-limit-2026) has the details. **LinkedIn's position.** LinkedIn's User Agreement does not permit third-party automation, and any automation carries account risk – what LinkedIn says, and what happens if an account is restricted, is in [LinkedIn account restricted](/guides/linkedin-account-restricted). What keeps the risk in check is how this runs: your own account, a dedicated cloud browser, a human pace, limits you configure, and a person approving each message. ## What this does not do - It does not give you Recruiter projects, pipelines or Recruiter-only filters. - It does not find candidate email addresses or phone numbers. - It is not an ATS, and it does not track candidates through your hiring stages. - It does not chart a whole talent market across companies – that is [talent mapping](/guides/talent-mapping-recruitment). - It works only with what your connected account can see on LinkedIn. - Drafts need a human eye before they go out. ## Frequently Asked Questions (FAQ) #### What is AI candidate sourcing? It is using AI to find people for a role who have not applied: turning the role into searches, reading profiles against the criteria, and producing a shortlist with the evidence for each person. A recruiter still decides who to contact and what to say. #### Can I source candidates on LinkedIn without Recruiter? Yes. Standard LinkedIn search filters by title, location, current and past company, school and industry, and an agent can read each profile for the criteria the filters cannot cover. The trade-offs are a monthly search allowance, no recruiting filters such as years of experience, and no InMail on a free account. #### Is there a free alternative to LinkedIn Recruiter? Standard search plus an AI agent covers the searching and reading that Recruiter speeds up. It does not replace what the seat buys: reach across the full network, 40+ recruiting filters, Open to Work signals shared only with recruiters, and InMail volume. #### How many people can I search on a free LinkedIn account? LinkedIn does not publish the number. Profile searches count toward a monthly commercial use limit that resets on the 1st of each month, and LinkedIn shows no counter. Premium Business, Recruiter Lite and Sales Navigator raise the allowance. #### How do I contact candidates without InMail? Message your 1st-degree connections directly, and send everyone else a connection request – with a short personal note while your monthly note allowance lasts. Members with an Open Profile can also be messaged for free, within a limit LinkedIn does not publish. #### Does LinkedIn's Hiring Assistant work without Recruiter? No. LinkedIn sells Hiring Assistant as an add-on to LinkedIn Recruiter; it is not available on Recruiter Lite or on standard and Premium accounts. #### Will an AI sourcing agent get my LinkedIn account restricted? Any automation carries some risk. What keeps it in check is how it runs: on your own account, in a dedicated cloud browser, at a human pace, within per-action limits you configure, with a person approving each message. #### Does this find candidate emails? No. It works with what LinkedIn shows your account – names, headlines, experience, skills and locations – and contacts people on LinkedIn itself. For emails you would need a separate contact-data provider. ## Build it in, or hand it to an agent Use it both ways. Build the sourcing workflow into your own tools with the REST API, the [Node and Python SDKs](/sdks/installation) or the [CLI](/cli). Or have an AI agent run it out of the box through the [MCP server](/mcp/available-tools), the agent-friendly CLI or a ready-made [skill](/skills). Plans start at $49 a seat a month billed annually – see [pricing](/pricing). For the sales version of the same workflow, see [AI for sales prospecting on LinkedIn](/guides/ai-sales-prospecting-linkedin). *Facts verified October 16, 2026 – LinkedIn plan features, search and invitation limits checked against LinkedIn Help and LinkedIn's product pages; Gem's benchmark figures checked against its published report on that date.* ## Talent Mapping in Recruitment: Build a LinkedIn Market Map A market map tells you where the people you want work before a vacancy forces the question. Most guides describe one. This one builds one from LinkedIn, and is plain about what that data can and cannot tell you. > **The short version.** Talent mapping in recruitment charts the external market for a role: which companies employ the kind of people you want, where they are based, and who they are – before you need them. Market mapping is the company-level picture; talent mapping adds the named people. An AI agent can draft one from LinkedIn in your own account. It finds the target companies, lists the people in matching roles at each, reads a few representative profiles, and records what it could not confirm. The result is an observed map – what LinkedIn returns to your account, capped and dated – not a headcount. It leaves out salary data, contact details and anything about protected characteristics. Here is one map, drafted by an AI agent on your own LinkedIn account through [Linked API](/) – the [worked example](#the-worked-example-a-market-map-for-one-brief) further down walks through the same map step by step: **You:** Build a market map for Data Engineers in London fintech. Search companies with the keyword "fintech", 201–500 and 501–1,000 employees, headquartered in London, and take the first 30 – a capped sample, say so. At each, list employees with the position "Data Engineer" located in London, up to 25, with the cap and today's date: "at least 25" at the cap, "unknown" if the search fails, "none found" if it returns nothing. For up to 3 people per company, read their title and time in role at that company and their previous employer. No headcounts, no senior count, nothing about protected traits. Show me the map before anything else. **Agent** (used Linked API: search_companies, fetch_company ×30, fetch_person ×38): - keyword "fintech", headquartered in London, 201–500 and 501–1,000 employees, up to 30 – 30 companies - employees with the position "Data Engineer" located in London, up to 25 each - matches at 21 companies (1 at the cap), none found at 7, the search failed at 2 - the experience of up to 3 people at each company with matches 30 companies in the sample: matches at 21 – one at the cap, so "at least 25" – none found under this search at 7, and unknown at 2 where the search failed. 38 representative profiles read. These are retrieved title matches, capped and dated 16 October 2026 – not a headcount, and no senior count. London teams of fintechs headquartered elsewhere are not in this sample. Six of the rows: | Company | Company size (whole company, LinkedIn) | Data Engineer matches in London (cap 25) | A representative profile | Status | | --- | --- | --- | --- | --- | | Company A | 640 | 11 | Senior Data Engineer, 2 years in role, previously at a bank | Observed | | Company B | 920 | At least 25 | Lead Data Engineer, 3 years in role | Cap reached | | Company C | 310 | 6 | Data Engineer, 1 year in role, previously at a consultancy | Observed | | Company D | 450 | 0 | – | None found under this search | | Company E | 280 | – | – | Unknown – the search failed | | Company F | 870 | 4 | Senior Data Engineer, 4 years in role | Observed | *Nothing goes out – the map is for your pitch and your next research pass.* *Example run, fictional companies and people. A match is a LinkedIn member who lists that title and location, not the company's real team, and company size is LinkedIn's company-wide member figure. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ## What talent mapping means in recruitment The term covers three different things, and only two of them are about hiring from outside: | Term | What it produces | Covered here | | --- | --- | --- | | Talent mapping (external) | Named people in a defined market, profiled against a role | Yes | | Market mapping | A picture of the market itself – companies, team structures, where talent is concentrated | Yes | | Internal talent mapping | Your current staff against future needs – succession plans, the 9-box grid | No – that is a workforce-planning exercise | Recruiter-training company SocialTalent draws the line well: "Market mapping is the systematic analysis of the talent landscape in a given market … Where talent mapping produces a list of named individuals, market mapping produces a picture of the market itself" ([SocialTalent](https://www.socialtalent.com/?p=93152)). In agency work the two overlap, and most maps carry both. Why recruiters build them: - **To win the mandate.** TalentMaps' agency guide puts it bluntly: "command of the market is often what wins a retained or exclusive assignment over a contingent scrap." - **To sell intelligence.** QX Global and Recruiterflow both describe market maps used for business development and client acquisition, not only for live searches. - **To show coverage.** Leonar's executive-search workflow ends with presenting the map to the client as evidence of where the search looked. The pressure behind it is real: in LinkedIn's [January 2026 research](https://news.linkedin.com/2026/LinkedIn-Research-Talent-2026), two-thirds of recruiters said qualified talent had become harder to find, and 93% planned to increase their use of AI in 2026. ## What goes in a market map A layout you can copy. Each row is one company, or one person at a company: | Group | Columns | | --- | --- | | Company | Company · HQ · Company size (LinkedIn's company-wide figure) · Fit tier (A, B, C) | | People | Name · Current title · Location · Profile URL · Time in role · Previous company | | Judgment | In scope (yes, borderline, no) · Notes | | Provenance | Search used · Cap · Date retrieved · Coverage status · Next research step | Two notes. Salary bands and "availability" are common extra columns, but LinkedIn data does not supply them – fill them from your own sources or leave them out. And the provenance columns are what make a map trustworthy: Leonar's coverage table records evidence with a date and marks verified versus unknown, and HeroHunt advises storing the exact search criteria and the date each search ran. A map without provenance cannot be refreshed or defended. ## Observed, not a headcount Even LinkedIn's own paid tool is careful here: Talent Insights reports the "Number of LinkedIn members in the target talent pool" ([LinkedIn Help](https://www.linkedin.com/help/talent-insights/answer/a189016)). A count drawn from LinkedIn is members who list that company and title, not the company's real team. So the map below records what was observed, under rules that keep it honest: - **Retrieved matches, with the cap and the date.** "11 Data Engineer matches in London, cap 25, retrieved 16 October" – not "11 data engineers work there." - **A cell that hits the cap reads "at least N".** There may be more. - **A search that failed is "unknown", never zero.** It goes back on the list. - **Zero found is "none found under this search".** It is not "no talent here" – people use other titles. - **Company size stays separate.** The company page's figure covers the whole company and is labelled that way. - **Every cell is dated.** People move; refresh before you reuse a map. ## The LinkedIn-native routes Before building anything, know what LinkedIn gives you directly: - **The People tab on a company page (free).** LinkedIn Help describes it as offering "employee insights on their job title, areas of study, skills, and how you're connected with them" ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a550270)). It is the fastest way to look at one company. Viewing member profiles there counts toward LinkedIn's [commercial use limit](https://www.linkedin.com/help/linkedin/answer/a564226). - **Standard people search** with current-company and location filters – the same allowance applies. It resets at midnight PST on the 1st of each month, and LinkedIn publishes no number. More in our breakdown of [search query limits](/guides/understanding-linkedin-limits#search-query-limits). - **LinkedIn Talent Insights.** LinkedIn's paid talent-intelligence product, separate from Recruiter, with aggregate pools by title, location, company and skill; pricing is through LinkedIn's sales team. It is the right tool when you need market-wide totals and trends rather than named people. The method below sits between the two: named people and companies, built from what your own account can see, with every gap recorded. ## The worked example: a market map for one brief Everything below is illustrative: the companies (A to F), the people and the numbers are invented to show the method, not taken from a live run. **The client goal:** an agency is preparing a pitch for a client hiring Senior Data Engineers in London fintech. **What this map actually covers – say it on the map itself:** London-based people with "Data Engineer" title matches, at fintech companies headquartered in London with 201–1,000 employees, drawn from a capped sample of the first 30 companies the search returns. - **Seniority is unverified** except for the representative profiles read, so the map gives no "senior" count. - **London teams of companies headquartered elsewhere are outside this sample.** That is a named coverage gap with its own next step. **The steps:** 1. **The company universe.** A company search for the keyword `fintech`, sizes 201–500 and 501–1,000, headquartered in London, limit 30. 2. **People per company.** For each company, employees with the position "Data Engineer" located in London, capped at 25. 3. **Representative reads.** The experience of up to three people per company: their title and time in role at that company, and their previous employer. People can hold more than one current role, so only the role at the mapped company counts. **The map (illustrative, retrieved 16 October 2026):** | Company | Company size (whole company, LinkedIn) | Data Engineer matches in London (cap 25) | Representative people | Status | Next step | | --- | --- | --- | --- | --- | --- | | Company A | 640 | 11 | Person 1: Senior Data Engineer, 2 years in role, previously at a bank · Person 2: Data Engineer, 8 months, previously an analytics engineer | Observed | Read two more profiles for seniority | | Company B | 920 | At least 25 | Person 3: Lead Data Engineer, 3 years in role | Cap reached | Rerun with a higher cap or split by title | | Company C | 310 | 6 | Person 4: Data Engineer, 1 year, previously at a consultancy | Observed | – | | Company D | 450 | 0 | – | None found under this search | Try title variants: Analytics Engineer, Data Platform Engineer | | Company E | 280 | – | – | Unknown – the search failed | Rerun next month | | Company F | 870 | 4 | Person 5: Senior Data Engineer, 4 years in role | Observed | – | *Not in this sample: London teams of fintechs headquartered outside London. Next step: a second company search, or a people search by current company and location.* What the map tells the client: where observed Data Engineer title matches cluster within the sample (A and B); which companies need a second pass with title variants (D) or a higher cap (B); and what is still unknown – seniority beyond the profiles read, company E, and the London teams of firms based elsewhere. No headcounts, and no senior count. ![Diagram: how an observed market map is built from LinkedIn. A brief becomes a company universe from a company search, then people per company filtered by role and location under a cap, then a few representative profile reads, then the map. A legend shows the four cell states: retrieved N matches, cap reached meaning at least N, none found under this search, and unknown when the search failed.](/images/guides/talent-mapping-observed-map.webp) ## Run it with an AI agent The same map can be built from a plain-language instruction. Connect an assistant to your LinkedIn account through a ready-made [skill](/skills) in Claude Code, Codex or Cursor, the [MCP server](/mcp/overview) in Claude or ChatGPT, or the agent-friendly [CLI](/cli) – setup is covered in [giving an AI agent access to LinkedIn](/guides/linkedin-ai-agent). It then uses [tools](/mcp/available-tools) such as `search_companies`, `fetch_company` and `fetch_person`. The map at the top of this page is that kind of instruction, run once. What makes it hold up is in the ask itself: take a capped sample and say so; record the cap and the date; write "at least N" at the cap, "unknown" when a search fails and "none found" when it returns nothing; read only the role at the mapped company; never report a headcount, a senior count or anything about protected traits; and stop to show the map before doing anything else. ## Build it into your own tools Developers can build the same map in their own sourcing tools: [`searchCompanies`](/docs/action-st-search-companies) for the company universe, [`fetchCompany`](/docs/action-st-open-company-page) with `retrieveEmployees` and a position and location filter for the people per company, and [`fetchPerson`](/docs/action-st-open-person-page) with `retrieveExperience` for the representative reads. Give every row its cap, date and status. Calls are asynchronous – `execute` starts the work and `result` waits for it – and action failures come back in `errors`, not as exceptions, which is how a failed retrieval reaches the map as `unknown` instead of a misleading zero. References: [searching for companies](/docs/searching-for-companies), [retrieving company data](/docs/retrieving-company-data), what a company read returns in our [company data guide](/guides/linkedin-company-scraper), and the [Node and Python SDKs](/sdks/installation). ## Budget the search allowance A map spends LinkedIn's monthly search allowance faster than any single search, so cap it at three levels: - **Companies.** TalentMaps suggests 30 to 60 target companies for a map; start at the low end. - **People per company.** A cap of 25 tells you where talent clusters; raise it only for the companies that hit it. - **Profile reads.** Two or three representatives per company are enough to judge what the titles mean. Linked API also enforces its own per-action limits, which you can set ([limits API](/docs/admin-limits)). If the allowance runs out mid-map, the unfinished companies are marked unknown and can resume next month – or sooner with Premium Business, Recruiter Lite or Sales Navigator, which LinkedIn says raise it. ## What the map leaves out: fairness and data minimisation - **No inferred protected characteristics.** Do not ask an agent to guess gender, ethnicity, age or any other protected trait from names or photos, and do not build "diversity maps" that way. In its 2024 audit of AI recruitment tools, the UK ICO found tools inferring characteristics such as ethnicity from names, and said information "intentionally inferred in this way is still special category data" ([ICO audit report](https://ico.org.uk/media2/migrated/4031620/ai-in-recruitment-outcomes-report.pdf)). - **Only the fields you need.** A map needs titles, companies, locations and tenure – not everything a profile shows. The same ICO report recommends giving people privacy information within a month when their data comes from job networking sites; check which obligations apply to you. - **LinkedIn's position, stated plainly.** LinkedIn's User Agreement does not permit third-party automation, and any automation carries account risk – details in [LinkedIn account restricted](/guides/linkedin-account-restricted). What keeps the risk in check is how this runs: your own account, a dedicated cloud browser, a human pace and limits you configure. ## From map to outreach A map is research. When a vacancy opens, you qualify people from it against that specific role and contact the strongest – that workflow, with an evidence-backed shortlist and a reviewed first message, is in [AI candidate sourcing on LinkedIn](/guides/ai-candidate-sourcing-linkedin). The sales world has its own version of mapping: charting one target account's buyers, covered in our guide to the [B2B buying committee](/guides/b2b-buying-committee). ## What this does not do - It does not give headcounts – only matches observed under a cap, with a date. - It does not provide salaries, contact details or internal performance data. - It is not internal succession planning or a 9-box review. - It works only with what your connected account can see on LinkedIn. - It does not replace Talent Insights when market-wide aggregates are what you need. ## Frequently Asked Questions (FAQ) #### What is talent mapping in recruitment? It is charting the external market for a role before you hire: which companies employ the people you want, where they are, and who they are. Recruiters use maps to plan searches, win mandates and advise clients. #### What is the difference between talent mapping and market mapping? Market mapping describes the market – companies, team structures and where talent is concentrated. Talent mapping adds the named people. In agency work the two are usually combined in one map. #### What data is used in talent mapping? Company names, sizes and locations; people's titles, locations, time in role and previous employers; and provenance – which search found them and when. Salary bands and availability usually come from other sources. #### Is talent mapping the same as the 9-box? No. The 9-box grid rates current employees on performance and potential for succession planning. External talent mapping looks at people outside your company. #### How do I do talent mapping on LinkedIn for free? Use the People tab on each target company's page and standard people search with company and location filters. Both count toward LinkedIn's monthly commercial use limit, so keep the company list short and record what you could not check. #### How accurate are LinkedIn employee numbers? They count members who list the company on their profile, not the company's actual staff, so treat them as an observed sample. Even LinkedIn's Talent Insights labels its figure as the number of LinkedIn members in a talent pool. #### Can AI do talent mapping? An AI agent can draft one: run the company and people searches, read representative profiles and record the gaps. A recruiter still sets the scope, checks the map and decides what it means for the client. #### Should a talent map include diversity data? Not data inferred from names or photos. The UK ICO's audit of AI recruitment tools said ethnicity inferred that way is still special category data. Keep the map to job-related information. ## Build it in, or hand it to an agent Use it both ways. Build the mapping workflow into your own tools with the REST API, the [Node and Python SDKs](/sdks/installation) or the [CLI](/cli). Or have an AI agent run it out of the box through the [MCP server](/mcp/available-tools), the agent-friendly CLI or a ready-made [skill](/skills). Plans start at $49 a seat a month billed annually – see [pricing](/pricing). *Facts verified October 16, 2026 – LinkedIn page, search and Talent Insights details checked against LinkedIn Help; the ICO audit quotes against the ICO's published report; competitor coverage checked against their live pages on that date.* ## B2B Buying Committee: How to Map One on LinkedIn with an AI Agent Deals rarely hang on one person. The question is who the others are at your target account, and how to find them before the deal goes quiet. > **The short version.** A B2B buying committee is the group of people at one account who shape a purchase: typically a champion who advocates for the change internally, an economic buyer who controls budget, technical and operational evaluators, the day-to-day users, a security, legal or procurement gate, and often an executive sponsor. There is no universal size – it grows with price, risk and company size. To map it, name the roles first, then find candidates for each: search the company's employees on LinkedIn by title and by how close they are to your network, read their profiles and recent posts as evidence, and mark each role as a guess with a confidence level until conversations confirm it. An AI agent or a script can run that research on your own LinkedIn account; reporting lines and budget authority are never on LinkedIn, so the map stays an informed hypothesis. ## What is a B2B buying committee? A buying committee is everyone at the customer who can move, slow or stop a purchase – the people who evaluate, approve and live with the decision. Mapping it for one target account is what sales teams call account mapping (not to be confused with partner account mapping, which compares customer lists between companies). | Role | What they care about | Clues on LinkedIn | Title keywords to search | |---|---|---|---| | Champion (advocate) | Getting the change through; mobilizes colleagues | Posts about the problem; a role in the affected team. A problem owner is only a *potential* champion until they advocate | Head of, Manager + the function | | Economic buyer | Return, cost, priority | Budget-owning seniority in the function | VP, Director, C-level of the function | | Technical or operational evaluator | Integration, security, implementation | Engineering, IT, operations, data roles | Engineer, Architect, IT, Operations | | User or workflow representative | Day-to-day fit | Hands-on titles in the team | Specialist, Analyst, Representative | | Security, legal or procurement gate | Risk, terms, vendor process | Security, legal, procurement departments | Security, Legal, Procurement, Compliance | | Executive sponsor | Strategic fit, breaking deadlocks | Executive titles above the function | CEO, COO, CRO, CFO | A few rules keep the map honest: - **There is no universal size.** Committees grow with price, risk and company size. - **One person can fill several roles** – at a smaller company the economic buyer may also be the champion. - **A title match gives a candidate, not a role.** LinkedIn's own [sales terms](https://business.linkedin.com/sell/resources/sales-terms/buying-committee) define the champion as an advocate, and that shows in behavior, not in a job title. Here is that map for one account, researched by an AI agent on your own LinkedIn account through [Linked API](/): **You:** Map the buying committee at Example Target for our RevOps analytics product. Search the company's employees for each title keyword – "Head of Revenue Operations", "RevOps Manager", "VP Sales", "Chief Revenue Officer", "Salesforce Administrator", "Data Engineer", "Sales Operations Analyst", "Procurement", "Security" – and list the decision makers LinkedIn shows for the company. For the top 3 candidates per role, read their profile and posts from the last 90 days. Give each an inferred role, a confidence level with the evidence, and my connection degree, and list the roles with no candidate. Send nothing – stop for my review. **Agent** (used Linked API: fetch_company ×9, fetch_person ×13): - employees by position, one title keyword per call; the first call also returns the decision makers LinkedIn lists - 27 people from the title searches and 12 decision makers, 4 of them in both – 35 people; nobody for "Security" - current position, experience and posts from the last 90 days for the top candidates per role 35 people at Example Target; the top 13 read. Champion: 1 high, 2 low. Economic buyer: 2 medium, 1 low. Technical evaluator: 1 high, 2 medium. User: 3 medium. Security, legal or procurement: 1 low – a procurement manager; no matching security title found in these searches. Nothing has been sent. The strongest candidate per role: | Person | Inferred role | Confidence and evidence | Your connection | | --- | --- | --- | --- | | Dana K. | Champion (candidate) | High – Head of Revenue Operations; a post last month on fixing forecast accuracy | 2nd | | Marcus T. | Economic buyer | Medium – Chief Revenue Officer; nothing on the profile contradicts it | 3rd+ | | Priya S. | Technical evaluator | High – Salesforce Administrator; her experience lists a CPQ rollout | 1st | | Leo B. | User | Medium – Sales Operations Analyst; nothing on the profile contradicts it | 2nd | | Ana R. | Security, legal or procurement gate | Low – title keyword match only ("Procurement Manager") | 3rd+ | *Nothing goes out until you have reviewed the map and chosen whom to contact first.* *Example run, fictional company and people. Roles stay inferred – reporting lines and budget authority are not on LinkedIn – and a champion is confirmed only in conversation. Employee searches are bounded by what your account can see. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ## Why single-threaded deals stall A deal with one contact rests on one person's calendar, priorities and job. If they go quiet, change roles or turn out not to hold the budget, the deal stalls with nobody else to call. **Multithreading in sales** means building relationships with several members of the committee, each on the questions they own, so the deal does not depend on any one of them. ## Where the map comes from | Route | Best for | Watch out for | |---|---|---| | Sales Navigator, by hand | Reps who already have a seat and map a few accounts | Creating CRM contacts – with an optional stakeholder role on an opportunity – requires Advanced Plus and CRM Sync ([LinkedIn Help](https://www.linkedin.com/help/sales-navigator/answer/a170004)); the evidence-and-confidence map is still yours to maintain | | Sales-engagement platforms with org-chart features | Teams that live in that platform, its database and their CRM – Amplemarket, for example, describes an Org Chart Skill and a deal contact gap analysis built on its own data and HubSpot | The map comes from the vendor's data; LinkedIn is an outreach channel there, not the source | | LinkedIn research on your own account (Linked API) | Agents and scripts that query LinkedIn directly and write the map in the shape you need | Bounded by what your account can see; roles stay inferred | Role-first mapping is not new – it is how good account executives already work. What changes with the last route is who does the legwork: an agent or a script runs the LinkedIn research, and you review the result. ## How to map a buying committee from LinkedIn 1. **Name the roles and title keywords** for this deal, using the table above. A RevOps tool and a security product have different committees. 2. **Pull candidates per role.** - Search the company's employees by `position` keyword, one search per keyword, optionally narrowed by location and by connection degree (`1st`, `2nd`, `3rd+`). One search returns up to 1,000 people. - Add the decision makers LinkedIn lists for the company – up to 20. The reference for both is in the docs: [company employees](/docs/action-st-retrieve-company-employees) and [decision makers](/docs/action-st-retrieve-company-dms). 3. **Read the evidence.** For the strongest candidates, open the profile (current position, experience) and recent posts. 4. **Assign roles with a confidence level** and the evidence behind each: - **high** – the role is stated or clearly shown: a matching title plus posts or experience that fit; - **medium** – the title fits and nothing contradicts it; - **low** – a title-keyword match only. A champion is confirmed only by what they do in conversations, never by title. 5. **Mark warm paths.** 1st-degree candidates you can message directly. For 2nd-degree candidates, look up your mutual connections – the label shows proximity, not a named introducer. 6. **Find the gaps** – roles with no candidate – and decide whom to research next. 7. **Write the map** to your CRM or a sheet. A person reviews it before any outreach. ## Run it with an AI agent The research runs from a plain-language instruction like the one in the [run near the top of this page](#what-is-a-b2b-buying-committee). Connect an assistant such as Claude to your account through the [MCP server](/mcp/available-tools) – `fetch_company` with employees and decision makers, `fetch_person` for profiles and posts – the agent-friendly [CLI](/cli), or a ready-made [skill](/skills). Setup is covered in [giving an AI agent access to LinkedIn](/guides/linkedin-ai-agent). The pause before outreach is part of your instruction, not a built-in approval queue – keep it explicit. ## Build it into your own tools Developers can run the same research in their own code: one [`fetchCompany`](/docs/action-st-open-company-page) call per title keyword with `retrieveEmployees` and a `position` filter – add `retrieveDMs` for the decision makers – then [`fetchPerson`](/docs/action-st-open-person-page) with experience and posts for the closest candidates. The role rules can be a plain function over those fields. Each call is asynchronous: `execute` starts the work and returns a workflow ID, and `result` waits for it. A search LinkedIn refuses comes back in `errors`, so mark that role incomplete rather than empty – an unfinished search is not evidence that nobody holds the role. SDK setup: [Node and Python SDKs](/sdks/installation); the same searches also run from the [CLI](/cli). ## Multithreading without noise - **Start with your strongest relationship** and ask how the decision actually gets made – that conversation corrects the map faster than any search. - **Write to each role about what it owns.** The economic buyer cares about return and priority, the evaluator about integration, the user about daily work. One pitch to everyone reads as spam. - **Never imply a colleague shared anything** they did not. - **Choose the right first touch.** Check [the connection degree](/guides/linkedin-connection-degrees) to decide between an invitation and a message, and keep first touches reviewed – see [AI for sales prospecting](/guides/ai-sales-prospecting-linkedin). - **Watch who is already engaging.** People reacting to your posts or viewing your profile may already be on the committee – see [LinkedIn buying signals](/guides/linkedin-buying-signals). ## Limits - **Reporting lines and budget authority are not on LinkedIn.** Every role is inferred until the buyer confirms it. - **Titles are self-reported** and vary between companies. - **Employee lists are bounded** by what LinkedIn shows your account. - **A 2nd-degree label is proximity**, not an introduction. - **No emails or phone numbers** – Linked API works with what LinkedIn shows. - **Pace and limits.** Profile views and searches count toward per-action limits by category and period ([limits API](/docs/admin-limits)). The account runs in a dedicated cloud browser at a human pace. Pulling a company's employee list as data, rather than mapping a committee, is covered in the [company scraper guide](/guides/linkedin-company-scraper). ## Frequently Asked Questions (FAQ) #### Who is on a B2B buying committee? Typically a champion, an economic buyer, technical and operational evaluators, users, a security, legal or procurement gate, and often an executive sponsor. One person can hold several of these roles. #### How big is a typical buying committee? There is no universal number. It grows with the price of the purchase, the risk it carries and the size of the company. #### How do you find decision makers in a company on LinkedIn? Search the company's employees by title and seniority keywords, check the decision makers LinkedIn lists for the company, then confirm each candidate on their profile and recent posts. #### What is multithreading in sales? Building relationships with several members of the buying committee, so a deal does not depend on one contact's availability or authority. #### Can an AI agent map a buying committee? Yes, for the research: an agent can search employees, read profiles and posts and draft the map on your own account. The roles stay inferred, and a person reviews the map before any outreach. ## Build it in, or hand it to an agent Build the research into your own tools with the REST API, the [Node and Python SDKs](/sdks/installation) or the [CLI](/cli). Or have an AI agent run it out of the box through the [MCP server](/mcp/available-tools), the agent-friendly CLI or a ready-made [skill](/skills). Plans start at $49 a seat a month billed annually – see [pricing](/pricing). *Facts verified October 12, 2026 – Sales Navigator CRM contact creation against LinkedIn Help; Amplemarket's org-chart and gap-analysis features against its live guide on that date.* ## Claude Code for LinkedIn Marketing: A Weekly Content Workflow Most "Claude for marketing" advice is about landing pages and reports. This guide is about the channel where B2B buyers talk in public every day – LinkedIn – and one workflow Claude Code can run there every week. > **The short version.** Claude Code can run the research-and-drafting half of LinkedIn marketing on a weekly loop: read what competitors and creators in your category posted, mine the comments for objections and buyer questions, write a one-page content brief, draft a post for you to edit, publish it once you approve, and then pull who engaged so the right people reach your CRM. Claude does the thinking and writing; the LinkedIn reads and actions come from a tool on your own account – Linked API's ready-made skill, its MCP server or its agent-friendly CLI. A person approves every post before it goes live. ## What Claude Code can do for LinkedIn marketing | Job | Claude's part | The LinkedIn tool behind it | |---|---|---| | Research | Read and summarize what your category posted this week | Post search and a company's recent posts | | Analyse | Cluster themes, objections and the questions buyers ask | Comments and reactions on the strongest posts | | Plan | Write a one-page brief with angles and sources | – (Claude alone) | | Draft | Write a post in your voice | – (Claude alone) | | Publish | Only after you approve the draft | Create post | | Follow up | Check each engager's current role and company, then decide who fits your buyer | Reactions and comments on your post, then person and company lookups | Claude has no LinkedIn access of its own. Everything in the right-hand column comes from a tool that works on your own account. Here is one Monday run in Claude Code for Acme Analytics, the made-up RevOps analytics company used through this guide – its context file is [below](#tell-claude-what-you-sell-and-how-you-write): **You:** Read marketing-context.md first. Search LinkedIn posts on "pipeline forecasting" from the past week, latest first, up to 30, and read each competitor's company posts from the last 7 days. Pick the 3–5 posts with the most comments that are actually about the category, read their comments, then write brief.md – three themes with links, the objections and open questions, the angle we can own, one post idea – and draft-post.md in my voice, under 1,300 characters, no links in the body. Don't publish anything. **Agent** (used Linked API: search_posts, fetch_company ×2, fetch_post ×4): - "pipeline forecasting", latest, past week, limit 30 – each post's text and date checked, because LinkedIn widens narrow queries - Example Rival and Other Rival, with their posts from the last 7 days - the comments on the four posts picked - wrote brief.md and draft-post.md 30 posts came back: 19 were about pipeline forecasting, 11 were dropped as off-topic. The two competitors posted 5 times this week. From those 24 posts I read the comments on the 4 with the most – 97 comments in all – and wrote brief.md and draft-post.md. Nothing has been published. The posts behind the brief: | Post | Author's headline | Comments | In the brief | | --- | --- | --- | --- | | "Forecast calls shouldn't be deal-by-deal debates" | VP Revenue Operations | 41 | Theme 1 | | Example Rival's post on AI forecast scores | Example Rival (company page) | 23 | Theme 3 | | "We cleaned the CRM last quarter. It's dirty again." | Head of Sales Operations | 18 | Theme 2; the objection about reps updating stages | | "Which deals did you call real last week that weren't?" | RevOps consultant | 15 | Theme 1; the question on what counts as stale | *Nothing is published until you edit draft-post.md and tell Claude to publish it – then it posts on your account and gives you the post URL.* *Example run – the posts, authors and numbers are placeholders for the made-up Acme Analytics. Works in Claude Code through the LinkedIn skill, the MCP server or the CLI, and in Claude, ChatGPT or Cursor through the MCP server.* ## Give Claude access to LinkedIn This is a short handoff – the setup pages cover it in full: - **Claude Code:** install the ready-made [LinkedIn skill](/skills/linkedin) with `npx @linkedapi/skills add linkedin`, or give Claude the agent-friendly [CLI](/cli). - **Claude desktop, claude.ai or another MCP client:** connect the [MCP server](/mcp/overview) – [installation](/mcp/installation) covers each client. - More options, and how the access works, are in [giving an AI agent access to LinkedIn](/guides/linkedin-ai-agent). Your account runs in its own dedicated cloud browser at a human pace. ## Tell Claude what you sell and how you write Generic prompts produce generic posts. Give Claude one context file it reads before every run – `marketing-context.md`. The example below is **illustrative**: a made-up RevOps analytics company, used through the rest of this guide. ```markdown # Marketing context ## Product Acme Analytics flags stale pipeline before forecast calls, for RevOps teams. ## Target buyer - Head, director or VP of Revenue Operations - Software companies with 50–500 employees - Exclude: competitors (Example Rival, Other Rival), students, recruiters, job seekers ## Post objective Start conversations with RevOps leads. Not reach, not followers. ## Category Phrase to research: "pipeline forecasting" Competitors to watch: Example Rival, Other Rival ## Voice - Short sentences. First person. One idea per post. - No emojis, no hashtags beyond two, no "game-changer" or "unlock". - Three of my past posts, for tone: 1. 2. 3. ``` Five minutes on this file is the difference between a draft you edit and a draft you rewrite. ## The weekly workflow, step by step 1. **Research.** Claude searches LinkedIn posts on your category phrase from the past week, sorted by latest, and reads each competitor's recent Page posts. The full listening method – brand mentions, competitors' people, what each search can and cannot see – is in [LinkedIn social listening](/guides/linkedin-social-listening). 2. **Mine the comments.** On the three to five strongest posts, Claude reads the comments for objections, open questions and the words buyers use. Each comment carries its author, so you can see who is asking. 3. **Write the brief.** One page: three themes with links to the posts behind them, the objections, the angle you can own given your product, and one recommended post. 4. **Draft the post** in your voice, for you to edit. Claude does not publish at this step. 5. **Publish.** After you approve the edited draft, Claude publishes it. 6. **Follow up, with evidence.** A few days later Claude reads the reactions and comments on your post. A reaction or comment carries only a name, a profile link and a headline, so for each engager Claude then looks up the person's current role and company, and the company's industry and size. Only then does it match them against your target buyer. Anyone whose company or size it cannot confirm goes on the list as **unknown – review**, not as a match. The result, with the evidence for each match, is ready for your CRM or the routing in [LinkedIn buying signals](/guides/linkedin-buying-signals). ## After the draft: publish, then follow up The Monday run is at the top of this page. Two more instructions finish the week. **After you edit the draft – publish.** Ask: "Publish draft-post.md exactly as it is now, and give me the post URL." Claude publishes it with `create_post` on your account. **Three days later – follow up:** **You:** Read marketing-context.md first. Fetch the reactions and comments on my post from Monday. For each person, check their current position and company, then that company's industry and size. Write engagers.csv with the evidence for each decision – "yes" only if role, industry and size all fit the target buyer, "unknown" if any of them can't be confirmed – and skip everyone in the exclusions. **Agent** (used Linked API: fetch_post, fetch_person ×68, fetch_company ×47): - 64 reactions and 12 comments on your post, from 68 people - current position and company - industry and number of members on LinkedIn for each current company found - wrote engagers.csv 68 people engaged: 9 match, 14 are unknown – review, 38 don't fit, and 7 were skipped as exclusions. engagers.csv has the evidence for each. Nothing has been sent. Four of them: | Person | Current role | Company check | Did | Match | Evidence | | --- | --- | --- | --- | --- | --- | | Dana K. | Director of Revenue Operations, Ledgerly | Software Development, 214 members on LinkedIn | Comment | yes | Role, industry and size fit | | Lee M. | RevOps Lead, Brightcart | Software Development, no member count shown | Reaction | unknown – review | Size could not be confirmed | | Tom R. | Sales Operations Manager, Haulwise | Truck Transportation, 640 members on LinkedIn | Reaction | no | Industry and size outside the target | | Sam P. | Account Executive, Example Rival | – | Comment | skipped | Competitor, in your exclusions | *The list is ready for your CRM or the routing in LinkedIn buying signals – nothing is sent to anyone.* *Example run – the people, companies and numbers are placeholders. A reaction or comment carries only a name, a profile link and a headline, so every match rests on the profile and company lookups; size here is the member count LinkedIn shows for the company, not an official headcount. Works in Claude Code through the LinkedIn skill, the MCP server or the CLI, and in Claude, ChatGPT or Cursor through the MCP server.* ## What the brief looks like An **illustrative** `brief.md` for the Acme Analytics scenario – the posts and people are placeholders: ```markdown # Brief – week of 12 Oct ## Themes 1. Forecast calls are spent arguing about which deals are real (posts: , ) 2. CRM hygiene projects that never finish (post: ) 3. AI forecasting tools that nobody trusts (post: ) ## Objections and questions - "Our reps won't update stages more often – how is this different?" () - "What counts as stale – no activity, or no stage change?" () ## Angle we can own Stale is a definition problem before it is a tooling problem. Show our three signals. ## Recommended post "The three signals we use to call a deal stale – and the one we stopped using." ``` ## Run it on a schedule instead **Inside Claude Code.** Claude Code [scheduled tasks](https://code.claude.com/docs/en/routines) (formerly routines) run a saved prompt on a schedule – weekly, for example – on Anthropic's cloud, so your laptop can be closed. Create one with `/schedule` in the CLI or at claude.ai/code/routines. A scheduled task can use the MCP connectors on your claude.ai account (connect the [MCP server](/mcp/installation) there), or skills committed to a repository it clones. Two things to know: - Scheduled tasks are in research preview, on Pro, Max, Team and Enterprise plans. - A run starts in auto mode, where a classifier allows or blocks the actions that would otherwise wait for your approval, and it can use the connectors you include, writes too. So put only the Monday research-and-draft prompt in the task, and keep publishing as the separate instruction you run after editing. The in-session `/loop` timer is not a substitute: it only fires while Claude Code is running ([limitations](https://code.claude.com/docs/en/scheduled-tasks#limitations)). **With your own scheduler.** If you would rather own the job, the same steps work through the REST API, the [Node and Python SDKs](/sdks/installation) or the shell [CLI](/cli/commands#posts-and-comments). A weekly cron script can collect the inputs, then hand them to whichever LLM writes your brief: ```bash #!/usr/bin/env bash set -euo pipefail linkedin post search --term "pipeline forecasting" --sort latest --date-posted pastWeek --limit 30 --json > category-posts.json since=$(date -u -v-7d +%Y-%m-%dT%H:%M:%SZ 2>/dev/null || date -u -d '7 days ago' +%Y-%m-%dT%H:%M:%SZ) linkedin company fetch https://www.linkedin.com/company/example-rival --posts --posts-limit 20 --posts-since "$since" --json > example-rival-posts.json # For each post you want to mine: linkedin post fetch "" --comments --comments-sort mostRecent --comments-limit 50 --json > comments.json ``` The engager step for your own post is the same `post fetch` with `--reactions --comments`, followed by `linkedin person fetch` and `linkedin company fetch` for each engager before you match them. For a full scheduled collection job with deduplication, see the code in [LinkedIn buying signals](/guides/linkedin-buying-signals). ## Guardrails - **A person approves every post.** Claude drafts; you publish. Keep the stop in your instruction – there is no built-in approval queue. - **Keep the sources.** Themes and objections are Claude's interpretation, so the brief carries a link next to every claim. - **A sample, not all of LinkedIn.** Research covers what your account's search returns. Each post search needs a keyword, and LinkedIn widens narrow queries, so Claude should drop hits that are not about your category. - **Pace and limits.** Searches, profile views and posts count toward per-action limits by category and period, which you can see and set with the [limits API](/docs/admin-limits). The account runs in a dedicated cloud browser at a human pace. Automating posting itself – scheduling, the native scheduler, the posts API question – is covered in [LinkedIn post automation](/guides/how-to-automate-linkedin-posts). ## Frequently Asked Questions (FAQ) #### Can Claude Code post on LinkedIn? Yes, with a LinkedIn tool on your own account – Linked API's skill, MCP server or CLI – and with you approving the draft first. #### Can Claude read LinkedIn on its own? No. Claude needs a tool that can search and read LinkedIn on an account, such as Linked API's skill, MCP server or CLI. #### What else can Claude Code do for marketing? Plenty – landing pages, reporting scripts, email templates. This guide covers the LinkedIn part: research, briefs, drafts and engager follow-up. #### Is it safe to let Claude publish to LinkedIn? Keep a person approving every post. The actions run on your own account in a dedicated cloud browser at a human pace, within the per-action limits you set. #### Do I need to code? No. With the skill or the MCP server, the whole workflow runs from plain-language instructions, and a Claude Code scheduled task can run the weekly research on a schedule. Code is optional; use it when you want to own the scheduled job. ## Build it in, or hand it to an agent Build the workflow into your own tools with the REST API, the [Node and Python SDKs](/sdks/installation) or the [CLI](/cli). Or have an AI agent run it out of the box through the [MCP server](/mcp/available-tools), the agent-friendly CLI or a ready-made [skill](/skills). Plans start at $49 a seat a month billed annually – see [pricing](/pricing). ## LinkedIn Social Listening: Monitor Mentions and Competitors with AI What people say about your brand, your competitors and your category on LinkedIn is useful – if you can see it without reading the feed all day. > **The short version.** LinkedIn social listening means watching three things: posts that mention your company, what your competitors and their people publish, and the conversations in your category. LinkedIn's own tools cover a slice – your Page sees posts that tag it, and Page competitor analytics compares you with one competitor on a free Page or up to nine on Premium. Beyond that, the data comes by one of three routes: official-API Page connectors (your own Page and its comments), public-web keyword samples that monitoring tools collect, or LinkedIn's own post search run from a logged-in account. The last route is what an AI agent can run on your account every week, turning keyword searches into a digest of themes, objections and who is engaging. Every route is a sample, not every post on LinkedIn. Here is one week's digest, run by an AI agent on your own LinkedIn account through [Linked API](/): **You:** Run my weekly LinkedIn listening digest. Brand "Acme Analytics"; competitors "Example Rival" and "Other Rival"; category phrase "pipeline forecasting". Search posts for the brand and keep only the ones whose text mentions it. Read each competitor's Page posts from the last 7 days, and search "pipeline forecasting" posts by people who work at each competitor. Search "pipeline forecasting" for the past week, and read the comments on the three most-commented posts you kept. Give me themes, objections, competitor activity and items for sales, with links – counts from what you saw, not LinkedIn-wide. **Agent** (used Linked API: search_posts, fetch_company ×2, search_posts ×2, search_posts, fetch_post ×3): - "Acme Analytics", latest, past week, up to 50 – 23 returned; 9 actually mention Acme Analytics - each competitor's Page posts from the last 7 days – 4 and 2 - "pipeline forecasting" by authors at each competitor, past week – 8 returned; 6 mention the phrase - "pipeline forecasting", latest, past week, up to 50 – 50 returned; 31 about the topic - 2 posts appear in both phrase searches and are counted once – 50 posts kept - comments on the three most-commented posts kept – 64 comments 50 posts kept from the past week – 9 brand mentions, 6 competitor Page posts, 6 posts by competitors' people and 31 category posts, less 2 counted in two searches – and 64 comments read. Shares are of what was observed, not LinkedIn-wide. Nothing has been posted or sent. The top lines of the digest: | Digest line | What was observed | Evidence | | --- | --- | --- | | Theme | Forecast accuracy after a move to usage-based pricing | 7 of the 31 category posts; 2 linked | | Objection | "Our CRM data is too messy for any forecasting tool" | 11 of the 64 comments read | | Competitor | Example Rival announced a Slack integration | 1 of its 4 Page posts, with the most comments of any competitor post | | Brand | Two people asked how Acme compares with a spreadsheet model | 2 of the 9 brand mentions; both linked | | For sales | A VP Sales asking which forecasting tool suits a 40-person team | 1 category post – route it for review before anyone replies | *Nothing is posted, commented or sent – the digest goes to your team.* *Example run, fictional brand, companies and people. Every search is a sample bounded per call, and LinkedIn widens narrow queries, so each hit was checked against its text. Themes are the model's reading – keep the links next to every claim. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ## What LinkedIn social listening covers – and what it can't see Listening on LinkedIn has three jobs: - **Your brand** – who mentions your company, tagged or not. - **Your competitors** – what their Pages publish, and what their people post. - **Your category** – what buyers and peers say about the problem you solve. The data reaches you by different routes, and a product may use more than one: | Route | What it sees | Limits | |---|---|---| | LinkedIn's native Page tools | Posts that @-tag your Page, under the Page's Activity tab ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a567278)). Competitor analytics for 1 competitor on a free Page or up to 9 on Premium – followers, organic content metrics, trending competitor posts from the last 30 days ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a789847)) | Untagged mentions; people rather than Pages | | Official-API Page connectors | Your own Business Page's posts, comments and insights, inside a listening suite. Mentionlytics, for example, notes that commenters come through anonymized | Not a keyword search across LinkedIn | | Public-web keyword samples | Public LinkedIn posts with your keywords that appear on the web – the keyword monitoring some suites offer, such as Mentionlytics and Brand24 | A sample; Mentionlytics states it cannot retrieve every public post with your keywords | | LinkedIn post search from a logged-in account | The posts LinkedIn's own content search returns for your keyword, as that account sees them – what an agent on your account runs | Each search needs a keyword; results are bounded per call; LinkedIn widens narrow queries; no private content | Whichever route you use, treat the result as a sample. It tells you what is being said and by whom, not how many times your brand came up across all of LinkedIn. ## Native tools, listening suites, keyword monitors or your own agent | Option | Best for | Watch out for | |---|---|---| | LinkedIn Page analytics | A free baseline for your own Page: tagged mentions and a competitor comparison | Competitor tracking depends on your Page tier; untagged mentions do not show | | Listening suites (Sprout, Brand24, Mentionlytics) | Reporting across several social networks in one dashboard | On LinkedIn they combine Page connectors with public-web keyword samples, depending on the product | | LinkedIn keyword monitors (Octolens, OutX, Buska) | Ready-made alerts on keywords, people and companies | Their coverage and sources vary; OutX is also listed as an MCP server for AI agents | | An agent or script on your own account (Linked API) | A custom weekly digest with your own searches, LLM analysis and routing into your tools | You run and schedule it; it sees what your account's search returns | Agent access is not unique to any one route. What an agent on your own account adds is control: you choose the searches, the digest format and where the results go. ## The weekly listening digest: what to watch Four watches, each one search. "Past week" and "latest" keep each run to new posts. | Watch | What to search | Linked API call | Caveat | |---|---|---|---| | **Brand mentions** (baseline, untagged included) | Your brand name as the keyword | `searchPosts` with `term: ""`, `sort: latest`, `datePosted: pastWeek` – then keep only posts whose text contains the brand | LinkedIn widens narrow queries, so check each hit | | **Tagged mentions** (optional) | The same keyword, limited to posts that tag your company | The same search plus `mentioningCompanies: [""]` | This filter is a company-mention facet combined with the keyword, so it narrows to tagged posts. Never use it as the only brand watch | | **Competitors' Pages** | What each competitor publishes | `fetchCompany` with `retrievePosts` and `postsRetrievalConfig: { limit, since }` | Page posts only | | **Competitors' people** | What their employees post about your category | `searchPosts` with your category keyword plus `authorCompanies: [""]` | Matches the author's current company as LinkedIn shows it | | **Category conversations** | Posts about the problem you solve | `searchPosts` with a problem phrase, past week, latest | Pick phrases buyers use, not your product's vocabulary | Then, for the few hits worth it, see **who engages**: `fetchPost` with `retrieveComments` and `retrieveReactions`. Comments carry LinkedIn's relative time, such as `3d`; reactions carry no time. Company and person filters accept a name, or a name with an identifier that pins the exact company. If LinkedIn's filter panel does not offer a match for the name, the search fails with `filterNotApplied` rather than returning unfiltered results. Details are in the [post search reference](/docs/action-st-search-posts). ## Run it with an AI agent The digest runs from a plain-language instruction. Give an assistant such as Claude access to your account through the [MCP server](/mcp/available-tools) – tools `search_posts`, `fetch_company` and `fetch_post` – the agent-friendly [CLI](/cli/commands#posts-and-comments), or a ready-made [skill](/skills). Setup is covered in [giving an AI agent access to LinkedIn](/guides/linkedin-ai-agent). The digest at the top of this page comes from one plain instruction: name the brand, the competitors and the category phrase, say which watches to run, and give the digest format – themes, objections, competitors, notable authors, items for sales – with counts of what was observed, never LinkedIn-wide. From the terminal, the same searches look like this: ```bash linkedin post search --term "Acme Analytics" --sort latest --date-posted pastWeek --json linkedin post search --term "pipeline forecasting" --author-companies "Example Rival" --date-posted pastWeek --json ``` Use `--mentioning-companies` only for a separate tagged-mentions watch. Scheduling is yours: a weekly agent session, cron, n8n or Make. ## Build it into your own tools Developers can run the same watches on a schedule and hand the result to whichever model writes the summary: [`searchPosts`](/docs/action-st-search-posts) with `sort: latest` and `datePosted: pastWeek` for the brand, competitor-people and category watches, [`fetchCompany`](/docs/action-st-open-company-page) with `retrievePosts` and a `since` date for competitors' Pages, and [`fetchPost`](/docs/action-st-open-post) with comments for the hits worth reading. Keep a list of posts already sent so each week shows only new ones. Every call is asynchronous – `execute` starts the work and returns a workflow ID, `result` waits for it – and failures come back in `errors`, so log a failed watch and let the rest of the digest run. To pin a competitor exactly, pass `{ name, id }` with its company URN or numeric ID instead of the bare name. SDK setup: [Node and Python SDKs](/sdks/installation). ## Turning the digest into decisions A digest is only worth the time if someone acts on it: - **Themes** feed your content plan – what your category argues about this week. - **Objections and questions** go to sales enablement and to the FAQ on your site. - **Competitors' launches and messaging** shape your counter-positioning before your buyers ask about them. - **People asking about the problem you solve** are sales-relevant; route them the way [LinkedIn buying signals](/guides/linkedin-buying-signals) describes, with a person reviewing before any outreach. Report shares as the share of your observed sample – "most of the competitor posts we saw were about pricing" – never as LinkedIn-wide share of voice. ## Limits and guardrails - **A sample, not a firehose.** You see what your account's search returns, bounded per call. - **A keyword is required.** Every post search needs a term, and LinkedIn widens narrow queries, so check each hit. - **No private content,** and no posts the search does not surface. - **No streaming or alerts.** You schedule the run; Linked API has no post-mention webhook. - **The analysis is the LLM's,** not LinkedIn's. Themes and sentiment are interpretations – keep the post links next to every claim. - **Pace and limits.** Searches count toward per-action limits by category and period, which you can see and set with the [limits API](/docs/admin-limits). The account runs in a dedicated cloud browser at a human pace. Need the post data itself – full text, engagers, a CSV – rather than a digest? That is the job of the [LinkedIn post scraper guide](/guides/linkedin-post-scraper#search-linkedin-posts-by-keyword). ## Frequently Asked Questions (FAQ) #### What is LinkedIn social listening? Watching what is said on LinkedIn about your brand, your competitors and your category, then turning it into decisions – content, positioning, sales enablement. #### Can you see who mentions your company on LinkedIn? Posts that tag your Page show in the Page's Activity tab. Untagged mentions only appear through keyword search – a monitoring tool's public-web sample, or LinkedIn's own post search run from an account. #### How do I monitor competitors on LinkedIn? Start with Page competitor analytics – one competitor on a free Page, up to nine on Premium. For more, collect their Page posts and their employees' posts each week by search, as in the digest above. #### Is there a LinkedIn social listening API? LinkedIn's official APIs centre on your own Page's content, and access to them is gated – see [LinkedIn API access](/guides/linkedin-api-access). Linked API runs LinkedIn's post search and company pages on your own account, so a script or an agent can collect the digest. #### Do I need a social listening tool for LinkedIn? It depends on the job. A suite fits multi-network reporting, a keyword monitor fits ready-made alerts, and an agent on your own account fits a custom digest that feeds your own tools. ## Build it in, or hand it to an agent Build the digest into your own tools with the REST API, the [Node and Python SDKs](/sdks/installation) or the [CLI](/cli). Or have an AI agent run it out of the box through the [MCP server](/mcp/available-tools), the agent-friendly CLI or a ready-made [skill](/skills). Plans start at $49 a seat a month billed annually – see [pricing](/pricing). *Facts verified October 9, 2026 – LinkedIn Page mentions and competitor analytics against LinkedIn Help; Mentionlytics' LinkedIn monitoring routes against its help center; Brand24, Octolens, OutX and Buska descriptions against their live pages on that date.* ## AI for Sales Prospecting on LinkedIn: A Worked Agent Workflow Most advice on AI for sales prospecting stops at "let it write your emails". This guide walks one real workflow on LinkedIn from start to finish – who to look for, what to read, how to decide, what to send – run by an AI agent, with a short note for developers who want the same steps in code. > **The short version.** AI is useful for the research-heavy half of prospecting: building a list from your ideal customer profile, reading each person's profile and recent posts, judging fit, and drafting a first note. The decision to contact and the tone stay with you. On LinkedIn that can run two ways – an AI agent working in your own account through an MCP server, an agent-friendly CLI or a ready-made skill; or your own code through a REST API, Node or Python SDKs or a CLI. Either way it reads what your account can see, a person reviews the shortlist and the notes, and each invitation is sent only after approval, at a human pace within per-action limits. Here is the whole workflow as one AI agent run on a LinkedIn account; the sections below take it apart step by step: **You:** Find heads, directors or VPs of Revenue Operations in the United Kingdom in Software Development, up to 25 people. Read each profile and their posts from the last 90 days, and check their company's employee count and industry. Exclude other titles, "former" or "ex-" titles, companies outside 50–500 employees or outside Software Development, and these competitors: [list]. Mark "strong fit" if a recent post mentions pipeline, forecast, CRM or data quality, and cite it; mark "unknown" if the company size is missing. For every fit, draft a connection note under 200 characters that uses "we help RevOps teams spot stale pipeline before forecast calls" at most once and never mentions profile views. Show me a table and send nothing until I approve. **Agent** (used Linked API: search_people, fetch_person ×25, fetch_company ×16): - 25 people: position "Revenue Operations", location United Kingdom, industry Software Development - current title, company link and up to five posts from the last 90 days - 8 excluded on title before any company check - employee count and industry for the current companies of the other 17 25 people checked: 4 strong fit, 6 fit, 2 unknown – their company pages show no employee count – and 13 excluded (8 on title, 4 on company size, 1 on industry). 10 notes drafted, each citing the post or the role. Nothing has been sent. Four of the rows: | Person | Company (employees on LinkedIn) | Rule | Evidence | Draft note | | --- | --- | --- | --- | --- | | Alex M., Head of Revenue Operations | Example Analytics, 180 | Strong fit | A post three weeks ago on cleaning CRM data before forecast calls (linked) | "Hi Alex – your post on cleaning CRM data before forecast calls hit home. We help RevOps teams spot stale pipeline before forecast calls. Happy to connect." | | Priya S., Director of Revenue Operations | Northwind Cloud, 320 | Fit | Title, company size and industry match; no post in the last 90 days | "Hi Priya – you lead Revenue Operations at Northwind Cloud. We help RevOps teams spot stale pipeline before forecast calls. Would be glad to connect." | | Tom R., VP Revenue Operations | Ledgerline, not shown | Unknown | The company page shows no employee count | Held for your check | | Sam K., Head of RevOps | Tallyworks, 1,200 | Excluded | Company outside 50–500 employees | – | *Nothing goes out until you approve; then the agent sends the approved invitations at a human pace on your own account.* *Example run – the people, companies and posts are invented. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ## What AI should and should not do in prospecting | Delegate to AI | Keep with a person | | --- | --- | | Building a candidate list from your ICP | Deciding who to contact | | Reading profiles and recent posts | The final tone of a note | | Writing a fit rationale with sources | Anything after the first touch | | Drafting a first note | Pricing and timing conversations | The reason for the split is practical: an agent that sends unreviewed messages at volume costs you replies, reputation and, eventually, account health. Research and drafting are where AI saves real time; judgement is where it should hand back. ## The worked example: from ICP to an approved invitation The run above is **illustrative** – the company, the offer and the sample output are invented to show the workflow, and no live invitation was sent while writing it. Here is what each step does. **The seller and the offer.** A RevOps analytics product that flags stale pipeline. The one offer sentence the note may use, at most once: *"we help RevOps teams spot stale pipeline before forecast calls"*. **The ideal customer profile.** - Title: head, director or VP of Revenue Operations. - Location: United Kingdom. - Industry: Software Development. - Company size: 50–500 employees. **The workflow, step by step.** 1. **Find candidates.** People search with the position, location and industry filters, capped at 25 results. The standard people search used here has no company-size filter, so size is checked later. To start from people already showing interest – profile viewers, post engagers – see [LinkedIn buying signals](/guides/linkedin-buying-signals). 2. **Gather evidence.** For each candidate, fetch the profile with up to five posts from the last 90 days. Then fetch their current company from the company link on the profile, which returns employee count and industry. Every fact keeps the link it came from – the profile, the company page or the post. 3. **Qualify with explicit rules.** - **Exclude** – the title is not a head, director or VP of Revenue Operations; it includes "former" or "ex-"; the company is outside 50–500 employees or not in Software Development; or the company is on your competitor list. - **Fit** – passes every ICP check. - **Strong fit** – fit, plus a post in the last 90 days that mentions pipeline, forecast, CRM or data quality. The rationale links that post. - **Unknown** – the company could not be fetched or reports no employee count. It goes to review flagged, never approved automatically. 4. **Draft a note.** At most 200 characters – [LinkedIn's limit](https://www.linkedin.com/help/linkedin/answer/a6239760) for free accounts (300 with Premium). It refers to the cited post or the role, uses the offer sentence at most once, and avoids flattery, invented familiarity and "I saw you viewed my profile". Free accounts can add a note to only a few invitations a month ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a563153)), so on a free account most of a 25-person list goes without one: once the cap is reached, invitations with a note fail with that reason, and you either send without a note or use Premium. 5. **Review.** A person reads each rationale and draft, then approves, edits or drops it. Edits are recorded. 6. **Send the approved invitations and record the result.** Each send ends as **sent**, **already pending**, **already connected**, or **failed** with the reason – for example a note over the length limit, a person who requires their email address, or a free account that has used up its personalized notes. Each person's row keeps the whole trail – the links behind the rationale, the rule, the draft, your review decision and the send outcome. **Checking the output.** Before you trust the workflow, spot-check it: - does each cited source actually say what the rationale claims? - reject any fit or intent claim that is not backed by a link; - note what reviewers changed – repeated edits mean the rules or the template need work; - track research and review time per person. Sales value is judged later, by you, through qualified replies and meetings. ## Run it with an AI agent The run at the top of this guide is one plain-language instruction. Connect an assistant such as Claude to your LinkedIn account through the [MCP server](/mcp/overview), the agent-friendly [CLI](/cli) or a ready-made [skill](/skills) – setup is covered in [giving an AI agent access to LinkedIn](/guides/linkedin-ai-agent). The agent then uses [tools](/mcp/available-tools) such as `search_people`, `fetch_person`, `fetch_company` and `send_connection_request`. Its behaviour depends on how you set it up, so treat the instruction as a starting point. The pause before sending is **part of your instruction, not a built-in approval queue** – keep it explicit in the prompt. Once you have read the table, approving is one more message: **You:** Send the invitations for the 10 drafts – I edited Priya's note and dropped Marco. Keep the two unknown rows on hold. **Agent** (used Linked API: send_connection_request ×9): - one at a time, at a human pace 9 invitations handled: 7 sent with a note, 1 already pending from an earlier invitation, 1 failed – this person requires their email address. The two unknown rows are still on hold. Four of them: | Person | Note | Outcome | | --- | --- | --- | | Alex M. | As drafted | Sent | | Priya S. | Your edit | Sent | | Chris D. | As drafted | Already pending – sent earlier | | Nina W. | As drafted | Failed – requires an email address; provide it or skip | *The edit is recorded next to the draft, so you can see later which notes reviewers changed.* *Example run. Assumes LinkedIn Premium: a free account can add a note to only a few invitations a month, and past that cap invitations with a note fail – send them without one. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ## Or orchestrate it in code Developers can build the same contract into their own tools. In the Node and Python [SDKs](/sdks/installation) it takes four methods: [`searchPeople`](/docs/action-st-search-people) with the position, location and industry filters; [`fetchPerson`](/docs/action-st-open-person-page) with `retrievePosts` and a 90-day `since`; [`fetchCompany`](/docs/action-st-open-company-page) for the employee count and industry; and [`sendConnectionRequest`](/docs/action-st-send-connection-request) for the approved rows only. Qualification and drafting can stay plain rules, so the reference path needs no LLM – keep a review file between drafting and sending either way. Every call is asynchronous – `execute` starts the work and returns a workflow ID, `result` waits for it – and failures such as `alreadyPending`, `emailRequired` or `noteLimitExceeded` come back in `errors`, not as exceptions. The same steps run from the [CLI](/cli). ## Which tool does which part | Part of the job | Fits best | When another route is better | | --- | --- | --- | | Research and drafting from sources you supply | A general AI assistant such as ChatGPT or Claude | It needs a LinkedIn tool for live data – on its own it works from what you paste in | | Account-visible LinkedIn research and the approved first touch | Linked API, run by an agent or from code | When your motion is a fixed multi-step sequence you would rather manage in a UI | | Email and phone sourcing | A verified contact-data provider | Linked API returns neither | | Managed follow-up after the first touch | An established CRM or sequencer | When follow-ups need multichannel timing, templates and a shared team inbox | ## Guardrails: review, pace and limits Two kinds of control keep this safe, and they are not the same thing: - **Review and approval are yours.** The pause before sending lives in your agent instruction or your code, as above. - **Action caps are the platform's.** Linked API enforces per-action limits by category – profile views, connection requests, messages, search queries – over daily, weekly or monthly periods, and you can set your own ([limits API](/docs/admin-limits)). Keep the pace human, stay inside [LinkedIn's practical limits](/guides/understanding-linkedin-limits), and treat invitations as one touch in a wider plan – more in [automating connection requests](/guides/how-to-automate-linkedin-connection-requests). Before you message instead of invite, check [the connection degree](/guides/linkedin-connection-degrees). ## What this does not do - It does not find email addresses or phone numbers. - It works only with what your connected account can see on LinkedIn. - It does not replace a sequencer's multi-step follow-up – see [LinkedIn automation tools](/blog/best-linkedin-automation-tools-2026) for that category. - Drafts need a human eye before they go out. ## Frequently Asked Questions (FAQ) #### Can AI do sales prospecting on LinkedIn? Yes, the research-heavy part: building a list from your ICP, reading profiles and recent posts, judging fit and drafting a first note. The decision to contact and the tone of the message are best kept with a person. #### How do I use ChatGPT or Claude for sales prospecting? Give the assistant LinkedIn actions: ChatGPT and Claude connect through the [MCP server](/mcp/installation); coding agents such as Claude Code, Cursor and Codex can also use the agent-friendly [CLI](/cli) or a ready-made [skill](/skills). Then describe the workflow in plain language – who to find, what to check, how to draft – and tell it to stop for your approval before sending anything. #### Will an AI agent get my LinkedIn account restricted? Any automation carries some risk. What keeps it in check is how it runs: on your own account, in a dedicated cloud browser, at a human pace, within per-action limits you configure, with a person approving each invitation. #### Do I need Sales Navigator for AI prospecting? No. The workflow above uses standard LinkedIn search and profiles. If your account has a Sales Navigator seat, the Plus plan adds Sales Navigator actions. #### What should I never let an AI do in prospecting? Send unreviewed messages at volume. An agent can research and draft at scale; whether and how to contact someone stays a human decision. ## Build it in, or hand it to an agent Use it both ways. Build the workflow into your own tools with the REST API, the [Node and Python SDKs](/sdks/installation) or the [CLI](/cli). Or have an AI agent run it out of the box through the [MCP server](/mcp/available-tools), the agent-friendly CLI or a ready-made [skill](/skills). Plans start at $49 a seat a month billed annually – see [pricing](/pricing). ## What Is a GTM Engineer? Role, Stack and the LinkedIn Layer The title is new, the job is not: someone has to turn a go-to-market plan into systems that actually run. > **The short version.** A GTM (go-to-market) engineer builds the systems behind sales and marketing: the data flows, enrichment, routing, automations and, increasingly, AI agents that find prospects and start conversations. The role often sits inside RevOps; what typically sets it apart is that the main deliverable is a built system, composed with APIs, workflows and code, rather than configured tools. The usual stack is a CRM, an enrichment and orchestration layer, an automation runner, outreach tools and AI agents. LinkedIn is a special case: LinkedIn's official APIs cover specific programs, not member-level prospecting for most teams, so GTM engineers add an account-based layer that reads what a connected account can see and acts within its limits. ## What a GTM engineer does A GTM engineer designs and builds the machinery that moves prospects from "unknown" to "in conversation" – and keeps it running. Clay, which says it coined the term in 2023, describes GTM engineers working across RevOps, growth and customer success. The overlap with RevOps is real. GTM engineering is often embedded in RevOps, and RevOps teams own data pipelines too. The difference is typically the primary deliverable: a RevOps or sales-ops admin mostly configures the tools the team uses, while a GTM engineer mostly composes new systems out of them – connecting APIs, writing workflow logic and scripts, and wiring in AI where it saves time. Typical deliverables: - lead routing; - enrichment waterfalls; - signal-based triggers – see [LinkedIn buying signals](/guides/linkedin-buying-signals); - CRM hygiene automations; - outbound plumbing – lists, sequences and the hand-offs between them; - AI agents in the funnel – research, scoring and drafting. Here is that last deliverable in practice – an AI agent running the LinkedIn layer for a GTM engineer, from an account list to rows ready for the CRM: **You:** Here are 12 target accounts from our CRM export, each with its LinkedIn company page. For each, get the industry, the employee count on LinkedIn, the number of open jobs and the five most senior decision makers LinkedIn lists, and mark which of them I'm already connected to. Return one row per person that I can import into HubSpot, with the profile URL. Don't contact anyone. **Agent** (used Linked API: fetch_company ×12): - industry, employee count, open jobs and the top five decision makers – each with headline and your connection degree 11 of 12 company pages read – one was not found, so check its URL in the CRM. 52 decision makers across the 11 (one company lists only two); you're connected to 7 of them. 52 rows are ready to import, and nobody was contacted. The first rows: | Account | On LinkedIn | Open jobs | Person | Headline | Degree | | --- | --- | --- | --- | --- | --- | | Northbeam (Software Development) | 410 | 9 | Dana K. | Co-founder & CEO | 1st | | Northbeam (Software Development) | 410 | 9 | Leo M. | VP Revenue | 2nd | | Halden Labs (IT Services and IT Consulting) | 160 | 3 | Ines R. | Founder | 2nd | | Halden Labs (IT Services and IT Consulting) | 160 | 3 | Mark T. | Head of Sales | 3rd+ | *Nobody is contacted; you check the rows before they go into the CRM.* *Example run – the companies and people are invented. "On LinkedIn" is the number of members LinkedIn associates with the company, not a size band; decision makers come back ranked by seniority. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI; in code it is one fetchCompany call per account with retrieveDMs on.* ## The GTM engineer stack | Layer | What it does | Typical tools | Honest note | | --- | --- | --- | --- | | **CRM** | The system of record for accounts, contacts and deals | HubSpot, Salesforce, Pipedrive | Everything else should write back here, or the stack drifts | | **Enrichment and orchestration** | Builds and enriches lists, runs waterfalls across data providers | Clay tables, data providers | Best for row-by-row enrichment; long-running jobs need a runner beside it | | **Automation runner** | Moves data between systems on triggers and schedules | n8n, Make, Zapier | Best for glue and waiting; heavy logic is easier in code | | **Outreach and sequencing** | Sends and manages multi-step email and LinkedIn sequences | Email sequencers, LinkedIn sequencers | Best for repeatable sequences; standalone actions vary by vendor | | **Data warehouse and reverse ETL** | Central data and syncs back to tools, where the team is big enough | A warehouse plus a reverse-ETL tool | Often unnecessary for small teams | | **AI agents and LLMs** | Research, scoring, drafting, triage | ChatGPT, Claude, agent frameworks | Need live data tools and a review step | | **The LinkedIn layer** | Reads LinkedIn data and acts on an account | See the next section | The hardest layer to source well | ## The LinkedIn layer: what to retrieve and what the account can do For most B2B teams LinkedIn is where the people are, so it ends up in almost every GTM system. A GTM engineer typically needs: - people and company search; - profile and company data; - posts and engagement – reactions and comments; - profile viewers; - job postings at target accounts; - invitations and messages; - connection and inbox events. **Why the official APIs rarely cover this.** LinkedIn's developer documentation on [getting access](https://learn.microsoft.com/en-us/linkedin/shared/authentication/getting-access) separates a small set of open permissions from partner programs that need LinkedIn's approval – sales integrations, for example, go through the Sales Navigator Application Platform (SNAP). Those programs serve specific integrations rather than member-level prospecting for most teams. The details are in [LinkedIn API access](/guides/linkedin-api-access). **The options, with honest trade-offs:** | Option | Good at | Trade-off | | --- | --- | --- | | Scrapers and datasets | Bulk public data | No account actions; freshness varies | | Campaign-oriented APIs (sequencers) | Creating and running multi-step outreach campaigns | Coverage of standalone actions varies, and some also expose inbox replies – HeyReach's public API, for example, can send a message into a LinkedIn conversation | | Account-based APIs (Linked API) | Reading what the connected account sees and acting within its limits | One account per seat, a human pace, no emails or phone numbers | **What a connected account can do through Linked API:** - search people, companies, jobs and posts; - read profiles and company pages, including employees, decision makers and posts; - react, comment, post and repost; - send invitations and messages; - monitor the inbox and the network, with events by webhook; - retrieve profile viewers, SSI and performance analytics; - run Sales Navigator actions on the Plus plan. The full list is in the [actions overview](/docs/actions-overview). ## Where the LinkedIn layer joins your stack **Clay.** Call the Linked API REST API from Clay's **HTTP API enrichment**. Linked API workflows are asynchronous – you start one, then fetch its result – and Clay's HTTP enrichment does not wait for that on its own. The default pattern: 1. Clay rows start the work with an HTTP call. 2. n8n, Make or a small backend waits for completion – polling the result, or receiving Linked API's [webhook](/docs/webhooks). 3. That runner writes the result back to Clay. The alternative is a second HTTP lookup run after the work completes. Our webhook does not update a Clay row by itself – something has to receive it and write back. There is no native Clay integration. **n8n and Make.** Use the official Linked API nodes for [n8n](/integrations/n8n/overview) and modules for [Make](/integrations/make/overview). A Zapier integration is coming but not available yet. **Scripts.** Use the Node and Python [SDKs](/sdks/installation) or the [CLI](/cli). A minimal Node example – find RevOps people at a target account and read their profiles: ```typescript import LinkedApi from '@linkedapi/node'; const linkedapi = new LinkedApi({ linkedApiToken: 'your-linked-api-token', identificationToken: 'your-identification-token', }); async function readAccountContacts(company: string) { const search = await linkedapi.searchPeople.execute({ term: 'revenue operations', filter: { currentCompanies: [company], position: 'Revenue Operations' }, limit: 10, }); const { data: people, errors } = await linkedapi.searchPeople.result(search.workflowId); if (errors.length > 0) throw new Error(`Search failed: ${errors.map((error) => error.type).join(', ')}`); const profiles = []; for (const person of people ?? []) { const run = await linkedapi.fetchPerson.execute({ personUrl: person.publicUrl }); const { data: profile, errors: fetchErrors } = await linkedapi.fetchPerson.result(run.workflowId); if (!profile) { console.warn(person.publicUrl, fetchErrors.map((error) => error.type)); continue; } profiles.push({ name: profile.name, position: profile.position, url: profile.publicUrl }); } return profiles; } readAccountContacts('Example Co').then(console.log); ``` The Python SDK has the same methods in snake_case – `search_people`, `fetch_person`. `execute` starts the work and returns a workflow ID; `result` waits for it and returns `data` and `errors` – action failures arrive in `errors`, not as exceptions. **AI agents.** Give an agent the same capabilities through the [MCP server](/mcp/available-tools), the agent-friendly CLI or a ready-made [skill](/skills). Setup is covered in [giving an AI agent access to LinkedIn](/guides/linkedin-ai-agent); the account run near the top of this guide is one example, and a full prospecting workflow is in [AI for sales prospecting](/guides/ai-sales-prospecting-linkedin). ## Guardrails a GTM engineer should build in - **Per-action limits.** Linked API enforces limits by action category – profile views, connection requests, messages, searches and more – over daily, weekly or monthly periods, and you can set your own ([limits API](/docs/admin-limits)). - **Human review before sends.** Keep a review step between an agent's draft and anything that reaches a person. - **Error handling and retries.** Check `errors` on every result, retry only what is safe to repeat, and treat `alreadyPending` or `alreadyConnected` as done rather than failed. - **Webhook deduplication.** A retried delivery reuses the same event `id`, so deduplicate on it ([webhooks](/docs/webhooks)). The account side is built the same way: each action runs on your own account, in a dedicated cloud browser, at a human pace. ## Frequently Asked Questions (FAQ) #### What is a GTM engineer? Someone who builds the systems behind sales and marketing – data flows, enrichment, routing, automations and AI agents – rather than only configuring the tools. #### How is a GTM engineer different from RevOps? The roles overlap, and GTM engineering often sits inside RevOps. The difference is typically the main deliverable: RevOps runs and configures the revenue stack, while a GTM engineer builds new systems on top of it with APIs, workflows and code. #### What tools does a GTM engineer use? A CRM, an enrichment and orchestration tool such as Clay, an automation runner such as n8n or Make, outreach and sequencing tools, AI assistants and agents, and an API layer for data sources such as LinkedIn. #### Does a GTM engineer need to code? It helps. Many GTM engineers work mostly in low-code runners and enrichment tools, and add scripts and API calls where those tools run out. #### How do GTM engineers automate LinkedIn? With an account-based layer: an API or agent tool that reads what a connected account can see and acts on it within per-action limits, with a review step before anything is sent. ## Build it in, or hand it to an agent Build the LinkedIn layer into your own systems with the REST API, the [Node and Python SDKs](/sdks/installation) or the [CLI](/cli). Or have an AI agent run it out of the box through the [MCP server](/mcp/available-tools), the agent-friendly CLI or a ready-made [skill](/skills). Plans start at $49 a seat a month billed annually – see [pricing](/pricing). *Facts verified October 5, 2026 – Clay's description of the role and its HTTP API enrichment, HeyReach's campaign and messaging API coverage, and LinkedIn's API access documentation checked against their live pages on that date.* ## B2B Buying Signals: The LinkedIn Ones and How to Track Them Most buying-signal advice starts with an intent-data contract. A good share of the signals worth acting on are already visible from your own LinkedIn account – if you know where to look and collect them consistently. > **The short version.** A buying signal is behaviour that suggests an account may be moving toward a purchase – visiting your pricing page, hiring for the role your product serves, engaging with your content, or asking a direct question about pricing or timing. Some come from vendor intent data; others you can observe on LinkedIn: who viewed your profile, who engaged with your posts or a competitor's, who is posting about the problem you solve, who is hiring for the role you sell to, and who just accepted your invitation or replied. You can collect those from your own account on a schedule, without an intent-data contract. Treat every one as a reason to look closer, not as proof someone is ready to buy. ## What counts as a B2B buying signal A buying signal is any observable behaviour that makes a purchase more likely than it was before. It falls into three kinds: - **Direct engagement with you** – visits to your profile, reactions and comments on your posts, replies, accepted invitations, and the strongest of all: a direct request for a demo, pricing or timing. - **Public business and context observations** – engagement on a competitor's post, public posts about the problem you solve, hiring for a role, a job change. - **Vendor intent datasets** – topic research and website visits that intent-data vendors aggregate and sell. LinkedIn's own [marketing blog](https://www.linkedin.com/business/marketing/blog/trends-tips/the-3-big-intent-based-marketing-trends-and-why-theyre-happening) draws the line between first-party intent data you gather yourself and data bought from others. This guide covers the first two kinds together – the **LinkedIn signals your account can observe**. No single signal proves intent. A profile view can be curiosity, a like can be politeness, and a hiring post can be a backfill. Signals earn attention in combination and in context – which is why the rest of this guide pairs every signal with a strength and a route. Here is one morning's pass over those signals, run by an AI agent on your own LinkedIn account through [Linked API](/): **You:** Check my LinkedIn for buying signals: profile viewers since yesterday, reactions and comments on my last three posts (links below), and this week's posts that mention "pipeline forecasting". Keep people whose headline fits heads of sales, sales ops or RevOps. Route each one – follow-up if they asked about pricing or timing, review queue if they fit and engaged with something relevant, log a single weak signal, suppress the rest. Send nothing. **Agent** (used Linked API: retrieve_profile_viewers, fetch_post ×3, search_posts): - viewers seen since yesterday – 4 identified, 2 semi-private - reactions and comments on each – 38 people - "pipeline forecasting", past week, up to 30 – each post's text and date checked: 11 about the problem, 19 off-topic - one viewer also commented – 52 people in all, each checked for role fit on the headline 52 people across the three sources, plus 2 semi-private viewers. Routed: 1 follow-up, 5 to the review queue, 9 logged, 37 suppressed for no role fit. The 2 semi-private viewers are logged as account-level observations, and the 19 off-topic posts are dropped. Nothing has been sent. The top rows: | Person | Signal | Fit and evidence | Route | | --- | --- | --- | --- | | Jenna P. | Commented on your forecast-review post: "What would this cost for a 12-person team?" | Head of Sales Operations – fits; a direct pricing question | Follow-up – answer the question | | Omar H. | Viewed your profile and commented on your forecasting post | RevOps Lead – fits; the comment is about the problem | Review queue – a view plus a relevant comment | | Claire D. | Posted this week: "our pipeline forecast missed again this quarter" | VP Sales – fits; the post describes the problem | Review queue | | Tom W. | Reacted to your hiring post | Head of Sales – fits, but the post is unrelated | Log only | | Semi-private viewer | "Someone in Sales at a software company in Berlin" | No person identified | Log as an account-level observation | *Nothing goes out – a person works the follow-up and the review queue.* *Example run, fictional people. Reactions carry no time, so the first run sees every reaction already on your posts. A profile view alone stays in the log; it reaches the queue only with a relevant engagement from the same person. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ## The LinkedIn buying signals you can see yourself The strength grades below are **editorial heuristics, not validated purchase probabilities** – a starting point to tune against what actually turns into conversations for you. | Signal | What it may suggest | Strength (heuristic) | How to pull it with Linked API | | --- | --- | --- | --- | | **Someone viewed your profile** | They looked you up after a post, comment or invitation | Weak alone; medium with ICP fit plus recent engagement | `retrieveProfileViewers` – identified viewers with name and profile. Semi-private viewers come back only as LinkedIn's description plus a search link, never a name; full-private viewers are not returned | | **Someone reacted to your post** | The topic landed | Weak; medium with ICP fit when the post is about the problem | `fetchPost` with reactions ([`st.retrievePostReactions`](/docs/action-st-retrieve-post-reactions) in the workflow API) – the response has **no reaction time**, so "first seen" is when your run noticed it | | **Someone commented on your post** | Active interest in the topic | Medium; strong if they ask a problem, pricing or timing question | `fetchPost` with comments ([`st.retrievePostComments`](/docs/action-st-retrieve-post-comments)), with LinkedIn's relative time such as `3d` | | **Someone engaged with a competitor's post** | Interest in the category | Weak; medium with ICP fit and a category-relevant post | The same reactions and comments, on the competitor's post | | **Someone posted about the problem you solve** | They are thinking about it in public | Medium when the author fits your ICP and the post describes the problem | [`searchPosts`](/docs/action-st-search-posts) on a keyword – results can be loosely related, and each call is bounded (up to 100 posts) | | **A target account is hiring for the role you sell to** | Budget and a team forming around the problem | Medium; weak outside your target accounts | [`searchJobs`](/docs/action-st-search-jobs) filtered by company | | **Someone accepted your invitation** | Regular messaging is now open | Not a buying signal on its own | Network monitoring – `connectionAccepted` events, polled or by webhook | | **Someone replied** | A conversation started | Strong if it is a positive question about the problem, pricing or timing; a negative reply means suppress | Inbox monitoring – `inbox.messageReceived` events | | **A champion changed jobs** | Someone who knows your product lands somewhere new | Medium to strong when the new company fits your ICP | No native event: re-fetch saved profiles on a schedule and compare company and title | A few boundaries worth knowing before you build on these: - **Profile views** depend on what LinkedIn shows your account – [Premium shows more of the list](https://www.linkedin.com/help/linkedin/answer/a548046) – and a semi-private viewer is an account-level observation at most: it names a company only when LinkedIn discloses one, and it never identifies a person or proves a repeat visit ([viewing modes](https://www.linkedin.com/help/linkedin/answer/a567226)). The full picture is in [who viewed my profile](/guides/linkedin-who-viewed-my-profile). - **Post engagement** works on any public post URL, yours or a competitor's – see [turning post engagers into warm leads](/guides/linkedin-post-scraper#turn-post-engagers-into-warm-leads). - **Keyword posts** come from LinkedIn's content search – see [searching posts by keyword](/guides/linkedin-post-scraper#search-linkedin-posts-by-keyword). - **Hiring** comes from jobs search – see [monitoring new job postings](/guides/linkedin-jobs-scraper#how-to-monitor-new-job-postings). ## How to identify buying signals that matter Collecting everything produces noise. A short routine keeps it useful: 1. **Define the accounts and roles you sell to.** Without an ICP check, every signal looks equally interesting. 2. **Pick the three or four signals that fit your motion**, not all nine. A founder who posts weekly gets most from post engagement; a team selling to a named account list gets most from hiring and job changes. 3. **Watch them on a schedule** – daily is enough for most of them. 4. **Score combinations above single events.** A viewer from a target account who also engaged with a post beats either alone. 5. **Review weekly what turned into conversations**, and adjust which signals you keep. Then route each observation with one small rule set: | Condition | Route | | --- | --- | | ICP and role fit **and** relevant content **and** recent | Research and review queue – a person checks before any outreach | | A direct positive question about the problem, pricing or timing | Follow-up task – reply, offer a call | | Negative reply, no fit, or unrelated content | Suppress | | A single weak signal with no fit check yet | Log only | ## How to respond to a buying signal - **Lead with relevance, not surveillance.** Refer to the shared context – the post, the topic, the role – and never open with "I saw you viewed my profile". - **Answer direct questions directly.** A comment asking about pricing or timing deserves a reply in the thread or a short message, not a sequence. - **Pick the right channel.** Check [the connection degree](/guides/linkedin-connection-degrees) to choose between an invitation and a message. - **Keep the pace human.** Stay inside [LinkedIn's practical limits](/guides/understanding-linkedin-limits); more on first-touch tactics in [cold outreach strategies](/guides/linkedin-cold-outreach-strategies-2026). ## Collecting LinkedIn signals automatically The run [near the top of this page](#what-counts-as-a-b2b-buying-signal) is one pass of a daily routine: new profile viewers, engagement on your last three posts and recent posts on a keyword, each routed with the table above. Log every observation in the same shape, so a person can work the queue: - **who** – name, profile URL and URN when known, or LinkedIn's description when that is all it shows; - **signal type** and **source** – the post, the search term, the profile-viewers list; - **observed at** – when the run first saw it, not when it happened; - **evidence** – the comment text, the post excerpt, the viewer's relative time, and a comment's age as LinkedIn shows it; - **rule and action** – which routing condition matched and what to do next. **What the routing can check, and what it leaves to you.** It applies the table above as far as the data allows: - **Role fit** – a pattern on the person's headline. - **Relevance** – the problem terms in the post, or in the comment itself. - **Recency** – keyword posts come from the past week; a comment older than a month goes to the log. - **Negative responses** are suppressed before anything else. - **A profile view** reaches the review queue only when the same person also has a qualifying engagement in the same run. What it cannot check is left to the person working the queue: when a reaction happened (LinkedIn gives no time), whether a question is actually positive, and whether a headline match really is someone you sell to. That is why the strongest route is a review queue, not an automatic message. **Running it every day:** - **A failed pull is missing data, not an empty source.** If the viewer pull fails, cover the same window on the next run; a failed reactions or comments pull would otherwise look like no engagement. - **Reach a little further back than the last run.** Viewer times are estimates from LinkedIn's relative ages, so overlap the window and drop what you have already seen. - **Deduplicate identified viewers by URN**, falling back to the profile URL. Semi-private rows carry no identity – treat them as account-level observations, not counts. - **Reactions have no time.** The first run logs every reaction already on your posts; after that, only new ones appear. - **Keyword search is loose.** Check each post's text for the problem terms before routing it. **The other signals plug into the same log:** - **Accepted invitations and replies.** Turn on [network monitoring](/docs/monitoring-network) and [inbox monitoring](/docs/monitoring-inbox) once per account, then poll for events or receive them by [webhook](/docs/webhooks) – `network.connectionAccepted` and `inbox.messageReceived`. Deduplicate by the event `id`, since a retried delivery reuses it. Monitoring captures only changes after you enable it. - **Job changes.** There is no native job-change event. Save the people who championed you, re-fetch their profiles on a schedule – weekly is plenty – and compare the current company and title with what you stored. A change is an observation to confirm, not a fact to write back. - **Hiring at target accounts.** Search jobs with your target companies in the filter and a role term, and log postings you have not seen before. An AI agent runs the routine on your account through the [MCP server](/mcp/available-tools), the agent-friendly [CLI](/cli) or a ready-made [skill](/skills), as in the run above; schedule it with whatever runs your agent each morning. Developers can build the same daily job into their own tools: [`retrieveProfileViewers`](/docs/action-st-retrieve-profile-viewers) with `since`, [`fetchPost`](/docs/action-st-open-post) with reactions and comments for your recent posts, and [`searchPosts`](/docs/action-st-search-posts) with a `datePosted` filter, each routed by a plain function over the headline and text. Every call is asynchronous – `execute` starts the work and returns a workflow ID, `result` waits for it – and failures come back in `errors`, so check them on every result before moving the window forward. Run it from cron or any scheduler; SDK setup: [Node and Python SDKs](/sdks/installation); the same actions also run from the [CLI](/cli). ## What this does not cover - **No third-party intent data** – no "account X is researching your category" topic surges. - **No website-visitor identification.** - **No personal emails or phone numbers.** If you need those, they come from intent-data and enrichment vendors; LinkedIn signals complement them rather than replace them. Everything here runs on your own account, in a dedicated cloud browser, at a human pace, within per-action limits you can [configure](/docs/admin-limits). ## Frequently Asked Questions (FAQ) #### What are buying signals in B2B sales? Behaviour that suggests an account may be moving toward a purchase – engaging with your content, hiring for the role your product serves, or asking a direct question about pricing or timing. Each one is a reason to look closer, not proof of intent. #### What are examples of B2B buying signals? Profile views, reactions and comments on your posts, engagement on a competitor's post, posts about the problem you solve, hiring for a relevant role, a champion changing jobs, accepted invitations, replies, and pricing-page visits or topic research from intent-data vendors. #### Is a LinkedIn profile view a buying signal? A weak one on its own; it gets stronger combined with ICP fit and recent engagement. Semi-private viewers show only LinkedIn's description, so they can point to an account at most, never a person. #### Can you track job changes on LinkedIn automatically? Yes, by re-fetching saved profiles on a schedule and comparing company and title. LinkedIn offers no job-change event to subscribe to. #### Do I need intent data to use buying signals? No. The LinkedIn signals your account can observe work on their own; vendor intent data adds topic research and website visits that you cannot see on LinkedIn. ## Wrapping up The signals worth acting on are often already in your own account: who looked, who engaged, who is posting about the problem and who is hiring. Collect them on a schedule, route them with a few rules, and spend your time on the combinations. Build it into your own tools with the REST API, the [Node and Python SDKs](/sdks/installation) or the [CLI](/cli). Or have an AI agent run it out of the box through the [MCP server](/mcp/available-tools), the agent-friendly CLI or a ready-made [skill](/skills). Plans start at $49 a seat a month billed annually – see [pricing](/pricing). ## Does LinkedIn Show Who Viewed Your Profile? Free vs Premium Yes – LinkedIn shows you who viewed your profile, but how much it shows depends on your plan and on how you browse yourself. A free account gets a glimpse, Premium gets the list, and some viewers never get a name on any plan. > **The short version.** Your viewers live under **Analytics → profile views** on your own profile. A free account sees its **three most recent viewers from the last 90 days** – and only while it browses other profiles under its own name and headline. **Premium Career and Premium Business show the full list**, 90 days by default and extendable to 365, and keep the last 90 days even while you browse privately. On every plan, someone browsing semi-privately appears only as a description such as "Someone at Acme", and someone in private mode appears as "LinkedIn Member" – nobody can put a name to them. For a one-off look, LinkedIn's own page is all you need, and the first three sections cover it. The rest is for people who sell or recruit and want the list as data they can act on. ## Where to see who viewed your LinkedIn profile Per [LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a540651): 1. **Desktop:** click the **Me** icon at the top of your homepage, then **View Profile**, scroll to the **Analytics** section and click **[Number] profile views**. 2. **Mobile:** tap your profile picture, tap it again to open your profile, scroll to **Analytics** and tap **[Number] profile views**. The same page opens directly at `linkedin.com/analytics/profile-views/`. If nobody viewed you in the past 90 days, LinkedIn has nothing to show there. ## What a free account shows, and what Premium adds | | Free (Basic) | Premium Career and Business | | --- | --- | --- | | **Viewers you can see** | The three most recent | The full list | | **How far back** | 90 days | 90 days by default, extendable to 365 | | **Insights** | Number of viewers, where they work, how they found you, job titles | All of that, plus filters by date, company and industry, and weekly trends | | **While you browse privately yourself** | **Nothing** – the list is hidden | The last 90 days | | **Viewers in private mode** | "LinkedIn Member", no name | "LinkedIn Member", no name | Sources: LinkedIn Help on [free versus Premium](https://www.linkedin.com/help/linkedin/answer/a548046), [Premium viewer insights](https://www.linkedin.com/help/linkedin/answer/a516745) and [browsing in private mode](https://www.linkedin.com/help/linkedin/answer/a567226). Those pages describe Premium Career and Premium Business; they say nothing about Sales Navigator or Recruiter, so neither does this table. **Without Premium, three is the whole allowance.** There is no setting that shows a free account more, and the "last five viewers" figure you will still find repeated around the web is out of date – LinkedIn's own comparison now says three. The condition people miss is the fourth row: a free account that browses in private or semi-private mode loses its viewer list entirely until it switches back. ## Why some viewers show up without a name What you see of a viewer is decided by *their* setting, not yours. LinkedIn gives every member [three profile viewing options](https://www.linkedin.com/help/linkedin/answer/a567226): | The viewer's setting | What appears in your list | | --- | --- | | **Your name and headline** | The viewer, with name, headline and photo | | **Private profile characteristics** | A description only – job title, company, school or industry, such as "Someone at Acme" | | **Private mode** | "LinkedIn Member – This person is viewing profiles in private mode" | No plan unmasks the last two. LinkedIn is explicit that "even if you have a Premium account, you can't view the names of private mode viewers of your own profile" ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a564182)), and no outside tool changes that. **Why isn't someone in my list?** Usually one of four reasons: - **They browsed privately or semi-privately** – they are in the list, just as "LinkedIn Member" or a description. - **You are on a free account and they are not among the three most recent** – the fourth-most-recent viewer is already out of view. - **You browse privately yourself on a free account** – then the whole list is hidden ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a568149)). - **The view is older than your window** – 90 days on free, 90 to 365 days on Premium depending on the date range you pick. What going private costs you, plan by plan, is laid out in the [private mode guide's reciprocity rule](/guides/linkedin-private-mode#what-private-mode-costs-you-the-reciprocity-rule). ## Will someone know you viewed their profile? Yes, in the terms your own setting allows: your visit lands in their list as you, as a description, or as "LinkedIn Member", depending on the viewing option you chose. Whether they also get a notification, and how to turn private mode on or off, is covered in [does viewing someone's profile notify them](/guides/linkedin-private-mode#does-viewing-someone-s-profile-notify-them). ## Turning profile viewers into warm leads If you sell or recruit, a profile view is one of the few intent signals LinkedIn hands you directly: someone chose to look at you, usually after something you did – a post, a comment, an invitation, a visit of your own. That makes a viewer warmer than a cold search result. It does not make them a lead until you have checked they fit. A routine that respects that: - **Check on a schedule.** A free account shows only three viewers, so a daily look catches people a weekly one misses. - **Triage by fit first.** Role, company and seniority decide whether a viewer is worth a message, not the view itself. - **Open with a reason that stands on its own.** Reference what you have in common or what they may care about – not "I saw you viewed my profile". - **Check the connection degree before you write.** It decides whether you can message someone or have to invite them first – see [LinkedIn connection degrees](/guides/linkedin-connection-degrees). - **Treat "Someone at Acme" as an account signal.** It names nobody, but it tells you a company you may be targeting just looked. Visibility cuts both ways here: your own visits only work as an introduction when you browse as yourself – the [private mode guide](/guides/linkedin-private-mode#when-should-you-stay-visible) weighs that trade. ## Get your profile viewers as data with Linked API Checking the page by hand stops scaling once viewers are a pipeline input. [Linked API](/) reads your own profile viewers page for you, so an AI agent connected through the [MCP server](/mcp/overview) or the agent-friendly [CLI](/cli/getting-started) can hand you the list on request: **You:** Who viewed my LinkedIn profile in the last 7 days? Show the named viewers with their headline and connection degree, and list the semi-private ones separately. **Agent** (used Linked API: retrieve_profile_viewers): - 11 viewers in the last 7 days: 8 named, 3 semi-private Here are your viewers from the last 7 days, newest first. Four of the eleven: | Viewer | What LinkedIn showed | Degree | Viewed | | --- | --- | --- | --- | | Dana R. | VP Sales at a B2B software company | 2nd | about 4h ago | | Kim T. | Head of Revenue Operations | 1st | about 1d ago | | Ben O. | Founder, design studio | 3rd | about 2d ago | | Semi-private | "Someone at Northwind" | – | about 3d ago | *Example run. Works the same in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* Each viewer comes back tagged with how much LinkedIn revealed: | Viewer type | What you get | What you never get | | --- | --- | --- | | **Identified** | Name and profile URL, always; headline, connection degree and photo where LinkedIn showed them | – | | **Anonymous (semi-private)** | The description LinkedIn showed, verbatim – "Someone at Example Company" – and the people search LinkedIn itself offers for those criteria | A name, a profile URL, a photo | The limits, stated plainly, because they are LinkedIn's limits and no API removes them: - **Your own profile only.** It reads the viewers page of the account it runs on. - **Only what your plan shows.** Without Premium, LinkedIn shows part of the list, and getting fewer viewers than you asked for is a normal, successful result – not an error. - **Viewers in full private mode are not returned at all.** They disclose nothing, so there is nothing to return; anonymous rows are the semi-private ones. - **No row is ever turned into a name** that LinkedIn withheld. - **The view time is an estimate**, worked back from the relative age LinkedIn displays – "6h" is give or take an hour, "2mo" give or take a month. For developers, the same list is [`st.retrieveProfileViewers`](/docs/action-st-retrieve-profile-viewers), where each row carries `viewerType` – `identified` or `anonymous` – and the [SDK reference](/docs/action-st-retrieve-profile-viewers?surface=sdk) has the full response contract. From the terminal it is one command: `linkedin stats viewers --limit 50 --json` with the [Linked API CLI](/cli/commands#your-account). For the trend rather than the names, ask for your account performance: profile views over the last 90 days, next to your follower count and post views ([`retrievePerformance`](/docs/action-st-retrieve-performance?surface=sdk) in the SDK, `retrieve_performance` for an agent). It is an account-level total that answers "is interest growing" rather than "who came"; appending it to a sheet weekly turns LinkedIn's rolling window into a curve, the same pattern the [SSI guide](/guides/linkedin-social-selling-index#track-your-ssi-over-time-the-part-worth-automating) uses. ## From a viewer to a conversation The list becomes useful when it feeds the next action: invite the identified viewers who fit, and tally the semi-private ones by company. Give the agent your fit rules and a list of people you have already handled, and ask each morning: **You:** Check who viewed my profile in the last 2 days and skip anyone in handled.csv. For each named viewer, check fit – VP or Head of Sales or RevOps at a B2B software company with 50–500 employees – and where we stand. Draft a connection note for each fit who isn't connected yet, and count the semi-private viewers by company. Don't send anything. **Agent** (used Linked API: retrieve_profile_viewers, fetch_person ×5, fetch_company ×4, check_connection_status ×2): - 9 viewers in the last 2 days: 6 named, 3 semi-private - handled.csv matched; 1 viewer skipped as already handled - current title, company and recent posts - industry and headcount on LinkedIn - relationship state for the viewers who fit 2 of 5 named viewers fit, and 2 of the 3 semi-private views came from Northwind. Nothing has been sent. | Viewer | Fit | Where you stand | Next step | | --- | --- | --- | --- | | Dana R. – VP Sales, 120-person software company | Fits | Not connected | Draft note: "Hi Dana – your post on ramping new SDRs faster was useful. Would be glad to connect." | | Kim T. – Head of RevOps, 300-person software company | Fits | Connected | Message instead of an invitation | | Ben O. – Founder, design studio | No fit | – | Skip | | "Someone at Northwind" ×2 | Account signal | – | Flag Northwind; LinkedIn named no one | *The agent waits for your go-ahead before sending any invitation.* *Example run. Works the same in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* What to keep in mind: - **Keep your own list of who you have handled.** View times are estimates and recent views show in hours or days, so ask with a little overlap – two days back for a daily check – and let the handled list drop repeats. That gives you "new viewers since last time", not a count of visits. - **Semi-private viewers have no identity.** Two checks cannot tell whether "Someone at Acme" is one person twice or two people, so the company tally is a rough signal, never a precise count. - **A semi-private viewer can still lead somewhere.** LinkedIn attaches its own people search for the criteria it disclosed. Hand it to the agent – the MCP `search_people` tool takes it as `customSearchUrl`, the CLI as `linkedin person search --url`, and code passes it to [`searchPeople`](/docs/action-st-search-people) – and you get **people who match what LinkedIn disclosed**: a candidate list, not the viewer. - **Keep the pace human.** Invitations and profile views have [their own daily ceilings](/guides/understanding-linkedin-limits#person-profile-view-limits), and a viewer is one touch in a [multi-touch sequence](/guides/linkedin-cold-outreach-strategies-2026), not a volume game. More on invitations in [automating connection requests](/guides/how-to-automate-linkedin-connection-requests). Developers can build the same routine into a backend or CRM with the REST API, the [Node and Python SDKs](/sdks/installation) or the [CLI](/cli). Read the company from the semi-private row's `searchUrl` parameters rather than its description, whose wording changes with the account's interface language, and send approved invitations with [`sendConnectionRequest`](/docs/action-st-send-connection-request). Either way it runs on your own account through a dedicated cloud browser, at a human pace, on LinkedIn's own pages – and Linked API never stores your password. ## Frequently Asked Questions (FAQ) #### Can I see who viewed my LinkedIn profile without Premium? Yes, but only the three most recent viewers from the last 90 days, and only while you browse other profiles under your own name and headline. Switch to private or semi-private mode on a free account and the list disappears until you switch back. #### How far back can I see who viewed my LinkedIn profile? On a free account, 90 days. On Premium Career and Premium Business the list covers 90 days by default and can be extended to 365; while you browse privately, Premium keeps the last 90 days. #### Why can't I see who viewed my LinkedIn profile? Most often because you browse in private or semi-private mode on a free account, which hides your own list. Otherwise nobody viewed you in the last 90 days, or the people who did browsed privately and appear only as "LinkedIn Member" or a description. #### Can LinkedIn Premium see private mode viewers? No. Premium shows more of your list, but LinkedIn does not reveal the names of people who viewed you in private mode on any plan. The [private mode guide](/guides/linkedin-private-mode#can-anyone-see-who-viewed-your-profile-in-private-mode) explains what each mode shows. #### Can someone see that I viewed their LinkedIn profile? Yes, in whatever form your viewing option allows: as yourself, as a description of your role and company, or as "LinkedIn Member" in private mode. You choose that setting yourself – see [LinkedIn private mode](/guides/linkedin-private-mode). #### Is there an API for who viewed my LinkedIn profile? Yes, for your own profile: Linked API's `st.retrieveProfileViewers` returns the list LinkedIn shows your account, as identified viewers with a name and profile URL, and semi-private viewers as the description LinkedIn displayed. It never names a private viewer, does not return fully private visits, and returns only as much history as your plan shows. ## Wrapping up LinkedIn shows you who viewed your profile within firm limits: three viewers on a free account, the full list on Premium, and no names for anyone who browses privately. For a quick look, open your profile's Analytics. To act on viewers every day, let an AI agent pull the list through the [MCP server](/mcp/available-tools) – or [get an API key](/pricing) and build it into your own workflow. ## LinkedIn Private Mode: What It Hides, and What It Costs You LinkedIn private mode lets you decide what someone sees when you look at their profile: your full name, a vague description of your job, or nothing at all. The setting takes ten seconds to change, and almost nobody is told what it costs – because hiding yourself also hides them from you. > **The short version.** LinkedIn gives you three profile viewing options: your name and headline, private profile characteristics such as job title and industry, or private mode. In private mode the person you viewed sees only "LinkedIn Member - This person is viewing profiles in private mode". The trade is reciprocal: on a free account, switching away from name and headline costs you your own list of who viewed you – and a free account only ever shows the three most recent viewers anyway. On Premium you can browse privately and still see the list of people who viewed you in the last 90 days. And no account, Premium included, can put a name to someone who viewed it in private mode. ## What LinkedIn's three profile viewing options actually show The setting is called **Profile viewing options**, and per [LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a567226/browsing-profiles-in-private-and-semi-private-mode) it has exactly three states. | Option | What the profile owner sees | What you keep | | --- | --- | --- | | **Your name and headline** | Your name, headline and photo, like any normal visit | Full access to your own viewer list, subject to your account tier | | **Private profile characteristics** | "Profile characteristics such as job title, company, school, and industry" – for example, "Consultant at State Farm" | Nothing on a free account; the 90-day list on Premium | | **Private mode** | "LinkedIn Member - This person is viewing profiles in private mode" | Nothing on a free account; the 90-day list on Premium | The middle option is the one people misjudge. It feels anonymous because your name is gone, but it still tells a recruiter or a competitor which company and which role just looked at them – often enough to guess exactly who you are at a small company. The difference shows up in your own viewer list. An AI agent can read it on your own account and sort named viewers from the ones LinkedIn only describes: **You:** Who viewed my profile in the last 7 days? Split the named viewers from the ones LinkedIn only describes, and check which named viewers I'm already connected to. **Agent** (used Linked API: retrieve_profile_viewers, check_connection_status ×10): - viewers seen in the last 7 days: 14 - the 10 named viewers: 3 connected, 7 not 14 viewers in the last 7 days: 10 named and 4 semi-private, shown only by a description. You're connected to 3 of the 10 named viewers. Visits in full private mode are not in LinkedIn's list, so they can't be returned. Some of the rows: | Viewer | Shown as | Seen | What you can do | | --- | --- | --- | --- | | Nina K. – Head of Operations at Lumen Freight | Named | 2 days ago | Not connected – invite her | | Tom B. – Founder at Kestrel Labs | Named | 5 days ago | Connected – message him | | "Someone at Example Company" | Semi-private | 1 day ago | No name – only the company | | "Product Manager in the Software Development industry from Greater Berlin" | Semi-private | 3 days ago | No name – only role, industry and region | *Example run. On a free account LinkedIn shows only part of the viewer list – and none while you browse in private mode yourself – and the agent returns what LinkedIn shows. "Seen" comes from LinkedIn's relative age, so it is approximate. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ## What private mode costs you: the reciprocity rule LinkedIn treats profile viewing as an exchange, and on a free account the exchange is strict: stop contributing your identity and it stops showing you other people's. Premium is the documented exception – the table below is the whole rule. | | Free (Basic) account | Premium | | --- | --- | --- | | Browsing in private mode | Available | Available | | Your own viewer list while private | **Lost** | **Kept – the last 90 days** | | Viewer list when not private | Three most recent viewers in the last 90 days | Full list, and the dashboard reaches up to 365 days | | Can you unmask a private viewer | No | No | Two numbers here answer different questions, and they get merged constantly. **The 90 days is the private-mode guarantee:** LinkedIn states that with Premium you can browse privately "and still see the list of people who viewed your profile in the last 90 days", and that this "isn't possible with a Basic (free) account". **The 365 days is something else** – the general Premium viewer dashboard, which per [LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a548046) offers a "Full list of viewers for up to 365 days" against a free account's "Three most recent viewers in the last 90 days". Private browsing does not extend to that longer window. If your viewer list has gone empty and you do not know why, this is usually the reason. LinkedIn's own troubleshooting says it plainly: "If you don't see any profile viewers, check your Private Mode settings." Where to find your own list, and every other reason a viewer can be missing from it, is covered in [who viewed my LinkedIn profile](/guides/linkedin-who-viewed-my-profile). ## Can anyone see who viewed your profile in private mode? No – on any account type, including Premium. Premium buys you the ability to browse privately without losing your own list. It does not buy you the ability to see through anyone else's private mode. [LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a564182/private-mode-viewers-of-profiles) is explicit that even Premium subscribers cannot access the names of members who viewed them privately, and there is no setting, subscription or tool that reverses it. A private viewer appears in your list as an anonymous entry and stays that way. What you can still tell is that *someone* came. A private visit is recorded – it is unattributable, not invisible. Keep the two hiding options apart here, because they are not equally hidden: a **fully private** visit shows "LinkedIn Member" and no identity information at all, while a **semi-private** visit still shows characteristics such as job title, company, school and industry. Both land in your list without a name, and [both look different in the data](#what-you-can-read-back-and-where-linkedin-draws-the-line). ## How to turn private mode on or off The path, per [LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a568195): **On desktop** 1. Click the **Me** icon at the top of your LinkedIn homepage. 2. Select **Settings & Privacy** from the dropdown. 3. Click **Visibility** on the left pane, and under **Visibility of your profile & network**, click **Profile viewing options**. 4. Choose one of the three options. **On mobile** 1. Tap your profile photo, then tap **Settings**. 2. Tap the **Visibility** tab. 3. Tap **Profile viewing options**. 4. Choose one of the three options. One thing worth knowing before you switch: LinkedIn's own troubleshooting for an empty viewer list points straight back here, telling members to set their profile viewing options to public to get viewer insights again. ## Private mode in Sales Navigator is a separate setting If you use Sales Navigator, you have two independent controls, and changing one does nothing to the other. Sales Navigator has its own three viewing options, and [LinkedIn's Sales Navigator Help](https://www.linkedin.com/help/sales-navigator/answer/a105135) states it directly: "Changing your profile visibility in Sales Navigator will not change your profile visibility settings for LinkedIn.com." A private view performed in Sales Navigator appears to the person you viewed the same way it does on LinkedIn.com – as an anonymous "LinkedIn Member" entry, per [Sales Navigator Help](https://www.linkedin.com/help/sales-navigator/answer/a567226). So a sales team that carefully set LinkedIn.com to show its name can still be browsing anonymously all day inside Sales Navigator without realising it, or the reverse. ## What private mode does not hide Private mode governs one thing only: what others see **when you view them**. It is routinely confused with three separate controls. - **It does not hide your profile.** Anyone who opens your profile still sees everything your public-profile settings allow. That is a different setting. - **It does not hide you from search.** Recruiters searching LinkedIn, and search engines indexing your public profile, are unaffected. - **It does not stop anyone from viewing you.** It only changes what you see about who did. If your goal is to be less findable rather than less visible while browsing, private mode is the wrong lever entirely – the public profile settings are. ## Does viewing someone's profile notify them? It depends, and the honest answer is less definite than most articles suggest. What is documented is that the view lands in the profile owner's "Who's viewed your profile" list, shown according to your viewing mode. A notification is a separate matter, and LinkedIn describes it as conditional rather than automatic: for the case it spells out – opening someone's mini profile from search suggestions – [LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a568195) says the view "may result in a notification being sent to the member whose profile you viewed, **depending on your settings**". So: the visit is logged either way. Treat the notification as possible, not certain, and note that your viewing mode also decides what such a notification could even say. ## When should you stay visible? Being visible is what makes a profile visit usable as an introduction – a well-worn tactic, and not one we are claiming to have discovered. Someone sees your name in their viewer list, recognises it when your invitation arrives, and the request is no longer entirely cold. Recognition is possible; warmth and acceptance are not guaranteed, and any article that promises otherwise is selling something. ![What the other person ends up seeing in their Who's viewed your profile list. Browsing as yourself: the entry is shown with your name and headline, it may notify them depending on settings, and recognition is possible while acceptance is not. Browsing in private mode: the visit is still recorded but shows LinkedIn Member with no name, headline or photo attached, so they know someone came but not who](/images/guides/linkedin-private-mode-what-they-see.webp) The trade-off is symmetrical, so choose by what you actually want: - **Stay visible** when the visit is part of how you introduce yourself – business development, recruiting, networking before an event. - **Go semi-private** when you want the role to register but not the person. Remember it can be enough to identify you at a small company. - **Go fully private** when you are researching competitors, checking out a company before applying, or looking at anyone you would rather not signal to – and accept that on a free account you lose your own list for the duration. **Where this meets automation.** A profile visit can be generated deliberately: [Linked API](/)'s [`st.openPersonPage`](/docs/action-st-open-person-page) exists precisely so that the visit lands as a real, visible one – it opens [the person's page](/docs/visiting-person-page) on LinkedIn itself, so it shows up in their viewer list exactly as a manual visit would, under whatever mode your account is set to. What no API can do – ours included – is change the mode that visit lands under. Profile viewing options are a manual account setting, so an account running visit-first sequences while set to private mode is doing the work and discarding the signal. Check the setting before you build the sequence, not after. You can drive those visits from your own backend with the [REST API, the Node and Python SDKs, or the CLI](/sdks/installation), or have an AI agent run them out of the box through the [MCP server](/mcp), the agent-friendly [CLI](/cli), or a ready-made [skill](/skills). And keep the pace human: profile views have [their own daily ceilings](/guides/understanding-linkedin-limits#person-profile-view-limits), and visits are one touch in a [multi-touch sequence](/guides/linkedin-cold-outreach-strategies-2026), not a volume game. What you can do after the visit – message, invite, or neither – is decided by [the connection degree](/guides/linkedin-connection-degrees), which the visit itself does not change. ## What you can read back, and where LinkedIn draws the line The viewer list can also be read as data, and that shows the difference between the two hiding options more plainly than the interface does. [`st.retrieveProfileViewers`](/docs/action-st-retrieve-profile-viewers) reads your own profile viewers page and returns what LinkedIn discloses and nothing more: - **A viewer who browsed as themselves** comes back `identified`, with a name and profile URL. - **A semi-private viewer** comes back `anonymous`, carrying only the description LinkedIn placed on the row – "Someone at Example Company", or a job title with an industry and a region – and the people-search link LinkedIn built from it. Nothing in the API turns that row into a name. - **A viewer in full private mode** discloses nothing, so the action does not return that visit at all. That is the concrete reason semi-private is the mode people misjudge – it is the one that leaves something behind. Where to find your own list, what each plan shows, and the full field-by-field breakdown with code are in [who viewed my LinkedIn profile](/guides/linkedin-who-viewed-my-profile). What no API changes is the setting itself. Your profile viewing options stay a manual choice in your own account – Linked API can read who came and generate visits of its own, but it cannot decide how you appear when you go looking. Every action runs on your own account through a dedicated cloud browser at a human pace, on LinkedIn's own pages, and Linked API never stores your password. ## Frequently Asked Questions (FAQ) #### Can someone see I viewed their LinkedIn profile if I'm in private mode? No. They see an anonymous entry reading "LinkedIn Member - This person is viewing profiles in private mode", with no name, headline or photo. The visit is still recorded in their viewer list, so they know somebody came – they just cannot tell who. #### Is LinkedIn private mode actually private? For browsing, yes – your identity is genuinely withheld from the people you view, and no account tier can reverse that. But it is narrower than the name suggests: it does not hide your own profile, does not remove you from recruiter searches, and does not affect what search engines index. Those are controlled by your public profile settings. #### What are the disadvantages of private mode on LinkedIn? Two. On a free account you lose access to your own list of who viewed you for as long as you stay private. And any visit you make stops working as an introduction, because the person cannot see who you are – which matters if profile visits are part of how you reach people. #### Does LinkedIn notify someone when you view their profile? The view is recorded in their "Who's viewed your profile" list, shown according to your viewing mode. A notification is possible but not certain. LinkedIn documents that conditional wording for one specific case – opening someone's mini profile from search suggestions, which "may result in a notification being sent to the member whose profile you viewed, depending on your settings" – and does not publish a general rule for ordinary profile views. Do not count on a notification firing every time. #### Can you see who viewed your profile in private mode with Premium? Premium lets you browse in private mode and still see the people who viewed you in the last 90 days, which a free account cannot do. It does not let you identify anyone who viewed you privately – that is closed to every account type. #### Can you get the list of who viewed your profile through an API? Yes, for your own profile: Linked API's `st.retrieveProfileViewers` returns it, and it shows only what LinkedIn discloses – semi-private viewers arrive as the description LinkedIn displayed, and viewers in full private mode are not returned at all. What each plan shows and how to use the list are covered in [who viewed my LinkedIn profile](/guides/linkedin-who-viewed-my-profile). #### Does private mode hide my profile from recruiters? No. Recruiters can find and open your profile exactly as before. Private mode only changes what they see when *you* look at *them*. To change how findable you are, use your public profile visibility settings instead. ## Wrapping up Private mode is a single switch with a symmetrical price: the anonymity you gain is paid for with the signal you send and, on a free account, with your own view of who is interested in you. Decide which side you need for the situation you are in, and remember it is a manual setting that no tool changes for you. If profile visits are part of a workflow rather than something you do by hand, [Linked API](/) runs them on your own account through a cloud browser – build them into your own product with the [REST API, SDKs or CLI](/sdks/installation), or hand the job to an AI agent through the [MCP server](/mcp), the [CLI](/cli), or a ready-made [skill](/skills). Flat per-seat [pricing](/pricing) from $49 a month, billed annually. *Facts verified 18 August 2026 – LinkedIn viewing-mode, viewer-list and Sales Navigator behaviour checked against LinkedIn's own Help pages on that date.* ## What 1st, 2nd and 3rd Mean on LinkedIn: Degrees of Connection Explained LinkedIn marks most names with a small label – 1st, 2nd or 3rd – and it quietly decides what you are allowed to do next. Whether you can message someone, whether the Connect button appears, even how much of their profile you get to see, all follow from that one number. People Search adds a broader 3rd+ filter on top of those. > **The short version.** The number is your network distance. **1st** means you are directly connected – LinkedIn lets you message them. **2nd** means they are connected to one of your 1st-degree connections, and you can send an invitation with the Connect button. **3rd** means they are connected to one of your 2nd-degrees. **"LinkedIn Member (Out of Network)"** covers people outside LinkedIn's listed network categories, whose profiles show you limited information and who you can reach with an InMail where that option is available. What the label does **not** distinguish is where you stand right now: the same non-1st badge appears whether neither side has an active invitation, your invitation is already waiting with them, or theirs is waiting with you – and those need three different actions. ## What 1st, 2nd and 3rd mean on LinkedIn | Label | What it is | Can you message them | Can you invite them | Profile visibility | | --- | --- | --- | --- | --- | | **1st** | Directly connected | Yes | Already connected | Full | | **2nd** | Connected to one of your 1st-degrees | Not directly | Yes, via Connect | Full | | **3rd** | Connected to one of your 2nd-degrees | Not directly | Usually, where Connect is offered | Full | | **3rd+** | A People Search filter, not a relationship type | Not directly | Only where Connect is offered | Varies | | **LinkedIn Member (Out of Network)** | Outside LinkedIn's listed network categories | InMail where available, or free if they have Open Profile | Rarely offered | Some fields limited | ## What "1st" means on LinkedIn A 1st-degree connection is mutual and it is always the result of an accepted invitation. Per [LinkedIn's help page](https://www.linkedin.com/help/linkedin/answer/a545636/your-network-and-degrees-of-connection), these are "people you're directly connected to because you've accepted their invitation to connect, or they've accepted your invitation" – and you can "contact them by sending a message on LinkedIn." Two consequences worth knowing: - **It is the only relationship LinkedIn creates in both directions at once.** You appear in their network exactly as they appear in yours, and either side can end it. - **There is a ceiling.** LinkedIn allows a "maximum of 30,000 1st-degree connections" per account. Followers, which are one-way, are not counted against it. Your 1st-degree connections are also the part of your network you can export – see [how to export your LinkedIn connections](/guides/export-linkedin-connections), manually or via API. ## What "2nd" means on LinkedIn A 2nd-degree connection is, in [LinkedIn's words](https://www.linkedin.com/help/linkedin/answer/a545636/your-network-and-degrees-of-connection), one of the "people who are connected to your 1st-degree connections" – and you "can send them an invitation by clicking the Connect button on their profile page." The useful part is the path rather than the definition. Because a 2nd-degree relationship exists only through someone you already know, LinkedIn shows you the shared connection on their profile. That gives you two options a cold approach does not have: mention the mutual contact in your invitation note, or ask that contact to introduce you. It is the difference between arriving as a stranger and arriving as a colleague of someone they trust. ## What "3rd", "3rd+" and "LinkedIn Member (Out of Network)" mean These three are not three rungs on one ladder, and treating them that way is where most explanations go wrong. **3rd-degree is a relationship. 3rd+ is a search filter. Out of Network is LinkedIn's label for members outside its listed network categories.** **3rd-degree** members are, per [LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a545636/your-network-and-degrees-of-connection), the "people who are connected to your 2nd-degree connections" – a friend of a friend of a friend. In practice the Connect button is usually still there. **3rd+** is not a separate kind of relationship, and LinkedIn does not document it as a profile label. Where it is defined is the Connections filter in People Search, and the definition is broad: [filtering by 3rd+](https://www.linkedin.com/help/sales-navigator/answer/a528043) "will include everyone that falls in your search criteria." Treat it as a search bucket rather than a degree. **LinkedIn Member (Out of Network)** is the label for people "who fall outside the categories listed above." Two things change here. First, visibility: LinkedIn notes that "some fields of profiles out of your network have limited visibility," which is why you sometimes see an abbreviated name instead of a full one. Second, the route: LinkedIn names InMail as the way to "introduce yourself" to these members, where that option is available to you. **Followers are not a degree.** Following is one-way: someone who follows you "chooses to follow your public updates" without any connection existing. It creates no degree, changes nothing about who can message whom, and does not count toward the 30,000 cap. ## The badge shows distance, not state Here is what none of this tells you: **where you actually stand with that person right now.** The badge answers a question about the network graph – how many steps away they are. It does not distinguish what has already happened between you. A profile showing "2nd" looks the same in three situations that call for three different actions: - **Neither side has an active invitation.** The invitation still has to be sent. - **Your invitation is already sitting with them,** unanswered. Sending another does nothing; your real options are to wait or to withdraw it. - **Their invitation is already sitting with you.** The right move is to accept it – and if you send your own request instead, you are doing extra work to reach a state you could have had with one click. LinkedIn does surface the difference elsewhere: the profile's own buttons change, and both invitation queues live under My Network. What stays identical across all three is the badge itself. That is a small annoyance when you are looking at one profile and can check your queues by hand, and a real problem the moment anything runs across a list, because the correct action differs in each case and the label you are reading does not. This is why an API answers a different question than the badge does. Instead of a degree, [Linked API](/)'s `checkConnectionStatus` returns the relationship state, and there are four of them: `connected`, `notConnected`, `pending` and `incoming`. Note what `notConnected` does and does not mean: no connection and no active invitation in either direction right now – not a guarantee that you have never been in touch before. And `incoming` is the state that is easy to miss if you look only at the badge: it means the other person invited you first. The product is built to expect this. If you skip the check and send a connection request to someone whose invitation is already waiting, Linked API does not quietly send a duplicate – it returns the error `invitationAlreadyReceived`, whose message is exactly the advice you needed: *"This person has already sent you a connection request. Accept it instead of sending a new one."* Useful, but it costs you a failed action and an error to handle, when one status check would have routed you to the right branch in the first place. ### Checking connection state with an AI agent The check is one question per person with four possible answers. Connect Claude, ChatGPT, Cursor or another MCP client to the Linked API [MCP server](/mcp/overview), or give Claude Code or Codex the agent-friendly [CLI](/cli/getting-started), and ask before you act: **You:** Here are 5 LinkedIn profiles from my shortlist. For each one, check where we stand right now – connected, my invitation pending, their invitation waiting for me, or nothing yet – and tell me the right next step. Don't send or accept anything yet. **Agent** (used Linked API: check_connection_status ×5): - the current relationship state for each profile Here is where you stand with each person. Nothing has been sent or accepted. | Person | State | What it means | Next step | | --- | --- | --- | --- | | Anna K. | `incoming` | She invited you first | Accept her invitation | | Marc D. | `pending` | Your invitation is waiting with him | Wait, or withdraw it | | Priya S. | `notConnected` | No connection and no active invitation | Send a connection request | | Tom L. | `connected` | You are 1st-degree | Send a message | | Lea B. | `notConnected` | No connection and no active invitation | Send a connection request | *The agent waits for your go-ahead, then accepts, sends or withdraws.* *Example run. Works the same in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* On their profiles, Anna, Marc and Priya could all show the same 2nd badge – only the status check tells the three apart. Developers get the same check as one call: [`checkConnectionStatus`](/docs/action-st-check-connection-status) returns the four states through the REST API, the Node and Python [SDKs](/sdks/installation) or the shell CLI. To accept, [`acceptInvitation`](/docs/action-st-accept-invitation) takes `invitationType: 'connect'` with the person URL, because the same action also accepts company-follow and newsletter invitations. What happens after the request is sent – the `emailRequired` edge, withdrawing invitations that went stale, detecting the moment one is accepted – is its own lifecycle, covered in [How to Automate LinkedIn Connection Requests](/guides/how-to-automate-linkedin-connection-requests). Once someone is connected, [automating the message](/guides/how-to-automate-linkedin-messages) is the next step. ![Diagram: resolving LinkedIn connection state before acting. From a person URL, checkConnectionStatus returns one of four states. Connected leads to sending a message. NotConnected leads to sending a connection request, or a Sales Navigator InMail to skip the acceptance wait. Pending means your invitation is already with them, so wait or withdraw it. Incoming means they invited you first, so accept the invitation you already have. A footer notes that the visible profile badge is identical across the notConnected, pending and incoming branches.](/images/guides/linkedin-connection-state-router.webp) ## How to reach someone at each degree | Route | Who it reaches | Best for | Cost | | --- | --- | --- | --- | | Message | 1st-degree | Anyone already connected | Free | | Connection request (± note) | 2nd; 3rd where Connect is offered | Building an ongoing relationship rather than a one-off contact | Free; weekly invitation limits apply | | Sales Navigator InMail | 2nd, 3rd, out of network | Reaching someone without waiting for an invitation to be accepted | One credit; refunded if they accept, decline or reply within 90 days | | Open Profile message | Premium members who enabled Open Profile | Contacting a non-connection without using a credit | Free, including from free accounts | | Follow | Anyone who allows followers | Seeing someone's posts without a connection | Free; creates no degree | | Shared-connection introduction | 2nd | Warm outreach at low volume | Free; manual | | Programmatically, on your own account | The same eligible people reached by the supported routes: 1st-degree messages, Connect where it is offered, and Sales Navigator InMail. It unlocks nobody new | Running those routes across a list, or wiring them into your own product, CRM or agent | Paid, flat per seat; LinkedIn's own limits and credits still apply | Where a 3rd-degree profile offers no Connect button, InMail is the paid fallback – but check the free routes first: a Premium member with Open Profile can be messaged at no cost, and a shared group can open a direct route too. How InMail credits, caps and refunds work is covered in the [LinkedIn InMail guide](/guides/linkedin-inmail), including that Open Profile exception. That last row is worth one caveat. Doing this programmatically does not move anyone closer to you: degrees still apply, invitation limits still apply, InMail still costs a credit. What changes is that the routing happens in your code instead of your afternoon. Linked API runs each action on your own account through a human-paced cloud browser and surfaces LinkedIn's own limit signals rather than pushing past them, which is what keeps volume sane – our [connection limit guide](/guides/linkedin-connection-limit-2026) and [limits overview](/guides/understanding-linkedin-limits) have the numbers, and the [safety model](/safety) has the approach. You can build it in with the REST API, the Node and Python SDKs or the [shell CLI](/cli/getting-started), or get it out of the box through the [MCP server](/mcp/overview), the AI-agent-friendly CLI in Claude Code, Cursor and Codex, or a ready-made [skill](/skills). ## Frequently Asked Questions (FAQ) #### Do LinkedIn connection requests expire? Yes. An invitation nobody answers expires after six months, and LinkedIn sends up to two reminders before that happens. Once it has expired you are free to send a new one. Withdrawing an invitation yourself is different: the recipient is not notified, but you cannot re-invite the same person for up to three weeks. Our guide to [pending invitations](/guides/linkedin-pending-invitations) covers both queues and how to clear them. --- Building connection logic into your own product, CRM or agent? [Start with Linked API](/pricing) – check the real relationship state and act on it through the [API and SDKs](/sdks/installation), the [CLI](/cli/getting-started), the [MCP server](/mcp/overview) or ready-made [skills](/skills), on your own account and at a human pace. ## LinkedIn Sales Navigator Cost in 2026: Pricing by Plan Sales Navigator is priced per licence, and the published number is only half the decision. The other half is which tier that licence should be, and whether a given person on your team needs one at all. > **The short version.** Sales Navigator starts at US$119.99 per licence per month, or US$1,079.88 per year, for Core. Advanced starts at US$159.99 per month or US$1,799.88 per year. Advanced Plus has no published price and is quoted per customer. Core and Advanced give you the same InMail allocation and almost the same search – the step up buys buyer intent (including its search filters), warm-path tooling and team administration. And the annual discount is uneven: LinkedIn takes 25% off Core but only about 6% off Advanced, which makes the gap between the two tiers wider on annual billing than on monthly. ## How much does LinkedIn Sales Navigator cost in 2026? Per [LinkedIn's compare-plans page](https://business.linkedin.com/sell/sales-navigator/compare-plans), in US dollars: | Plan | Monthly, per licence | Annual, per licence | Effective monthly on annual | LinkedIn's "best for" | |---|---|---|---|---| | **Core** | US$119.99 | US$1,079.88 | US$89.99 | Individual sellers | | **Advanced** | US$159.99 | US$1,799.88 | US$149.99 | Sales teams | | **Advanced Plus** | Contact sales | Contact sales | – | Sales teams using integrated CRM | Both published tiers say "starts at", and pricing is per licence rather than per company, so a five-person team on Core is five times the number above. LinkedIn attaches a caveat to those figures worth reading before you build a budget on them: "prices listed above are estimates and may exclude Value-Added Tax (VAT), Goods & Services Tax (GST), and/or promotional discounts. Pricing is subject to change. Slight variations may occur across device types." A licence's output is capped by the hours someone spends in it. An AI agent can work the parts that need the seat, and run the rest as standard LinkedIn work, on your own account: **You:** Go through this week's Sales Navigator alerts on my saved leads. For each lead who posted, open the lead, check whether we're connected, and draft a message – or a connection note if we're not – that refers to the post. Tell me which steps used my Sales Navigator seat. Send nothing. **Agent** (used Linked API: nv_retrieve_alerts, nv_fetch_person ×7, check_connection_status ×7): - lead alerts since Monday, saved leads only: 11 – posts by 7 leads, 4 profile views - current role and profile link of each lead who posted - 2 connected, 5 not 11 alerts since Monday: 7 leads posted and 4 viewed your profile. 7 drafts are ready – 2 messages to connections and 5 connection notes, each referring to the post. The alerts and the lead pages used your Sales Navigator seat; the connection checks and the drafts are standard LinkedIn work. Nothing has been sent. Some of the rows: | Lead | What they posted | Connected? | Draft | | --- | --- | --- | --- | | Hannah W., VP Operations at a freight software company | A post on cutting carrier onboarding time | No | "Hi Hannah – your post on carrier onboarding hit home. Would be glad to connect." | | Diego M., Head of Procurement at a manufacturer | A post on consolidating suppliers next year | Yes | "Hi Diego – saw your post on supplier consolidation. Worth comparing notes on how you score vendors?" | | Sara K., COO at a warehouse automation startup | A post on peak-season staffing | No | "Hi Sara – your peak-season staffing post was a sharp read. Happy to connect." | *Nothing goes out until you approve.* *Example run. The alerts step needs an active Sales Navigator subscription on the account. Linked API stores no alerts, so run it again with a since date to catch new ones. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ## Does annual billing actually save you money? Yes, but by very different amounts depending on which tier you are on. LinkedIn states both discounts itself: "a 25% savings with annual billing" on Core, and "a 6% savings with annual billing" on Advanced. The arithmetic behind those two numbers: | Plan | 12 months at the monthly rate | Annual rate | Saving | Discount | |---|---|---|---|---| | **Core** | US$1,439.88 | US$1,079.88 | US$360.00 | **25.0%** | | **Advanced** | US$1,919.88 | US$1,799.88 | US$120.00 | **6.25%** | The consequence is the part that changes a decision. Because Core gets four times the discount rate Advanced does, the price gap between the two tiers is not constant – it widens when you commit annually: - Paying monthly, Advanced costs **US$480 more per licence per year** than Core. - Paying annually, Advanced costs **US$720 more per licence per year** than Core. ![Sales Navigator Core versus Advanced on monthly and annual billing: the annual per-licence gap widens from US$480 to US$720 because Core receives a 25% annual discount while Advanced receives 6.25%](/images/guides/linkedin-sales-navigator-cost-annual-gap.webp) Nothing reverses here – annual Advanced is still cheaper than monthly Advanced. But the upgrade itself gets 50% more expensive under annual billing, so if you are sizing a team where some people need Advanced and some do not, price the mix on the billing basis you will actually use, not on the monthly rate. ## What the Core → Advanced step actually buys Not more search. Core and Advanced carry the same search-and-reach allocation: the same core search filters – Advanced adds the buyer-intent filters and TeamLink search options (the [full filter list by tier](/guides/linkedin-advanced-search#sales-navigator-search-filters-the-full-list)) – the same 50 InMail per month, the same Relationship Explorer, Relationship Map and Alerts, and the same Account IQ, Lead IQ and Message Assist. What the step adds is buyer intelligence, engagement tooling, and the machinery a team needs to run seats together. | Capability | Core | Advanced | Advanced Plus | |---|:--:|:--:|:--:| | Advanced Search Filters | ✓ | ✓ | ✓ | | InMail | 50/month | 50/month | 50/month | | Relationship Explorer | ✓ | ✓ | ✓ | | Relationship Map | ✓ | ✓ | ✓ | | Alerts | ✓ | ✓ | ✓ | | Account IQ & Lead IQ | ✓ | ✓ | ✓ | | Message Assist | ✓ | ✓ | ✓ | | TeamLink | – | ✓ | ✓ | | Smart Links | – | ✓ | ✓ | | Buyer Intent | – | ✓ | ✓ | | Team seat management & centralized billing | – | ✓ | ✓ | | Team reporting | – | ✓ | ✓ | | Manage your book of business | – | ✓ | ✓ | | Dedicated account team & tailored training\* | – | ✓ | ✓ | | Advanced CRM Integrations | – | – | ✓ | | Lead/Contact Creation | – | – | ✓ | | CRM Embedded Experiences and Profiles | – | – | ✓ | \* LinkedIn footnotes this row as "if purchased through a sales representative". So the question to ask about the extra US$720 a year is not "do we need better search" – Core already has almost all of it. It is whether these three things are worth it to the individual seller: knowing which accounts are already showing interest (Buyer Intent, with its search filters), warm introduction paths through colleagues' connections (TeamLink), and trackable content links (Smart Links) – plus, for the manager, seat administration and team reporting. AI-written account and lead research (Account IQ and Lead IQ) and drafted outreach (Message Assist) are on every tier. LinkedIn's own framing matches: Core is for "individual sellers who want to find high-quality leads and build client relationships", Advanced for "sales teams that need AI-powered lead and account research, actionable insights, and collaboration tools". ## How Advanced Plus pricing works Advanced Plus has no list price. LinkedIn quotes it per customer, and the variables it names are team size, CRM integration requirements, and onboarding and training. What you get for the quote is narrower than the tier name suggests. In LinkedIn's own comparison matrix, exactly three capabilities separate Advanced Plus from Advanced, and all three are CRM: - **Advanced CRM Integrations** – keeping the CRM current from Sales Navigator. - **Lead/Contact Creation** – writing leads and accounts into the CRM. - **CRM Embedded Experiences and Profiles** – LinkedIn surfaces rendered inside the CRM. That makes the decision unusually clean. If real CRM synchronisation is the thing you need, request the quote. If it is not, Advanced already contains everything else Advanced Plus does, and there is nothing else in the tier to buy. Published estimates for the quote do not agree with each other, which is a reason to treat all of them as indicative: GigRadar puts Advanced Plus at roughly US$1,300–1,600 per seat per year, while Factors states US$1,600 and up. Neither is LinkedIn, and LinkedIn does not publish a figure. ## Which accounts actually need a Sales Navigator licence? Before choosing a tier, it is worth asking whether a particular person needs a licence at all – and the answer turns on one rule that decides more budget than any tier comparison. **A Sales Navigator licence attaches to a user, not to a task.** You cannot detach the ordinary parts of someone's work to shrink their subscription. If a seller needs advanced filters, saved lead and account lists, Sales Navigator's 50-a-month InMail allocation, alerts, or any other Sales Navigator surface for *any* part of their job, they need a licence, and moving the rest of their work elsewhere does not reduce what you pay for them. Where the rule pays off is the account that never touches those surfaces at all. | The work | Sales Navigator status | |---|---| | Advanced-filter and saved-search prospecting | **Nav-exclusive** – needs a licence | | Saved lead and account lists, book of business | **Nav-exclusive** – needs a licence | | [InMail](/guides/linkedin-inmail) at 50 a month | **The allocation is Nav-exclusive** – Premium Business includes 15 a month | | Buyer Intent, TeamLink, Smart Links | **Nav-exclusive** – needs a licence, on Advanced or above | | Account IQ, Lead IQ, Message Assist | **Nav-exclusive** – needs a licence, on any tier | | CRM sync of Sales Navigator data | **Nav-exclusive** – needs Advanced Plus | | Standard LinkedIn people and company search | Not Nav-exclusive by itself | | Profile, company and post data | Not Nav-exclusive by itself | | Connection requests and ordinary messages | Not Nav-exclusive by itself | Read the right-hand column carefully: "not Nav-exclusive by itself" is not the same as "free". It means only that this work does not *require* Sales Navigator. An account that does some of it alongside Nav-exclusive work still needs a licence. The case where this genuinely saves money is narrower and specific: an account whose workflow never needs a Nav-exclusive capability – a research or data-collection account, an operations account feeding a CRM, an account behind a product feature – can run standard LinkedIn work on no Sales Navigator subscription at all. Two honest qualifications. Standard LinkedIn search is meaningfully narrower than Sales Navigator search, not an equivalent with a different label: our own [standard people search](/docs/searching-for-people) exposes eight filter fields – first name, last name, position, locations, industries, current companies, previous companies and schools – against the 50+ filters LinkedIn markets Sales Navigator on. And a licence does not lift every ceiling: LinkedIn says a paid plan increases the number of profile searches and views, but the connection-invite cap is unchanged – see [search query limits](/guides/understanding-linkedin-limits#search-query-limits) and the [2026 connection limits guide](/guides/linkedin-connection-limit-2026). ## When Sales Navigator is the right purchase The eligibility question above is about whether an account needs a licence. This one is different: given that the work needs doing, when is Sales Navigator itself the better tool than any alternative, ours included? - **A person is doing the searching.** Sales Navigator's filter interface, saved searches, and lead and account lists are built for a human working a pipeline interactively. No API is a better experience for that job. - **You want warm paths, not just names.** TeamLink surfaces which colleague can introduce you. That mapping is proprietary to LinkedIn and cannot be reconstructed from outside. - **You want LinkedIn's own account research.** Account IQ and Lead IQ summarise accounts and leads inside the product, with LinkedIn's data behind them. - **You want buying signals.** Buyer Intent reflects activity LinkedIn observes and does not expose anywhere else. - **Your requirement is CRM synchronisation.** Advanced Plus, or an approved SNAP integration through your CRM vendor, will beat anything you assemble – see our [Sales Navigator API guide](/guides/linkedin-sales-navigator-api). - **You need one spreadsheet, once.** An export tool is the right answer, not a subscription decision at all. Our [Sales Navigator export guide](/guides/linkedin-sales-navigator-scraper) compares the routes. - **You need bulk records with email addresses or phone numbers.** Sales Navigator does not provide those, and neither do we. A dataset provider is the honest fit. ## Getting more out of a licence you already pay for If you are paying for licences, the cost per seat is fixed but the output is not – it is capped by how many hours a person can spend in the interface. Sales Navigator work can also run programmatically on the same licence you already own, which is where [Linked API](/pricing) fits. This does not replace the subscription and cannot: Sales Navigator actions run *through* your seat, so the seat has to exist. What changes is that searching, opening a lead, retrieving a company's employees or decision makers, sending a message and syncing the conversation become composable steps you can run on a schedule or from inside your own product. There are two first-class ways to reach it, and neither is a lesser version of the other. **Build it in.** Compose the primitives yourself through the [REST API, Node and Python SDKs, and the shell CLI](/sdks/installation), and embed them in your product, backend or CRM. The full action set, including which actions are Sales Navigator-only, is in the [actions overview](/docs/actions-overview). **Get it out of the box.** Connect the [MCP server](/mcp), point an AI agent at the [CLI](/cli) from Claude Code, Cursor or Codex, or install ready-made [skills](/skills) with `npx @linkedapi/skills`. You describe the job in plain language and the agent composes and runs the same workflow. Nothing to wire, no blocks to drag. Both run on a dedicated cloud browser against your own account, at a human pace, with per-action limits enforced by the platform. Pricing is flat per seat, from $49 per month billed annually. One limit worth stating plainly, because it decides whether this fits at all: Sales Navigator result types carry no email address and no phone number. If contact data is what you need, this is not the route. ## LinkedIn Premium vs Sales Navigator LinkedIn's own [comparison page](https://business.linkedin.com/sell/sales-navigator/premium-versus-sales-navigator) (updated August 2026) puts the sales-relevant plans side by side: | | Premium Business | Premium All-in-One | Sales Navigator | | --- | --- | --- | --- | | Price, from | US$69.99 a month | US$89.99 a month | US$119.99 a month (Core) | | InMail per month | 15 | 30 | 50 | | Search filters | Limited | Limited | Advanced – "50+ sales-specialized search filters" | | Saved leads, lead and account recommendations | Not listed | Daily prospect suggestions, up to 15 a day | Yes | | Alerts and buyer-intent signals | Not listed | Not listed | Yes – buyer intent on Advanced and Advanced Plus | | CRM integrations | Not listed | Not listed | Yes – some features on Advanced Plus only | How to read it: - **Premium Career is a job-seeker plan, not a sales one.** It comes with 5 InMail a month ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a545596)), and LinkedIn says its job-seeker plans "still include the search limit" ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a524372)). - **Premium Business lifts the search allowance, not the filters.** LinkedIn describes it as "Unlimited searches and InMail messaging" ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a7474393)), but people search keeps the standard filters. - **Premium All-in-One sits in between.** It adds filters for "job function, seniority, location, headcount, and years of experience", has no Sales Navigator interface, and LinkedIn is still testing it, so it "may not be available for purchase in your location" ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a7443857)). - **Sales Navigator is the full prospecting tool** – the lead and account filters, lists, alerts and CRM sync – and it includes Premium Business features (see the FAQ below). Which filters each plan unlocks, row by row, is in [LinkedIn advanced search](/guides/linkedin-advanced-search). ## Frequently Asked Questions (FAQ) #### Is Sales Navigator included in LinkedIn Premium? No – LinkedIn Premium does not include Sales Navigator; the inclusion runs the other way. LinkedIn states that "a Sales Navigator subscription includes access to Premium Business features". Premium Business gives you basic search filters and 15 InMail per month; Sales Navigator gives you 50+ advanced filters, 50 InMail per month, Relationship Map, TeamLink, alerts and CRM integrations on top of those Premium Business features. #### Is there a free trial, and will you be charged for it? There is a free trial, and LinkedIn asks for payment information up front. Its stated terms are that you can "cancel for any reason before your Sales Navigator trial ends to avoid being charged", and that it sends "an email reminder seven (7) days before your free trial expires". #### Are the listed prices what you actually pay? Not necessarily. LinkedIn describes its published figures as estimates that "may exclude Value-Added Tax (VAT), Goods & Services Tax (GST), and/or promotional discounts", adds that pricing is subject to change, and notes that "slight variations may occur across device types". Both published tiers are also quoted as "starts at" prices. #### Does a paid tier raise your LinkedIn connection or search limits? Those are two different answers. It does **not** raise the connection-invite ceiling – that cap is the same whether you pay or not, and the current figures are in the [2026 connection limits guide](/guides/linkedin-connection-limit-2026). It **does** increase search access: LinkedIn's [commercial use limit](https://www.linkedin.com/help/linkedin/answer/a564226) page says you can upgrade to Premium Business, Recruiter Lite or Sales Navigator "to increase the number of profile searches and views", while adding on the same page that "we are not able to display the exact number of searches or views you have left". So the allowance goes up, and LinkedIn does not publish what it goes up to. What Sales Navigator does publish is how much one search returns: "up to 2,500 lead results across 100 pages or 1,000 account results across 40 pages", per [LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a106030). Our own breakdown sits in [search query limits](/guides/understanding-linkedin-limits#search-query-limits) and [search results limits](/guides/understanding-linkedin-limits#search-results-limits). #### Does Sales Navigator give you email addresses or phone numbers? No. Sales Navigator surfaces LinkedIn profile and company data, not contact details. The same applies through Linked API: our Sales Navigator result types carry no email or phone field. If you need verified contact data, that is a separate category of tool. #### Do I need a Sales Navigator subscription to automate LinkedIn? Only for Sales Navigator actions. Anything that runs through the Sales Navigator interface requires the licence, because it works through your own seat. Standard LinkedIn people, company and post data, connection requests and ordinary messages do not require a Sales Navigator subscription – see [Sales Navigator API access](/guides/linkedin-sales-navigator-api) for how the routes differ. ## Price the tier, then price the seat Sales Navigator's list price is the easy part: US$119.99 or US$159.99 per licence per month, less 25% or 6% respectively if you commit for a year. The decisions that actually move the bill are which of your people need a Nav-exclusive capability at all, and whether the seats you keep are producing everything they could. If the answer to the second one is no, [Linked API](/pricing) runs Sales Navigator workflows on the licences you already own – built into your own product through the [REST API, SDKs and CLI](/sdks/installation), or run out of the box by an agent through [MCP](/mcp), the [CLI](/cli) or ready-made [skills](/skills). Flat per seat, from $49 per month billed annually. *Facts verified 10 August 2026 – Sales Navigator prices, plan features, trial terms and Premium comparison checked against LinkedIn's live pages, and third-party Advanced Plus estimates checked against their live pages, on that date. Plan features re-checked 30 October 2026 and the Premium vs Sales Navigator comparison on 1 November 2026.* ## LinkedIn X-Ray Search: Operators, Examples, and What Google's Index Can't See (2026) LinkedIn X-ray search means using Google to find LinkedIn profiles instead of searching inside LinkedIn. You point Google at LinkedIn's profile pages with `site:linkedin.com/in/`, add the words you expect to find on the profile, and read the results while logged out. It is free, it needs no account, and it exists because there is no general-purpose LinkedIn people-search API open to ordinary developers – see [what LinkedIn's API actually gives you](/guides/linkedin-api-access). This guide covers the operators that genuinely work, strings you can copy, the boundary where Google's copy of LinkedIn stops being enough, and what to do at that point. > **The short version.** X-ray search uses Google operators – `site:linkedin.com/in/`, quotes and `-`, plus a few Google does not document – to find public LinkedIn profiles without logging in. It works because members' public profiles are visible to search tools, and it is genuinely free. Its ceiling is architectural rather than a bug: you are searching Google's copy of LinkedIn, so you get what members chose to make public, as Google last crawled it, matched on keywords. There is no reliable structured filter for current versus past employer. When that distinction matters, run the search inside LinkedIn instead. **X-ray search is not the same thing as LinkedIn boolean search.** Both use boolean logic, which is why the two get mixed up constantly, but they query different indexes. Boolean search runs **inside** LinkedIn, on your own account, using LinkedIn's operators and filter fields – a separate technique with [its own operators and rules](/guides/linkedin-boolean-search). X-ray runs **outside** LinkedIn, in Google, against public copies of profiles. Everything below is about the second one. ## What LinkedIn X-ray search is (and why it works at all) X-ray search works because LinkedIn members can expose their profile to search engines. LinkedIn's own help page tells members they can "control what sections of your profile are eligible for display to people who are not signed in to LinkedIn, or can be viewed on search tools such as Google or Bing" ([LinkedIn public profile visibility](https://www.linkedin.com/help/linkedin/answer/a518980)). That single setting is the whole foundation. Google crawls those public profiles, stores them, and lets you query its copy with ordinary search operators. Nothing is bypassed and nothing is unlocked – you are reading pages members published deliberately. The technique got its name because it feels like seeing through LinkedIn's own search, which caps results by account tier and biases toward your network. Google has no such view of you. What it does not give you is LinkedIn's structured fields – there is nothing to filter on for who currently works where, which is the point at which the method eventually runs out. Inside LinkedIn, on your own account, that filter exists. Here is an AI agent running it through [Linked API](/): **You:** Find heads of growth in Berlin who currently work at Acme or Globex. Give me name, headline and location, and tell me who I'm already connected to. **Agent** (used Linked API: search_people): - "growth", position Head of Growth, located in Berlin, current companies Acme or Globex, up to 25 – 5 people - connection degree read from each result 5 people currently at Acme or Globex in Berlin – one is already a connection. Each row carries the profile URL. Nothing has been sent. The first rows: | Name | Headline | Location | Connected? | | --- | --- | --- | --- | | Lena M. | Head of Growth at Acme | Berlin, Germany | No – 2nd degree | | David R. | Head of Growth, Globex – B2B marketplaces | Berlin, Germany | Yes – 1st degree | | Sara K. | Head of Growth EMEA at Acme | Berlin, Germany | No – 3rd+ | *Nothing goes out – ask for full profiles or drafted notes next, and anything you choose to send waits for your approval.* *Example run, fictional people and companies. The search runs on LinkedIn's current-company filter, on your own LinkedIn account, at a human pace. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ## The X-ray operators that work The table below carries only the operators that are useful for finding profiles. Whether Google documents an operator is a separate question from whether it helps here, so it is noted per row rather than used to decide what belongs in the table. **Documented by Google and useful here** ([Refine Google searches](https://support.google.com/websearch/answer/2466433)): | Operator | What it does | Constraint to know | |---|---|---| | `site:` | Restricts results to one site or path. `site:linkedin.com/in/` returns profiles only. | Retrieval is **not exhaustive** – see below. | | `"exact phrase"` | Matches the phrase as written. | Quote every multi-word title, or Google matches the words separately and independently. | | `-` | Excludes a term. | No space between the operator and the word: `-recruiter`, never `- recruiter`. | **Not documented by Google, but working in practice.** These four appear on every X-ray guide as though they were official. They are not on Google's operator help page, so treat them as best-effort: use them, then sanity-check the results rather than trusting them silently. | Operator | What it does | Constraint to know | |---|---|---| | `intitle:` | Matches text in the page title. A LinkedIn profile title carries the name and headline. | Best-effort; verify a sample of results. | | `inurl:` | Matches text in the URL. Useful for separating `/in/` from `/company/`. | Best-effort. | | `OR` | Either term matches. | Must be uppercase. Lowercase `or` is treated as a normal word. | | `*` | Stands in for a whole word. | A whole word, not a partial stem. Most reliable inside a quoted phrase: `"head of * marketing"`. | **Documented by Google but not useful for this job.** `filetype:` filters by document format, and LinkedIn profiles are ordinary HTML pages, so it narrows nothing here. `before:` and `after:` filter on Google's document dates – not on employment dates, and not a dependable signal for how fresh a profile is. If you have seen them recommended for X-ray, that is why they are absent from the tables above. One limit applies to every string you will write. Google states plainly that the `site:` operator "doesn't necessarily return all the URLs that are indexed under the prefix specified in the query" ([Google Search Central](https://developers.google.com/search/docs/monitor-debug/search-operators/all-search-site)). An X-ray search is a sample of what Google chose to show you, never a complete list of matching profiles. ### Common X-ray syntax mistakes - **A space after the operator.** Google is explicit: "Do not put spaces between the operator and your search term." - **Lowercase `or`.** It stops being an operator and becomes a search word. - **Unquoted multi-word titles.** `head of growth` matches the three words anywhere on the page; `"head of growth"` matches the title. - **`site:linkedin.com` when you wanted people.** That includes posts, jobs and company pages. Use `site:linkedin.com/in/` for profiles. ## X-ray search strings you can copy Each string is labelled with what it actually does, which is not always what it looks like it does. **By title and location** ``` site:linkedin.com/in/ "head of growth" "Berlin" ``` **Mentions a company – not a current-employer filter** ``` site:linkedin.com/in/ "product manager" ("Acme" OR "Globex") ``` This finds profiles where those company names appear anywhere: current role, a job from six years ago, or a recommendation someone wrote. A snippet often hints at which, but there is no structured employer field to filter on, so you sort it out by reading the results. **By school** ``` site:linkedin.com/in/ "data scientist" "Technical University of Munich" ``` **By localized LinkedIn host** ``` site:de.linkedin.com/in/ "vertriebsleiter" ``` This selects LinkedIn's German-language host. It is **not** a "people located in Germany" filter – plenty of people in Germany are served on `www.linkedin.com`, and this string will miss them. **Excluding the noise** ``` site:linkedin.com/in/ "software engineer" "Amsterdam" -recruiter -intern -"talent acquisition" ``` **Company pages instead of people** ``` site:linkedin.com/company/ "solar installation" "Netherlands" ``` ## What Google's index can't know X-ray is not broken, and the strings above genuinely work. But five limits are structural, and no amount of operator skill removes them. **1. The index lags, sometimes by months.** LinkedIn is direct about this: "After you make changes to your public profile, it can take several weeks or months at times for search tools like Google, Yahoo, or Bing to detect changes and refresh. LinkedIn doesn't control that refresh process" ([LinkedIn public profile visibility](https://www.linkedin.com/help/linkedin/answer/a518980)). A person who changed jobs in March may still read as their old title. ![Diagram of the X-ray refresh path: a member edits their profile, the change appears on their public LinkedIn profile immediately, then Google re-crawls the page on its own schedule taking weeks to months, and only then does the change appear in X-ray results. A separate short arrow shows native authenticated search reading LinkedIn directly with no lag.](/images/guides/linkedin-xray-refresh-path.webp) **2. No reliable structured current-versus-past employer filter.** Google matches words on a page, so a profile mentioning Acme may be a current role, a former one, or a line in someone's recommendation. A snippet often hints at which, but there is no field meaning "currently works here" that you can filter or sort on – so at any volume you are verifying by hand. **3. Google operators are not LinkedIn fields.** `intitle:` searches text. LinkedIn's own search has structured fields for position, industry, location, school and employer. These are different mechanisms, and the second is not reachable from Google. **4. You only ever see what members allowed.** Public-profile visibility is member-controlled per section. Someone who narrowed theirs is invisible to X-ray no matter how precise your string is. **5. Retrieval is not exhaustive.** As Google states above, `site:` does not necessarily return everything indexed under that prefix. You cannot know what you missed, which makes X-ray unsuitable as a coverage-complete source list. ## X-ray vs LinkedIn-native search: which to use when | | X-ray search (Google) | LinkedIn-native search (Linked API) | |---|---|---| | Where the search runs | Google's index of public profiles | LinkedIn itself, authenticated | | What it matches on | Keywords in a public snippet | LinkedIn's own structured fields | | Freshness | Google's crawl – weeks to months of lag | LinkedIn as it is now | | Current vs past employer | No reliable structured filter | `currentCompanies` and `previousCompanies`, separately | | Filters available | Google operators | Position, locations, industries, companies, schools | | Output | A page of links you copy by hand | Structured results your code can consume | | Login required | None – runs logged out | Your own LinkedIn account | | Cost | Free | Flat per seat, from $49/mo billed annually | | Best for | One-off lookups, no account, no budget | Repeatable searches, products, CRM enrichment | ## When the job outgrows Google: run the search inside LinkedIn At the point where the current-versus-past distinction matters, or you need the same search to run every week, the answer is to stop searching Google's copy and search LinkedIn. There are two ways in, and they are equally first-class – pick the one that matches how you work. ### Ask an agent (nothing to build) If you would rather not write code, you do not have to – ask in plain language, as in the [run near the top of this guide](#what-linkedin-x-ray-search-is-and-why-it-works-at-all). That runs through the [MCP server](/mcp/overview) in any MCP client, through the AI-agent-friendly [CLI](/cli/getting-started) in Claude Code, Cursor or Codex, or through a ready-made skill installed with `npx @linkedapi/skills`. Install it, ask, read the results. There are no blocks to drag and nothing to wire, and the agent composes the search from the same filters described below. ### Build it in (compose it yourself) To embed the search in your own product, backend or CRM, call it directly. Pass a keyword `term` alongside the structured `filter` – this is what makes the current-versus-past distinction available at all: ```typescript import LinkedApi from '@linkedapi/node'; const linkedapi = new LinkedApi({ linkedApiToken: process.env.LINKED_API_TOKEN, identificationToken: process.env.IDENTIFICATION_TOKEN, }); const search = await linkedapi.searchPeople.execute({ term: 'growth', limit: 25, filter: { position: 'Head of Growth', locations: ['Berlin'], currentCompanies: ['Acme', 'Globex'], }, }); const { data: people } = await linkedapi.searchPeople.result(search.workflowId); for (const person of people ?? []) { console.log(person.name, person.headline, person.publicUrl); } ``` The Python SDK has the same method (`search_people` with a `SearchPeopleFilter`). Swap `currentCompanies` for `previousCompanies` and you have the search Google cannot express: people who used to work somewhere and no longer do. The same search runs from the shell: ```bash linkedin person search --term "growth" --limit 25 --position "Head of Growth" --locations "Berlin" --current-companies Acme,Globex --json ``` Two honest notes on the output. A search returns search results – name, profile URL, headline, location – and not full profiles; pulling experience, education, skills or posts is a separate `fetchPerson` call, covered in the [profile scraper guide](/guides/linkedin-profile-scraper). And results never include personal email addresses or phone numbers. Full parameters are in the [people search docs](/docs/searching-for-people) and [person data docs](/docs/retrieving-person-data); if you would rather build the query in LinkedIn's UI and hand over its URL, the [boolean search guide](/guides/linkedin-boolean-search) covers that route. If you source in Sales Navigator, the `nv` variants take the same shape with extra filters such as years of experience – see the [Sales Navigator scraper guide](/guides/linkedin-sales-navigator-scraper). For the wider picture of getting LinkedIn data without maintaining a scraper, start from [how to scrape LinkedIn](/guides/how-to-scrape-linkedin). ## When X-ray is still the right tool X-ray is not a worse version of API search. For several jobs it is simply the correct choice, and switching would be overkill: - **One-off lookups.** Finding one person once does not justify an account, a seat or a line of code. - **No LinkedIn account, or a locked-down one.** X-ray runs logged out. It never touches your account, so it consumes nothing and risks nothing. - **Zero budget.** It is free, permanently. - **Checking what is publicly visible.** If you want to see how someone appears to the outside world, X-ray shows exactly that, because that is all it can see. There is a third option worth naming honestly. If what you want is a finished interface with sourcing, sequences and campaign management already built in, a closed automation suite is a reasonable answer, and several exist. Linked API is the opposite trade: primitives you compose, embedded wherever you need them, or driven by an agent – which is the right shape when the search feeds your own product or workflow, and the wrong shape when you wanted a ready-made UI. ## Is X-ray search safe for your account? X-ray itself touches nothing. You are logged out and running a Google query, so LinkedIn sees no activity from you at all, and none of your account's search allowances are consumed. The [limits guide](/guides/understanding-linkedin-limits) covers what LinkedIn's own in-app search costs you by comparison. Running searches through the API is different, because that genuinely uses your account – so it is built to behave like you. Each account gets a real, dedicated cloud browser that you authorize once through LinkedIn's own sign-in flow; Linked API never stores your password. Actions run at a human pace, and you set the per-action ceilings yourself, per day, week or month. See [safety](/safety) for how that works in practice. ## Frequently Asked Questions (FAQ) #### What is LinkedIn X-ray search? It is the technique of finding LinkedIn profiles through Google instead of LinkedIn's own search, by restricting Google to LinkedIn's profile pages with `site:linkedin.com/in/` and adding the words you expect on the profile. It works on public profiles, while logged out, and requires no LinkedIn account. #### Is X-ray search the same as LinkedIn boolean search? No, though they are easy to confuse because both use boolean logic. Boolean search runs inside LinkedIn on your own account, using LinkedIn's operators and its filter fields. X-ray runs in Google, against public copies of profiles, using Google's operators. The difference is which index you are querying, not which logic you use – see the [boolean search guide](/guides/linkedin-boolean-search) for the in-LinkedIn technique. #### Is LinkedIn X-ray search free? Yes, entirely. It uses ordinary Google search with standard operators, so there is nothing to buy and no seat to hold. The cost is your time building strings and copying results by hand. #### Do I need a LinkedIn account to run an X-ray search? No. That is one of its real advantages. X-ray reads public profiles through Google while you are signed out, so it never touches a LinkedIn account and never consumes any account's search allowance. #### Why does my X-ray search return so few results? Usually one of four reasons: your quoted phrases are stricter than the wording on the profiles; the `site:` operator does not necessarily return everything Google has indexed under that path; some members have narrowed which sections of their public profile are visible to search tools; or Google has not re-crawled the profiles since they changed. There is no fixed result cap to work around – tighten or loosen your terms and compare. #### Does `intitle:` work in LinkedIn's own search box? No. `intitle:` is a Google operator and only works in Google. LinkedIn's own search has no `title:`-style field command – you use its boolean operators and its filter fields instead, which the [boolean search guide](/guides/linkedin-boolean-search) covers. #### Can X-ray search find email addresses or phone numbers? Only by accident. If a member published contact details in a public section of their profile and Google indexed that text, it can surface – but it is not a reliable contact source and most profiles will not yield one. Linked API does not return personal email addresses or phone numbers either; searches and profile fetches return LinkedIn profile data. #### Does X-ray search count toward LinkedIn's search limits? No. You are querying Google, not LinkedIn, so LinkedIn's commercial-use limit and tier-based result caps do not apply. Those limits apply to searching inside LinkedIn, whether by hand or through an API – the [limits guide](/guides/understanding-linkedin-limits) has the working numbers. #### Can I run LinkedIn searches programmatically instead? Yes. [Linked API](/sdks/installation) runs the search inside LinkedIn on your own account and returns structured results, with filters for position, location, industry, school, and current versus previous employer. You can call it from the REST API, the Node and Python SDKs or the [CLI](/cli/getting-started), or have an agent run it through the [MCP server](/mcp/overview) or a [ready-made skill](/skills). ## Start where the search stops Use X-ray for what it is genuinely good at – free, logged-out, one-off lookups on public profiles. When the search needs to be repeatable, current, or feed something you are building, run it inside LinkedIn instead: ask an agent through the [MCP server](/mcp/overview), the [CLI](/cli/getting-started) or a [ready-made skill](/skills), or build it in with the [REST API and SDKs](/sdks/installation). Every route runs on the same dedicated cloud browser, on an account you own, inside the limits you set. See [pricing](/pricing) for plans. *Facts verified 7 August 2026 – LinkedIn public-profile visibility and refresh statements checked against LinkedIn Help, and Google search-operator behaviour checked against Google Search Help and Google Search Central, on that date.* ## LinkedIn AI Agent: How to Give Your Agent Access to Your Account A LinkedIn AI agent is one that *does* things in your account rather than writing text for you to paste: it runs the search, opens the profiles, sends the connection request, replies in the thread. Getting one working turns out to be less about the agent than about what sits between it and LinkedIn, because that connector decides both what your agent can do and what it holds of yours. > **The short version.** An AI agent needs an authorized way to act on LinkedIn – typically a scoped access token or an authenticated account session. Compare connectors on three things: what authentication material they receive and retain, where the actions execute, and which actions and limits they expose. Those answers shape your exposure, your control and your capability. ## What is a LinkedIn AI agent? Two different things share the name, and mixing them up is why setup advice often does not match what you wanted. | | What it does | Where it runs | The ask that fits | |---|---|---|---| | **Writing assistant** | Drafts posts, comments and replies for you to publish yourself | In the chat window | "Write me a post about our launch" | | **Acting agent** | Runs actions in your account – search, read, connect, message | Through a connector holding an authorized session | "Find heads of sales in Berlin and connect with the ones who fit" | Here is the acting kind at work – the ask from the table, as an agent runs it through Linked API on your own account: **You:** Find heads of sales in Berlin I'm not connected to yet. Keep the ones who run sales at a software company and have posted in the last 30 days, and draft a connection note under 200 characters for each that refers to something they wrote. Send nothing until I approve. **Agent** (used Linked API: search_people, fetch_person ×25, fetch_company ×13): - "head of sales", located in Berlin, 2nd- and 3rd-degree only – 25 people - current role and company, posts from the last 30 days - industry of each current employer, for the 13 people with a recent post who still lead sales - 9 kept – sales leads at software companies with a recent post 9 fit and 9 notes are drafted. 16 skipped: 3 whose current role is no longer in sales leadership, 9 with no posts in the last 30 days, 4 at companies outside software. Nothing has been sent. Three of the 25: | Person | Current role | What they wrote | Draft note | | --- | --- | --- | --- | | Lena K. | Head of Sales, HR software company | A post on rebuilding the team's discovery calls | "Hi Lena – your post on rebuilding discovery calls was a good read. Would be glad to connect." | | Jonas W. | Head of Sales DACH, logistics software company | A post on hiring the first SDRs in Berlin | "Hi Jonas – your post on hiring the first SDRs struck a chord. Happy to connect." | | Miriam S. | Head of Sales, e-commerce brand | A post on wholesale partnerships | SKIP – company outside software | *Nothing goes out until you approve; then the agent sends the approved requests at a human pace on your own account, within the limits you set.* *Example run. Works on a regular LinkedIn account – no Sales Navigator seat needed. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* This guide covers the second kind. If all you want is better copy, a writing assistant is the cheaper answer and none of the setup below applies. ## How can an agent reach your account? An agent has no standing on LinkedIn by itself. Something has to carry authorization on your behalf, and the options differ on two axes: **what authentication material that connector receives and retains**, and **where the actions actually execute**. These are the common models, not an exhaustive taxonomy: | Model | Authentication material held | Where actions execute | What that means for you | |---|---|---|---| | Credential-based | Your LinkedIn password, used to obtain session cookies | Vendor side, varies by implementation | The connector holds your credentials | | Cookie-based | Your `li_at` session cookie | Vendor side, varies by implementation | The cookie expires, so you reconnect on a cycle | | Official tokens | An OAuth token, scoped to what LinkedIn grants | LinkedIn's public API | A narrow, well-defined surface – see [LinkedIn API access](/guides/linkedin-api-access) | | Local browser extension | Your own logged-in browser session | Your machine, your browser | Requires your browser and device to stay available; controls and pacing vary by implementation | | Wire-level client | Session material, held vendor side | Reverse-engineered calls to private endpoints | Traffic that is not a browser session | | Hosted browser session | An authorized session inside a browser bound to your account | That hosted browser | You connect the account once and the session persists | Two things are worth being precise about. First, every logged-in browser necessarily contains session state, so the useful question is never "cookies or no cookies" – it is who *receives and retains* what. Second, the third comparison dimension from the summary above, which actions and limits a connector exposes, is not in this table on purpose: it is answered by the next two sections. [Linked API](/) is one implementation of the last row. You sign in once through LinkedIn's own flow, the account gets its own dedicated cloud browser, and every action afterwards happens on LinkedIn's real pages at a human pace. Linked API never stores your password. ## What can an AI agent actually do on LinkedIn? The ceiling is set by the actions your connector exposes, not by how clever the model is. These are the operations available to an agent through Linked API, grouped by what the agent is trying to accomplish: | Group | Operations | Typical agent task | |---|---|---| | **Find** | `search_people`, `search_companies`, `search_jobs` | "Find product managers at fintech companies in Amsterdam" | | **Read** | `fetch_person`, `fetch_company`, `fetch_post`, `fetch_job`, `retrieve_connections`, `retrieve_feed`, `retrieve_ssi`, `retrieve_performance` | "Pull their experience and skills, and tell me who moved roles recently" | | **Act** | `send_connection_request`, `withdraw_connection_request`, `accept_invitation`, `send_message`, `react_to_post`, `comment_on_post`, `reply_to_comment` | "Connect with the ones who fit, with a note referencing their last post" | | **Monitor** | `sync_inbox` and `get_inbox`, `sync_network` and `get_network`, `check_connection_status`, `retrieve_pending_requests` | "Tell me who accepted and who replied since yesterday" | Each of these has a guide of its own with the depth this page skips: [profile data](/guides/linkedin-profile-scraper), [company data](/guides/linkedin-company-scraper), [messaging](/guides/how-to-automate-linkedin-messages), [connection requests](/guides/how-to-automate-linkedin-connection-requests), [posting](/guides/how-to-automate-linkedin-posts), [pending invitations](/guides/linkedin-pending-invitations) and [your SSI](/guides/linkedin-social-selling-index). The full list, including the Sales Navigator operations, is in [available tools](/mcp/available-tools). Put together, these operations run complete workflows, and each has a walkthrough of its own: - **Sales:** [AI sales prospecting](/guides/ai-sales-prospecting-linkedin) from an ideal-customer profile to a first invitation, an [ideal customer profile template](/guides/ideal-customer-profile) an agent fills from your best customers, a [lead qualification checklist](/guides/lead-qualification) that marks what LinkedIn can answer and what to ask on the call, [what to write in a connection request](/guides/linkedin-connection-request-message) and when to skip the note, [B2B buying signals](/guides/linkedin-buying-signals) routed to action, [mapping a buying committee](/guides/b2b-buying-committee) at a target account, whether to buy an [AI BDR](/guides/ai-bdr) or assemble your own, [Claude for sales](/guides/claude-for-sales) and [ChatGPT for sales](/guides/chatgpt-for-sales) – LinkedIn call prep and follow-up – [LinkedIn advanced search](/guides/linkedin-advanced-search), which filters each plan gives you and how to re-run a search for new people only, [account-based selling](/guides/account-based-selling) – tiers, plays and a weekly account review – [founder-led sales](/guides/founder-led-sales), from the first customers to handing outbound legwork to an agent and then to your first sales hire, [lead generation for software development companies](/guides/software-development-lead-generation), from open engineering roles to the CTO, [how freight brokers find shippers](/guides/how-to-find-freight-shippers) with LinkedIn's industry filters and a short note before the call, [MSP lead generation](/guides/msp-lead-generation) – the owner or office manager at small businesses in your niche, and co-managed deals with in-house IT – [cybersecurity lead generation](/guides/cybersecurity-lead-generation) – reaching CISOs and IT leaders with proof instead of fear – and [biotech lead generation](/guides/biotech-lead-generation) for CDMOs, CROs and lab suppliers, starting from who evaluates what you sell. - **Marketing:** [LinkedIn social listening](/guides/linkedin-social-listening) as a weekly digest, and a [Claude Code content workflow](/guides/claude-code-linkedin-marketing) for research, briefs and drafts. - **Recruiting:** [AI candidate sourcing](/guides/ai-candidate-sourcing-linkedin) without a Recruiter seat, [talent mapping](/guides/talent-mapping-recruitment) of a market, how to [engage passive candidates](/guides/passive-candidates) with research-first outreach, whether to use LinkedIn's Hiring Assistant, buy a vendor agent or [assemble an AI recruiting agent](/guides/ai-recruiting-agent) of your own, and – for agencies – [recruitment business development](/guides/recruitment-business-development): winning clients from companies that are hiring, and [AI for staffing agencies](/guides/ai-for-staffing-agencies) – what to automate first across the desk. - **Go-to-market operations:** the LinkedIn layer of a [GTM engineer's](/guides/gtm-engineer) stack, [CRM hygiene](/guides/crm-hygiene) – keeping contact titles and companies current with a review queue – [exporting LinkedIn search results](/guides/export-linkedin-search-results) to a spreadsheet or CRM, filtering searches by the exact labels in [LinkedIn's industry list](/guides/linkedin-industry-list), and [deal sourcing](/guides/deal-sourcing) for PE and VC teams. Sales Navigator has its own parallel set of operations, prefixed `nv_`. Those need a Sales Navigator seat on the account; everything in the table above does not. ## How do you connect an agent and run a first action? The sequence is the same whichever surface you pick, and the order matters – limits before the first run, reads before writes. **1. Connect the account once.** Sign in through the platform, which opens the account's dedicated cloud browser. This is the only step that touches LinkedIn credentials, and it happens on LinkedIn's own pages. **2. Choose a surface.** Two working modes – run it out of the box, or build it in – across four surfaces, all first-class. Pick by how you want to work, not by how much you want to build: | Surface | How you start | Best for | What to know | |---|---|---|---| | **Ready-made skills** | `npx @linkedapi/skills add linkedin`, or `add linkedin-growth` for hands-off network growth | You want the outcome, not the wiring – install and ask | Two published skills; needs Node.js 20+, the CLI and your tokens, and the installer checks for them | | **MCP server** | [Installation](/mcp/installation) | Claude, Claude Code, ChatGPT, Codex, Cursor, VS Code, Windsurf | Your agent has to speak MCP | | **Shell CLI** | `npm install -g @linkedapi/linkedin-cli`, then `linkedin setup` | Agents that run shell commands, plus your own scripts and CI | Shell-shaped output rather than a typed client | | **REST API and SDKs** | [Node and Python SDKs](/sdks/installation) | Embedding the actions inside your own product or backend | You build and maintain the orchestration | ![The execution path for a LinkedIn AI agent: an agent such as Claude, Claude Code, ChatGPT, Codex or Cursor reaches Linked API through four surfaces – a ready-made skill, which runs on the shell CLI; the shell CLI directly; the MCP server; or the REST API and SDKs; inside Linked API the configured per-action limits gate every request before it reaches the account's dedicated cloud browser, which acts on LinkedIn](/images/guides/linkedin-ai-agent-execution-path.webp) **3. Set your tokens and your limits before the first run.** The surface needs your Linked API token and identification token. This is also the moment to configure per-action limits, covered in the next section. Set your own caps before the first run; otherwise that run uses the system defaults rather than your custom limits. **4. Test with a read.** Ask the agent for something that changes nothing: fetch a profile, run a search, pull your connections. You are checking that the account is connected, the output is what you expected, and the agent is calling the operation you thought it would. **5. Then approve a write.** Only once reads behave, let it send a connection request or a message – and read the copy it drafted before it goes out. ## What limits can you put on what the agent does? An agent will do exactly as much as you let it, which is a problem when the instruction was vague. Two distinct things help here, and they are worth keeping apart, because only the first is enforced by the platform. **Enforced by the platform.** You configure per-action limits on the account by category and period – 12 categories, including connection requests, messages, searches, reactions, comments, posts, profile views and skill endorsements, each settable for a `daily`, `weekly` or `monthly` window. An action that would cross a cap returns a `limitExceeded` error instead of executing. An enforced ceiling makes the agent's maximum activity predictable by action category and period. The [Limits API](/docs/admin-limits) covers reading defaults, setting your own and resetting them. Worth stating plainly: limits govern the volume and pace you configured. They are a control you set, not a guarantee about anything else. **Your own operating practices.** These are not platform behaviour, they are how you work: read before you write on a new setup, review outbound copy before it sends while you are still learning what the agent drafts, and start below the volume you eventually want. For LinkedIn's own position on automation and account restrictions, see our guide to a [restricted LinkedIn account](/guides/linkedin-account-restricted); the working numbers live in [understanding LinkedIn limits](/guides/understanding-linkedin-limits). ## When an agent is the wrong route An agent driving a session is interactive and non-deterministic. That is the point when you are exploring, and a drawback when you are not: - **You need the same job to run identically every night.** Scheduled, repeatable, auditable work belongs in your own code, calling the same operations through the REST API or the SDKs. You give up the plain-language interface and get determinism and logs in exchange. - **Your volume exceeds what an account can do.** Everything here runs through one LinkedIn account at a human pace, whichever surface you choose – the API is not a faster lane. Work that needs to move faster than an account can act does not fit this model at all. - **You only want better copy.** A writing assistant drafts your posts and comments without any of this setup. ## Frequently Asked Questions (FAQ) #### What is a LinkedIn AI agent? An AI agent that performs actions in a LinkedIn account rather than only generating text – searching for people, reading profiles, sending connection requests and messages, reacting and commenting. It reaches the account through a connector that holds an authorized session or token, and what that connector exposes sets what the agent can do. #### Can ChatGPT or Claude use my LinkedIn account directly? Not on their own. A model has no standing on LinkedIn until you connect it to something that carries authorization on your behalf. In practice that means adding a connector – an MCP server, a command-line tool the agent can run, or an API your own code calls – and pointing your agent at it. #### Do I have to give an AI agent my LinkedIn password? That depends entirely on the connector, and it is worth checking before you pick one. Some models take your password or your session cookie; token-based routes take neither. With Linked API you sign in once through LinkedIn's own flow to authorize a dedicated cloud browser for the account, and your password is never stored. #### Which AI agents and clients work with Linked API? Two separate paths. Any MCP client connects through the MCP server – Claude, Claude Code, ChatGPT, Codex, Cursor, VS Code and Windsurf among them. Separately, any agent that can run shell commands works through the CLI, which is how Claude Code, Cursor and Codex are typically driven, and which also suits scripts and CI. #### What can an AI agent not do on LinkedIn? It cannot exceed what the connector exposes or what the account itself can do. It has no access to data LinkedIn does not show that account, it cannot outpace a human-paced session, and it does not return personal email addresses or phone numbers. Sales Navigator operations additionally require a Sales Navigator seat. #### How many actions per day should I let an agent run? You decide, per action category and per day, week or month, and the platform holds that ceiling. There is no published universal number that applies to every account, so treat the cap you configure as your control rather than looking for an official figure. The [limits guide](/guides/understanding-linkedin-limits) collects the working numbers. #### Do I need Sales Navigator for an AI agent to work? No. Standard search, profile and company data, messaging, connections, posts and analytics all work on a regular LinkedIn account. A Sales Navigator seat is needed only for the `nv_` operations, which run inside Sales Navigator itself. #### How much does it cost to run an AI agent on LinkedIn? Linked API is flat per seat, from $49 per month billed annually, with no per-lead or per-credit metering – the agent calling an operation a hundred times costs the same as calling it once. See [pricing](/pricing) for the current plans. ## Give your agent an account it can actually use Pick the route that matches how you work. Install a [ready-made skill](/skills) and ask in plain language, connect the [MCP server](/mcp/overview) to your assistant, drive the [CLI](/cli/getting-started) from Claude Code, Cursor or Codex, or build it into your own product with the [REST API and SDKs](/sdks/installation). Every route runs on the same dedicated cloud browser, on an account you own, inside the limits you set. ## LinkedIn API Access: What Standard Developer Access Gets You LinkedIn API access begins the same way for everyone: you arrive at the developer portal with a specific job in mind, create an application, open the Products tab, and find the list of things you can switch on is far shorter than expected. This guide covers exactly what standard developer access grants, how to set it up, and what to do about the jobs it does not cover. > **The short version.** Only a small set of LinkedIn products can be enabled without review, and every one of them is scoped to the member who authenticates: reading that member's own name, headline, photo and primary email through Sign in with LinkedIn, and posting or commenting as that member through Share on LinkedIn. Verified on LinkedIn adds a self-serve Development tier for testing. There is no endpoint a standard developer account can call to search for arbitrary people, look up another member by profile URL, send ordinary member-to-member messages, or read a member's inbox. For those jobs you drive an account you already own, which is what [Linked API](/pricing) does. ## Does LinkedIn have an API? Yes, but not one general-purpose API. LinkedIn's official APIs are tied to specific products, and most of them are partner programs that need LinkedIn's approval. What any developer can switch on self-serve acts on the member who signs in: their name, headline, photo and email through Sign in with LinkedIn, posting as them through Share on LinkedIn, and, through Verified on LinkedIn's Development tier, verification details for the admin accounts testing your app. There is no general-purpose self-serve API to search members, read other people's profiles or send ordinary messages. The sections below cover [what you can enable](#what-you-can-enable-self-serve-today), [what it does not reach](#what-standard-developer-access-does-not-reach) and [what to build on instead](#what-to-build-on-instead). Here is the other side in practice: two of the jobs self-serve access leaves out – finding people and reading their profiles – run by an AI agent on an account you already own: **You:** Find 10 product managers in Berlin who work in the Financial Services industry and aren't connected to me yet. Open each profile and tell me their current company and what they've posted about in the last 30 days. **Agent** (used Linked API: search_people, fetch_person ×10): - "product manager", located in Berlin, industry Financial Services, 2nd- and 3rd-degree only, up to 10 – 10 people - current role and company, posts from the last 30 days 10 profiles read: 6 posted in the last 30 days, 4 did not. Nothing was sent. The first rows: | Name | Degree | Current role and company | Posted about (last 30 days) | | --- | --- | --- | --- | | Jonas B. | 2nd | Product Manager, Payments, a Berlin neobank | Rebuilding card onboarding | | Sara L. | 2nd | Senior Product Manager, an insurance startup | A talk on pricing experiments | | Tim H. | 3rd+ | Product Manager, Lending, a banking platform | No posts in the last 30 days | *The rows go to your sheet or CRM; nothing was sent to anyone.* *Example run, fictional people. It runs on your own LinkedIn account in a dedicated cloud browser at a human pace, within the limits you set. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ## What you can enable self-serve today LinkedIn states the rule plainly in its [access documentation](https://learn.microsoft.com/en-us/linkedin/shared/authentication/getting-access): > "Most permissions and partner programs require explicit approval from LinkedIn. Open Permissions are the only permissions that are available to all developers without special approval." These are the Open Permissions, added through the Products tab on your own application: | Product | Permission | What it grants | |---|---|---| | Sign in with LinkedIn using OpenID Connect | `profile` | **Member Auth**: Retrieve authenticated member's name, headline, and photo. | | Sign in with LinkedIn using OpenID Connect | `email` | **Member Auth**: Retrieve authenticated member's primary email address. | | Share on LinkedIn | `w_member_social` | **Member Auth**: Post, comment and like posts on behalf of an authenticated member. | One more route is self-serve and often missed. **Verified on LinkedIn** offers a Development tier you can enable immediately, restricted to admin accounts and intended for testing, plus a Lite tier you request self-serve for consenting members, per [LinkedIn's Verified API documentation](https://www.linkedin.com/help/linkedin/answer/a9385085). Its endpoints take their own scopes: [`/identityMe`](https://learn.microsoft.com/en-us/linkedin/consumer/integrations/verified-on-linkedin/api-reference/identity-me) requires `r_profile_basicinfo`, and [`/verificationReport`](https://learn.microsoft.com/en-us/linkedin/consumer/integrations/verified-on-linkedin/api-reference/verification-report) requires `r_verify_details`, with the older `r_verify` still accepted. Read the pattern rather than the list. **Every self-serve permission acts on the member who just signed in.** You get their details because they authenticated, and you publish as them because they authorised it. Nothing in this set reaches outward to other members. ## How to get self-serve LinkedIn API access The self-serve path is short, and most of the friction is in details that are easy to get wrong. 1. **Create an application** in the LinkedIn Developer Portal. You will be asked to associate it with a LinkedIn Page, so have one ready or create it first – an application cannot exist without it. 2. **Enable your products** on the application's Products tab. Sign in with LinkedIn using OpenID Connect and Share on LinkedIn appear immediately. Verified on LinkedIn is requested from the same tab: accept the terms and the Development tier is provisioned automatically, while Lite is a self-serve request. Anything reviewed shows an application flow instead of a switch. 3. **Configure your redirect URL** on the Auth tab. It must match byte for byte what your application sends, including the scheme and any trailing path, per LinkedIn's [3-legged OAuth flow](https://learn.microsoft.com/en-us/linkedin/shared/authentication/authorization-code-flow). A mismatch fails the authorisation request rather than degrading. 4. **Request only the scopes your enabled products grant.** A scope your application has not been granted is rejected outright, so a request that mixes granted and ungranted scopes returns nothing at all. 5. **Send the member through the authorisation flow**, exchange the returned code for an access token, and make your first call as that member. ## How do I get a LinkedIn API key? LinkedIn does call it an API key – but it is not what authenticates your calls, and that mismatch is why this step stalls. The [3-legged OAuth documentation](https://learn.microsoft.com/en-us/linkedin/shared/authentication/authorization-code-flow) names the credentials in one line: > "Each application is assigned a unique **Client ID** (Consumer key/API key) and **Client Secret**." So the Client ID **is** the API key, and it sits with the Client Secret on your application's **Auth** tab. Neither goes in a request header. You exchange them, plus the member's consent, for an **OAuth bearer access token**, and that token is what authenticates every call – `Authorization: Bearer {token}`. People searching for a LinkedIn API key usually want the second thing and find the first. Three lifespans decide your architecture, and all three come from the same page: | Credential | Lifespan | What it means for you | |---|---|---| | Authorization code | **30 minutes**, "must be used immediately" | Exchange it in the same request cycle, never queue it | | Access token | **60 days** – "all access tokens are issued with a 60-day lifespan" | Nothing you build runs unattended past that window | | Refresh | Repeat the browser authorization flow | Can be **silent** – if the member is still logged in to LinkedIn and their token has not expired, "the authorization screen is bypassed" | The consequence is the part that surprises people. LinkedIn states that "to protect members' data, LinkedIn does not generate long-lived access tokens", and that **"programmatic refresh tokens are available for a limited set of partners"**. A standard application therefore has to send the member back through the browser authorization flow – often invisibly, while their session is alive and the token has not lapsed, but always through the browser. Only approved partners get a server-side refresh token. For a feature a member clicks, that is fine. For a backend job that runs every night, it is a standing dependency on a live member session. ## Is the LinkedIn API free? Yes, today – and LinkedIn says so in writing while reserving the right to change it. Section 8.2 of the [API Terms of Use](https://www.linkedin.com/legal/l/api-terms-of-use) is one sentence: > "The APIs are currently provided for free, but LinkedIn reserves the right to charge for the APIs in the future." The catch is that price was never the barrier. Creating an application and switching on the Open Permissions costs nothing, and everything past that set is not priced but **applied for**, per LinkedIn's [Getting Access](https://learn.microsoft.com/en-us/linkedin/shared/authentication/getting-access) documentation: - **Marketing** – Advertising API access "must be approved", requested through the Developer Portal. - **Sales** – the Sales Navigator endpoints require approval as a **SNAP partner**. - **Talent** – Recruiter System Connect, Apply Connect and Premium Job Posting go through the talent-partner application. - **Compliance** – "listed for reference purposes only. Access is closed and may not be requested." So the question behind the question – *can I pay to unlock people search, profile lookup or messaging?* – answers itself. **Cost is not the gate. Approval is**, and Compliance is closed at any price. That is why searching for LinkedIn API pricing returns so little: the APIs that are free are the ones you can have, and the ones you want are not sold. A price appears only on the account-based route – [Linked API](/pricing) is flat per seat from $49/mo billed annually, with no per-lead or per-credit metering. ## Where the LinkedIn API documentation lives Not on linkedin.com, which is why searching the site for it comes up short. LinkedIn's developer documentation is published on **Microsoft Learn**, under [`learn.microsoft.com/en-us/linkedin`](https://learn.microsoft.com/en-us/linkedin/). | What you want | Where it is | |---|---| | The permissions table and what needs approval | [Getting Access](https://learn.microsoft.com/en-us/linkedin/shared/authentication/getting-access) | | OAuth flows, credentials, token lifetimes | [Authorization Code Flow](https://learn.microsoft.com/en-us/linkedin/shared/authentication/authorization-code-flow) | | A token for manual testing | The Developer Portal's [token generator](https://www.linkedin.com/developers/tools/oauth/token-generator) | | Your app's live scopes | The **Auth** tab in the [Developer Portal](https://www.linkedin.com/developers/apps) – it "will show current scopes available" | Read the Auth tab as the source of truth over any document, including this one: the docs describe what exists, while the tab shows what *your* application was actually granted. ## What standard developer access does not reach Four jobs come up constantly, and none of them is reachable this way: ![Self-serve LinkedIn access covers you, not other people: included are your own name, headline and photo, your email address, posting as you, and your verified identity, all granted when you sign in; not included are finding people, reading a profile, sending a message and reading an inbox, which need an account you already own](/images/guides/linkedin-api-access-scope.webp) Some of these capabilities do exist inside narrowly scoped reviewed and partner integrations, which are bound to a product context rather than exposed as general-purpose endpoints and are [approval-gated](https://learn.microsoft.com/en-us/linkedin/shared/authentication/getting-access). If you work in Sales Navigator, that picture is covered in our [Sales Navigator API guide](/guides/linkedin-sales-navigator-api). The practical position is simpler than the documentation makes it look: **for these four jobs there is nothing a standard developer account can switch on.** ## Official API or unofficial API: what people actually mean "Unofficial LinkedIn API" is a search term rather than a product category, and it covers several architectures that behave nothing alike. The distinction that decides your risk is not official versus unofficial – it is **whose account acts, and what the tool holds on your behalf**. | Route | Whose account acts | What it holds | Reaches beyond the signed-in member? | |---|---|---|---| | LinkedIn self-serve products | The member who authenticated | An **access token** you obtained with their consent | No – that is the design | | Wire-level clients | Whatever account you point it at | **Private-endpoint requests**, reverse-engineered | Yes, outside anything LinkedIn documents | | Credential tools | An account you own | Your **password**, used to obtain your **session cookies** | Yes | | Cookie tools | An account you own | Your **`li_at` session cookie** | Yes | | Linked API | An account you own | A **real, dedicated cloud browser** working on LinkedIn's own pages at a human pace | Yes | **Linked API never stores your password.** No route eliminates automation risk. What each tool holds on your behalf, however, is a fact you can check before you commit. Approved partner programs are a separate case again: they are official, and some of them do reach past the signed-in member – but they are entered by application, as the permissions table above shows. ## What to build on instead The alternative is to work through an account you already have. The member is you or your team, the account is one you own, and the primitives are exposed programmatically. Both routes below are first-class – pick by how you want to work, not by how much you want to build. ### Build it in – REST, Node and Python SDKs, CLI Compose the primitives and embed them in your product. A search returns each person's `publicUrl`, which you pass straight into a fetch: ```typescript import { LinkedApi } from '@linkedapi/node'; const linkedapi = new LinkedApi({ linkedApiToken: 'your-linked-api-token', identificationToken: 'your-identification-token', }); const workflow = await linkedapi.searchPeople.execute({ term: "Head of Engineering", limit: 10, filter: { locations: ["San Francisco"], industries: ["Software Development"], }, }); const { data, errors } = await linkedapi.searchPeople.result(workflow.workflowId); if (errors?.length) { errors.forEach((error) => console.warn(`${error.type}: ${error.message}`)); } if (data) { for (const person of data) { const detail = await linkedapi.fetchPerson.execute({ personUrl: person.publicUrl }); const result = await linkedapi.fetchPerson.result(detail.workflowId); if (result.data) { console.log(result.data.name, result.data.headline, result.data.location); } } } ``` ```python from linkedapi import LinkedApi, LinkedApiConfig, SearchPeopleParams, FetchPersonParams linkedapi = LinkedApi( LinkedApiConfig( linked_api_token="your-linked-api-token", identification_token="your-identification-token", ) ) workflow = linkedapi.search_people.execute( SearchPeopleParams( term="Head of Engineering", limit=10, filter={ "locations": ["San Francisco"], "industries": ["Software Development"], }, ) ) result = linkedapi.search_people.result(workflow.workflow_id) for error in result.errors or []: print(f"{error.type}: {error.message}") if result.data: for person in result.data: detail = linkedapi.fetch_person.execute( FetchPersonParams(person_url=person.public_url) ) person_result = linkedapi.fetch_person.result(detail.workflow_id) if person_result.data: print( person_result.data.name, person_result.data.headline, person_result.data.location, ) ``` The same primitives cover the other three jobs. Messaging is `sendMessage`, and the inbox is a two-step pattern rather than a single read: `syncInbox` starts monitoring, then `pollInbox` retrieves what has arrived since. The same operations run from the shell as `linkedin person search`, `linkedin person fetch`, `linkedin message send`, `linkedin inbox sync` and `linkedin inbox get`. Each job has its own guide with the depth this page deliberately skips: [people search](/docs/searching-for-people), [profile data](/guides/linkedin-profile-scraper), and [messaging and inbox](/guides/how-to-automate-linkedin-messages). ### Run it out of the box – MCP, the AI-agent-friendly CLI, ready-made skills If you would rather not build the integration at all, an AI agent can do it. Connect the [MCP server](/mcp), point an agent at the [CLI](/cli) from Claude Code, Cursor or Codex, or install ready-made skills with `npx @linkedapi/skills`. You describe the job in plain language and the agent composes and runs the same workflows. Nothing to wire, no flows to configure. ## How to use the LinkedIn API with Python Two different things answer to "LinkedIn API in Python", and the split is the same one that runs through this whole page. LinkedIn publishes an official Python client for its REST products, [`linkedin-api-python-client`](https://github.com/linkedin-developers/linkedin-api-python-client); it changes the syntax, not the scope – the same self-serve permissions and the same approval gates apply, so it will not search people or read another member's profile. For those jobs the Python route is the account-based one: install the Linked API SDK, pass the two tokens from your dashboard, and call the same primitives shown in the search-then-fetch example above. ```python from linkedapi import LinkedApi, LinkedApiConfig, FetchPersonParams linkedapi = LinkedApi( LinkedApiConfig( linked_api_token="your-linked-api-token", identification_token="your-identification-token", ) ) workflow = linkedapi.fetch_person.execute( FetchPersonParams(person_url="https://www.linkedin.com/in/example") ) result = linkedapi.fetch_person.result(workflow.workflow_id) print(result.data.name if result.data else result.errors) ``` `pip install linkedapi` is the whole setup. Every action follows the same `execute` then `result` shape, and the [Python SDK reference](/sdks/methods) lists each one with its parameters; for scraping-specific Python patterns see the [LinkedIn scraper in Python](/guides/linkedin-scraper-python) guide. ## When the self-serve products are the right answer Reach for LinkedIn's own products, not an alternative, when the job actually matches what they do: - **You need members to sign in.** Sign in with LinkedIn using OpenID Connect is built for exactly this, and nothing else should be used for authentication. - **You need to publish as the member who authorised you.** Share on LinkedIn covers posting, commenting and liking on their behalf. - **You need identity verification signals.** Verified on LinkedIn is the route, starting on the Development tier. The account-based route earns its place when the job reaches beyond the authenticated member – reading data about other people, or acting continuously rather than at the moment someone clicks a button. ## Frequently Asked Questions (FAQ) #### Does LinkedIn have a public API? LinkedIn has official APIs, but they are product-specific and mostly approval-gated. The self-serve part covers only the member who signs in – their own basic profile, email, posting as them and their verification details – so there is no public API for searching members, reading other profiles or messaging. #### What LinkedIn API access can I get without approval? The Open Permissions – `profile` and `email` through Sign in with LinkedIn using OpenID Connect, and `w_member_social` through Share on LinkedIn – plus Verified on LinkedIn, whose Development tier is provisioned automatically on accepting the terms and whose Lite tier is a self-serve request. Every one of these acts on the member who authenticated. #### How do I set up self-serve LinkedIn API access? Create an application in the Developer Portal and associate it with a LinkedIn Page, enable your products on the Products tab, set the redirect URL on the Auth tab so it matches your application exactly, request only the scopes your enabled products grant, then send the member through the authorisation flow and exchange the code for a token. #### Why can't I search for people with standard developer access? There is no general-purpose people-search endpoint available to a standard developer account. Search capabilities exist inside narrowly scoped reviewed and partner integrations tied to a product context, not as an open endpoint. The alternative is to run the search through an account you own. #### Can I read another member's profile with standard developer access? No. The self-serve permissions return the authenticated member's own details, not other members'. Reading another member's profile from a URL is not something a standard developer account can enable, which is why account-based routes exist. #### Is the LinkedIn API free? Yes for now: section 8.2 of LinkedIn's API Terms of Use states that "the APIs are currently provided for free, but LinkedIn reserves the right to charge for the APIs in the future". Price was never the barrier, though – everything beyond the Open Permissions is gated by approval rather than payment, with Marketing needing Advertising API approval, Sales needing SNAP partner status, Talent going through the partner application, and Compliance "closed and may not be requested". You cannot pay to unlock people search, profile lookup or member-to-member messaging. #### How do I get a LinkedIn API key? LinkedIn calls your Client ID the API key, but it is not what authenticates a call. The Client ID and Client Secret sit on your application's Auth tab, and you exchange them plus the member's consent for an OAuth bearer access token, which is what the API actually accepts. Access tokens carry a 60-day lifespan, and programmatic refresh tokens go only to a limited set of partners, so a standard application repeats the browser authorization flow – silently while the member is still logged in and the token has not expired. #### Where is the LinkedIn API documentation? On Microsoft Learn, not on linkedin.com – `learn.microsoft.com/en-us/linkedin` holds the permissions table, the OAuth flows and each partner program's space. Your application's Auth tab in the Developer Portal shows the scopes actually granted to you, which is the figure to trust over any document. #### Is there a LinkedIn API for Python? Two, with the distinction that runs through this page: LinkedIn's official `linkedin-api-python-client` wraps its REST products under the same approval gates, so it cannot search people or read other members' profiles; the Linked API Python SDK (`pip install linkedapi`) exposes the account-based primitives – search, fetch, message – on an account you own. #### Is there an unofficial LinkedIn API? Not as an official product, and the phrase covers two different things: wire-level clients that call LinkedIn's private endpoints directly, and account-driven services that operate an account you already own. The useful question is not whether a route is official but whose account acts and what the tool holds on your behalf. #### What do I use when self-serve products don't cover the job? An account-based API that drives a LinkedIn account you already own. Linked API exposes people search, profile fetch, messaging and inbox as programmable primitives through the REST API, Node and Python SDKs and the CLI, or out of the box through MCP, the AI-agent-friendly CLI and ready-made skills. ## Build on the account you already have If the self-serve products cover your job, use them. If your job needs to reach past the member who signed in, Linked API runs those operations on an account you own, through a dedicated cloud browser at a human pace. Embed it through the [REST API, SDKs and CLI](/sdks/installation), or skip the build and let an agent run it through [MCP](/mcp) or [ready-made skills](/skills). Pricing is flat per seat – see [pricing](/pricing). *Facts verified 24 August 2026 – LinkedIn permission names, product availability, endpoint scopes, credential terminology and token lifespans checked against LinkedIn's official developer and help documentation on that date.* ## LinkedIn Sales Navigator API: Access, Documentation and Alternatives (2026) Sales Navigator holds the search filters, lead lists, and account data your team actually works from, and sooner or later someone asks whether the LinkedIn Sales Navigator API can drive all of it from code. The answer that circulates online is a muddle: some pages walk you through applying for access, others say applications are closed, and a few manage both on the same page. This guide states what the official API is, who can actually use it, and what the remaining routes give you. > **The short version.** LinkedIn does run an official Sales Navigator API – the Sales Navigator Application Platform, with three service families – but its own documentation says LinkedIn is **not currently accepting new partners**, adding that it reviews onboarding capacity periodically and will update the page if that changes. So the practical question is which of four situations you are in: you are already an approved partner; your CRM vendor already ships an approved integration; you need a one-off extraction, where an export tool beats any API; or you need repeatable automation on a Sales Navigator seat you own, which is where an account-based platform like [Linked API](/pricing) fits. ## Is there an official LinkedIn Sales Navigator API? Yes, and it is a real product with real documentation: the **Sales Navigator Application Platform (SNAP)**. It is also gated. LinkedIn's [SNAP documentation](https://learn.microsoft.com/en-us/linkedin/sales/) states plainly: > "We are not currently accepting new partners for access to the LinkedIn Sales Navigator API. We periodically review our onboarding capacity and will update this page if availability changes." That second sentence matters. This is a current state, not a permanent one, and any page telling you the programme is simply "closed" is as wrong as one walking you through an application form. SNAP is organised into three service families: | Service family | What it does | Shape | |---|---|---| | **Display Services** | UI modules embedded in your application via iframe or JavaScript SDK: view profiles and accounts, see recent activity and posts, connect and send messages including InMail, plus the Profile Associations API for photos and profile links | Embedded interface | | **Analytics Services** | Bulk export API for activities performed by sales teams, plus seat-holder metadata such as daily [Social Selling Index](/guides/linkedin-social-selling-index), total connections, and total leads saved | Bulk data export | | **Sync Services** | APIs built on top of CRM Sync, using matches between CRM records and LinkedIn to enable data-integrity workflows and CRM UI experiences | CRM integration | One distinction gets blurred constantly, so it is worth being precise. Display Services **does** let a message or InMail be sent – but by a **seller acting inside an embedded UI module** in your application. That is not a raw messaging endpoint, and it is not an automated outbound API. If you read "the Sales Navigator API can send messages" somewhere and pictured a POST request in a nightly job, that is not what is on offer. Use of these APIs is governed by the LinkedIn SNAP Terms of Use unless you have executed a separate signed partnership agreement. On a seat you own, the same search-and-read jobs run from a plain-language ask. Here an AI agent works your Sales Navigator search: **You:** On my Sales Navigator seat, find VPs of Sales in the United Kingdom in the Software Development industry who are 2nd-degree connections – up to 25. Open each lead and give me a list with their current company and location. Don't contact anyone. **Agent** (used Linked API: nv_search_people, nv_fetch_person ×25): - position "VP of Sales", United Kingdom, Software Development, 2nd-degree only, up to 25 – 25 leads - current position and company for each lead 25 leads at 23 companies – two companies have two VPs of Sales each. Nothing was sent. The first rows: | Lead | Current position | Company | Location | Degree | | --- | --- | --- | --- | --- | | Hannah W. | VP of Sales, EMEA | Ledgerline | London, England | 2nd | | Raj P. | VP Sales | Northgate Analytics | Manchester, England | 2nd | | Chloe B. | Vice President of Sales | Brightwell Software | Edinburgh, Scotland | 2nd | *The list goes to your CRM or sheet; nothing was sent to anyone.* *Example run, fictional people and companies. Needs a Sales Navigator seat on the account and the Plus plan. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ## How to get Sales Navigator API access There is no application to file today. SNAP partner onboarding is paused – LinkedIn's own documentation, quoted above, says it is not currently accepting new partners and will update that page if capacity changes. If your CRM already ships a SNAP integration, you get the official surfaces through it with no access request at all. For every other case, Sales Navigator API access means acting on a seat you own: a Sales Navigator subscription on that seat plus an account-based platform that exposes its actions programmatically, which is the route the rest of this guide describes. ## Where the Sales Navigator API documentation lives The official documentation is on Microsoft Learn, not on linkedin.com: [learn.microsoft.com/en-us/linkedin/sales](https://learn.microsoft.com/en-us/linkedin/sales/) holds the Display, Analytics and Sync service references, the SNAP Terms of Use and the onboarding notice. For the account-based route, the Sales Navigator actions are documented alongside the standard ones – start with [`nv.searchPeople`](/docs/action-nv-search-people) and [`nv.sendMessage`](/docs/action-nv-send-message) – with the same surface available from the [CLI](/cli/commands#sales-navigator) and as [LinkedIn Sales Navigator MCP tools](/mcp/available-tools#linkedin-sales-navigator-mcp-tools). ## Which route fits your situation Most guides route everyone through "apply to become a partner". That is the least likely path to be relevant to you. Find your row first. | Your situation | The right route | What you get | |---|---|---| | **You are an approved SNAP partner** | The official Sales Navigator APIs | Display, Analytics, and Sync services under your partnership agreement. Nothing here beats them. | | **Your CRM already ships a SNAP integration** | Your CRM vendor's existing feature | Sales Navigator data inside the CRM you already pay for, with no development work at all | | **You need a one-off extraction** | An export tool or a dataset | A CSV of a saved search, or bulk records with no owned seat | | **You need repeatable automation on a seat you own** | An account-based automation platform | Search, fetch, message, and conversation sync as programmable primitives on your own seat | ## What each route actually gives you ### If you are an approved SNAP partner Use the official APIs and stop reading. You have Display Services for embedded LinkedIn surfaces, Analytics Services for bulk activity export, and Sync Services on top of CRM Sync, all under a signed agreement. No third-party route competes with sanctioned access on a supported contract. ### If your CRM already ships a SNAP integration This is the situation nearly every guide omits, and it covers far more readers than partnership does. You do not need to become a SNAP partner to benefit from SNAP – you need a vendor who already is one. Major CRM platforms ship Sales Navigator integrations built on exactly these services, which is what Sync Services exists for. Before you write any code, check whether the integration you want already exists in your CRM's marketplace. Building an account-based workflow to replicate a feature your CRM already ships is wasted effort. ### If you need a one-off extraction If what you actually need is a spreadsheet of one saved search, an export tool is the right answer and an API is overkill. Sales Navigator does not export leads or accounts to CSV or XLS natively, which is precisely why this tool category exists. Our [Sales Navigator export guide](/guides/linkedin-sales-navigator-scraper) compares the options. The trade-off is that you get a snapshot. There is no workflow, nothing to trigger, and nothing to act on. ### If you need repeatable automation on a seat you own This is the route for teams building Sales Navigator behaviour into a product, backend, or CRM of their own: search, open a lead, send a message, sync the conversation, then poll for the reply, all executed on a Sales Navigator seat you already pay for. More than one product serves this. Unipile covers the same ground on capability, per its own product documentation – search, sending, replies, inbox and conversation sync, and webhooks – so this is not a question of who can do it. The difference is architectural: Linked API drives your own seat through a dedicated real browser session with pacing and per-action limits enforced by the platform, while a reverse-engineered client constructs wire-level requests against LinkedIn's private interface and, per Unipile's own API documentation, its GA v1 leaves pacing to the caller while its v2 beta adds enforced rate limits – a structurally higher-risk position for the account, not a matter of configuration. The full side-by-side is in [Linked API vs Unipile](/vs/unipile). Neither model eliminates risk; automating a real account never does. Neither product is affiliated with, endorsed by, or sponsored by LinkedIn – Unipile states this plainly on its own site, and the same is true of Linked API. What differs is where the safety engineering lives: on [Linked API](/safety) it is the platform's job end to end, in a cloud browser that loads LinkedIn's own pages at a human pace. ## Two ways to run it Both routes below are first-class. Pick the one that matches how you work, not how much you want to build. ### Build it in – REST, Node and Python SDKs, CLI Compose the primitives yourself and embed them in your product. [`nvSearchPeople`](/docs/action-nv-search-people?surface=sdk) returns each person's `hashedUrl`, which is the durable key you pass to [`nvFetchPerson`](/docs/action-nv-open-person-page?surface=sdk): ```typescript const workflow = await linkedapi.nvSearchPeople.execute({ term: "Head of Engineering", limit: 10, filter: { locations: ["San Francisco"], industries: ["Software Development"], }, }); const { data, errors } = await linkedapi.nvSearchPeople.result(workflow.workflowId); if (errors && errors.length > 0) { errors.forEach((error) => console.warn(`${error.type}: ${error.message}`)); } if (data) { for (const person of data) { const detail = await linkedapi.nvFetchPerson.execute({ personHashedUrl: person.hashedUrl, }); const result = await linkedapi.nvFetchPerson.result(detail.workflowId); if (result.data) { console.log(result.data.name, result.data.position, result.data.companyName); } } } ``` ```python from linkedapi import NvSearchPeopleParams, NvOpenPersonPageParams workflow = linkedapi.nv_search_people.execute( NvSearchPeopleParams( term="Head of Engineering", limit=10, filter={ "locations": ["San Francisco"], "industries": ["Software Development"], }, ) ) result = linkedapi.nv_search_people.result(workflow.workflow_id) for error in result.errors or []: print(f"{error.type}: {error.message}") if result.data: for person in result.data: detail = linkedapi.nv_fetch_person.execute( NvOpenPersonPageParams(person_hashed_url=person.hashed_url) ) person_result = linkedapi.nv_fetch_person.result(detail.workflow_id) if person_result.data: print( person_result.data.name, person_result.data.position, person_result.data.company_name, ) ``` The same primitives are available over the [REST API](/docs/actions-overview) and the [shell CLI](/cli/commands#sales-navigator) – `navigator person search`, `navigator person fetch`, `navigator message send`. Outreach itself is a separate job with its own rules; the messaging flow is covered in [How to Automate LinkedIn Messages](/guides/how-to-automate-linkedin-messages). ![Sales Navigator workflow architecture: nv.searchPeople feeds an nv.doForPeople iteration block, which opens each nv.openPersonPage, executed sequentially in a dedicated cloud browser on your own Sales Navigator seat and returning structured JSON, with conversation polling running outside the workflow](/images/guides/linkedin-sales-navigator-api-architecture.webp) Composed as a single workflow, [`nv.searchPeople`](/docs/action-nv-search-people) fans out through an [`nv.doForPeople`](/docs/action-nv-do-for-people) block into an [`nv.openPersonPage`](/docs/action-nv-open-person-page) per result, and the platform runs the whole tree sequentially on your seat. Replies are handled separately: send the message, sync the conversation, then poll for the reply later. ### Run it out of the box – MCP, the AI-agent-friendly CLI, ready-made skills If you would rather not build the integration at all, an AI agent can do it for you. Connect the [MCP server](/mcp) – its [LinkedIn Sales Navigator MCP tools](/mcp/available-tools#linkedin-sales-navigator-mcp-tools) cover search, messaging and inbox sync on a Plus seat – or point an agent at the [CLI](/cli) from Claude Code, Cursor, or Codex, or install ready-made skills with `npx @linkedapi/skills`. You describe the job in plain language – "find heads of engineering at Series B software companies in San Francisco and summarise their recent activity" – and the agent composes and runs the same workflows. Nothing to wire, no blocks to drag. ## When another route is the better choice - **You need one spreadsheet, once.** Use an export tool. An API is a worse answer to a question that ends when the CSV downloads. - **You need bulk records and own no Sales Navigator seat.** A dataset provider is the honest fit. Account-based routes require a seat, because they work through it. - **You want Sales Navigator surfaces inside a CRM UI.** If an approved SNAP integration exists for your CRM, it will beat anything you assemble, and it comes with vendor support. - **You are already an approved partner.** Use what you have. ## Frequently Asked Questions (FAQ) #### Is there an official LinkedIn Sales Navigator API? Yes. The Sales Navigator Application Platform (SNAP) offers Display, Analytics, and Sync services. It is gated to approved partners, and LinkedIn's own documentation states it is not currently accepting new partners, while noting it reviews onboarding capacity periodically and will update that page if availability changes. #### Can I apply to become a SNAP partner? Not at the moment. LinkedIn's SNAP documentation says it is not currently accepting new partners. Third-party guides that walk you through an application flow are describing a process that is not open, though LinkedIn does say it will update the page if capacity changes, so the state is worth re-checking rather than assuming permanence. #### Can the official Sales Navigator API send messages? Partly, and the detail matters. Display Services lets a seller send messages and InMail from inside an embedded UI module in your application. That is a person acting through an interface you have embedded, not a raw messaging endpoint and not an automated outbound API. #### Do I need a Sales Navigator subscription to automate it? Yes. Every route that works through your own seat requires that seat to exist. Sales Navigator is only needed for Sales Navigator actions – standard LinkedIn people, company, and post data does not require it. For what that seat costs per tier, and which accounts need one at all, see our [Sales Navigator cost guide](/guides/linkedin-sales-navigator-cost). #### Can I get emails or phone numbers from Sales Navigator? No. Linked API's Sales Navigator result types carry no email or phone field. Search results return name, hashed URL, position, location, and avatar URL, and a person fetch adds headline, position, and company name. #### What is the difference between a Sales Navigator export tool and an account-based API? An export tool produces a snapshot, usually a CSV, and the job ends there. An account-based API exposes Sales Navigator actions as composable primitives – search, fetch, message, sync – on your own seat, so you can build a repeatable workflow that reads and acts from inside your own code. ## Build it on a seat you own If the official API is not open to you and a CSV is not enough, Linked API runs Sales Navigator workflows on your own seat through a dedicated cloud browser, with pacing and limits enforced by the platform. Embed it through the [REST API, SDKs, and CLI](/sdks/installation), or skip the build entirely and let an agent run it through [MCP](/mcp) or [ready-made skills](/skills). Pricing is flat per seat, from $49 per month billed annually – see [pricing](/pricing). *Facts verified 29 July 2026 – SNAP service descriptions and partner-availability wording checked against LinkedIn's official documentation, and competitor capability claims checked against their live pages, on that date.* ## LinkedIn Scraper in Python: Libraries, Code, and What Each Option Costs Most guides to building a LinkedIn scraper in Python compare the routes on how much code you write. That is the smaller half of the decision. The larger half is what runs your LinkedIn account while the code executes, because the routes differ far more there than they do in what they can extract. This guide covers all three practical routes, with the same extraction written twice so you can compare them directly, and with the current release and repository status of the libraries people usually recommend. One thing to know before you start reading around: a good share of the Python LinkedIn scraping guides you will find are published by companies that sell proxy and unblocking infrastructure – ScraperAPI, Scrapfly and Bright Data among them. They cover the routes that need that infrastructure well. The route that runs through an authenticated account is the one that tends to be missing, which is why it gets equal space here. > **The short version.** The Python routes differ less in what they extract than in what runs your LinkedIn account while they work, and that is what decides whether your account survives the project. Three practical routes. **Linked API's authenticated account API** drives a browser you signed into yourself, at human pace, under per-action limits you set, and returns structured data with no HTML parsing, no selector upkeep and no proxy pool. An **open-source library** is free and fastest to start, but it runs an automated browser on a session file you exported – or, in the Voyager case, calls LinkedIn's private endpoints directly – and you inherit its maintenance: the most popular scraper library rewrote its entire API in its last major version, and the widely referenced Voyager library has not shipped a release since November 2024. A **DIY browser script** gives maximum control and maximum upkeep, with pacing, session handling and infrastructure all yours to build. **No route is risk-free for your account**, so the practical question is which one you can run at a pace your account tolerates. ## The Python options for scraping LinkedIn, compared This page compares the **Python routes**. If your question is which API *product* to buy rather than which library to write against – dataset, real-time scraper, or account-based – that comparison lives in [LinkedIn scraper API](/guides/linkedin-scraper-api), with per-entity coverage and current vendor prices. | Route | What it is | What LinkedIn's servers see | What it costs you | Best for | | --- | --- | --- | --- | --- | | **Authenticated account API (Linked API)** | Hosted browser per account, structured responses | A browser you signed into yourself, acting at human pace under configured limits | Subscription; account-paced | Production pipelines that must keep running | | **`linkedin-scraper`** | Playwright library for profiles, companies, jobs | An automated browser driving authenticated state you exported | Free; you follow its releases and API changes | Getting something working today | | **`linkedin-api`** | Client for LinkedIn's internal Voyager endpoints | Direct requests to private, undocumented endpoints | Free; no release since November 2024 | Reading the approach, not shipping on it | | **DIY Playwright / Selenium** | Your own browser automation | Same as above, with every detail your responsibility | Free; ongoing selector and infrastructure work | Full control, unusual requirements | | **Scrapy** | HTTP crawling framework, no browser | Plain HTTP requests; signed-out unless you build session handling | Free; auth and blocking are yours to solve | Crawling at scale beyond LinkedIn | | **Proxy / unblocker products** | Request infrastructure for public pages | Signed-out public-page requests spread across many addresses | Metered; a different dataset | Bulk signed-out collection | ## What LinkedIn's servers see from each route This is the part most comparisons skip, and it is the one that decides whether a scraper survives contact with production. What follows describes what each route *provides* architecturally. Nobody outside LinkedIn can tell you what its systems flag, and this guide does not try. ### Authenticated account API (Linked API) Each connected account runs in its own dedicated cloud browser on LinkedIn's real pages. You sign in yourself inside that browser, and Linked API never sees or stores your password. The browser keeps a stable residential IP from your region and a consistent device profile, and actions run at human pace – a simple visit-and-like takes around 20 seconds by design. You configure per-action daily, weekly and monthly limits, and the platform enforces them: an action that would cross one returns a `limitExceeded` error instead of executing. The [safety model](/safety) covers the architecture, and the [limits guide](/guides/understanding-linkedin-limits) covers sensible values. ### linkedin-scraper, and any DIY Playwright or Selenium script What this route gives you is **reusable authenticated state**. The library's own quick start calls `browser.load_session("session.json")`, which means a credential-equivalent artifact lives in your filesystem – and, if you are not careful, in your repository. What it does not provide is an account-bound stable device and network identity, or enforced pacing. Beyond that, the footprint depends entirely on your runtime: a script running on your own machine may well use the same region and network the account normally signs in from, and the session itself can be created by logging in manually inside that browser. ### linkedin-api This route is wire-level. In the library's own words, "To retrieve structured data, the LinkedIn Website uses a service they call Voyager. Voyager endpoints give us access to pretty much everything we could want from LinkedIn: profiles, companies, connections, messages, etc." Those endpoints are private and undocumented, which means there is no public compatibility contract behind them. If LinkedIn changes an endpoint, a client that has not adapted can keep sending an outdated request shape, and that shape is potentially distinctive on the server side. Read that alongside the release history below: nothing has shipped since November 2024. ### Scrapy and plain HTTP No browser is involved at all. Authenticated pages require session handling you build and maintain yourself, and without a session you receive only what LinkedIn shows signed-out, which is a much thinner page than the one you see logged in. ### Proxy and unblocker products These distribute signed-out public-page requests across many IP addresses. That is a different architecture solving a different problem, so it is not a like-for-like comparison with account-based throughput – there is no account in the picture at all. ### No route is risk-free Every route on this page, including ours, can end in a restricted account. Architecture changes the shape of the footprint your account leaves, not whether a footprint exists. Our guide to [scraping LinkedIn](/guides/how-to-scrape-linkedin) covers how restrictions actually happen, and the guide to a [restricted LinkedIn account](/guides/linkedin-account-restricted) covers what to do if you hit one. ## The open-source libraries: current release and repository status Both libraries below are recommended constantly in tutorials and forum threads. Their current state is worth checking before you build on either, and it is easy to check from primary sources. ### linkedin-scraper Actively maintained. The current release on [PyPI](https://pypi.org/project/linkedin-scraper/) is **3.1.2**, published 10 April 2026, with several releases earlier that year. Its GitHub repository has around 4,369 stars and 964 forks and was created in 2017. It describes itself as an "Async LinkedIn scraper built with Playwright for extracting profile, company, and job data from LinkedIn." The cost you inherit is API churn, and the project states it plainly in its own README: "**Version 3.0.0 introduces breaking changes and is NOT backwards compatible with previous versions.**" That release replaced Selenium with Playwright in a complete rewrite, moved everything to async/await, restructured the package, and switched to Pydantic data models. Code written against 2.x does not run on 3.x; the migration path offered is to pin the old version with `pip install linkedin-scraper==2.11.2`. That is healthy maintenance, not a defect – a scraper that never changes is a scraper that has stopped tracking its target. But it is work that lands on you rather than on a vendor. One detail to check before embedding it in a commercial product: the `LICENSE` file in the repository is the **GNU General Public License v3**, while the PyPI metadata and the README badge both say Apache 2.0. Those licenses have very different implications for closed-source distribution, so confirm which applies to your use before shipping. ### linkedin-api The current release on [PyPI](https://pypi.org/project/linkedin-api/) is **2.3.1**, published 7 November 2024, and nothing has shipped since. It requires Python 3.10 or newer, and its PyPI metadata lists MIT. Its linked sources are, at the time of writing, unreachable. Under PyPI's "Unverified details" the project lists a GitHub URL as both Homepage and Repository, and a ReadTheDocs URL as Documentation. Both return HTTP 404. The tomquirk GitHub account itself resolves normally, so this is specific to the repository rather than the account, and a control request to another LinkedIn scraping repository returned normally, so it is not a rate-limiting artifact. We report that as observed state and draw no conclusion about why. What it means practically is straightforward: the package is still installable, its source and documentation are not currently reachable at the addresses it publishes, and the wire-level approach described above has had no shipped adaptation for well over a year. ## Rolling your own with Playwright Here is the task both of the next two blocks solve, so you can compare them line for line: **given one LinkedIn profile URL, return the person's name, headline, and location.** The DIY version launches a browser, loads a session you saved earlier, opens the page, and reads three fields: ```python import asyncio from playwright.async_api import async_playwright async def scrape_profile(url: str) -> dict: async with async_playwright() as p: browser = await p.chromium.launch() # storage_state carries the logged-in session you exported earlier context = await browser.new_context(storage_state="session.json") page = await context.new_page() await page.goto(url, wait_until="domcontentloaded") name = await page.locator("main h1").first.inner_text() headline = await page.locator("main div.text-body-medium").first.inner_text() location = await page.locator("main span.text-body-small").first.inner_text() await browser.close() return { "name": name.strip(), "headline": headline.strip(), "location": location.strip(), } print(asyncio.run(scrape_profile("https://www.linkedin.com/in/john-doe"))) ``` Three lines in that snippet are the whole maintenance story. The selectors are illustrative and will not match forever – LinkedIn's class names are generated and its profile layout varies by account type, by whether sections are present, and by which experiment a given page is in. `storage_state="session.json"` is a file holding your authenticated session. And nothing in the script paces anything: it runs as fast as the event loop allows. Scaling this means solving, in order: selector drift, layout variants, pagination, session expiry, retry logic, and eventually request infrastructure. That work never finishes, which is the honest argument for and against the route – it is entirely yours to control, and entirely yours to maintain. ## The same extraction through an authenticated account API The same task, through a connected account. If you only need the data and not the script, an AI agent can do the read for you: connect the Linked API [MCP server](/mcp/overview) to Claude, ChatGPT or Cursor, or give Claude Code or Codex the agent-friendly [CLI](/cli/getting-started), and ask in plain language: **You:** Read these three LinkedIn profiles and give me each person's name, headline and location as a table. Don't change anything on LinkedIn. **Agent** (used Linked API: fetch_person ×3): - name, headline and location Here are the three profiles: | Name | Headline | Location | | --- | --- | --- | | John D. | Software Engineer at TechCorp | San Francisco, USA | | Aisha M. | Data Engineer – pipelines and dbt | Berlin, Germany | | Lucas P. | Backend developer, Python and Go | São Paulo, Brazil | *Example run. The agent uses the same account API as the Python code below, so the results match field for field.* To build it into your own code instead, install the SDK and initialize it with your tokens: ```bash pip install linkedapi ``` ```python from linkedapi import LinkedApi, LinkedApiConfig, FetchPersonParams linkedapi = LinkedApi( LinkedApiConfig( linked_api_token="your-linked-api-token", identification_token="your-identification-token", ) ) workflow = linkedapi.fetch_person.execute( FetchPersonParams(person_url="https://www.linkedin.com/in/john-doe") ) # result() waits for the workflow to finish result = linkedapi.fetch_person.result(workflow.workflow_id) for error in result.errors or []: print("workflow error:", error.type, error.message) if result.data: print({ "name": result.data.name, "headline": result.data.headline, "location": result.data.location, }) ``` No selectors, no session file, no browser to launch. `fetch_person` takes flags for the heavier parts of a profile – experience, education, skills, languages, recent posts – and returns them as typed fields rather than text you parse; the [SDK reference](/docs/action-st-open-person-page?surface=python) has the full parameter list, and [people search](/docs/action-st-search-people?surface=python) covers finding profiles rather than reading a known one. Requests are not instant, and that is deliberate: the workflow runs in a real browser at human pace, so a simple read takes seconds and a heavy one can take minutes. What you get in exchange is that the pacing, the limits and the browser are handled rather than left to your code. **Two ways to use it, both first-class.** You can build it in – the REST API, the [Node and Python SDKs](/sdks/installation), or the [shell CLI](/cli/getting-started) – and embed extraction directly in your own backend. Or you can skip the wiring, as in the agent run above – through the MCP server, the agent-friendly CLI, or ready-made [skills](/skills) installed with `npx @linkedapi/skills`. **On capacity.** Activity capacity is account-bound: exceeding what one account can do means connecting additional accounts, on any route. Each account you connect to Linked API gets its own isolated cloud browser, its own identification token, and its own configurable limits. For entity-specific extraction, the deeper guides carry working code: [profiles](/guides/linkedin-profile-scraper), [companies](/guides/linkedin-company-scraper), [jobs](/guides/linkedin-jobs-scraper), [posts](/guides/linkedin-post-scraper), and [Sales Navigator](/guides/linkedin-sales-navigator-scraper). ## When the DIY route is still the right call Plenty of cases, and they are not consolation prizes: - **You want full control and no vendor dependency.** Your scraper, your infrastructure, your roadmap. Nothing about it can be repriced or deprecated by someone else. - **You are collecting from sources beyond LinkedIn.** If LinkedIn is one target among many, one scraping stack across all of them is simpler than one integration per source. - **You need raw speed on a single account.** Linked API enforces sequential, human-paced execution, so a simple action takes around 20 seconds by design. A Playwright script, and especially a Voyager client issuing direct HTTP requests, leaves pace and concurrency entirely to your code, so its wall-clock rate on one account can be considerably higher. That speed is unmanaged, and the safety burden moves to you – but the raw number is real, and it is a different question from what volume is sustainable, which nobody here can quantify for you. - **You are collecting signed-out public pages in bulk.** At high volume that genuinely bursts harder than any account-based route. It is a thinner dataset, and the legal picture around it is its own subject – our [scraping guide](/guides/how-to-scrape-linkedin) covers it. - **You need a one-off dataset**, once, with no subscription attached. - **You are learning.** Writing the Playwright version teaches you more about how LinkedIn is built than any API call will. ## Frequently Asked Questions (FAQ) #### Can you scrape LinkedIn with Python? Yes, by three practical routes: an open-source library such as linkedin-scraper, your own browser automation with Playwright or Selenium, or an authenticated account API that returns structured data directly. They differ in how much code you maintain and in what runs your LinkedIn account while they execute. None of them is risk-free for the account doing the work. #### Which Python library is best for scraping LinkedIn? It depends on the route you want, and the current state of each is worth checking before you commit. The linkedin-scraper library is actively maintained on Playwright, at version 3.1.2 as of April 2026, with a major API rewrite in 3.0.0 that broke compatibility with 2.x. The linkedin-api library takes the wire-level approach against LinkedIn's internal Voyager endpoints and has not shipped a release since November 2024, with its published repository and documentation URLs currently returning 404. #### Does scraping LinkedIn with Python get your account banned? Account restriction is possible on every route, and nothing described here removes that risk. What triggers it, how LinkedIn's restrictions work, and what recovery looks like are covered in our [guide to scraping LinkedIn](/guides/how-to-scrape-linkedin) and our guide to a [restricted LinkedIn account](/guides/linkedin-account-restricted). #### Can Python scrape emails or phone numbers from LinkedIn? Sometimes, but not reliably, and it is the wrong tool for the job. Members can publish an email or phone number in the [Contact info section](https://www.linkedin.com/help/linkedin/answer/a565128) of their profile, and a logged-in route can read it when the visibility setting makes it visible to that account. But it is optional and visibility-controlled: per LinkedIn Help, the registered primary email is by default visible only to [1st-degree connections](https://www.linkedin.com/help/linkedin/answer/a523134), with member-chosen settings ranging from "only visible to me" to anyone on LinkedIn. That makes LinkedIn an unreliable contact source, and consented enrichment providers are the right lane for it. Linked API result types carry no email or phone field. #### Do I need proxies to scrape LinkedIn in Python? At low volume from an ordinary connection, no. Proxies commonly become necessary infrastructure once you are collecting public pages at scale, which is what proxy and unblocker products are built for. Two things worth separating: that is signed-out collection, and it is not a way to make a single logged-in account go faster. An authenticated account API does not require you to run a proxy pool at all. #### Is there an official LinkedIn API for Python? There is an official LinkedIn API, but not one that covers this use case. Its open access is Sign In with LinkedIn via OpenID Connect, which returns the profile of the member who just authenticated and consented – their own data, not other people's. Broader profile and community access sits behind restricted or vetted partner programs, as Microsoft's own [Getting Access to LinkedIn APIs](https://learn.microsoft.com/en-us/linkedin/shared/authentication/getting-access) documentation sets out, and there is no general people-search or profile-lookup product available by self-service. For the API route in Python – official client versus account-based SDK – see [How to use the LinkedIn API with Python](/guides/linkedin-api-access#how-to-use-the-linkedin-api-with-python). That gap is why the routes in this guide exist. --- If you are deciding between building and buying, the honest split is this: build when control matters more than upkeep, and buy when the extraction has to keep working while you do something else. Our [account safety model](/safety) covers how Linked API runs actions, and [pricing](/pricing) is flat per seat. *Library versions, release dates, and repository status verified 2026-07-28.* ## LinkedIn Account Restricted: Why It Happens and How to Get Back In A LinkedIn account restricted without warning is disorienting in a specific way: the notice names a policy area, and in most reports it does not name the action that crossed a line – while the timer on screen may not appear to move. Most advice you will find fills that gap with numbers nobody published – a "safe" weekly invitation figure, an appeal success rate, a universal timeline. This guide does the opposite. Every claim below is either quoted from LinkedIn's own Help pages and User Agreement, or explicitly labelled as an observation rather than a documented rule. That distinction matters most in the first hour, because the route back is different for each restriction type – and one of them is not a restriction at all, but a phishing message designed to look like one. > **The short version.** LinkedIn documents four restriction categories – content, profile, identity and automated tools – plus a separate invitation restriction and a separate route for accounts someone else got into. Which one you have decides your way back. Invitation restrictions lift on their own, most within a week, and Support cannot remove one if you ask. Automated-activity suspensions re-enable themselves at the time given in your notice, once you disable the tool. Policy restrictions may offer a 48-hour wait-then-agree path, and you can appeal a decision only once. Identity restrictions need ID verification through Persona; a compromised account goes through a different form entirely. Whether other people can still see your profile depends on the type – on the 48-hour path they can, under a full restriction they cannot. If yours was an invitation restriction and it has lifted, start with the two triggers LinkedIn names that you control – many invitations in a short time, and many left pending (more in [how to resume](#how-to-resume-linkedin-activity-without-repeating-this)). An AI agent can set that up on your own account: **You:** My invitation restriction lifted today. Lower my Linked API connection-request limits to 8 a day and 40 a week for now, and show me what's still pending and how old it is. Don't withdraw anything until I approve. **Agent** (used Linked API: admin_get_accounts, admin_set_limits, retrieve_pending_requests): - your connected LinkedIn account - connection requests: 8 a day, 40 a week - 183 pending requests, each with LinkedIn's "sent" age Limits lowered to 8 a day and 40 a week. 183 requests are still pending: 121 were sent three weeks ago or earlier and are marked for withdrawal, 62 are newer. Nothing has been withdrawn. The oldest rows: | Person | Headline | Sent | Plan | | --- | --- | --- | --- | | Lena W. | VP Marketing at a retail chain | 5 months ago | Withdraw | | Omar S. | Operations Director at a 3PL | 3 months ago | Withdraw | | Julia R. | Founder of a staffing agency | 1 month ago | Withdraw | *Nothing is withdrawn until you approve; then the agent withdraws each request at a human pace on your own account.* *Example run. Limits cap the volume and pace of what runs through Linked API. They do nothing about content, profile or identity restrictions, and automation on LinkedIn still carries restriction risk. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ## Which LinkedIn restriction do you have? **First, check that the restriction is real.** Fake "your account has been restricted" messages are an active phishing pattern, and LinkedIn publishes a sample of one: an email subjected "Account Suspended" telling the reader that "a temporary limitations has been placed on your Linkedin account" with a link to continue. The clearest rule is on [LinkedIn's phishing page](https://www.linkedin.com/help/linkedin/answer/a1339266): "LinkedIn will never ask you for your password or ask you to download any programs." Sender address is a weaker signal than people assume – LinkedIn states it "has several email domains, which are determined by our email service provider", and vouches for three specific addresses (`linkedin_support@cs.linkedin.com`, `linkedin@e.linkedin.com`, `linkedin@el.linkedin.com`) without presenting that as an exhaustive list. So a message from some other address is not automatically fake, and one that merely looks plausible is not automatically real. Never follow an appeal link that arrives in a comment, DM or email – open LinkedIn directly and see whether the notice is there. LinkedIn also warns to "be cautious of third-party sites offering assistance with our products." Suspicious email goes to `phishing@linkedin.com`; a suspicious message is reported in-app through the More icon → Report/Block → "It's spam or a scam". Once you have confirmed the notice on LinkedIn itself, match it to a type: | What you're seeing | Restriction type | What's blocked | Official route back | Duration LinkedIn publishes | | --- | --- | --- | --- | --- | | You can still sign in, but you can't send invitations | **Invitation restriction** | Sending new invitations | None needed – [it lifts on its own](https://www.linkedin.com/help/linkedin/answer/a551012) | **Most removed within one week** | | A suspension notice naming automated activity | **Automated-activity suspension** | Your account, for the stated period | [Disable the software or extension](https://www.linkedin.com/help/linkedin/answer/a1340567); it re-enables itself | **The time stated on your suspension notice** | | A policy notice offering another chance after a wait | **Content or policy violation** | Your account – but others can still view and message you | [Wait, then agree to the Professional Community Policies](https://www.linkedin.com/help/linkedin/answer/a1507211) | **48 hours** | | Parts of your profile removed, or access lost after repeated profile edits | **Profile violation** | Varies – from a removed photo to account access | [Sign in and follow the on-screen prompts](https://www.linkedin.com/help/linkedin/answer/a1340522) | Not published | | You're asked to verify your identity | **Identity violation** | Your account | [Verify your identity through Persona](https://www.linkedin.com/help/linkedin/answer/a1342692) | Not published – temporary *or* indefinite | | You can't sign in, or you see changes you didn't make | **Suspected compromise** | Your account | [Report Unauthorized Account Access or Changes](https://www.linkedin.com/help/linkedin/answer/a1340402) | Not published | Three of these six have no published duration. Any page that gives you one for them is guessing. ## Why LinkedIn restricts accounts – what's documented and what isn't [LinkedIn's Account restrictions page](https://www.linkedin.com/help/linkedin/answer/a1340522) lists four categories, and its invitation page lists three more specific triggers. Everything else circulating on this topic is inference. The table separates the two: | Possible trigger | Evidence status | What LinkedIn actually says | | --- | --- | --- | | Content that breaches the Professional Community Policies | **Documented** | "Some violations of our Professional Community Policies may result in permanent account restriction after a single violation." | | Profile content – Name, Profile Photo, Background Photo, Experience or Education | **Documented** | "If you repeatedly add violating content to your profile, we may restrict access to your account." | | A profile that is "intentionally fraudulent or do[es] not reflect your true identity" | **Documented** | Access "may be restricted either temporarily or indefinitely." | | Third-party software or browser extensions | **Documented** | "we don't allow the use of third-party software or browser extensions that scrape, modify the appearance of, or automate activity on LinkedIn's website." | | Invitation volume in a short window | **Documented** | "You've sent many invitations within a short amount of time." | | Invitation quality | **Documented** | "Many of your invitations have been ignored, left pending, or marked as spam by the recipients." | | Excessive invitations plus suspected tooling | **Documented** | "If you send an excessive number of invitations and we suspect the use of an automation tool, we may suspend or restrict your account." | | Size of your pending-invitation backlog | *Community-observed* | No numeric cap is published. See [our limits guide](/guides/understanding-linkedin-limits). | | Acceptance rate | *Community-observed* | No threshold is published. See [the connection limit guide](/guides/linkedin-connection-limit-2026). | | Profile-view velocity | *Community-observed* | No threshold is published. | | Pace of sending within a single day | *Community-observed* | No threshold is published. | Two numbers you will meet repeatedly are worth naming as unpublished: the "safe range is 100 to 200 connection requests per week" figure, and any stated appeal success rate. LinkedIn publishes neither. Its own position on limits is that "All LinkedIn members (Basic and Premium) are subject to invitation limits and restrictions" – with no member-facing number attached. On automation specifically, the [prohibited software page](https://www.linkedin.com/help/linkedin/answer/56347) points at [User Agreement](https://www.linkedin.com/legal/user-agreement) section 8.2, which bars members from: > "Develop, support or use software, devices, scripts, robots or any other means or processes (such as crawlers, browser plugins and add-ons or any other technology) to scrape or copy the Services, including profiles and other data from the Services" and from: > "Use bots or other unauthorized automated methods to access the Services, add or download contacts, send or redirect messages, create, comment on, like, share, or re-share posts, or otherwise drive inauthentic engagement" That is the rule as written, and it applies regardless of which tool you use. We cover what it means in practice, including the *hiQ* case law, in [our guide to LinkedIn scraping](/guides/how-to-scrape-linkedin). ## Why the notice doesn't tell you what you did For invitation restrictions, the silence is deliberate and documented. LinkedIn's [invitation restrictions page](https://www.linkedin.com/help/linkedin/answer/a551012) states plainly: "For your privacy, LinkedIn Support cannot disclose any additional information regarding the type or reason for the invitation restriction on your account." Contacting Support will not produce the missing detail, because withholding it is the policy. Outside that specific case, LinkedIn has not published a rule about disclosure. What readers actually encounter – and this is an observation about the notices, not a documented LinkedIn position – is that a restriction notice names the policy area it falls under rather than the action that crossed a line. So a member sees "Professional Community Policies" or "automated activity" and is left to work backwards. This is why "restricted for no reason" is such a common search: there usually *was* a reason, it simply is not printed on the screen. The practical response is to work from the type in the table above and the documented triggers in the previous section, rather than from a support reply that will not come. ## How to get your account back ### If it's an invitation restriction Do nothing, and do not open a support case. Per LinkedIn: "Most restrictions will automatically be removed within one week. LinkedIn won't be able to remove invitation restrictions upon request." Use the time on something LinkedIn does name: invitations "ignored, left pending, or marked as spam by the recipients" are one of its listed triggers, so withdrawing invitations that have gone stale addresses a documented signal directly. Note the cost before you start: "After you withdraw an invitation, you won't be able to resend an invite to the same recipient for up to three weeks." Our guide to [pending invitations](/guides/linkedin-pending-invitations) covers where both queues live and how withdrawal actually behaves. ### If it's an automated-activity suspension [LinkedIn's instruction](https://www.linkedin.com/help/linkedin/answer/a1340567) is one step: "Review and disable the software or extension that automates activities. Your account will then automatically be re-enabled at the time specified on the suspension notification." Two things follow from that. First, the clock is already set – there is no faster route. Second, repetition escalates: "Repeated suspensions may result in permanent restriction of your LinkedIn account." LinkedIn also offers a second-look contact form for members who want to explain their use, but be aware of its status in LinkedIn's own words: "This feature is being gradually rolled out and is currently available only to some LinkedIn members." If you do not see it, it is not available to you yet. ### If it's a content or policy restriction Where LinkedIn offers [another chance to regain access](https://www.linkedin.com/help/linkedin/answer/a1507211), the path is a wait followed by an agreement: "you'll need to wait 48 hours and then agree to comply with our Professional Community Policies." Three details save a lot of confusion here: 1. **The clock starts when you log in.** "The restriction period begins when you log in, even if the amount of time shown on the screen doesn't change." A frozen-looking counter is not a bug. 2. **Your profile stays visible.** "Your account will still be active to others during this restriction period, meaning other members will be able to view your account and message you." 3. **One appeal per decision.** If you believe the content complies, you can appeal – but "You may appeal each decision only once." Spend it on your strongest case. ### If you're asked to verify your identity LinkedIn's verification partner for account recovery is **Persona** – not CLEAR, which belongs to a separate verified-badge feature and is widely misreported as part of this flow. Per the [identity verification page](https://www.linkedin.com/help/linkedin/answer/a1342692), you supply a photo of a valid government-issued ID card, driver's licence or passport, and may be asked for a selfie to match it. Library and school ID cards are not accepted. Only on your consent does Persona pass LinkedIn your verification result, full name, year of birth, city/state/province/country, ID type and issuer, and a redacted copy of the ID "with only the full name and face portrait being visible". LinkedIn states it does not receive your biometric data, or the numbers, expiry dates or issue dates on the ID. The submitted data is "generally permanently deleted within 14 days of submission". On desktop you scan a QR code to continue on your phone. If you would rather not submit an ID or a photo of yourself and you are "located in Canada, the EU or the UK", LinkedIn offers an alternative: print the Affidavit of Identity, sign it before a Notary Public, then scan and attach it to your support case. ### If someone else got into your account This is a different route from an identity violation, with its own form. Per [LinkedIn's page on unauthorized account access](https://www.linkedin.com/help/linkedin/answer/a1340402), submit the **Report Unauthorized Account Access or Changes** form immediately, and include your profile URL if you have it. If you can still log in, LinkedIn asks you to do all of the following straight away: change your password to one not used anywhere else, turn on two-factor authentication, review your active sessions and sign out of any you do not recognise (individually or everywhere at once), check that the email addresses and phone numbers on the account are current, and secure the personal email accounts tied to it. ## How long does a LinkedIn restriction last? LinkedIn publishes a duration for three situations and no others: | Situation | Published duration | | --- | --- | | Invitation restriction | "Most restrictions will automatically be removed within one week" | | Automated-activity suspension | "the time specified on the suspension notification" | | The policy second-chance path | 48 hours | For profile violations, identity violations and account reviews, **no duration is published**, and for invitation restrictions Support will not discuss the case. If a page gives you "7 to 30 days" or "24 to 48 hours" for those, it is not quoting LinkedIn. Two corrections to the common mental model: **A permanent restriction does not always arrive last.** It is easy to assume permanence is the end of an escalation ladder, but LinkedIn documents three separate paths to it. Some content violations "may result in permanent account restriction after a single violation", and for egregious categories – LinkedIn names child sexual abuse material, terrorism, extremely violent content and egregious sexual harassment – a single violation may end the account. Identity restrictions may be "either temporarily or indefinitely" from the outset. And repeated automated-activity suspensions "may result in permanent restriction". Only the third is an escalation. **Whether people can still see you depends on the type.** On the [48-hour policy path](https://www.linkedin.com/help/linkedin/answer/a1507211), "other members will be able to view your account and message you". Under a [full restriction](https://www.linkedin.com/help/linkedin/answer/a1447823), the opposite is documented: "Other people will no longer be able to find your LinkedIn profile or message you." If your profile has gone from search entirely, you are not on the 48-hour path. ## How to resume LinkedIn activity without repeating this This section assumes you already have your access back and are deciding how to work from here. **Ramp back rather than resuming where you stopped.** LinkedIn publishes no ramp schedule, so treat this as a precaution rather than a documented rule: return well below your previous volume and rebuild gradually. What *is* documented is what to prioritise – two of LinkedIn's listed invitation triggers are things you control directly: sending "many invitations within a short amount of time", and invitations that end up "ignored, left pending, or marked as spam by the recipients". So send fewer in any short window, be more selective about who you send to, and clear the stale pending queue before adding to it. Our [connection request guide](/guides/how-to-automate-linkedin-connection-requests) covers the mechanics, and [the limits guide](/guides/understanding-linkedin-limits) collects the working numbers. **Be clear about where automation stands.** Nothing in this section changes section 8.2 of the User Agreement, quoted above. LinkedIn's position is that third-party software which scrapes or automates activity is not permitted, and that "Automated inauthentic activity violates the LinkedIn User Agreement and can result in temporary or permanent restriction of your account." No product choice makes automation an approved activity, and no configuration removes that risk. What a tool can change is one class of trigger: how much you do and how fast. That is the narrow claim [Linked API](/) makes. Each account runs in its own dedicated cloud browser on LinkedIn's real pages, at human pace with natural pauses – you sign in yourself, and Linked API never sees or stores your password. You then [set per-action limits](/docs/admin-limits) once, by category and by day, week or month, and the platform enforces them: an action that would cross a limit returns a `limitExceeded` error instead of executing, so a script cannot run past a cap you set. You can drive it from your own backend through the REST API, the [Node and Python SDKs](/sdks/installation), or the shell CLI – or skip the wiring entirely and let an AI agent run it through the [MCP server](/mcp/overview), the [agent-friendly CLI](/cli/getting-started) in Claude Code, Cursor or Codex, or a ready-made [skill](/skills). **The honest scope of that.** Enforced caps govern only the volume and pace you configured. They do nothing about content, profile, identity, compromise or report-driven restrictions, which is most of the table in the first section. Linked API still carries restriction risk. Treat configurable limits as one control over one trigger class, not as protection. ## Frequently Asked Questions (FAQ) #### How do I appeal a LinkedIn account restriction? There is no single universal appeal form. The route is the on-screen prompt on your own notice: LinkedIn asks you to "login and follow the onscreen prompts to ask us to revisit our decision." You may appeal each decision only once, so make the strongest version of your case the first time. The separate second-look contact form for automated-activity suspensions exists, but LinkedIn describes it as gradually rolling out and currently available only to some members. #### Can a permanently restricted LinkedIn account be recovered? LinkedIn does not document a recovery path for a permanent restriction, and no honest answer promises one. What it does document is how permanence arises: a single violation in an egregious content category, an identity restriction imposed indefinitely, or repeated automated-activity suspensions. If you believe the decision was an error, the on-screen appeal is the only route LinkedIn publishes, and it can be used once. #### Will people still see my profile while my account is restricted? It depends on the type. On the 48-hour policy path, LinkedIn states that "other members will be able to view your account and message you" even though you cannot get in. Under a full account restriction, LinkedIn states the opposite: "Other people will no longer be able to find your LinkedIn profile or message you." So a profile that has vanished from search indicates a full restriction rather than the temporary policy path. #### Can LinkedIn Support lift an invitation restriction if I ask? No. LinkedIn states that "LinkedIn won't be able to remove invitation restrictions upon request", and that most lift automatically within a week. It also will not tell you why: "For your privacy, LinkedIn Support cannot disclose any additional information regarding the type or reason for the invitation restriction on your account." #### Does LinkedIn restrict accounts for using automation tools? Yes, and it says so directly: "we don't allow the use of third-party software or browser extensions that scrape, modify the appearance of, or automate activity on LinkedIn's website," and such activity "can result in temporary or permanent restriction of your account." Section 8.2 of the User Agreement bars both scraping tooling and bots used to send messages, add contacts or drive engagement. This applies to every tool in the category, without exception. #### What should I do if my account was restricted after someone else accessed it? Use the compromise route, not the identity-verification one. Submit the Report Unauthorized Account Access or Changes form with your profile URL. If you can still log in, change your password to one you use nowhere else, turn on two-factor authentication, review your active sessions and sign out of anything unfamiliar, confirm the email addresses and phone numbers on the account, and secure the personal email accounts linked to it. --- If you are rebuilding an outreach or data workflow after a restriction, our [account safety model](/safety) sets out how Linked API runs actions, and [pricing](/pricing) is flat per seat. *Facts verified 2026-07-27 against LinkedIn Help and the LinkedIn User Agreement.* ## LinkedIn InMail: What It Is, How Credits Work, and When to Use It LinkedIn InMail is the feature everyone has received and few people fully understand: the paid message that lands in your inbox from someone you never connected with. The mechanics behind it – who can send it, what a credit actually costs, when you get one back – are documented by LinkedIn across half a dozen help pages that almost nobody reads in full. This guide pulls the whole picture together, verified against those pages, and adds the part LinkedIn doesn't cover: when spending an InMail credit is actually the right move. > **The short version.** InMail is LinkedIn's paid direct message to people you are **not** connected to – free accounts can't send it. Each paid plan gets monthly credits: Premium Career **5**, Premium Business **15**, Sales Navigator Core **50**, Recruiter Lite **30**, accumulating up to plan-specific caps (15 / 45 / 150 / 120). A credit comes **back** if the recipient accepts, declines, or replies within 90 days – as a rule, only a message that stays unanswered costs you. Subjects run up to 200 characters, the body up to 2,000. There is no unlimited-InMail plan, and outside Recruiter there is no way to buy extra credits – but anyone, including free members, can message **Open Profile** Premium members at no cost. And before spending a credit: a connection request costs nothing and is usually the better first move. ## What is InMail on LinkedIn? Per LinkedIn's [InMail Messages help page](https://www.linkedin.com/help/linkedin/answer/a543895), "InMail messages is a premium feature, and it allows you to directly message another LinkedIn member that you're not connected to." That one sentence carries the two defining constraints: it is **paid**, and it is for **strangers** – people outside your first-degree network whom you could otherwise only reach after they accept a connection request. The free-account boundary is explicit on the same page: "If you have a Basic (free) account, then you can only directly message LinkedIn members that you're connected to." Free members can still *reply* to any InMail they receive, and can message [Open Profile members](#free-inmail-the-open-profile-exception) without paying anything. Two more facts from the same page that most guides skip: - **Credit pools are siloed.** "Premium InMail message credits can't be used to send InMail messages on Sales Navigator or LinkedIn Recruiter" – each product has its own bucket. - **Some people are unreachable by design.** Members who have turned off InMail in their message preferences can't be InMailed at all, at any price. A connection request costs nothing and is usually the better first move; a credit earns its place when you can't wait ([when to spend one](#inmail-vs-connection-request-vs-email-when-to-spend-a-credit)). An AI agent can apply that split person by person, on your own account: **You:** These 10 people at Acme are on our rollout deal, which closes this month; I've marked the 3 I can't wait on. Read each one's recent posts. If we're connected, draft a message; if not, draft a connection note under 200 characters – except the 3 urgent ones, who get a Sales Navigator InMail with a subject under 80 characters and a body under 400. Send nothing. **Agent** (used Linked API: check_connection_status ×10, fetch_person ×10): - 2 connected, 1 with your invitation already pending, 7 not connected – the 3 urgent people among them - current role and posts from the last 30 days 9 drafts are ready: 2 messages to connections, 4 connection notes and 3 InMail drafts for the urgent people – sending those would use 3 of your Sales Navigator credits. One person already has your invitation pending, so nothing new is drafted for them. Nothing has been sent. Some of the rows: | Person | Status | Route | Draft | | --- | --- | --- | --- | | Karen M., CFO | Connected | Message | "Hi Karen – with the rollout closing this month, could we find 20 minutes to walk through the plan?" | | Peter J., VP Procurement (urgent) | Not connected | InMail | Subject "Your rollout sign-off this month" – "Hi Peter, your post on tightening vendor reviews stood out. We're finalising Acme's rollout this month – could we take 15 minutes this week?" | | Lisa D., IT Director | Not connected | Connection note | "Hi Lisa – your post on consolidating IT vendors was spot on. Happy to connect ahead of the rollout." | | Ahmed R., Head of Security | Invitation pending | Wait | No new draft – your invitation is still open | *Nothing goes out until you approve; then the agent sends each one at a human pace on your own account.* *Example run. InMail through Linked API is Sales Navigator InMail only and needs a Sales Navigator seat on the account. A credit comes back if the person accepts, declines or replies within 90 days. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ## How many InMail credits do you get per plan? Credits are the currency of InMail. The Premium and Sales Navigator allowances are documented on LinkedIn's [credits and renewal page](https://www.linkedin.com/help/linkedin/answer/a543695), and the Recruiter figures on its Recruiter help pages: | Plan | Credits per month | Max accumulation | Can you buy extra? | | --- | --- | --- | --- | | Premium Career | 5 | 15 | No | | Premium Business | 15 | 45 | No | | Sales Navigator (all tiers) | 50 | 150 | No | | Recruiter Lite | 30 | 120 | [Packs of 10, max 70 per seat](https://www.linkedin.com/help/recruiter/answer/a414231) | | Recruiter | [150 per license](https://www.linkedin.com/help/recruiter/answer/a745199) | – | Yes | Unused credits roll forward until you hit your plan's accumulation cap – note the caps are plan-specific, not one universal multiplier. New credits arrive "every month, on the first day of your billing cycle." For Sales Navigator there is one wrinkle worth knowing: LinkedIn's own pages currently describe the renewal day differently – the [Sales Navigator credits page](https://www.linkedin.com/help/sales-navigator/answer/a101030) says credits arrive "the first day of each month (in UTC time)," while the general credits page says the last day of the month. Treat the Sales Navigator page as the authority for Sales Navigator. To see your balance: **Me** icon → **Premium features** → **See all features** → expand the **InMail** section – "Credits available" is shown there, per the [view-credits help page](https://www.linkedin.com/help/linkedin/answer/a543685). ## The credit-back rule (and the mechanics that surprise people) The most misunderstood part of InMail is that sending one doesn't necessarily spend a credit for good. LinkedIn's rule, quoted from the [credits page](https://www.linkedin.com/help/linkedin/answer/a543695): "Every InMail message that is accepted/declined or responded to directly within 90 days of it being sent is credited back." Quick Replies count as a response, and on Sales Navigator even "Not interested" and auto-replies qualify. Meanwhile, "a pending InMail message isn't counted as either accepted or declined" – it sits in limbo. So as a rule, only a message that stays unanswered for 90 days costs you – with one documented exception: on Sales Navigator, [deleting an InMail that never got a response does not refund the credit](https://www.linkedin.com/help/sales-navigator/answer/a101030). Well-targeted InMail is close to self-funding; ignored InMail quietly drains the balance. ![Diagram: the life of an InMail credit over the 90 days after sending, per LinkedIn's help pages. Sending an InMail spends one credit from the monthly allowance, then one of three things happens. If the recipient responds within 90 days – accepting, declining, or replying, with Quick Replies counting too – the credit is returned. While the message is still pending it is counted as neither accepted nor declined and the 90-day clock keeps running. If there is silence for 90 days, the credit is gone. A footer notes that on Sales Navigator deleting an unanswered InMail does not refund the credit, and unused credits accumulate up to plan caps of 15, 45, 150, or 120.](/images/guides/linkedin-inmail-credit-lifecycle.webp) #### Can you send a second InMail before they reply? This is where the products genuinely differ, and flattening them into one rule (as most guides do) gets it wrong: - **Premium:** no – per the [credits page](https://www.linkedin.com/help/linkedin/answer/a543695), you can't send another InMail to the same person until they respond to the first. - **Sales Navigator:** yes – a second InMail before any response is allowed, and [it costs another credit](https://www.linkedin.com/help/sales-navigator/answer/a101030). - **Recruiter:** a built-in cooldown – [24 hours before re-messaging the same candidate](https://www.linkedin.com/help/recruiter/answer/a745199), unless they reply sooner. Three more mechanics worth knowing before you budget around credits: Sales Navigator rollover credits "must be used within 90 days"; credits are forfeited if you cancel or switch plans ("your InMail credits won't be transferred"); and Recruiter Lite's purchase option has a skimming gotcha – the balance is hard-capped at 120 per seat at billing renewal, so per LinkedIn's [own example](https://www.linkedin.com/help/recruiter/answer/a414231), a recruiter holding 115 credits receives only 5 of their 30 monthly credits, and the remaining 25 are "skipped and be non-recoverable." ## How much does InMail cost? There is **no standalone per-InMail price** – InMail only comes bundled with a paid plan. For Premium, LinkedIn states "it's not possible to purchase additional InMail message credits outside of the monthly allotment" ([send-InMail page](https://www.linkedin.com/help/linkedin/answer/a546814)), and for Sales Navigator, "at this time, you can't purchase additional InMail credits" ([credits page](https://www.linkedin.com/help/sales-navigator/answer/a101030)). Only the Recruiter products sell extra credits, in packs of 10 for Recruiter Lite, with the price shown only at checkout. So the real question is which plan's monthly grant you are paying for – 5 on Premium Career, 15 on Premium Business, 50 on Sales Navigator, 30 on Recruiter Lite. LinkedIn's plan prices vary by billing period, region, and signup cohort (a consumer price change has been rolling out through 2026), and are displayed at LinkedIn's own checkout rather than on a public price list – so check there. Two things soften the arithmetic regardless of the sticker: credits roll over within your cap, and answered InMail comes back free. ## InMail character limits (and how to send one) Per the current [Send an InMail help page](https://www.linkedin.com/help/linkedin/answer/a546814): the subject line takes "up to 200 characters" and the body "up to 2000 characters." (Many guides still cite a 1,900-character body – the current help page says 2,000.) The subject is optional. Sending one is unglamorous: open the person's profile → **More** → **Message [Name]** → add a subject if you want one → write → **Send**. On mobile, the **Message** button on their profile does the same. If the compose box opens without any credit warning, either you are connected (a regular free message), or the recipient has Open Profile enabled – see below. ## InMail vs connection request vs email: when to spend a credit InMail's pitch is response rates. LinkedIn's own sales-solutions page [claims](https://business.linkedin.com/sales-solutions/b2b-sales-strategy-guides/improve-inmail-response-rates-on-linkedin) InMail gets "a 10-25% hit rate when it comes to soliciting a response from potential clients -- 300% higher than emails with the exact same content" (LinkedIn's number, from an undated page live as of 2026). Its [Talent Blog study](https://www.linkedin.com/business/talent/blog/talent-strategy/these-inmails-get-best-response-rates) of tens of millions of recruiter InMails (May 2022) is more actionable: | Finding | Effect on response rate | | --- | --- | | Keep it under 400 characters | +22% vs the average InMail | | Personalize – don't bulk-send | +15% vs bulk InMails | | Don't send on Friday or Saturday | −4% / −8% vs other days | The honest decision framework, though, starts before the credit. A **connection request** is free, and once accepted, messaging is free forever – for most steady prospecting it is the better first move, and [automating that flow](/guides/how-to-automate-linkedin-connection-requests) scales it. **Email** wins when you already have the address: no credit, no character ceiling, your own tooling. **InMail** earns its credit in two situations: you can't wait for an acceptance (a closing candidate, a time-boxed deal), or connecting is unrealistic (a far-out-of-network executive). What to actually write – openers, follow-ups, cadence – is craft, not mechanics: the [cold outreach guide](/guides/linkedin-cold-outreach-strategies-2026) covers it, and for candidates who are not job-hunting, see [how to engage passive candidates](/guides/passive-candidates). ## Free InMail: the Open Profile exception One carve-out makes "InMail is paid-only" slightly false in practice. Premium members can enable **Open Profile**, which per [LinkedIn's help page](https://www.linkedin.com/help/linkedin/answer/a545663) allows "anyone on LinkedIn to contact a Premium member for free, even if they're not in the sender's network" – no credit consumed, and the sender doesn't even need a paid plan. If a Premium member's profile shows the **Message** button open to you without a credit prompt, that is usually why. The volume is not unlimited: LinkedIn [limits the number of Open Profile messages](https://www.linkedin.com/help/linkedin/answer/a544787) you can send in a given period, without publishing a number. For outbound prospecting, Open Profile members are the cheapest people on LinkedIn to reach – worth identifying deliberately. ## Sending InMail from your own system (in brief) Everything above is manual. If InMail is part of an outreach flow you run in code – a recruiting pipeline, a sales sequence in your own CRM – [Linked API](/), a flexible LinkedIn automation API you can embed in your own product, backend, or workflow, sends InMail programmatically on your own account through a human-paced cloud browser. One scope note, stated precisely: Linked API automates **Sales Navigator** InMail only, via the [`nvSendMessage`](/docs/action-nv-send-message) action, and it requires a Sales Navigator seat on the connected account – it does not send Premium or Recruiter InMail. The API contract is also stricter than the LinkedIn compose box: subject up to **80** characters and text up to **1,900** via the API, versus 200 and 2,000 in the UI – budget copy for the tighter limits when the same message runs both ways. The full flow – the connect-or-InMail branching loop, reading replies, monitoring the inbox, with working TypeScript and Python – lives in [How to Automate LinkedIn Messages](/guides/how-to-automate-linkedin-messages), and the [`nvSendMessage` reference](/docs/action-nv-send-message?surface=sdk) has the exact contract. The action is available across all Linked API surfaces, enumerated below. ## Frequently Asked Questions (FAQ) #### What is the difference between InMail and a regular message on LinkedIn? A regular message is free but only works between 1st-degree connections. InMail is a paid-plan feature that reaches members you are not connected to, spends a credit per send (refunded if they respond within 90 days), and supports a subject line. If you are already connected to someone, LinkedIn simply sends a regular message – no credit involved. Which of the two applies depends on the [degree of connection](/guides/linkedin-connection-degrees) between you. #### How many InMail credits do you get per month? Premium Career gets 5, Premium Business 15, Sales Navigator 50, and Recruiter Lite 30 per month, per LinkedIn's help pages. Unused credits accumulate up to plan-specific caps: 15, 45, 150, and 120 respectively. There is no plan with unlimited InMail. #### Do InMail credits roll over – and do they expire? They roll over up to your plan's accumulation cap (15/45/150/120). On Sales Navigator, rolled-over credits must be used within 90 days. Credits are also forfeited if you cancel or change your subscription type – LinkedIn states they won't be transferred. #### How do I get an InMail credit back? The recipient has to act on your message within 90 days: accepting, declining, or replying all return the credit – Quick Replies count, and on Sales Navigator even "Not interested" qualifies. A message that stays pending returns nothing, and on Sales Navigator deleting an unanswered InMail forfeits the credit. #### Can free LinkedIn members send InMail? No – sending InMail requires a paid plan. Free members can, however, reply to any InMail they receive, and can message Premium members who have Open Profile enabled at no cost, since Open Profile lets anyone on LinkedIn contact that member for free. #### Is there a daily limit on InMail? On the Recruiter products, yes: up to 1,000 InMails per day per seat, with a 200-InMail cap in a new seat's first week, per [LinkedIn's Recruiter help](https://www.linkedin.com/help/recruiter/answer/a745199). Premium and Sales Navigator have no published daily InMail cap – the monthly credit allowance is the effective limit. #### Is InMail spam? The channel itself is not – credits, opt-outs, and the credit-back-on-response mechanic are all designed to make irrelevant InMail expensive and relevant InMail sustainable. Any individual InMail can still be unwanted, which is exactly why recipients can decline it or switch off InMail entirely. Judge the sender and the message, not the mechanism. --- Running outreach on your own account, at any scale? [Start with Linked API](/pricing) – flat per-seat pricing from $49/mo, billed annually – with Sales Navigator InMail and every other action across the full surface set: the [REST API and Node/Python SDKs](/sdks/installation), the shell [CLI](/cli/getting-started), the [MCP server](/mcp/overview), the AI-agent-friendly CLI (Claude Code, Cursor, Codex), and ready-made [agent skills](/skills) (`npx @linkedapi/skills`) – on your own account and at a human pace. ## LinkedIn Pending Invitations: When They Expire and What Withdrawing Does Every LinkedIn account quietly accumulates two queues: connection requests you sent that nobody answered, and invitations other people sent you. LinkedIn does not surface either one prominently, so most people never learn how to see pending connections on LinkedIn at all – and the stale pile grows. This guide covers where both queues live, how to withdraw what has gone stale, and the facts LinkedIn actually documents about what happens next: who gets notified, when invitations expire, and how soon you can try again. > **The short version.** Your pending **sent** invitations live under My Network → Manage invitations → the **Sent** tab (on mobile: My Network → Invitations → Sent); **received** invitations are reached through the Notifications icon – and also from My Network. From Sent, click Withdraw and confirm – and per LinkedIn Help: the recipient is **not notified**, reminder emails stop, the withdrawal can't be undone, and you **can't re-invite the same person for up to three weeks**. Unanswered invitations **expire after six months** (LinkedIn sends up to two reminders first, and once expired you can send a new one), and there is **no native bulk withdraw** – it's one at a time. If the Sent list has grown long, an AI agent can sort it by age and withdraw only what you approve, on your own account: **You:** List the connection requests I've sent that are still pending, oldest first. Mark everything sent three weeks ago or earlier for withdrawal and show me the list – I'll tell you who to keep. Withdraw nothing until I approve, and unfollow the people you withdraw. **Agent** (used Linked API: retrieve_pending_requests): - 64 pending requests, each with LinkedIn's "sent" age - sorted by age: 38 sent three weeks ago or earlier, 26 more recent 64 requests are pending: 38 were sent three weeks ago or earlier and are marked for withdrawal, 26 are newer and stay. Nothing has been withdrawn. Some of the rows: | Person | Headline | Sent | Plan | | --- | --- | --- | --- | | Maria L. | Head of Partnerships at a logistics startup | 5 months ago | Withdraw | | Daniel K. | CTO at a payments company | 2 months ago | Withdraw | | Ana P. | Talent Acquisition Lead at a fintech | 3 weeks ago | Withdraw | | Sven O. | Founder of a design studio | 1 week ago | Keep – too recent | *Nothing is withdrawn until you approve the list; then the agent withdraws each request at a human pace on your own account and unfollows the person.* *Example run. LinkedIn shows each request's age only roughly ("3 weeks ago", "2 months ago"), so the cut-off is approximate. Withdrawn invitations can't be restored, and you can't invite the same person again for up to three weeks. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ## What counts as a pending invitation on LinkedIn? A pending invitation is any invitation that has not been acted on yet, and it exists on both sides: requests **you sent** that the other person has not accepted or ignored, and invitations **you received** and have not answered. Connection requests are the most common kind, but LinkedIn's invitation list also carries other categories – its filters cover [People, Events, Pages, and Newsletters](https://www.linkedin.com/help/linkedin/answer/a540852), so an invitation can also be someone inviting you to an event or to follow a page or newsletter. One side-effect worth knowing, in its exact form: on profiles where **Follow** is the primary button, choosing Connect from the overflow menu means [you automatically follow the person](https://www.linkedin.com/help/linkedin/answer/a702683) while your invitation is pending – and if they decline, you keep following them unless you manually unfollow. ## How to see the connection requests you've sent On desktop, per LinkedIn's [withdraw help page](https://www.linkedin.com/help/linkedin/answer/a568295): 1. Click the **My Network** icon at the top of your LinkedIn homepage. 2. In the Invitations section, click **Show all** – or, if nothing is pending on the received side, click **Manage** next to "No pending invitations". 3. Click the **Sent** tab under **Manage invitations**. On mobile: tap the **My Network** tab → **Invitations** → the **Sent** tab. The Sent tab is the full list of everything still outstanding. The direct address most people end up bookmarking is `linkedin.com/mynetwork/invitation-manager/sent/` – LinkedIn's help pages describe the menu route above, but the URL takes you straight there. ## How to see invitations you've received LinkedIn's current [help page for received invitations](https://www.linkedin.com/help/linkedin/answer/a540852) routes through notifications: on desktop, click the **Notifications** icon at the top of your homepage; on iOS and Android, tap the **Notifications** tab in the navigation bar. Invitations also appear in the **My Network** section on every platform, so either entry works. For each invitation you have two buttons, in LinkedIn's words: "Click Accept to add the person as one of your 1st-degree connections," or "Click Ignore to remove the invitation without accepting it." An invitation waiting here is why a profile can still show "2nd" while the right move is to accept rather than invite – see [degrees of connection](/guides/linkedin-connection-degrees) for how that state differs from the badge. Two details people always ask about: - **Ignoring is silent.** Per the same help page: "The sender won't be notified that you've ignored their invitation, so they may try to connect with you again." - **"I don't know this person"** – the option LinkedIn offers after you ignore – goes further: it prevents that member from sending you further invitations. ## How to withdraw a LinkedIn invitation (and what happens next) From the **Sent** tab (previous section), click **Withdraw** next to the invitation, then confirm in the pop-up. That is the whole mechanism – and LinkedIn's [help page](https://www.linkedin.com/help/linkedin/answer/a568295) documents exactly what it triggers: - **The other person is not told.** "The recipient will not be notified when you withdraw the invitation." - **Reminders stop.** Withdrawing an invitation stops LinkedIn's reminder emails to the recipient. - **It's permanent.** "Withdrawn invitations can't be restored." - **A cooldown starts.** "You won't be able to send a new invitation to the same member for up to three weeks." If you followed the person as part of inviting them (the Follow-primary case from the first section), check your follow state after withdrawing – following is managed separately from the invitation itself. One edge case: if the Withdraw button is missing, the invitation was most likely already accepted – there is nothing to withdraw anymore, but you can still remove them as a connection. ## Do LinkedIn invitations expire? Yes. Per LinkedIn's [connections and invitations FAQ](https://www.linkedin.com/help/linkedin/answer/a554142): "Invitations expire after six months. Before they expire, LinkedIn sends up to two reminders to the recipient." So an ignored request does not sit in your Sent tab forever – LinkedIn retires it on its own schedule. What happens after expiry is the part the FAQ answers directly: "Expired invitations no longer appear as pending, and you can send a new one." Note the asymmetry with withdrawal – the up-to-three-weeks block applies only to invitations **you withdrew**; an invitation that expired on its own can be re-sent right away. ![Diagram: the life of a LinkedIn invitation. A sent invitation ends in one of four states. Accepted – you become 1st-degree connections. Ignored – the sender is not notified and the invitation quietly disappears. Withdrawn – the recipient is not notified, reminder emails stop, and you cannot re-invite the same person for up to three weeks. Expired – after six months and up to two reminders, it no longer appears as pending and you can send a new one. A footer notes sent invitations are managed under My Network, Manage invitations, Sent tab.](/images/guides/linkedin-invitation-lifecycle.webp) ## Why stale pending invitations are worth cleaning up A long Sent list is not just clutter – it is a signal LinkedIn reads. Its [page on invitation restrictions](https://www.linkedin.com/help/linkedin/answer/a551012) lists, among the triggers: "Many of your invitations have been ignored, left pending, or marked as spam by the recipients." Accounts that trip these signals get temporarily blocked from sending invitations; the same page notes that having too many pending invitations out can mean waiting up to a month before sending another, and that most restrictions lift within a week. If that has already happened to you, our guide to a [restricted LinkedIn account](/guides/linkedin-account-restricted) covers how an invitation restriction differs from the other documented types and what the route back is for each. The practical habit: open the Sent tab monthly and withdraw anything older than three or four weeks. If someone has not accepted in a month, the request is functionally dead – withdrawing it keeps your outstanding queue small and your acceptance rate honest. As for how many pending invitations is "too many": LinkedIn does not publicly state a numeric pending-invitation maximum – how invitation restrictions and sending limits work in practice is covered in the [connection limit guide](/guides/linkedin-connection-limit-2026). ## When there are hundreds: managing invitations programmatically Everything above is one invitation at a time – and LinkedIn's help page is explicit that this is the only native way: "You can't bulk withdraw invitations." If you prospect at real volume, the queue becomes a job for code rather than clicks. [Linked API](/) – a flexible LinkedIn automation API you can embed in your own product, backend, CRM, or workflow, running on your own account through a human-paced cloud browser – exposes the whole queue as composable primitives (its withdraw action also unfollows by default, with an opt-out): | Job | API action | CLI | | --- | --- | --- | | List pending sent requests | [`retrievePendingRequests`](/docs/action-st-retrieve-pending-requests) | `linkedin connection pending --json` | | Withdraw a stale request | [`withdrawConnectionRequest`](/docs/action-st-withdraw-connection-request) | `linkedin connection withdraw ` | | List received invitations | [`retrieveInvitations`](/docs/action-st-retrieve-invitations) | `linkedin connection invitations --json` | | Accept or ignore by rule | [`acceptInvitation`](/docs/working-with-invitations) / [`ignoreInvitation`](/docs/working-with-invitations) | `linkedin connection accept ` / `linkedin connection ignore ` | Hosted tools automate this queue too, at the layer of pre-built campaign agents; the primitives above are for wiring it into your own system. The full lifecycle with working code – sending, status checks, pruning stale invites on a schedule, handling incoming – lives in [How to Automate LinkedIn Connection Requests](/guides/how-to-automate-linkedin-connection-requests) and the [working-with-invitations docs](/docs/working-with-invitations), and the same actions are available to AI agents through the [MCP server](/mcp/overview), the AI-agent-friendly [CLI](/cli/getting-started), and ready-made [skills](/skills). ## Frequently Asked Questions (FAQ) #### Can someone see if you withdraw a LinkedIn request? No. LinkedIn's help page states the recipient "will not be notified when you withdraw the invitation" – the request simply disappears from their list, and its reminder emails stop. Keep in mind the withdrawal itself is permanent, and you won't be able to re-invite that person for up to three weeks. #### How long do LinkedIn invitations stay pending? Until someone acts on them – or for six months, whichever comes first. Per LinkedIn's connections and invitations FAQ, invitations expire after six months, with up to two reminders sent to the recipient before that happens. #### Why can't I withdraw a LinkedIn invitation? The usual reason is that it was already accepted – once someone accepts, there is no pending invitation left to withdraw, and your option becomes removing the connection instead. Already-withdrawn invitations also can't be touched again: LinkedIn states withdrawn invitations can't be restored. #### Can you bulk-withdraw LinkedIn invitations? Not natively – LinkedIn's help page says plainly, "You can't bulk withdraw invitations," so the built-in flow is one at a time from the Sent tab. At real volume, the programmatic route in this guide's last section does the same job through an API on your own account. #### What happens if someone ignores my invitation? Nothing visible to you. You are not notified when someone ignores your request – the invitation quietly leaves their list. Ignoring is not a block: LinkedIn notes the sender "may try to connect with you again." #### How many pending invitations can you have on LinkedIn? LinkedIn does not publicly state a numeric pending-invitation maximum. What it does document is the consequence: many invitations left ignored or pending is a listed trigger for invitation restrictions, and too many outstanding invitations can mean waiting up to a month before sending more. How invitation restrictions and sending limits work in practice is covered in the connection limit guide. --- Keeping the queue clean on your own account, at any scale? [Start with Linked API](/pricing) – flat per-seat pricing from $49/mo, billed annually – with every invitation primitive across the full surface set: the [REST API and Node/Python SDKs](/sdks/installation), the shell [CLI](/cli/getting-started), the [MCP server](/mcp/overview), the AI-agent-friendly CLI (Claude Code, Cursor, Codex), and ready-made [agent skills](/skills) (`npx @linkedapi/skills`) – on your own account and at a human pace. ## LinkedIn Posts API and Post Automation (2026): Native Scheduler, Tools, and API Publishing consistently on LinkedIn is one of those jobs that rewards a system and punishes willpower. Writing a good post is real work; pasting it into the composer at the right time on the right account is not – that part is exactly what you should automate. This guide covers how to automate LinkedIn posts at every level: what LinkedIn's built-in scheduler actually does, when a scheduling tool earns its subscription, and how to publish to your profile or company page from your own pipeline in code. > **The short version.** You can automate LinkedIn posts three ways: LinkedIn's **native scheduler** (free, up to 3 months ahead, but manual and one post at a time), a **scheduling tool** (content calendar, approvals, multi-network publishing), or an **API that posts on your own account**. With Linked API's `createPost` you publish to your personal profile or a company page from your own pipeline – a CMS, an RSS feed, a backend job, or an AI agent – with images, video, or a document attached. The rest of this guide is the honest decision path, plus working code. ## Is there a LinkedIn posts API? Yes – for publishing. LinkedIn's official API creates posts, and for some projects it is the right choice; it is not a way to read or collect other people's posts at scale, which is the [post scraper guide](/guides/linkedin-post-scraper)'s territory. The current route is the versioned [Posts API](https://learn.microsoft.com/en-us/linkedin/marketing/community-management/shares/posts-api) (`POST https://api.linkedin.com/rest/posts`, with required `Linkedin-Version` headers), which replaced the legacy ugcPosts/Share endpoints. Access comes in two distinct paths, and it is worth being precise about them. Posting **as a member** (`w_member_social`) is available through the self-serve [Share on LinkedIn](https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/share-on-linkedin) product on a developer app – no review gate for that scope. Posting **as an organization** (`w_organization_social`) and broader content management run through the Community Management API, whose Standard-tier access requires an application form, a screen recording of your app, and test credentials, per [Microsoft's quick-start](https://learn.microsoft.com/en-us/linkedin/marketing/quick-start) (docs as of May 2026). Notably, the Posts API exposes no scheduling parameter – posts are created as published (or draft), so timing logic lives in the caller there too. Build on the official API when you are shipping an approved integration – a social suite, a marketing platform, a product feature for LinkedIn's own ecosystem. For automating your own account's publishing inside your own stack, the app-review path is usually more machinery than the job needs – which is exactly the gap the own-account API route above fills. On your own account, an AI agent can do the publishing step from a plain-language ask: **You:** Here are this week's three drafts for our company page. Publish only the one marked APPROVED, with its chart image (link below), on the Northwind Analytics page, and send me the post link. Leave the other two as they are. **Agent** (used Linked API: create_post): - 1 of the 3 drafts marked APPROVED - the approved text on the company page, with one image attached Published 1 post on the Northwind Analytics page; the other 2 drafts are untouched. Here they are: | Draft | Marked | Result | | --- | --- | --- | | Q3 product update, with chart | APPROVED | Published on the company page – post link returned | | Hiring: two data engineers | Draft | Left as is | | Webinar invite for December | Draft | Left as is | *Only the post marked APPROVED was published; the others wait for your mark.* *Example run, fictional company. Posting on a company page needs admin access to that Page, and the image must be at a public URL. The post goes out when the agent publishes it – the schedule lives in your agent's host. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ## The three ways to automate LinkedIn posts | Route | Cost | Where it runs | Personal / Page | Media | Best for | | --- | --- | --- | --- | --- | --- | | Native scheduler | Free | LinkedIn's composer | Both | What the composer supports (minus the excluded types below) | One person queueing posts ahead | | Scheduling tool | Subscription | The vendor's app | Both | Vendor-dependent | Teams: calendars, approvals, multi-network | | Your own pipeline via [Linked API](/) | Flat [per-seat plan](/pricing) | Your code, on your own account | Both (`companyUrl` for Pages) | 9 images, or 1 video, or 1 PDF | Posting as a feature of your product, backend, or agent | There is also a fourth, narrower route – building an approved developer app on LinkedIn's official Posts API – covered [above](#is-there-a-linkedin-posts-api), because for most people it is an integration project, not an automation setup. ## Can you schedule posts on LinkedIn natively? Yes. LinkedIn's built-in scheduler is free and covers more than most people assume, so start here before adding any tool. For **personal posts**, per LinkedIn's [Schedule posts](https://www.linkedin.com/help/linkedin/answer/a1347212) help page, you can schedule from the clock icon in the composer for any time "within 10 minutes to 3 months from the current time", on both desktop and the mobile app. Scheduled posts are not fire-and-forget drafts: from **View all scheduled posts** you can preview, edit the content, reschedule the time, or delete. Three post types are excluded – LinkedIn's list is "Events, Jobs, Services" – and scheduled times are standardized in UTC based on your device's time-zone settings, which is the usual explanation when a personal post publishes at an unexpected hour. For **company pages**, the [Schedule a LinkedIn Page post](https://www.linkedin.com/help/linkedin/answer/a1419179) help page allows scheduling "anywhere between an hour from the current time to three months in advance" – note the 1-hour minimum lead time, versus 10 minutes for personal posts. The exclusion list is longer: "You can't schedule events, multiple photos, reshares, polls, jobs, and service posts for your Page." Scheduled Page posts are managed from the Page admin view, and one operational gotcha: a scheduled Page post cannot be promoted in Campaign Manager until it has actually published. Where the native scheduler stops is structural, not cosmetic: there is no recurring queue, the horizon is capped at 3 months, every post goes through the composer one at a time, and there are no approval workflows or multi-network calendars. If your bottleneck is any of those, you have outgrown it. ## How to automate LinkedIn posts with an API The programmatic route treats posting as what it is in a real content system: one step in a pipeline you already own. [Linked API](/) is a LinkedIn automation API that runs actions on your own account through a human-paced cloud browser, and its [`createPost`](/docs/action-st-create-post) action is the publishing step: - **Post as yourself or as a company page** – pass `companyUrl` to publish on behalf of a Page you have content-admin access to. - **Text up to 3,000 characters**, matching the composer. - **Attachments:** up to 9 images (JPEG, PNG, GIF, WebP, max 8 MB each), or 1 video (MP4, MOV, WebM, max 200 MB), or 1 PDF document (max 100 MB). Attachment types cannot be mixed in one post. - **Returns the created post's URL**, so your system can store, track, or announce it. One honest mechanic before the code: Linked API has **no scheduled-post queue**. `createPost` publishes when you call it – your cron job, queue worker, or workflow engine owns the timing. That is by design: the point of this route is that scheduling logic lives in *your* system, next to your content. Install the SDK (`npm install -S @linkedapi/node` or `pip install linkedapi`) and publish through `customWorkflow` – posting is a raw-definition action, so there is no dedicated SDK method: ```typescript import LinkedApi from '@linkedapi/node'; const linkedapi = new LinkedApi({ linkedApiToken: process.env.LINKED_API_TOKEN, identificationToken: process.env.IDENTIFICATION_TOKEN, }); const workflow = await linkedapi.customWorkflow.execute({ actionType: 'st.createPost', text: 'We just shipped scheduled exports – here is what changed and why it matters.', attachments: [{ url: 'https://example.com/release-chart.png', type: 'image' }], }); const { data: completion } = await linkedapi.customWorkflow.result(workflow.workflowId); console.log('Published:', completion.data.postUrl); ``` ```python import os from linkedapi import LinkedApi linkedapi = LinkedApi( linked_api_token=os.environ["LINKED_API_TOKEN"], identification_token=os.environ["IDENTIFICATION_TOKEN"], ) workflow = linkedapi.custom_workflow.execute( { "actionType": "st.createPost", "text": "We just shipped scheduled exports – here is what changed and why it matters.", "attachments": [{"url": "https://example.com/release-chart.png", "type": "image"}], } ) completion = linkedapi.custom_workflow.result(workflow.workflow_id).data print("Published:", completion["data"]["postUrl"]) ``` To publish as your company page instead, add `companyUrl: "https://www.linkedin.com/company/your-company"` to the same definition. The same action is one line in the shell [CLI](/cli/getting-started): ```bash linkedin post create "We just shipped scheduled exports – here is what changed" \ --attachments "https://example.com/release-chart.png:image" # Post as your company page linkedin post create "Release 2.4 is live" \ --company-url https://www.linkedin.com/company/your-company ``` ## Build the pipeline end to end: an approved-posts queue A publish call is not yet automation. The smallest pipeline that behaves like a real content system has four parts: a **queue** of posts, an optional **drafting** step, a human **approval gate**, and a **cron tick** that publishes whatever is due. The queue is just data – a JSON file or a database table where each item carries `text`, optional `attachments`, optional `companyUrl`, a `publishAt` time, and an `approved` flag. Drafts can come from anywhere: your team, a blog-to-post script, or an AI agent writing *into the queue* through the [MCP server](/mcp/overview), the AI-agent-friendly [CLI](/cli/getting-started), or the ready-made [skills](/skills) (`npx @linkedapi/skills`) – the agent drafts, a human flips `approved`, and nothing publishes unreviewed. Then a cron job (every 15 minutes is plenty) publishes what is due: ```typescript import LinkedApi from '@linkedapi/node'; import { readFileSync, writeFileSync } from 'fs'; const linkedapi = new LinkedApi({ linkedApiToken: process.env.LINKED_API_TOKEN, identificationToken: process.env.IDENTIFICATION_TOKEN, }); const queue = JSON.parse(readFileSync('queue.json', 'utf8')); const due = queue.filter( (post) => post.approved && !post.postUrl && new Date(post.publishAt) <= new Date(), ); for (const post of due) { const workflow = await linkedapi.customWorkflow.execute({ actionType: 'st.createPost', text: post.text, ...(post.attachments && { attachments: post.attachments }), ...(post.companyUrl && { companyUrl: post.companyUrl }), }); const { data: completion } = await linkedapi.customWorkflow.result(workflow.workflowId); if (completion.success) { post.postUrl = completion.data.postUrl; } else { console.error(`Failed "${post.text.slice(0, 40)}…": ${completion.error.type}`); } } writeFileSync('queue.json', JSON.stringify(queue, null, 2)); ``` ```python import json import os from datetime import datetime, timezone from linkedapi import LinkedApi linkedapi = LinkedApi( linked_api_token=os.environ["LINKED_API_TOKEN"], identification_token=os.environ["IDENTIFICATION_TOKEN"], ) queue = json.load(open("queue.json")) now = datetime.now(timezone.utc) due = [ post for post in queue if post["approved"] and not post.get("postUrl") and datetime.fromisoformat(post["publishAt"]) <= now ] for post in due: definition = {"actionType": "st.createPost", "text": post["text"]} if post.get("attachments"): definition["attachments"] = post["attachments"] if post.get("companyUrl"): definition["companyUrl"] = post["companyUrl"] workflow = linkedapi.custom_workflow.execute(definition) completion = linkedapi.custom_workflow.result(workflow.workflow_id).data if completion["success"]: post["postUrl"] = completion["data"]["postUrl"] else: print(f"Failed {post['text'][:40]!r}: {completion['error']['type']}") json.dump(queue, open("queue.json", "w"), indent=2) ``` Published items keep their `postUrl` (your audit trail), failures stay in the queue with the error surfaced for retry, and the review gate means automation never outruns editorial judgment. Reading posts back – tracking who reacted and commented on what you published, or watching anyone else's feed – is the reverse direction, covered in the [LinkedIn post scraper guide](/guides/linkedin-post-scraper). ![Diagram: a LinkedIn post automation pipeline built on an approved-posts queue. Content sources on the left – an RSS feed, a CMS webhook, and an AI agent drafting via MCP, CLI, or skills – feed post drafts into an approval queue where a human reviews and approves each item. A cron tick on your schedule picks up due approved posts and calls the createPost action, which publishes to a personal profile or a company page and returns a postUrl that is stored back on the queue item. A footer notes the pipeline runs on your own account, at a human pace.](/images/guides/linkedin-post-automation-pipeline.webp) Three variations on the same skeleton: - **Blog/RSS → personal profile.** A script watches your feed; each new article becomes a queued summary post with the article link and cover image. - **CMS webhook → company page.** Your CMS fires a webhook on release-notes publish; the handler queues a Page post with `companyUrl`, and the cron picks it up in the next tick. - **n8n / Make.** In [n8n](/integrations/n8n/overview), use the Linked API node's **Execute custom workflow** action with the same raw `st.createPost` definition; a plain HTTP Request to the REST API works as a fallback, and Make wires up the same way. (n8n also ships its own built-in LinkedIn node – that one posts through LinkedIn's official API with OAuth, a separate route with its own constraints.) ## When native scheduling or a scheduler tool is all you need Honest routing, in both directions. If you are one person queueing next week's posts, the **native scheduler** already does it: free, official, editable, three months out. Nothing in this guide beats it for that job. If a team runs your content, a **scheduler tool** earns its keep with the things native lacks: a shared calendar, approval flows, cross-network publishing, and analytics. Buffer's free plan, for example, covers 3 connected channels with 10 scheduled posts per channel, with paid plans from around $5 per channel per month, billed annually (per Buffer's pricing, 2026). That is a fair price for coordination features you would otherwise build yourself. The API route earns its keep at a specific threshold: when posting must live **inside your product, backend, or agent** – triggered by your data, gated by your review process, publishing to profiles and Pages your system manages. Below that threshold, use the simpler tool; past it, the tool becomes the bottleneck. ## Keeping automated posting safe (and worth reading) Automated posting is the calmest kind of LinkedIn automation – you are publishing to your own feed, not messaging strangers. Outbound is a different discipline with its own pacing rules: [automating messages](/guides/how-to-automate-linkedin-messages) and [automating connection requests](/guides/how-to-automate-linkedin-connection-requests) each have their own guide. For posting, two habits keep it calm. First, run it like a human: Linked API executes every action on **your own account** through a cloud browser at a human pace, and a steady weekly rhythm serves you better than bursts of machine-gun publishing. Quality compounds; volume alone does not. Second, automate the *publishing*, not the *engagement*: auto-posting your content is a workflow, while automating fake engagement on it – pods, mass reactions, comment rings – is the pattern LinkedIn's [Professional Community Policies](https://www.linkedin.com/legal/professional-community-policies) actually target. For pacing questions across all your LinkedIn activity, the [limits guide](/guides/understanding-linkedin-limits) has the current picture. ## Frequently Asked Questions (FAQ) #### Is there a LinkedIn posts API? Yes, for publishing. The versioned Posts API creates posts as a member (the self-serve `w_member_social` scope via Share on LinkedIn) or as an organization (through the review-gated Community Management API). It does not give you a way to read or collect other people's posts at scale, and for automating your own account's publishing inside your own stack the app-review path is usually more machinery than the job needs – which is what an account-based route such as Linked API's `createPost` covers. #### Can you automate posts on LinkedIn? Yes, at three levels: LinkedIn's native scheduler queues individual posts up to 3 months ahead for free; scheduling tools add calendars, approvals, and multi-network publishing; and an API like Linked API's `createPost` publishes to your profile or company page directly from your own pipeline – CMS, RSS, backend job, or AI agent. #### Can you schedule posts on LinkedIn without a third-party tool? Yes. The built-in scheduler covers personal posts from 10 minutes to 3 months ahead (desktop and mobile) and company-page posts from 1 hour to 3 months ahead, per LinkedIn's help pages. Scheduled posts can be previewed, edited, rescheduled, or deleted before they publish. #### How many posts can you schedule on LinkedIn? LinkedIn's help pages document no numeric cap on how many posts you can schedule. The practical constraints are different: the 3-month scheduling horizon, and the excluded post types – events, jobs, and services for personal posts, with polls, reshares, and multi-photo posts additionally excluded for Pages. #### Why is LinkedIn not publishing my scheduled post? Check the post type first: scheduling unsupported types (events, jobs, services – and for Pages also polls, reshares, multi-photo posts) fails with an error. For personal posts publishing at the wrong hour, scheduled times are standardized in UTC based on your device's time-zone settings. If a third-party tool did the scheduling, the failure may be caused by an expired account connection or a revoked Page permission – reconnect and check admin access. #### Can you post to a LinkedIn company page via API? Yes, two ways. With Linked API, pass `companyUrl` to `createPost` and the post publishes on behalf of a Page you have content-admin access to – same action, same pipeline as personal posts. On LinkedIn's official Posts API, organization posting uses the `w_organization_social` scope, which sits behind Community Management API access review. #### Is automating LinkedIn posts allowed? Automation on LinkedIn always deserves care, but publishing your own content to your own feed is its low-risk end. Keep it on your own account at a human pace – which is how Linked API runs every action – keep editorial review in the loop, and put your automation effort into content quality rather than engagement tricks like pods or mass reactions. --- Ready to make posting a feature of your own system? [Start with Linked API](/pricing) – flat per-seat pricing from $49/mo, billed annually – and get `createPost` with every other action across the full surface set: the [REST API and Node/Python SDKs](/sdks/installation), the shell [CLI](/cli/getting-started), the [MCP server](/mcp/overview), the AI-agent-friendly CLI (Claude Code, Cursor, Codex), and ready-made [agent skills](/skills) (`npx @linkedapi/skills`) – on your own account and at a human pace. ## LinkedIn Social Selling Index (SSI): What It Is, How to Check It, and Whether It Still Matters The Social Selling Index is the one score LinkedIn keeps about how you use LinkedIn – and in 2026 it stopped being something every member can see. Since September 2026, accounts without Sales Navigator get "You do not have access to SSI" instead of a score, and LinkedIn has not announced the change. This guide covers what the SSI measures, who can still check it and how, what a good score actually is, whether it still matters, and how to track it over time instead of glancing at it once. > **The short version.** The Social Selling Index is LinkedIn's 0–100 score of your social-selling activity, built from four components worth 25 points each: your professional brand, finding the right people, engaging with insights, and building relationships. It is no longer free: since August–September 2026, LinkedIn shows it at [linkedin.com/sales/ssi](https://www.linkedin.com/sales/ssi) only to accounts with Sales Navigator, and other accounts see "You do not have access to SSI" – with no announcement or help article from LinkedIn. There is no current official target: LinkedIn's dated guidance from 2017 called anything above 70 high and below 30 weak, but today's dashboard labels no threshold – your industry and network percentile ranks, and your trend, are the more useful signal. LinkedIn itself now downplays SSI's link to sales outcomes, so treat it as a directional activity metric: worth tracking as a trend (which you can automate on a Sales Navigator account), not worshipping as a KPI. ## What is the LinkedIn Social Selling Index? The Social Selling Index (SSI) is a 0–100 score that LinkedIn computes from your activity, as a measure of how well you practice what it calls social selling. It has four components: 1. **Create a Professional Brand** – how complete and content-rich your presence is. 2. **Find the right people** – how deliberately you search for and view relevant prospects. 3. **Engage with Insights** – how much you share, react, comment, and join conversations. 4. **Build Strong Relationships** – how consistently you connect, especially with decision-makers. The scoring is officially documented on LinkedIn's [social selling page](https://business.linkedin.com/sell/resources/sales-terms/social-selling): "Each of the above elements is assigned a value between one and 25, and the sum of all four elements results in a total SSI score between 0–100." LinkedIn's [help article on how SSI is calculated](https://www.linkedin.com/help/sales-navigator/answer/a105145) adds that "as a Sales Navigator user, the data associated with your use of Sales Navigator will also be used in your SSI score" – searches, profile views, and saved leads and accounts feed it alongside ordinary LinkedIn activity. ![Diagram: the four components of the LinkedIn Social Selling Index, each worth up to 25 points. Create a Professional Brand covers profile completeness and published content; Find the right people covers deliberate searches and viewing relevant prospects; Engage with Insights covers reactions, comments, shares, and joining conversations; Build Strong Relationships covers connecting steadily, especially with decision-makers. Added together they make the 0-100 SSI, shown at linkedin.com/sales/ssi – since 2026 only to accounts with Sales Navigator.](/images/guides/linkedin-ssi-four-components-2026.webp) SSI started as a Sales Navigator metric; LinkedIn [opened it to every member](https://www.linkedin.com/business/sales/blog/modern-selling/get-your-score-linkedin-makes-the-social-selling-index-available-for-everyone) on August 3, 2015 – and in 2026 moved it back behind Sales Navigator, as the next section explains. On an account with Sales Navigator, an AI agent can read the same numbers for you – useful for the trend this guide recommends [tracking](#track-your-ssi-over-time-the-part-worth-automating): **You:** Check my Social Selling Index and my profile stats, and compare them with last Monday: SSI 61, top 18% of my industry, top 9% of my network, 212 profile views in the last 90 days. **Agent** (used Linked API: retrieve_ssi, retrieve_performance): - score and both percentile ranks - followers, post views in the last 7 days, profile views in the last 90 days, search appearances in the previous week Your SSI is 64, up 3 since last Monday. Industry rank moved from the top 18% to the top 15%; network rank is unchanged at the top 9%. Profile views over the last 90 days are 236, up from 212. | Metric | Last Monday | Today | Change | | --- | --- | --- | --- | | SSI | 61 | 64 | +3 | | Industry rank | Top 18% | Top 15% | Up 3 points | | Network rank | Top 9% | Top 9% | No change | | Profile views, last 90 days | 212 | 236 | +24 | | Post views, last 7 days | not given | 1,140 | – | | Search appearances, previous week | not given | 87 | – | *Example run, on an account with Sales Navigator. The result carries the total score and both ranks, not the four component sub-scores. On an account LinkedIn no longer shows SSI to, the agent reports that no score is available instead of a number. Keep the rows in a sheet or a file to see the trend. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ## Is LinkedIn SSI still free? The 2026 Sales Navigator change Not for most accounts. LinkedIn changed who can see the score in two steps during 2026, without a press release, help article or release note: 1. **August 2026 – a warning banner.** The SSI page started showing, as quoted by users who saw it – among them [Rafał Szymański](https://rafalszymanski.pl/en/blog/ssi-behind-sales-navigator-paywall/): "Your access to the Social Selling Index (SSI) page will be discontinued soon. SSI is a Sales Navigator feature. Get Sales Navigator to retain access to SSI." In August 2026, Linked API added handling for the SSI page's empty state. 2. **Early September 2026 – the lockout.** Account by account, the score was replaced by: "You do not have access to SSI. Your access to the Social Selling Index (SSI) has been discontinued." September 8, 2026 is the most-reported date, but the rollout was not a single cutoff. Who can still see it, as far as public reports go: | Account | What linkedin.com/sales/ssi shows | | --- | --- | | Free LinkedIn account | The lockout message | | LinkedIn Premium | The lockout too, per several user reports – among them [John Espirian on September 2, 2026](https://www.threads.com/@johnespirian/post/DcyEQQajioQ/we-knew-this-was-coming-but-linked-in-has-officially-discontinued-the-social/); LinkedIn has not said so directly | | Sales Navigator | The score, as before; the reports don't separate Core, Advanced and Advanced Plus | | Sales Navigator Advanced or Advanced Plus admin | Each member's SSI in Usage Reporting, per [LinkedIn Help](https://www.linkedin.com/help/sales-navigator/answer/a124415) | LinkedIn's [Sales Navigator plan comparison](https://business.linkedin.com/sell/sales-navigator/compare-plans) has no SSI row for any plan, so treat "every Sales Navigator tier keeps it" as reported, not promised. ## How to check your SSI score With a Sales Navigator licence on the account, go to **[linkedin.com/sales/ssi](https://www.linkedin.com/sales/ssi)** while logged in to LinkedIn – signed out, the page shows a login wall, which is why the URL sometimes looks "broken" when shared. Without Sales Navigator, the same page now shows the lockout message instead of a score. The dashboard shows more than the headline number, and the extras are the interesting part: - Your **total SSI score** (0–100) and the **four component sub-scores** (up to 25 each), so you can see which pillar is dragging. - Your **Industry SSI rank** – the percentile you occupy among people in your industry. - Your **Network SSI rank** – the same percentile within your own network. - Your movement over the last week. The percentile ranks matter more than the raw score, because they answer the question a raw number cannot: high or low *compared to whom*? If your company runs Sales Navigator Advanced or Advanced Plus, admins can also see each member's overall SSI in Usage Reporting, and the four components in its CSV export, with a 24-hour delay ([LinkedIn Help](https://www.linkedin.com/help/sales-navigator/answer/a124415)). ## What is a good SSI score? The honest answer has two layers, and most guides get one of them wrong. **LinkedIn's dated official guidance did set thresholds.** In a January 18, 2017 [Sales Blog post](https://www.linkedin.com/business/sales/blog/management/3-leading-indicators-of-social-selling-success), LinkedIn wrote that "a high SSI is typically anything above 70" and that "a less-than-stellar SSI would be anything below 30." Its official [Achieving Social Selling Success infographic](https://www.linkedin.com/business/sales/blog/b2b-sales/achieving-social-selling-success) draws the same lines: SSI leaders above 70, laggards below 30. This is where the "70+" benchmark you see everywhere comes from – it is genuinely LinkedIn's number, just an old one. **Today, there is no current official target.** The modern SSI dashboard labels no threshold, and LinkedIn's current pages set none. Third-party guides embellish beyond the official numbers – higher "thought leader" bars, claimed platform-wide averages – but none of that comes from LinkedIn. So the useful present-day yardstick is **relative and temporal** rather than absolute: where you sit in your industry and network percentile ranks, and whether your score is trending up as you invest in LinkedIn. A 55 in the top 5% of your industry is a better signal than a 72 in the bottom half of it. ## Does SSI still matter in 2026? This is the question the classic SSI guides have not caught up with, because the primary source changed underneath them. LinkedIn's main SSI page is now titled ["From Social Selling Index (SSI) to AI"](https://business.linkedin.com/sell/resources/SSI), and it argues for moving past the score – "less scoring, more selling" – conceding outright that "a high SSI score doesn't always represent the efficacy of a sales person or correlate with measurable sales outcomes." That is LinkedIn, on its own flagship SSI page, telling you not to treat SSI as a performance metric. At the same time, LinkedIn still publishes the classic numbers on its [social selling page](https://business.linkedin.com/sell/resources/sales-terms/social-selling), from internal research dating back to roughly 2014–2016: "Social selling leaders create 45% more opportunities than peers with lower SSI," "social selling leaders are 51% more likely to reach quota," and "78% of social sellers outsell peers who don't use social media." Read those for what they are – LinkedIn's own marketing research about correlation between activity and outcomes, not proof that raising the score raises revenue. The fair verdict: SSI is a **directional activity metric**. It tells you whether you (or a team) are consistently present on LinkedIn – completing profiles, searching deliberately, engaging, connecting. That makes it useful as a trend line and a team-hygiene signal, and useless as a quota predictor – by LinkedIn's own admission. If consistent LinkedIn presence is part of how you sell and you have Sales Navigator, SSI is a cheap proxy for whether the presence is actually happening. Without Sales Navigator, track the activity itself – posts, comments, connection requests sent and accepted – instead of the score. ## How to improve your LinkedIn SSI score Each component responds to a specific kind of activity. The table covers what feeds each pillar and the highest-leverage moves – and where a pillar is automatable, the linked guide goes deeper: | Component (official name) | What feeds it | What moves it | | --- | --- | --- | | Create a Professional Brand | Profile completeness, content you publish | Complete every profile section; post consistently – [automating your posting](/guides/how-to-automate-linkedin-posts) keeps the cadence without the willpower | | Find the right people | Deliberate searches and prospect views | Search with intent instead of browsing – [Boolean search](/guides/linkedin-boolean-search) makes each search count; Sales Navigator searches feed this too | | Engage with Insights | Reactions, comments, shares, group activity | Comment substantively on prospects' posts; share with a point of view; [messaging that gets replies](/guides/how-to-automate-linkedin-messages) beats broadcasting | | Build Strong Relationships | Connections made, especially decision-makers | Connect steadily with relevant people, not in bursts – the [connection-request guide](/guides/how-to-automate-linkedin-connection-requests) covers doing it at a human pace | Two honest notes. First, because Sales Navigator-only actions (advanced searches, saved leads, prospecting views) officially count toward the score, Navigator users tend to score higher by construction – until mid-2025 LinkedIn's own SSI page said "Sales Navigator can boost your SSI by 20% in six months" ([archived copy](https://web.archive.org/web/20250511133621/https://business.linkedin.com/sales-solutions/social-selling/the-social-selling-index-ssi)), and its current pages give no figure. Second, the fastest way to a higher SSI is simply doing the four activities regularly for a few weeks; LinkedIn describes [daily SSI updates](https://business.linkedin.com/sales-solutions/learning-center/resources/guides/g002/en-en/ts007), so effort shows up quickly. ## Who can see your SSI score? By default, only you. Your SSI is not displayed on your profile, not visible to your connections, and LinkedIn documents no direct effect of your SSI on how your profile or posts rank in feeds or search. There is one documented exception: Sales Navigator Advanced and Advanced Plus. For their usage reporting, LinkedIn's [data-privacy help page for Sales Navigator](https://www.linkedin.com/help/linkedin/answer/a103026) states: "Additionally, your Social Selling Index (SSI) score will be made available to your admin and other members of your team." If your company runs one of those plans, your admin and teammates can see your score – worth knowing before you assume it is fully private. ## Track your SSI over time (the part worth automating) A score you glance at once is trivia. The signal is the **trend** – is your score climbing while you invest in LinkedIn, and are your industry and network percentiles moving? The ranking guides reviewed in July 2026 do not show how to do that programmatically, and it is the one part that genuinely benefits from automation. [Linked API](/) – a flexible LinkedIn automation API you can embed in your own product, backend, CRM, or workflow, running every action on your own account through a human-paced cloud browser – has two dedicated actions for exactly this, documented under [retrieving SSI and performance](/docs/retrieving-ssi-and-performance). [`retrieveSSI`](/docs/action-st-retrieve-ssi) returns your score **plus both percentile ranks** (`ssi`, `industryTop`, `networkTop`), and [`retrievePerformance`](/docs/action-st-retrieve-performance) adds your dashboard analytics: `followersCount`, `postViewsLast7Days`, `profileViewsLast90Days`, `searchAppearancesPreviousWeek`. A weekly pull that appends one row to a sheet gives you a chart LinkedIn itself never shows – your SSI and reach over months, next to your actual outreach activity. Developers can schedule it through the Node and Python [SDKs](/sdks/installation): call `retrieveSSI` and `retrievePerformance`, read `data` from each result, and append one dated row. The same numbers are one command in the shell [CLI](/cli/getting-started) – easy to pipe into whatever you already use: ```bash linkedin stats ssi --json linkedin stats performance --json ``` Two constraints to be clear about. SSI now needs Sales Navigator: on an account without it, `retrieveSSI` returns `ssiNotAvailable` and retrying does not help, while `retrievePerformance` keeps working. And both actions return data **for the connected account only** – there is no org-wide endpoint that reads a whole team's scores. A team SSI dashboard means each member's own LinkedIn account is connected, one seat per connected account on the flat [per-seat plan](/pricing), with the tracker running the same pull per account. And for AI-first workflows the whole loop works out of the box: an agent wired up through the [MCP server](/mcp/overview), the AI-agent-friendly [CLI](/cli/getting-started), or the ready-made [skills](/skills) can check the weekly numbers and report the movement in plain language – nothing to build or maintain. ## Frequently Asked Questions (FAQ) #### What is a good SSI score on LinkedIn? LinkedIn's dated guidance from 2017 called anything above 70 a high SSI and anything below 30 weak, and that is where the common "70+" benchmark comes from. Today's dashboard labels no threshold, and LinkedIn's current pages set no target – so use the relative signals instead: your industry and network percentile ranks, and whether your score is trending up. #### How often does the SSI score update? Daily – LinkedIn's learning-center materials describe [daily SSI updates](https://business.linkedin.com/sales-solutions/learning-center/resources/guides/g002/en-en/ts007). That is what makes the score practical to track as a trend, on an account that can still see it. #### Is my SSI score visible to others? By default, no – it is not on your profile and your connections cannot see it. The documented exception is Sales Navigator Advanced and Advanced Plus: LinkedIn's data-privacy help page states your SSI score "will be made available to your admin and other members of your team." #### Does Sales Navigator increase your SSI? Sales Navigator activity counts: LinkedIn's help article on how SSI is calculated says "as a Sales Navigator user, the data associated with your use of Sales Navigator will also be used in your SSI score" – searches, profile views, saved leads and accounts. Until mid-2025 LinkedIn's SSI page also said "Sales Navigator can boost your SSI by 20% in six months"; its current pages give no figure. Since 2026, Sales Navigator is also what you need to see the score at all. #### Is checking your SSI score free? Not any more, for most accounts. SSI was free for every member from August 3, 2015, but since August–September 2026 LinkedIn shows it only to accounts with Sales Navigator; free accounts – and, by several reports, Premium ones – get "You do not have access to SSI". LinkedIn has not announced the change. #### Why can't I see my LinkedIn SSI score any more? Because LinkedIn moved SSI behind Sales Navigator in 2026. If the page says "You do not have access to SSI", the account has no Sales Navigator licence – it is not a loading error. With Sales Navigator, the score still shows at linkedin.com/sales/ssi. #### Does a high SSI make LinkedIn show my content to more people? LinkedIn documents no direct ranking effect from SSI on your feed reach or search visibility. The overlap is indirect: the activities that raise SSI – posting, engaging, connecting – are the same ones that grow reach on their own. Treat SSI as a reflection of that activity, not a lever on distribution. --- Want the trend, not a one-off glance? [Start with Linked API](/pricing) – flat per-seat pricing from $49/mo, billed annually – and, on an account with Sales Navigator, pull `retrieveSSI` and `retrievePerformance` on a schedule through the full surface set: the [REST API and Node/Python SDKs](/sdks/installation), the shell [CLI](/cli/getting-started), the [MCP server](/mcp/overview), the AI-agent-friendly CLI (Claude Code, Cursor, Codex), and ready-made [agent skills](/skills) (`npx @linkedapi/skills`) – on your own account and at a human pace. ## How to Automate LinkedIn Connection Requests in 2026: Send, Track, and Manage Invitations Sending LinkedIn connection requests by hand is exactly the work a computer should do: open a profile, click Connect, sometimes add a note, then keep track of who you already invited, who accepted, and which requests went stale enough to withdraw. At a handful a day it is a chore; at the scale of real prospecting it becomes a queue you can never keep clean. So the practical question is how to automate LinkedIn connection requests – both sending them and managing the pending and incoming queue – without babysitting a browser tab. > **The short version.** You can automate LinkedIn connection requests three ways: a **Chrome extension** that clicks inside your logged-in browser, a **hosted campaign tool** you configure in a UI, or an **API that runs on your own account**. The API approach composes the whole lifecycle from primitives – send a request, check the connection status, list and withdraw stale pending invites, accept or ignore incoming invitations, and detect when someone accepts so you can send a welcome. With Linked API each step runs on your own account through a human-paced cloud browser, and you can embed it in your own product, backend, or CRM. ## Three ways to automate LinkedIn connection requests LinkedIn does not offer a public connect API you can call directly. Its official invitation endpoints are [restricted to approved partners](https://learn.microsoft.com/en-us/linkedin/shared/integrations/communications/invitations) and are not generally available, so every automation option acts on your own logged-in account instead. Three shapes are practical: | Approach | Runs on | Where the logic lives | Lifecycle coverage | Embeddable in your stack | Best for | |---|---|---|---|---|---| | Chrome extension | Your browser, while it is open | Inside the extension | Sending, with some tracking | No | One person, light volume, zero setup | | Hosted campaign tool | The vendor's cloud | A campaign UI you configure | Full, inside the vendor's UI | Limited (some expose an API over pre-built agents) | Marketers who want a packaged UI | | API on your own account (Linked API) | A human-paced cloud browser on your account | Your own code | Full, as composable primitives | Yes – REST API, Node/Python SDKs, shell CLI, MCP server, AI-agent CLI, and skills | Teams embedding it in a product, backend, or CRM | Hosted tools are genuinely capable. PhantomBuster's Outreach Flow tracks a request from sent to accepted to follow-up, while its separate Auto Invitation Withdrawer prunes pending requests, and Dripify supports automatic withdrawal and acceptance-based branches (per each vendor's own docs, as of 2026). Some even expose an API – PhantomBuster's, for example, launches, configures, and chains its pre-built "Phantoms." The real difference is the **layer you program at**: those APIs orchestrate the vendor's packaged agents inside a campaign model, while Linked API exposes the underlying LinkedIn actions themselves as primitives you compose and embed. If you just want a campaign to run, a hosted tool is fine. If you want the connection lifecycle as building blocks inside your own system, read on. ## Is there a LinkedIn invitation API? Not a public one. LinkedIn's official [invitation endpoints](https://learn.microsoft.com/en-us/linkedin/shared/integrations/communications/invitations) are restricted to approved partners, so there is no self-serve API that sends a connection request on your behalf. The working equivalent is account-based: Linked API's [`sendConnectionRequest`](/docs/action-st-send-connection-request?surface=sdk) sends the invitation, with an optional note, through a dedicated cloud browser on your own account, and the matching actions [retrieve](/docs/action-st-retrieve-invitations), [withdraw](/docs/action-st-withdraw-connection-request), [accept](/docs/action-st-accept-invitation) and [ignore](/docs/action-st-ignore-invitation) invitations cover the rest of the lifecycle described next. ## The connection-request lifecycle, as API primitives Automating connection requests well is not one call – it is a small lifecycle. Linked API exposes each step as its own action so you assemble exactly the flow you need: - [`sendConnectionRequest`](/docs/action-st-send-connection-request?surface=sdk) – send a request, optionally with a note. - [`checkConnectionStatus`](/docs/action-st-check-connection-status?surface=sdk) – returns `connected`, `notConnected`, `pending`, or `incoming`, so you never invite the same person twice. - [`retrievePendingRequests`](/docs/action-st-retrieve-pending-requests?surface=sdk) – lists the outgoing requests you are still waiting on. - [`withdrawConnectionRequest`](/docs/action-st-withdraw-connection-request?surface=sdk) – cancels a request that has gone stale. - [`retrieveInvitations`](/docs/action-st-retrieve-invitations?surface=sdk) plus [`acceptInvitation`](/docs/action-st-accept-invitation?surface=sdk) / [`ignoreInvitation`](/docs/action-st-ignore-invitation?surface=sdk) – triage the invitations coming *in*. - [`syncNetwork`](/docs/action-st-sync-network?surface=sdk) and [`pollNetwork`](/docs/monitoring-network?surface=sdk) – retrieve acceptance events after Linked API observes them (and other network changes) without diffing lists yourself. ![Diagram: the LinkedIn connection-request lifecycle as Linked API primitives. An outbound lane runs sendConnectionRequest, then checkConnectionStatus returns pending, then retrievePendingRequests lists the queue, then withdrawConnectionRequest prunes stale invites. A parallel inbound lane runs retrieveInvitations, then acceptInvitation or ignoreInvitation. A monitoring lane runs syncNetwork once, then pollNetwork surfaces a connectionAccepted event with a detectedAt timestamp, which hands off to sendMessage for a welcome. A footer notes it runs on your own account, at a human pace.](/images/guides/linkedin-connection-lifecycle.webp) You do not need code to run the lifecycle. An AI agent connected through the [MCP server](/mcp/available-tools) or the AI-agent-friendly [CLI](/cli/getting-started) (Claude Code, Cursor, Codex) calls the same actions from a plain-language ask: **You:** Tidy up my LinkedIn invitations. Find requests I sent more than a month ago that are still pending, sort the incoming invitations into people in sales roles at software companies and everyone else, and list who accepted my invitations this week. Show me the plan before you withdraw, accept or ignore anything. **Agent** (used Linked API: retrieve_pending_requests, retrieve_invitations, fetch_person ×9, get_network): - 46 outgoing requests still pending - 9 incoming invitations - current role and company of each sender - invitations accepted in the last 7 days Here is the plan. Nothing has been withdrawn, accepted or ignored yet. | Queue | What the agent found | Proposed action | | --- | --- | --- | | Sent, pending over a month | 12 of 46 requests | Withdraw them | | Incoming – sales roles at software companies | 4 of 9 invitations | Accept | | Incoming – everyone else | 5 invitations | Ignore | | Accepted this week | 6 people | Draft a welcome message for each | *The agent waits for your go-ahead, then withdraws, accepts and ignores at a human pace on your own account.* *Example run. Acceptances are captured only after network monitoring is enabled – it imports no history – so this example assumes it was on all week. Works the same in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* The rest of this guide walks each lane in code, for building it into your own product, backend or CRM. All of it runs on the [Node and Python SDKs](/sdks/installation) and the [shell CLI](/cli/commands#connections), and the same actions are available over the [REST API](/sdks/installation) and the ready-made [agent skills](/skills). For how agents connect to a LinkedIn account in general, see [how to give an AI agent access to LinkedIn](/guides/linkedin-ai-agent). ## How to automate sending connection requests (in code) The one rule that separates a clean automation from a messy one is the **duplicate gate**: check where you stand before you send. `checkConnectionStatus` tells you the [connection status](/docs/checking-connection-status) – whether you are already `connected`, already have a `pending` request out, have an `incoming` request to accept, or are genuinely `notConnected` and clear to invite. Three of those four wear the same profile badge, which is why the [degree of connection](/guides/linkedin-connection-degrees) you can see is not the state you need. Send only in the last case, and handle the one common edge – some people can only be added with a verified email, which `sendConnectionRequest` reports as `emailRequired`. ```typescript import { LinkedApi } from "@linkedapi/node"; const linkedapi = new LinkedApi({ linkedApiToken: process.env.LINKED_API_TOKEN, identificationToken: process.env.IDENTIFICATION_TOKEN, }); async function connectIfNew( personUrl: string, note: string, knownEmail?: string, ): Promise { const check = await linkedapi.checkConnectionStatus.execute({ personUrl }); const { data } = await linkedapi.checkConnectionStatus.result(check.workflowId); if (data?.connectionStatus !== "notConnected") { return data?.connectionStatus ?? "unknown"; // connected, pending, or incoming – skip } const req = await linkedapi.sendConnectionRequest.execute({ personUrl, note }); const { errors } = await linkedapi.sendConnectionRequest.result(req.workflowId); // Edge: this person requires a verified email. Retry with one if you have it. if (errors?.some((e) => e.type === "emailRequired") && knownEmail) { const retry = await linkedapi.sendConnectionRequest.execute({ personUrl, note, email: knownEmail, }); await linkedapi.sendConnectionRequest.result(retry.workflowId); return "sent"; } return errors?.length ? errors[0].type : "sent"; } ``` From the shell, the same two steps are one command each: ```bash linkedin connection status https://www.linkedin.com/in/john-doe linkedin connection send https://www.linkedin.com/in/john-doe --note "Great to connect." ``` The note is a single field, not a sequence; what it should *say* – examples by scenario and when to send no note at all – is in [LinkedIn connection request message examples](/guides/linkedin-connection-request-message), and the wider outreach strategy is in the [cold outreach guide](/guides/linkedin-cold-outreach-strategies-2026). If the note is too long or your free account has used up its personalized invitations, `sendConnectionRequest` returns `noteTooLong` or `noteLimitExceeded` so you can drop the note and send anyway. > **This runs on your own account.** Every request goes through a human-paced cloud browser on your own LinkedIn account – no cookie handoff to a third-party cloud, and no blast queue. Linked API surfaces LinkedIn's own signals, such as `requestNotAllowed` when you are pushing too hard, so your code can back off automatically. For how many requests are actually safe per day and per week, see the [LinkedIn connection limit guide](/guides/linkedin-connection-limit-2026). ## Keep your pending queue clean: list and withdraw Requests that sit unanswered for weeks are dead weight: they count against the pending invitations LinkedIn lets you hold, and a pile of ignored invites is a signal you do not want to send – LinkedIn names invitations "ignored, left pending, or marked as spam" among its documented triggers for a [restricted LinkedIn account](/guides/linkedin-account-restricted). Withdrawing the stale ones keeps the queue healthy, and [managing your connections and requests](/docs/managing-existing-connections) is a first-class part of the API. `retrievePendingRequests` returns everything still outstanding – each with a `name`, `publicUrl`, `headline`, and a relative `sentTime` like `"1 month ago"` – and `withdrawConnectionRequest` cancels one. ```typescript const wf = await linkedapi.retrievePendingRequests.execute(); const { data } = await linkedapi.retrievePendingRequests.result(wf.workflowId); for (const request of data ?? []) { console.log(`${request.name} – sent ${request.sentTime}`); // Withdraw the ones that have been out too long (unfollow defaults to true). if (isStale(request.sentTime)) { await linkedapi.withdrawConnectionRequest.execute({ personUrl: request.publicUrl }); } } ``` ```bash linkedin connection pending --json linkedin connection withdraw https://www.linkedin.com/in/john-doe ``` By default, withdrawing also unfollows the person; pass `unfollow: false` (or `--no-unfollow` on the CLI) to keep following them. The manual side of this queue – where the Sent tab lives, what the recipient sees on withdrawal, expiry and cooldown rules – is covered in the [pending invitations guide](/guides/linkedin-pending-invitations). How stale is "too stale," and how many pending invites are safe to hold, are pacing questions – the [connection limit guide](/guides/linkedin-connection-limit-2026) has the current numbers. ## Handle incoming invitations automatically The inbound side is its own queue – the docs cover it under [working with invitations](/docs/working-with-invitations). `retrieveInvitations` lists every incoming invitation, and each carries an `invitationType` of `connect`, `companyFollow`, or `newsletterSubscribe`. For `connect` invitations you also get the sender's `headline` and `note` (both nullable), which is enough to auto-accept the ones that fit your ICP and ignore the rest with `acceptInvitation` / `ignoreInvitation`. ```typescript const wf = await linkedapi.retrieveInvitations.execute(); const { data } = await linkedapi.retrieveInvitations.result(wf.workflowId); for (const invite of data ?? []) { if (invite.invitationType !== "connect") continue; const relevant = /founder|head of|vp|director/i.test(invite.headline ?? ""); if (relevant) { await linkedapi.acceptInvitation.execute({ invitationType: "connect", personUrl: invite.publicUrl, }); } else { await linkedapi.ignoreInvitation.execute({ invitationType: "connect", personUrl: invite.publicUrl, }); } } ``` ```bash linkedin connection invitations --json linkedin connection accept connect https://www.linkedin.com/in/john-doe linkedin connection ignore connect https://www.linkedin.com/in/someone-else ``` Company-follow and newsletter invitations come through the same method with their own `companyUrl` / `newsletterUrl` fields, so you can route those too. ## Detect when someone accepts (and welcome them) The payoff of automating requests is acting on each acceptance without watching for it by hand. Rather than re-list your connections and diff them, enable [network monitoring](/docs/monitoring-network) once with `syncNetwork`, then read connection events with `pollNetwork`. Each event carries a `type` (`connectionRequestReceived`, `connectionAccepted`, or `connectionAdded`), the other person's `personUrl`, and a `detectedAt` timestamp for when Linked API observed it. The events come back newest-first, so filter for `connectionAccepted`, hand each new connection to your own welcome step, and advance your cursor to the newest event you saw. ```typescript // Enable network monitoring once per account. const sync = await linkedapi.syncNetwork.execute(); await linkedapi.syncNetwork.result(sync.workflowId); // Later, poll for acceptances. `events` comes back newest-first. const { data } = await linkedapi.pollNetwork({ type: "connectionAccepted", since: lastSeen }); const events = data?.events ?? []; for (const event of events) { await sendWelcome(event.personUrl); // your own follow-up } if (events.length) { lastSeen = events[0].detectedAt; // advance the cursor to the newest event } ``` ```bash linkedin network sync linkedin network events --type connectionAccepted --json ``` `pollNetwork` is a polling call, so `detectedAt` is when Linked API observed the acceptance, not a live push; events are retained for 90 days, so poll often enough to consume them. If you prefer push, subscribe to the `network.connectionAccepted` [webhook](/docs/webhooks) and skip polling entirely. What the welcome should say, and when to follow up, is outreach rather than mechanics: see [how to automate LinkedIn messages](/guides/how-to-automate-linkedin-messages) for the send-and-read flow and the [cold outreach guide](/guides/linkedin-cold-outreach-strategies-2026) for copy and cadence. ## When an extension or hosted tool is the better choice An API is not always the right tool. If you are one person sending a handful of invites a week, a Chrome extension is the fastest path – nothing to code, nothing to host. If you want a packaged campaign UI with built-in dashboards and templates and you do not need the flow embedded anywhere, a hosted tool will run the lifecycle for you. Linked API earns its place when you are building connection automation into your own product, backend, or CRM, want the individual LinkedIn actions as programmable primitives, and want it running on your account at a human pace instead of in a browser tab you keep open. Finding *who* to connect with is a separate job – for that, see the [Boolean search guide](/guides/linkedin-boolean-search) and the [Sales Navigator scraper guide](/guides/linkedin-sales-navigator-scraper) – and so is what your new connections see in their feed: automating your own publishing is covered in [How to Automate LinkedIn Posts](/guides/how-to-automate-linkedin-posts). ## Frequently Asked Questions (FAQ) #### How do I avoid sending a duplicate connection request? Call `checkConnectionStatus` before you send and skip anyone who is already `connected` or `pending`. As a backstop, `sendConnectionRequest` also reports `alreadyPending` or `alreadyConnected` if a request or connection already exists, so a duplicate is a caught error rather than a second invite. #### What happens if a profile requires an email to connect? Some people only accept connection requests that include a verified email. When that is the case, `sendConnectionRequest` returns `emailRequired`. Pass the person's `email` as the optional input and retry. Email is an input for that case only – Linked API never returns email addresses as data. #### Can I see and cancel the connection requests I already sent? Yes. `retrievePendingRequests` lists every outgoing request you are still waiting on, with the person's name, URL, headline, and a relative sent time. `withdrawConnectionRequest` cancels one; withdrawing unfollows the person by default, which you can turn off with `unfollow: false`. #### Can I automatically accept or ignore incoming invitations? Yes. `retrieveInvitations` returns your incoming invitations, and `acceptInvitation` / `ignoreInvitation` act on each by type and URL. For `connect` invitations you get the sender's headline and note, so you can auto-accept the ones that match your criteria and ignore the rest. #### How do I know when someone accepts my request? Enable monitoring once with `syncNetwork`, then poll `pollNetwork` for `connectionAccepted` events – each carries the person's URL and a `detectedAt` timestamp. If you would rather not poll, subscribe to the `network.connectionAccepted` webhook and Linked API pushes each event to your endpoint. #### Do I need Sales Navigator to automate connection requests? No. `sendConnectionRequest` and the rest of the connection lifecycle work on a standard LinkedIn account. Sales Navigator only matters for its larger search, covered in the [Sales Navigator API guide](/guides/linkedin-sales-navigator-api), and for [InMail to non-connections](/guides/linkedin-inmail). #### Does this run on my own LinkedIn account? Yes. Requests run through a human-paced cloud browser on your own account, with no cookie handoff to a third-party cloud. Linked API surfaces LinkedIn's own limit signals, such as `requestNotAllowed`, so your code can slow down. For safe pacing, see the [connection limit guide](/guides/linkedin-connection-limit-2026). #### How much does it cost? Linked API starts at $49/mo on the Core plan, billed annually, flat per seat – there is no per-request or per-lead metering. See [pricing](/pricing) for the current plans. ## Build it on your own account You can build the whole connection lifecycle today. Linked API gives you sending, status checks, pending-queue management, incoming-invitation handling, and acceptance detection as composable primitives across the full surface set: the [REST API and Node/Python SDKs](/sdks/installation), the shell [CLI](/cli), the [MCP server](/mcp), the AI-agent-friendly CLI (Claude Code, Cursor, Codex), and ready-made [agent skills](/skills) (`npx @linkedapi/skills`) – all running on your own account at a human pace. Start on the [Core plan at $49/mo, billed annually](/pricing) and wire it into your product, backend, or CRM. ## LinkedIn Company Scraper and API: Extract Company Data, Employees and Decision-Makers A LinkedIn company page holds a small database: the firmographics, the people who work there, the decision-makers, and everything the company posts. Turning that into structured data you can actually use – at scale, and while managing the risk to your account – is what a company scraper is for. > **The short version.** A LinkedIn company scraper turns a company's LinkedIn URL into structured data. You have three methods: a **cookieless dataset** (runs via proxies with no login, but typically returns company fields, and sells people or posts as separate products), a **session-borrowing browser tool** (you hand your logged-in LinkedIn cookie to a third-party cloud, which is the real ban vector), or an **API on your own account**. Linked API's `fetchCompany` returns the company profile *plus* its employees, posts, and decision-makers in one workflow, and `searchCompanies` finds companies by size, industry, and location – on your own account at a human pace, returning company and people data, **not emails**. ## What you can pull from a LinkedIn company One `fetchCompany` workflow returns the firmographic profile, and you can opt in to the employees, decision-makers, and posts alongside it. | Data | What you get | How | | --- | --- | --- | | Company profile | name, industry, size (`employeesCount`), HQ location, specialties, website, year founded, open-jobs count, logo | `fetchCompany` | | Employees | up to **500** people (name, headline, location, profile URL), filterable by role, location, school, or past company | `retrieveEmployees` | | Decision-makers | up to **20** key people (name, headline, location, country code (`countryCode`), profile URL) | `retrieveDMs` | | Company posts | up to **20** recent posts (text, media, reaction and comment counts) | `retrievePosts` | | **Not returned** | emails, phone numbers, follower counts, any funding, venture-financing, or investor detail | – | That last row is the honest boundary: Linked API returns company and people data from LinkedIn, not contact details or a firmographic database's funding history. The people rows are where most workflows start: the employees list feeds [talent mapping](/guides/talent-mapping-recruitment) for recruiters, and the decision-makers are the first step in [mapping a B2B buying committee](/guides/b2b-buying-committee) at a target account. An AI agent can run the same extraction from a plain-language ask: **You:** Here are 5 company pages from our target list. For each, give me industry, how many members it has on LinkedIn, open jobs, its top 3 decision makers with their headlines, and the topic of its latest post from the last 30 days. One row per company. **Agent** (used Linked API: fetch_company ×5): - profile, the first 3 decision makers and posts from the last 30 days for each 5 companies read, 15 decision makers listed – 3 per company; 4 companies posted in the last 30 days, 1 did not. The first rows, with the top decision maker at each: | Company | Industry | On LinkedIn | Open jobs | Top decision maker of 3 (headline) | Latest post (last 30 days) | | --- | --- | --- | --- | --- | --- | | Fieldline Robotics | Automation Machinery Manufacturing | 310 members | 14 | Dana L. – "CEO at Fieldline Robotics" | Opening a second assembly site | | Corvo Health | Hospitals and Health Care | 1,240 members | 37 | Mark P. – "Chief Operating Officer, Corvo Health" | A nurse-staffing pilot | | Brightwell Software | Software Development | 85 members | 3 | Ines R. – "Co-founder & CEO" | No posts in the last 30 days | *The rows go to your sheet or CRM; nothing was sent to anyone.* *Example run, fictional companies. The member count is how many people list the company on LinkedIn, not a size band, and decision makers come back ranked by seniority with their headlines. No emails or phone numbers. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ## Is there a LinkedIn company API? Only a narrow one. LinkedIn's official [Organization Lookup API](https://learn.microsoft.com/en-us/linkedin/marketing/integrations/community-management/organizations/organization-lookup-api) lives inside the Community Management API and is built for Pages you administer: the full record requires the `rw_organization_admin` permission and an `ADMINISTRATOR` role on that organization, the lookup for organizations you do not administer returns a handful of fields – id, name, vanity name, website, logo, locations and type – and the documentation states that wildcards and boolean search are not supported. Nothing in it returns employees, decision-makers or posts for an arbitrary company, so every "LinkedIn company API" or "company data API" on the market is an account-based or scraping product. Linked API's route is account-based: [`fetchCompany`](/docs/action-st-open-company-page?surface=sdk) opens any public company page by URL through a dedicated cloud browser on your own account and returns the data in the table above, and [`searchCompanies`](/docs/action-st-search-companies?surface=sdk) finds the companies to fetch. ## Three ways to scrape LinkedIn company data The methods differ mostly in *where the browser runs* and *whose account it uses* – which is also what decides your ban risk. | Method | How it runs | What you get | Account-safety trade-off | | --- | --- | --- | --- | | Cookieless dataset / scraper | On a vendor's cloud via rotating proxies, no login | Company profile fields; some are pre-collected datasets, others are live URL scrapers, and people or posts tend to be separate products (per Bright Data's collection options, 2026) | Doesn't touch your account, but you consume a product rather than composing your own authenticated query | | Session-borrowing browser tool | On a vendor's cloud, driven by *your* logged-in LinkedIn cookie | Company data, often with a chained employee export | You hand your session to a third party – the real ban vector, and often day-capped (around 80 companies/day, per PhantomBuster's page, 2026) | | API on your own account | On your own authenticated account through a human-paced cloud browser | Profile + employees + posts + decision-makers in one workflow | Runs as you, at a human pace, with no cookie handoff; account-paced rather than a bulk overnight dump | A common question here: **does LinkedIn have an official way to do this?** LinkedIn's own APIs (Marketing, Talent) are partner-gated and need [program approval](https://learn.microsoft.com/en-us/linkedin/shared/authentication/getting-access) – they are not a general-purpose way to pull an arbitrary company from its URL. So in practice you either scrape the public page or use an API that acts on your own account. The rest of this guide covers the API route, where [Linked API](/) retrieves [structured company records](/docs/retrieving-company-data) on your behalf. ## How to scrape one company from its URL Install the SDK (`npm install -S @linkedapi/node` or `pip install linkedapi`), initialise the client with your tokens, and call `fetchCompany` with the company URL. Toggle `retrieveEmployees`, `retrieveDMs`, and `retrievePosts` to pull those alongside the profile; each has a config for its limit (and the employees list takes a filter). ```typescript import LinkedApi from '@linkedapi/node'; const linkedapi = new LinkedApi({ linkedApiToken: process.env.LINKED_API_TOKEN, identificationToken: process.env.IDENTIFICATION_TOKEN, }); const company = await linkedapi.fetchCompany.execute({ companyUrl: 'https://www.linkedin.com/company/microsoft', retrieveEmployees: true, retrieveDMs: true, retrievePosts: true, employeesRetrievalConfig: { limit: 100, // up to 500 filter: { position: 'engineer', locations: ['United States'] }, }, postsRetrievalConfig: { limit: 20 }, // up to 20 dmsRetrievalConfig: { limit: 20 }, // up to 20 }); const { data } = await linkedapi.fetchCompany.result(company.workflowId); if (data) { console.log(data.name, data.industry, data.employeesCount); console.log(data.employees?.length, 'employees,', data.dms?.length, 'decision-makers'); } ``` ```python from linkedapi import LinkedApi, LinkedApiConfig, FetchCompanyParams linkedapi = LinkedApi( LinkedApiConfig( linked_api_token="your-linked-api-token", identification_token="your-identification-token", ) ) company = linkedapi.fetch_company.execute( FetchCompanyParams( company_url="https://www.linkedin.com/company/microsoft", retrieve_employees=True, retrieve_dms=True, retrieve_posts=True, employees_retrieval_config={ "limit": 100, # up to 500 "filter": {"position": "engineer", "locations": ["United States"]}, }, posts_retrieval_config={"limit": 20}, # up to 20 dms_retrieval_config={"limit": 20}, # up to 20 ) ) data = linkedapi.fetch_company.result(company.workflow_id).data if data: print(data.name, data.industry, data.employees_count) print(len(data.employees or []), "employees,", len(data.dms or []), "decision-makers") ``` On the shell, the [company CLI](/cli/commands#companies) does the same in one line, and the AI-agent surfaces – the [MCP server](/mcp/overview) and ready-made [skills](/skills) – expose it to Claude Code, Cursor, and Codex. ```bash linkedin company fetch https://www.linkedin.com/company/microsoft --employees --dms --json ``` The employees filter is what turns "a company" into "the right people at a company": pass a `position`, `locations`, `schools`, `currentCompanies`, or `previousCompanies` and you get a targeted slice instead of the whole roster. Full field reference is in the [`fetchCompany` docs](/docs/action-st-open-company-page?surface=sdk) and the [company data guide](/docs/retrieving-company-data). ![Diagram: one fetchCompany workflow returns four kinds of data. A company URL feeds fetchCompany, with retrieveEmployees, retrievePosts, and retrieveDMs toggles, fanning out to four output cards: Company profile (industry, size, HQ, specialties, website, founded); Employees array (name, headline, location – up to 500); Posts array (up to 20); and Decision-makers array (name, headline, location, countryCode – up to 20), highlighted as the differentiator. A footer notes it runs on your own account, at a human pace, returning company and people data, not emails.](/images/guides/linkedin-company-scraper-bundle.webp) ## Find the companies to scrape If you do not already have the URLs, `searchCompanies` builds the list. Filter by `sizes`, `locations`, and `industries`, or hand it a LinkedIn search results URL as `customSearchUrl`, then loop each result's `publicUrl` into `fetchCompany`. ```typescript const search = await linkedapi.searchCompanies.execute({ term: 'fintech', limit: 50, // up to 1000 filter: { sizes: ['51-200', '201-500'], locations: ['United States'], industries: ['Financial Services'], }, }); const { data: companies } = await linkedapi.searchCompanies.result(search.workflowId); for (const c of companies ?? []) { console.log(c.name, c.industry, c.publicUrl); // feed publicUrl back into fetchCompany } ``` ```python from linkedapi import SearchCompaniesParams search = linkedapi.search_companies.execute( SearchCompaniesParams( term="fintech", limit=50, # up to 1000 filter={ "sizes": ["51-200", "201-500"], "locations": ["United States"], "industries": ["Financial Services"], }, ) ) companies = linkedapi.search_companies.result(search.workflow_id).data for c in companies or []: print(c.name, c.industry, c.public_url) # feed public_url back into fetch_company ``` ```bash linkedin company search --term "fintech" --sizes "51-200,201-500" --industries "Financial Services" --json ``` Company sizes use LinkedIn's own bands (`1-10`, `11-50`, `51-200`, `201-500`, `501-1000`, `1001-5000`, `5001-10000`, `10001+`). Each result returns `name`, `publicUrl`, `industry`, `location`, and `logoUrl`; pass the `publicUrl` straight into `fetchCompany` to go deep. If you work in Sales Navigator, the [`nvSearchCompanies`](/docs/action-nv-search-companies?surface=sdk) and [`nvFetchCompany`](/docs/action-nv-open-company-page?surface=sdk) variants add filters like revenue (they need a Sales Navigator seat); see the [Sales Navigator API guide](/guides/linkedin-sales-navigator-api). See also the [search reference](/docs/action-st-search-companies?surface=sdk) and [how to find companies with filters](/docs/searching-for-companies). ## Staying safe: your own account, human pace, no cookie handoff The account risk in company scraping is not the data – public company pages are meant to be read. It is *how* a tool gets it. Browser tools that run on a vendor's cloud ask for your logged-in LinkedIn cookie, and handing your session to a third party is what actually gets accounts flagged – the tools' own pages flag it too. Linked API takes a different path: every workflow runs on **your own account through a human-paced cloud browser**, so you never export a cookie to anyone. It also applies its own caps by design – one `fetchCompany` returns up to 500 employees, 20 posts, and 20 decision-makers, and `searchCompanies` up to 1,000 results, with the workflow pacing itself between actions. Separately, it surfaces LinkedIn's own limit signals: if LinkedIn restricts a retrieval you get a clear `retrievingNotAllowed` or `searchingNotAllowed` to back off on, rather than a silent overrun. Our [account limits guide](/guides/understanding-linkedin-limits) and [safety model](/safety) go deeper on pacing your volumes. ## When a cookieless scraper or data provider fits better Linked API is not always the right tool. If you need a one-off dump of tens of thousands of company records and you do not have (or do not want to use) a LinkedIn account, a **cookieless dataset provider** is the better fit – it trades composability for raw scale. And if your job is really about **emails, direct dials, or funding-round histories**, that is a firmographic or enrichment database, not a LinkedIn scraper. Linked API is the right fit when you want the profile, the people, and the decision-makers *together*, on your own account, wired into your own product or workflow. For the broader picture, see the [LinkedIn scraping pillar](/guides/how-to-scrape-linkedin) and the [scraper API overview](/guides/linkedin-scraper-api); for other entities, the [profile scraper](/guides/linkedin-profile-scraper), [jobs scraper](/guides/linkedin-jobs-scraper), and [post scraper](/guides/linkedin-post-scraper). ## Frequently Asked Questions (FAQ) #### Can you scrape LinkedIn company data? Yes. A company scraper turns a LinkedIn company URL into structured JSON you can store or feed into a workflow. The available fields and account-safety trade-offs depend on the method you pick, covered above. #### How do I get a list of all employees at a company on LinkedIn? Call `fetchCompany` with `retrieveEmployees` on. You get up to 500 employees per company (name, headline, location, profile URL), and you can filter the list by role, location, school, or current/previous company to pull just the people you care about. #### Can you scrape company size, industry, and headcount from LinkedIn? Yes. `fetchCompany` returns the firmographic profile – industry, exact headcount (`employeesCount`), HQ location, specialties, website, year founded, and open-jobs count – from the company URL, with no extra configuration. #### How do I scrape LinkedIn without getting my account blocked? The main ban vector is handing your logged-in cookie to a third-party cloud tool. Avoid that: use a method that runs on your own account at a human pace and stays within LinkedIn's limits. Linked API does this by design and surfaces LinkedIn's own limit signals so you can slow down before hitting a wall. #### Can you scrape a LinkedIn company page without logging in? Cookieless dataset providers scrape public pages via proxies with no login, but they typically return company fields only. To also get the employee roster, posts, and decision-makers, you use an authenticated method – Linked API runs on your own account rather than borrowing a session. #### Can you get a company's decision-makers? Yes. Turn on `retrieveDMs` and `fetchCompany` returns up to 20 decision-makers (name, headline, location, country code (`countryCode`), profile URL) in the same result as the profile and employees – so you know who to contact, not just where. #### How many employees can you pull per company? Up to 500 per company with `fetchCompany`, controlled by `employeesRetrievalConfig.limit`. To go wider than one company, use `searchCompanies` (up to 1,000 companies) and fetch each in turn. #### What is the best LinkedIn company scraper? It depends on the job. For a raw bulk dump with no account, a cookieless dataset provider wins. For the profile, employees, posts, and decision-makers together, embedded in your own stack on your own account, an API like Linked API is the better fit. --- Want the company profile, its people, and its decision-makers in one workflow, on your own account? [Start with Linked API](/pricing) – pull company data through the [API and SDKs](/sdks/installation), [CLI](/cli/getting-started), [MCP server](/mcp/overview), and [skills](/skills), and wire it straight into your own stack. ## How to Automate LinkedIn Messages (2026): The LinkedIn Messaging API, What's Safe, and the Flow in Code If you send the same LinkedIn connection requests and follow-up messages by hand every week, you have already hit the ceiling: it does not scale, and copy-pasting into the message box is exactly the work a computer should do. This guide covers what you can automate on LinkedIn, the safe ways to do it, and – for teams who want it wired into their own product or CRM – the exact connect-to-reply flow in code. > **The short version.** Standard LinkedIn messaging has no native way to schedule or sequence outbound DMs (LinkedIn documents scheduled outreach only for its paid recruiting tools – Recruiter and Recruiter Lite can schedule initial InMail, and Recruiter alone can schedule one automated follow-up; Premium's away message is just an auto-reply), so automating everyday outreach means a tool or an API acting on your own account. The real automation is a branching loop: if you are already connected, send a message; if not, either send a connection request → wait until it is accepted → message, or use Sales Navigator InMail to reach a non-connection directly. Then read the reply, or monitor your whole inbox for incoming messages at scale. Keep it on your own account, at a human pace, within LinkedIn's limits. ## Is there a LinkedIn messaging API? Yes, but it is not a general developer product. LinkedIn documents two official messaging surfaces, both gated behind partner approval, and neither one lets you schedule or sequence outbound DMs. | Official surface | What it does | Who can use it | | --- | --- | --- | | [Messages API](https://learn.microsoft.com/en-us/linkedin/shared/integrations/communications/messages) | Creates a message to one or more first-degree connections, or replies in an existing thread | Approved partners only, under an API agreement | | [Pages messaging integration](https://www.linkedin.com/help/linkedin/answer/a6246714) | Sends and receives messages in a **Company Page's** inbox – not your personal DMs | Page admins, through six approved platforms: Hootsuite, Sprinklr, Oktopost, Brandwatch, Zoho Recruit, Bird CRM | The Messages API documentation opens on the access rule: *"Usage of this API is restricted to approved partners, subject to limitations via API agreement."* Approval on its own would still not buy you automation, because the same page rules it out in the requirements: *"A message must be associated with a specific member action. Member actions do not include an automated or scheduled event."* LinkedIn further requires that the member can edit any pre-prepared draft, takes an affirmative action to send it, and that the message posts at or around the time of that action. That leaves the account-level route for everyone else, and it is what the rest of this guide covers: Linked API's messaging actions – [`sendMessage`](/docs/action-st-send-message) and [`nvSendMessage`](/docs/action-nv-send-message), with [inbox monitoring](/docs/monitoring-inbox) for reading replies and [conversation history](/docs/working-with-conversations) for earlier messages – run on your own account through a human-paced cloud browser rather than under a partner agreement. Here is that route as one agent run – the branching loop this guide builds, started from a plain-language ask: **You:** Here are 12 people from my CRM who registered for our webinar on cutting month-end close time but didn't attend. I want each to get the recording. Check whether we're connected. For connections, load our conversation first and skip anyone I've already sent the recording; draft a short message for the rest. For people I'm not connected to, draft a connection note under 200 characters instead. Send nothing until I approve. **Agent** (used Linked API: check_connection_status ×12, sync_conversation ×7, get_inbox ×7): - 7 connected, 3 not connected, 2 with my invitation still pending - the history with each connection, loaded once - the messages in each loaded conversation - 1 connection was already sent the recording on Monday – skipped 12 people: 6 messages and 3 connection notes drafted, 1 connection skipped because they already have the recording, 2 left alone because my earlier invitation is still pending – a message can follow once they accept. Nothing has been sent. Some of the rows: | Person | Status | From the conversation | Draft | | --- | --- | --- | --- | | Maria S. | Connected | Last message in September, about month-end reporting | "Hi Maria – sorry you missed Thursday's webinar on cutting month-end close time. Here's the recording: [link]" | | David K. | Connected | You sent the recording on Monday | SKIP – already sent | | Priya N. | Not connected | – | Note: "Hi Priya – you registered for our webinar on cutting month-end close time. Happy to connect and share the recording." | | Tom R. | Invitation pending | – | Nothing to send until Tom accepts | *Nothing goes out until you approve; then the agent sends the approved messages and requests at a human pace on your own account.* *Example run, fictional people. A standard message reaches only 1st-degree connections, so everyone else gets a connection request first. The schedule – for example, re-checking the pending invitations next week – lives in your agent's host. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ## Can you automate LinkedIn messages? Yes – but for regular direct messages, not with a native LinkedIn button. LinkedIn's own [Message content automation](https://www.linkedin.com/help/linkedin/answer/a1336512) page is about *inbound* processing – how it renders and suggests replies to messages you receive – not about scheduling messages you send. The one place LinkedIn documents scheduled outbound is its paid recruiting product: per LinkedIn's [help center](https://www.linkedin.com/help/recruiter/answer/a1457303), you can schedule initial outreach InMail in **Recruiter and Recruiter Lite**, and schedule one automated follow-up InMail in **Recruiter** only. Everyday Messaging has no equivalent, and the Premium [away message](https://www.linkedin.com/help/linkedin/answer/a550614) is an automatic *reply* shown to people who message you – not a way to send scheduled outreach. So for standard outreach, "automating LinkedIn messages" means a tool or an API that performs the clicks and keystrokes on your own account. The rest of this guide is how to do that well. ## The four ways to automate LinkedIn messages There are four approaches, and the right one depends on how much control you need and whether you write code. | Approach | How it runs | Best for | Honest trade-off | | --- | --- | --- | --- | | Browser (Chrome) extension | On your own computer, in your logged-in browser | Quick, occasional personal use | Only works while your machine and browser are on; more exposed than a cloud setup | | Cloud no-code tool | On the vendor's cloud, on a schedule, through a visual campaign builder | Non-technical users running standard campaigns | A closed UI – you get the vendor's features, not your own logic; you live inside their product | | API / code | You call an API from your own backend, on your own account | Teams embedding messaging in a product, CRM, or agent | You write a little code – in exchange you own the whole flow | | AI agent | An agent (Claude, Cursor, Codex) runs the same actions on your own account from a plain-language ask, through an MCP server, an agent-friendly CLI or a ready-made skill | People who want automation without building a flow or writing code | You review what it plans to send; the schedule lives in your agent's host | The first two are covered well elsewhere (see our [roundup of LinkedIn automation tools](/blog/top-10-linkedin-automation-tools) for the "which tool" question). This guide focuses on the last two: the real flow in code on your own account, and the same flow [run by an AI agent](#automate-linkedin-messages-with-an-ai-agent). ## What you can automate: messages, InMail, and connection notes Before the code, get the routing right – *who* you can message depends on your relationship to them. | Message type | Who it reaches | Method | Notes | | --- | --- | --- | --- | | Standard message | People you are already connected to (1st-degree) | `sendMessage` | Text up to 1,900 characters | | Sales Navigator InMail | People you are **not** connected to | `nvSendMessage` | Needs a Sales Navigator seat and a subject line – credits and consumer mechanics in the [InMail guide](/guides/linkedin-inmail) | | Connection request + note | Someone you want to connect with | `sendConnectionRequest` | A single note field, not a sequence – automating the request itself is its own [connection-requests guide](/guides/how-to-automate-linkedin-connection-requests) | Two honest boundaries that pages blurring "reach anyone instantly" skip: a standard message only works once someone is a 1st-degree connection, and reaching a non-connection means either connecting first or spending a Sales Navigator InMail. There is no button that DMs a stranger for free. If the 1st/2nd/3rd labels themselves are the part you want pinned down, [degrees of connection](/guides/linkedin-connection-degrees) covers what each one allows – and why the badge alone does not tell you what to do next. ## How to automate the full flow (in code) Here is the branching loop with [Linked API](/), the [LinkedIn automation API](/) that runs these actions on your own account. Install the SDK (`npm install -S @linkedapi/node` or `pip install linkedapi`) and initialise the client with your tokens. The core decision is the **acceptance gate** – the step generic messaging relays skip. You check where you stand, and only message a first-degree connection; if you are not connected, you get connected first and message *after* the request is accepted. Automating the connection request itself – sending it, handling the `emailRequired` edge, withdrawing stale invites, and detecting acceptance – is its own lifecycle, covered in [How to Automate LinkedIn Connection Requests](/guides/how-to-automate-linkedin-connection-requests); here it is only the gate before a message. ```typescript import LinkedApi from '@linkedapi/node'; const linkedapi = new LinkedApi({ linkedApiToken: process.env.LINKED_API_TOKEN, identificationToken: process.env.IDENTIFICATION_TOKEN, }); const NOTE = 'Hi! I work on LinkedIn tooling and would love to connect.'; // Once per account, before any outreach: enable inbox monitoring so replies are // captured (add nvSyncInbox for InMail replies). It only catches what arrives after. const sync = await linkedapi.syncInbox.execute({}); await linkedapi.syncInbox.result(sync.workflowId); async function reach(personUrl: string, text: string): Promise { // 1. Where do we stand? -> connected | pending | notConnected const check = await linkedapi.checkConnectionStatus.execute({ personUrl }); const { data } = await linkedapi.checkConnectionStatus.result(check.workflowId); // 2. Already connected -> message them directly. if (data?.connectionStatus === 'connected') { const sent = await linkedapi.sendMessage.execute({ personUrl, text }); await linkedapi.sendMessage.result(sent.workflowId); return; } // 3. Not connected -> get connected first, then message once accepted. // Sending the request, the emailRequired edge, and withdrawing stale invites // are their own lifecycle: /guides/how-to-automate-linkedin-connection-requests if (data?.connectionStatus === 'notConnected') { await linkedapi.sendConnectionRequest.execute({ personUrl, note: NOTE }); // Re-run checkConnectionStatus on a schedule (cron or webhook); // when it returns 'connected', call sendMessage. Do not busy-wait. } } ``` ```python from linkedapi import ( LinkedApi, LinkedApiConfig, CheckConnectionStatusParams, SendMessageParams, SendConnectionRequestParams, NvSendMessageParams, InboxPersonPollRequest, InboxPollRequest, ) linkedapi = LinkedApi( LinkedApiConfig( linked_api_token="your-linked-api-token", identification_token="your-identification-token", ) ) NOTE = "Hi! I work on LinkedIn tooling and would love to connect." # Once per account, before any outreach: enable inbox monitoring so replies are # captured (add nv_sync_inbox for InMail replies). It only catches what arrives after. sync = linkedapi.sync_inbox.execute() linkedapi.sync_inbox.result(sync.workflow_id) def reach(person_url: str, text: str) -> None: # 1. Where do we stand? -> connected | pending | notConnected check = linkedapi.check_connection_status.execute( CheckConnectionStatusParams(person_url=person_url) ) data = linkedapi.check_connection_status.result(check.workflow_id).data # 2. Already connected -> message them directly. if data and data.connection_status == "connected": sent = linkedapi.send_message.execute( SendMessageParams(person_url=person_url, text=text) ) linkedapi.send_message.result(sent.workflow_id) return # 3. Not connected -> get connected first, then message once accepted. # Sending the request, the emailRequired edge, and withdrawing stale invites # are their own lifecycle: /guides/how-to-automate-linkedin-connection-requests if data and data.connection_status == "notConnected": linkedapi.send_connection_request.execute( SendConnectionRequestParams(person_url=person_url, note=NOTE) ) # Re-run check_connection_status on a schedule (cron or webhook); # when it returns "connected", call send_message. Do not busy-wait. ``` To reach someone you are **not** connected to without waiting, send a Sales Navigator InMail instead. This route has no acceptance gate, but it needs a Sales Navigator seat and a subject line – how InMail credits, refunds, and limits work is covered in the [LinkedIn InMail guide](/guides/linkedin-inmail). ```typescript const inmail = await linkedapi.nvSendMessage.execute({ personUrl, subject: 'Quick question about your team', text: 'Hi Dana, saw your team is hiring SDRs. Mind if I share how we help?', }); await linkedapi.nvSendMessage.result(inmail.workflowId); ``` ```python inmail = linkedapi.nv_send_message.execute( NvSendMessageParams( person_url=person_url, subject="Quick question about your team", text="Hi Dana, saw your team is hiring SDRs. Mind if I share how we help?", ) ) linkedapi.nv_send_message.result(inmail.workflow_id) ``` Finally, read the reply. Inbox monitoring, switched on with `syncInbox` at the top of the code before anything is sent, captures every new message from then on – including replies to InMail when you also run `nvSyncInbox`. Enable it first: a reply that arrives before monitoring is on is not captured. Then `pollInbox` with the person's `personUrl` returns the whole conversation with them, newest first, each message tagged with a `sender` of `us` or `them`, so you can detect a real response. Message times are whole minutes, so set `since` a few minutes before you sent your message, take the earliest `us` message in the result – the one you sent, not a later follow-up – and count a `them` message as the reply only if it is not earlier than that one. A standard message and a Sales Navigator InMail live in different threads, and `type` (`st` or `nv`) tells them apart. If you also need what was said before monitoring was enabled, load it once with `syncConversation` (or `nvSyncConversation`) – it then comes back in the same result. ```typescript // Later, on your schedule: everything with this person around and after your message. // since is a few minutes before you sent it - message times are whole minutes. const { data } = await linkedapi.pollInbox({ personUrl, type: 'st', since }); const messages = [...(data?.messages ?? [])].reverse(); // oldest first const sent = messages.find((m) => m.sender === 'us'); // the message you sent const reply = sent ? messages.find((m) => m.sender === 'them' && new Date(m.time) >= new Date(sent.time)) : undefined; // no `sent` yet: not known yet console.log(reply?.text); // InMail reply (Sales Navigator route): the same check with type 'nv'. const inmail = await linkedapi.pollInbox({ personUrl, type: 'nv', since }); ``` ```python # Later, on your schedule: everything with this person around and after your message. # since is a few minutes before you sent it - message times are whole minutes. result = linkedapi.poll_inbox( InboxPersonPollRequest(person_url=person_url, type="st", since=since) ) messages = list(reversed(result.data.messages)) if result.data else [] # oldest first sent = next((m for m in messages if m.sender == "us"), None) # the message you sent reply = ( next((m for m in messages if m.sender == "them" and m.time >= sent.time), None) if sent else None # no sent yet: not known yet ) if reply: print(reply.text) # InMail reply (Sales Navigator route): the same check with type "nv". inmail = linkedapi.poll_inbox( InboxPersonPollRequest(person_url=person_url, type="nv", since=since) ) ``` Prefer the shell? The [CLI](/cli/getting-started) runs the same flow, and the AI-agent surfaces – the [MCP server](/mcp/overview) and ready-made [skills](/skills) – expose it to Claude Code, Cursor, and Codex. If you are setting an agent up for the first time, [how to give an AI agent access to LinkedIn](/guides/linkedin-ai-agent) covers the connection choices and the first-run sequence. ```bash linkedin inbox sync # once per account, before any outreach linkedin connection status https://www.linkedin.com/in/john-doe # connected | pending | notConnected linkedin connection send https://www.linkedin.com/in/john-doe --note "Hi! Would love to connect." linkedin message send https://www.linkedin.com/in/john-doe "Thanks for connecting - quick question..." linkedin navigator message send https://www.linkedin.com/in/john-doe "Hi..." --subject "Quick question" linkedin inbox get --person https://www.linkedin.com/in/john-doe --json # the whole conversation, replies included ``` Where this flow ends is deliberate: it gets a message sent and the reply back into your system. *What* the follow-up should say, and *when* to send it, is outreach strategy – see our guide to [LinkedIn cold outreach](/guides/linkedin-cold-outreach-strategies-2026) for the copy, timing, and sequence design. For method-by-method reference, see the docs for [sending messages](/docs/sending-message), [connection requests and invitations](/docs/working-with-invitations), [checking connection status](/docs/checking-connection-status), and [monitoring the inbox](/docs/monitoring-inbox), or the SDK pages for [`sendMessage`](/docs/action-st-send-message?surface=sdk), [`nvSendMessage`](/docs/action-nv-send-message?surface=sdk), [`sendConnectionRequest`](/docs/action-st-send-connection-request?surface=sdk), [`checkConnectionStatus`](/docs/action-st-check-connection-status?surface=sdk), [`syncInbox`](/docs/action-st-sync-inbox?surface=sdk), [`pollInbox`](/docs/monitoring-inbox?surface=sdk), and [`syncConversation`](/docs/action-st-sync-conversation?surface=sdk). ![Diagram: the branching LinkedIn message automation flow. Entry asks who you are messaging. If already connected, send a message with sendMessage. If not connected, either send a connection request with sendConnectionRequest, poll checkConnectionStatus until it returns connected, then sendMessage – or send a Sales Navigator InMail with nvSendMessage, which has no acceptance gate. Both paths converge on reading the reply: for a single thread, syncInbox (or nvSyncInbox for a Sales Navigator thread) then pollInbox with the person's personUrl; for the whole inbox, syncInbox then pollInbox. Follow-up copy and cadence are handed off to the cold-outreach guide. A footer notes it runs on your own account, at a human pace, returning profile data, not emails.](/images/guides/linkedin-message-automation-flow.webp) ## Automate the whole inbox (monitor every reply) The loop above reads a reply when you already know the person. To automate messaging at the **inbox** level – catch every incoming message across all your conversations, then route, tag, or reply to it – poll the whole inbox rather than one person at a time. Enable it once per account with [`syncInbox`](/docs/action-st-sync-inbox?surface=sdk) (or [`nvSyncInbox`](/docs/action-nv-sync-inbox?surface=sdk) for the Sales Navigator inbox), then [`pollInbox`](/docs/monitoring-inbox?surface=sdk) returns every new message across every thread, each with a `sender` of `us` or `them` and two URLs for the other person: the hashed `personHashedUrl`, always present and what you reply to, and `personPublicUrl`, the public profile URL, which is `null` until that person has been resolved. `syncInbox` only switches monitoring on and returns; the messages are picked up afterwards by a sync that runs periodically, so expect the first ones on the next sync rather than the moment the call resolves. One disclosure worth knowing: when that sync finds new messages in a thread – including messages you send yourself – it opens the profile page of the other person in that thread to resolve their public URL – but only when Linked API does not already know it, so a person is visited once rather than on every message. Those visits are made from your own account and are visible to the people whose profiles are opened. A person's `personPublicUrl` stays `null` until their thread produces a message. ```typescript // Enable whole-inbox monitoring once per account. const sync = await linkedapi.syncInbox.execute({}); await linkedapi.syncInbox.result(sync.workflowId); // Poll only what arrived since your last run, using a cursor you persist. // Without `since`, pollInbox returns everything captured - so you would // reprocess (and re-reply to) old messages on every run. // `since` is inclusive and times are whole minutes, so the next run sees the newest // minute again: keep the ids already handled at the cursor and skip them. const { since, handledIds } = await loadCursor(); // your storage; { since: undefined, handledIds: [] } on first run const { data } = await linkedapi.pollInbox({ type: 'st', since }); const messages = data?.messages ?? []; for (const m of messages) { if (m.sender !== 'them' || handledIds.includes(m.id)) continue; // new inbound only const reply = await linkedapi.sendMessage.execute({ personUrl: m.personHashedUrl, text: 'Thanks for the reply!' }); await linkedapi.sendMessage.result(reply.workflowId); } // Advance the cursor to the newest message (pollInbox returns newest-first) and // remember the ids at that time - the next run gets all of them again. if (messages.length) { const newest = messages[0].time; const atNewest = messages.filter((m) => m.time === newest).map((m) => m.id); await saveCursor({ since: newest, handledIds: atNewest }); } ``` ```python # Enable whole-inbox monitoring once per account. sync = linkedapi.sync_inbox.execute() linkedapi.sync_inbox.result(sync.workflow_id) # Poll only what arrived since your last run, using a cursor you persist. # Without `since`, poll_inbox returns everything captured - so you would # reprocess (and re-reply to) old messages on every run. # `since` is inclusive and times are whole minutes, so the next run sees the newest # minute again: keep the ids already handled at the cursor and skip them. since, handled_ids = load_cursor() # your storage; (None, set()) on first run result = linkedapi.poll_inbox(InboxPollRequest(type="st", since=since)) messages = result.data or [] for m in messages: if m.sender != "them" or m.id in handled_ids: # new inbound only continue reply = linkedapi.send_message.execute( SendMessageParams(person_url=m.person_hashed_url, text="Thanks for the reply!") ) linkedapi.send_message.result(reply.workflow_id) # Advance the cursor to the newest message (poll_inbox returns newest-first) and # remember the ids at that time - the next run gets all of them again. if messages: newest = messages[0].time at_newest = {m.id for m in messages if m.time == newest} save_cursor(newest, at_newest) ``` On the shell it is `linkedin inbox sync` once (add `--nv` for the Sales Navigator inbox), then `linkedin inbox get --since `. Poll with an advancing `since`, or skip polling entirely and subscribe to [inbox webhook events](/docs/webhooks?surface=sdk#receiving-events) for push delivery. This stays the mechanics layer – detecting and retrieving the message; what an auto-reply should actually say still belongs to your [outreach strategy](/guides/linkedin-cold-outreach-strategies-2026). ### For a sales team: every rep's replies in one place When several reps each connect their own LinkedIn account, you do not need to poll every inbox separately. Turn on inbox monitoring with `syncInbox` once per account, then register one [webhook](/docs/webhooks) for your Linked API account: it receives an `inbox.messageReceived` event for each new message on every monitored account, and each event's `data.accountId` says whose inbox it came from ([event types](/docs/webhook-event-types)). Route those events into your CRM or a shared channel and you have every rep's replies in one place. This is an integration you build on top of the events – Linked API does not ship a shared-inbox screen. Details on enabling monitoring are in [monitoring the inbox](/docs/monitoring-inbox). ## Automate LinkedIn messages with an AI agent If you would rather not write the flow, an AI agent can run it for you on your own account. Connect it through the [MCP server](/mcp), the agent-friendly [CLI](/cli) or a ready-made [skill](/skills), and it uses the same actions as the code above – `send_message`, `send_connection_request`, `check_connection_status`, `sync_inbox` and `get_inbox` ([MCP tools](/mcp/available-tools)). An illustrative prompt that keeps you in control: > Check my LinkedIn inbox for new replies from the prospects in this list. For each reply, draft a short answer in my tone and show me all the drafts. Send nothing until I approve each one. The approval step is part of the prompt, so keep it there – the agent sends what you allow it to. Scheduling is also yours: run the agent on a timer in its host, such as a scheduled task, or start it by hand. For a sales-call version of this – briefing before a call and the follow-up after it – see [Claude for sales](/guides/claude-for-sales); for weighing a packaged AI SDR against assembling your own, see [what an AI BDR is](/guides/ai-bdr). ## LinkedIn message and connection limits (staying safe) LinkedIn does not publish exact message or connection-request limits, so treat the numbers you see online as guardrails, not gospel, and expect them to move with your account's age and standing. Third-party trackers land in a similar ballpark. For **connection requests**, ZELIQ's 2026 automation guide suggests roughly 20-40 a day (100-200 a week), while PhantomBuster, as of its July 2026 update, puts free and Premium accounts nearer 100 a week. For **direct messages**, ZELIQ's 2026 guide suggests about 30-60 a day, and PhantomBuster, as of July 2026, cites roughly 100 a week on a free account and 150 on Premium – all unofficial observations, not published caps. Our own breakdowns of the [connection request limit](/guides/linkedin-connection-limit-2026) and [LinkedIn's limits](/guides/understanding-linkedin-limits) go deeper. The safer way to automate is to stay well inside those bounds on your own account. Linked API is built for exactly that: every action runs on **your own account through a human-paced cloud browser**, not a blast queue, and it surfaces LinkedIn's own limit signals instead of steamrolling them. Your code receives `messagingNotAllowed` when you are not connected or messaging is restricted, `noteLimitExceeded` when a free account runs out of personalized invitation notes, and `requestNotAllowed` when you approach LinkedIn's request limits – so you can back off automatically. It works within [our safety model](/safety), and it returns profile, company, and post data – **not** emails or phone numbers. ## When a no-code tool is the better choice Code is not always the answer. If you want a point-and-click campaign builder, a visual sequence editor, and a shared team inbox – and you never want to touch an SDK – a no-code tool (the Dripify / HeyReach / Waalaxy class) will get you live faster. Those products are a good fit when the standard "connect, then follow up on a schedule" campaign is all you need and a closed UI is acceptable. Linked API is the better choice when you want messaging as a primitive inside your own stack: triggered by events in your CRM, branched on your own logic, wrapped in your product, or driven by an AI agent. You trade a visual builder for full control and embeddability. Start from the [installation guide](/sdks/installation) and the [CLI quickstart](/cli/getting-started). And messaging is only one lane of automation – publishing content on a schedule is its own, covered in [How to Automate LinkedIn Posts](/guides/how-to-automate-linkedin-posts). ## Frequently Asked Questions (FAQ) #### Can you automate LinkedIn messages? Yes, for standard direct messages – but not with a native LinkedIn feature. LinkedIn only offers scheduled outbound in its paid Recruiter products; everyday Messaging has none. Automating standard outreach means using a tool or an API, like [Linked API](/), that performs the actions on your own account. #### Does LinkedIn have a messaging API? Yes, but not one most developers can reach. LinkedIn's official [Messages API](https://learn.microsoft.com/en-us/linkedin/shared/integrations/communications/messages) creates messages to first-degree connections or replies in an existing thread, and its documentation restricts usage "to approved partners, subject to limitations via API agreement". Approval alone would not buy automation either: LinkedIn requires each message to follow "a specific member action" and states that those "do not include an automated or scheduled event". Pages messaging is a separate integration again, covering a Company Page's inbox rather than your personal DMs. Sending and reading messages programmatically on your own account means an account-level API such as [Linked API](/). #### Is automating LinkedIn messages safe – will I get my account restricted? Any automation carries some risk, and how you use it decides how much. Aggressive volume and speed are what push accounts toward restriction, so the safer approach is to stay well within LinkedIn's limits and keep a human pace. Linked API runs each action on your own account through a human-paced cloud browser and surfaces LinkedIn's own limit signals – `messagingNotAllowed`, `noteLimitExceeded`, `requestNotAllowed` – so your code can back off before it hits a wall. #### Can you schedule LinkedIn messages? Not for standard direct messages – LinkedIn has no native scheduler for them. LinkedIn Recruiter and Recruiter Lite can schedule initial InMail, and Recruiter can schedule one automated follow-up, but that is a paid recruiting feature. For everything else you schedule the send in your own code or in a third-party tool. #### How do I send bulk or mass messages on LinkedIn? There is no safe "blast to thousands" button, and trying to fake one is how accounts get restricted. The scalable-but-safe approach is to loop over your list programmatically and send each message on your own account at a human pace, respecting LinkedIn's limits – which is exactly what the [flow above](/guides/how-to-automate-linkedin-messages) does. #### Can you message someone you're not connected to? Yes, two ways. Send a connection request and message them once they accept (a standard 1st-degree message), or send a **Sales Navigator InMail** with `nvSendMessage`, which reaches a non-connection directly but needs a Sales Navigator seat and a subject line. #### How many messages and connection requests can you send per day? LinkedIn publishes no exact cap. Third-party trackers put safe connection requests around 20-40 a day, and direct messages around 30-60 a day, per ZELIQ's 2026 guide; PhantomBuster, as of July 2026, cites nearer 100 messages a week on a free account. They are unofficial and move with your account standing, so treat them as guardrails and stay comfortably under them. See our [connection limit guide](/guides/linkedin-connection-limit-2026) for detail. #### Can you automate LinkedIn messages for free? You can send messages and connection requests on a free LinkedIn account, but free accounts hit tighter limits – for example, a capped number of personalized invitation notes (Linked API returns `noteLimitExceeded` when you reach it). Automation tools and APIs are paid products; Linked API starts at $49/mo (Core, billed annually), flat per seat. #### Can you automate your LinkedIn inbox and replies? Yes. Turn on whole-inbox monitoring once with `syncInbox` (or `nvSyncInbox` for the Sales Navigator inbox), then `pollInbox` returns every new message across all your conversations, each tagged with the hashed `personHashedUrl` to reply to, a `personPublicUrl` that carries the public profile URL once that person has been resolved, and a `sender` of `us` or `them` – so you can route, tag, or reply to incoming messages in code. Enabling only switches monitoring on; the messages are picked up afterwards by a sync that runs periodically. Prefer push over polling? Subscribe to inbox webhook events. On the CLI it is `linkedin inbox sync` once, then `linkedin inbox get`. #### Chrome extension vs cloud-based automation – which is safer? A cloud setup is generally the safer of the two: it runs independently of your own machine and browser session, at a controlled pace. A Chrome extension only runs while your computer and browser are on, and ties the automation directly to your everyday browsing session. An API on a cloud browser, like Linked API, gives you the cloud's consistency plus full control over pacing. --- Want to run the connect-to-reply flow on your own account, inside your own stack? [Start with Linked API](/pricing) – the same actions across the [API and SDKs](/sdks/installation), [CLI](/cli/getting-started), [MCP server](/mcp/overview), and ready-made [skills](/skills), on your own account and at a human pace. ## LinkedIn Boolean Search: Operators, Examples, and How to Run Searches at Scale (2026) LinkedIn boolean search combines keywords with a handful of operators – quotation marks for exact phrases, and **AND, OR, and NOT (typed in uppercase)** plus parentheses for grouping – to build precise searches for people and companies. It works in the standard search bar, in LinkedIn Recruiter, and in Sales Navigator, though each puts boolean in slightly different fields. This guide covers the operators with copy-paste examples, the differences between the three surfaces, the mistakes and limits that trip people up, and the part most boolean guides skip: how to run the same search programmatically at scale. > **The short version.** Five operators do the work: `"exact phrase"`, and **AND / OR / NOT in uppercase** plus **parentheses** to group. They go inside the field you're searching – the standard search box, or the Keywords/Title/Company fields in Recruiter and Sales Navigator – not as `title:`-style commands (those don't work). To run a search at scale, you build it in LinkedIn's interface, copy the results URL, and hand that URL to a search API. It runs the search you built – it is not a raw boolean engine, and it returns profile data, not emails. ## The LinkedIn boolean operators There are five, and they are the same across LinkedIn's search surfaces. (Reference: LinkedIn's own [Use Boolean search on LinkedIn](https://www.linkedin.com/help/linkedin/answer/a524335).) | Operator | What it does | Example | Rule | | --- | --- | --- | --- | | Quotation marks | Matches an exact phrase | `"product manager"` | LinkedIn ignores common words (and, or, the, by, in, with); quote a phrase to force them in | | AND | Requires all terms (narrows) | `finance AND CPA` | Type it in UPPERCASE | | OR | Matches any term (broadens) | `sales OR marketing` | Type it in UPPERCASE | | NOT | Excludes a term (narrows) | `developer NOT manager` | UPPERCASE, immediately before the term | | Parentheses | Groups logic, evaluated first | `VP NOT (assistant OR SVP)` | The only grouping symbol LinkedIn recognizes | Two rules save most of the headaches. First, **AND, OR, and NOT must be uppercase** – written in lowercase, LinkedIn reads them as ordinary keywords. Second, when you mix operators, LinkedIn evaluates them in a fixed order: **quotes, then parentheses, then NOT, then AND, then OR**. When in doubt, add parentheses to make your intent explicit. LinkedIn does **not** support wildcards (`*`), curly, square, or angle brackets, or the `+`/`-` operators – use AND and NOT instead. Once a string works in LinkedIn, an AI agent can run it for you on your own account. Build the search in LinkedIn, copy the results URL, and hand it over – here with the first example string below: **You:** Here's the URL of a LinkedIn people search I built with "software engineer" AND (Java OR Kotlin OR Scala) AND (backend OR "back end") NOT recruiter. Run it, take the first 25 results, tell me who I'm already connected to, and give me name, headline and location. Don't contact anyone. **Agent** (used Linked API: search_people): - your search URL as customSearchUrl, limit 25 – 25 people - connection degree read from each result: 2 first-degree, 8 second-degree, 15 third-degree or beyond 25 people from your search: 2 are already connections, 8 are second-degree and 15 third-degree or beyond. Nothing has been sent. The first rows: | Name | Headline | Location | Connected? | | --- | --- | --- | --- | | Jonas B. | Senior Backend Engineer – Kotlin, payments | Berlin, Germany | No – 2nd degree | | Aylin K. | Software Engineer (Java), logistics platform | Hamburg, Germany | No – 3rd+ | | Tim W. | Backend Software Engineer, Java and Spring | Munich, Germany | Yes – 1st degree | *Nothing goes out – ask for full profiles or drafted notes next, and anything you choose to send waits for your approval.* *Example run, fictional people. The agent passes your URL as it is, so LinkedIn runs the Boolean string exactly as it did in your browser – the agent does not parse the string itself. On a free account LinkedIn's monthly commercial use limit applies. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ## Where boolean search works: standard search, Recruiter, and Sales Navigator Boolean behaves the same, but *where* you type it differs by product. | Surface | Where boolean goes | Structured filters | | --- | --- | --- | | Standard search | The single search box at the top | Minimal; most advanced filters are gated behind Premium | | Recruiter / Recruiter Lite | The Keywords field, plus filter fields like Job titles, Location, Companies, Schools, Skills, Industries, and Spoken languages | 20+ filters | | Sales Navigator | The Keywords, Title, and Company fields | 30+ Lead and Account filters | One correction, because a lot of older guides get it wrong: **colon field-commands like `title:`, `company:`, or `school:` are not documented by LinkedIn and do not work** in standard search. Boolean today goes *inside* the named field you want to search – the Keywords box, or the dedicated Title, Company, and School fields in [Recruiter](https://www.linkedin.com/help/recruiter/answer/a415295) and Sales Navigator – not as a `field:value` prefix. LinkedIn's [Sales Navigator help](https://www.linkedin.com/help/linkedin/answer/a168061) confirms boolean in its Company, Title, and Keyword fields (that page is a few years old, so treat the finer field details as a guide rather than gospel). The practical takeaway: in the standard search bar you lean on boolean; in Recruiter and Sales Navigator you keep the boolean simple and let the structured filters do the heavy lifting. ## Boolean search examples you can copy Here are six strings that follow the rules above. Adapt the roles to your target; keep the syntax. - **Backend engineers, excluding recruiters** (tech recruiting): `"software engineer" AND (Java OR Kotlin OR Scala) AND (backend OR "back end") NOT recruiter` - **Sales VPs at software companies, minus junior roles** (SaaS prospecting): `("VP of Sales" OR "Vice President of Sales" OR "VP Sales") AND (SaaS OR software) NOT (assistant OR intern)` - **Individual-contributor developers only** (IC sourcing): `developer NOT (manager OR director OR contractor)` - **Advanced-degree data/ML people who use Python or R** (DS/ML recruiting): `("data scientist" OR "machine learning engineer" OR "ML engineer") AND (Python OR R) AND (PhD OR "Master's")` - **Marketing leaders in fintech, excluding freelancers** (exec prospecting): `(CMO OR "Chief Marketing Officer" OR "VP Marketing") AND (fintech OR "financial services") NOT freelance` - **ICU nurses, excluding students and retirees** (healthcare recruiting): `("registered nurse" OR RN) AND (ICU OR "intensive care") NOT (student OR retired)` Notice the pattern: quotes lock multi-word titles together, parentheses hold a group of synonyms joined by OR, and NOT trims out the roles you never want to see. ## Common boolean mistakes (and LinkedIn's limits) - **Lowercase operators.** `java and python` searches for the word "and." Capitalize AND, OR, NOT. - **Forgetting quotes on phrases.** `product manager` can match "product" and "manager" separately, and LinkedIn drops the stop words in between; `"product manager"` keeps it exact. - **Expecting field-commands to work.** `title:CMO` does nothing useful in standard search. Put the term in the Keywords box, or use the Title field in Recruiter or Sales Navigator. Colon commands like `intitle:` and `inurl:` belong to Google, not LinkedIn – searching LinkedIn profiles through Google is a separate technique, covered in the [X-ray search guide](/guides/linkedin-xray-search). - **Hitting the Commercial Use Limit.** On a free account, LinkedIn caps how much you can search each month once your activity looks like hiring or prospecting. Per LinkedIn's [help page](https://www.linkedin.com/help/linkedin/answer/a564226), it does not display the exact number of searches you have left, and the limit resets at the start of each calendar month. Recruiter and Sales Navigator raise or remove that ceiling. - **Expecting boolean in every filter.** Boolean only works in the fields that accept free text (Keywords, Title, Company). The dropdown and checkbox filters use their own logic. ## From boolean to scale: run your search via API A boolean search is a one-off in the browser. When you want to run it repeatedly, feed the results into a workflow, or search on behalf of a product, you move it to an API – and the clean way to do that is to **build the search in LinkedIn, then hand over its URL**. LinkedIn encodes your whole query (keywords, boolean, and filters) into the search results URL; [Linked API](/guides/linkedin-scraper-api) takes that URL as `customSearchUrl` and runs the same search on your own authenticated account. ```typescript import LinkedApi from '@linkedapi/node'; const linkedapi = new LinkedApi({ linkedApiToken: process.env.LINKED_API_TOKEN, identificationToken: process.env.IDENTIFICATION_TOKEN, }); // Build the boolean search in LinkedIn, copy the results URL, and run it at scale. // customSearchUrl runs exactly that search (it overrides term and filter). const search = await linkedapi.searchPeople.execute({ customSearchUrl: 'https://www.linkedin.com/search/results/people/?keywords=%22software%20engineer%22%20AND%20(Java%20OR%20Kotlin)', limit: 25, }); const { data: people } = await linkedapi.searchPeople.result(search.workflowId); for (const person of people ?? []) { console.log(person.name, person.headline, person.publicUrl); } ``` The Python SDK has the same method (`search_people` with `custom_search_url`), the CLI takes the URL with `linkedin person search --url`, and an AI agent takes it as in the [run near the top of this guide](#the-linkedin-boolean-operators). If you would rather describe the search in code than build it in the UI, use structured filters instead (`position`, `locations`, `industries`, companies, schools). One rule to know: a request needs **either a `term` or a `customSearchUrl`** – a `filter`-only call is rejected – so pass a keyword `term` alongside your `filter`. The [people search](/docs/searching-for-people) and [company search](/docs/searching-for-companies) endpoints work the same way, and the [Sales Navigator variants](/guides/linkedin-sales-navigator-api) (`nvSearchPeople`, `nvSearchCompanies`) add filters like years of experience and company revenue. Two honest limits: `term` is plain keyword text, not a boolean parser – for real boolean, use `customSearchUrl`; and results come back at your account's safe pace with profile URL, name, headline, and location, **not emails**. From a returned profile you can go deeper with the [profile scraper](/guides/linkedin-profile-scraper) or turn matches into [outreach](/guides/linkedin-cold-outreach-strategies-2026), always [within your account's limits](/safety). ![Diagram: build a boolean or filtered search in LinkedIn's standard search, Recruiter, or Sales Navigator, then copy the search results URL, pass it to the API as customSearchUrl, and receive structured JSON results (name, profile URL, headline, location) at your account's pace. A note reads: the API runs the search you built, not a raw boolean-string engine, and returns profiles, not emails.](/images/guides/linkedin-boolean-search-to-api.webp) ## Frequently Asked Questions (FAQ) #### What is boolean search on LinkedIn? It is a way to combine keywords with operators – quotation marks for exact phrases, and AND, OR, NOT, and parentheses – to build a precise search for people or companies instead of a single loose keyword. #### What boolean operators does LinkedIn support? Quotation marks for exact phrases, and AND, OR, and NOT (typed in uppercase) plus parentheses for grouping. LinkedIn does not support wildcards (`*`), brackets of any kind, or the `+`/`-` operators. #### Do field commands like `title:` still work on LinkedIn? No. LinkedIn does not document colon field-commands, and they do not work in standard search. Type your boolean inside the named field instead – the Keywords box in standard search, or the dedicated Title, Company, and School fields in Recruiter and Sales Navigator. Commands like `intitle:` work in Google, where they are used for [X-ray search](/guides/linkedin-xray-search) against public profiles. #### Does boolean search work in Sales Navigator and Recruiter? Yes. Recruiter accepts boolean in its Keywords field and several filter fields; Sales Navigator accepts boolean in its Keywords, Title, and Company fields, layered on top of its structured filters. In both, keep the boolean simple and let the filters narrow the rest. #### Why did my LinkedIn search stop showing results? Free accounts hit a monthly Commercial Use Limit once your searching looks like hiring or prospecting. LinkedIn does not state the exact number and it resets at the start of each calendar month. Recruiter and Sales Navigator raise or remove that limit. #### Can I run a LinkedIn boolean search programmatically? Yes. Build the search in LinkedIn's interface and pass its results URL to a search API – Linked API's `searchPeople` and `searchCompanies` accept it as `customSearchUrl` – or describe the search with structured filters plus a keyword term. It runs the search you built on your own account and returns profile data, not emails, and it is not a raw boolean-string engine. #### Is boolean search free on LinkedIn? In the standard search bar, yes, subject to the monthly commercial use limit. Recruiter and Sales Navigator add more boolean-capable fields and structured filters on their paid plans. --- Built the perfect boolean search and want to run it every day, at scale, from your own account? [Start with Linked API](/pricing) – paste your LinkedIn search URL, get clean JSON for every match, and wire it into your stack through the [API and SDKs](/sdks/installation), [CLI](/cli/getting-started), [MCP](/mcp/overview), and [skills](/skills). ## LinkedIn Post Scraper: How to Extract Posts, Reactions, and Comments via API (2026) A LinkedIn post scraper pulls the content and engagement of a post – its text, media, and reaction, comment, and repost counts – and, most usefully, the list of people who reacted and commented, each with their name, headline, and profile URL. There is no official LinkedIn API to read arbitrary post data, so every option is a scraper, and they differ a lot in reliability and account risk. This guide shows exactly what fields you can get, a real sample response, how to search posts by keyword, scrape one post, and pull a person's or company's recent posts or your own feed in code (Node and Python), and the part most guides skip: turning post engagers into a warm-lead list. > **The short version.** A post's content and its engager list – who reacted and who commented, with name, headline, and profile URL – are both extractable. Personal emails are not. Linked API finds posts by keyword through LinkedIn's own content search, reads known post URLs, a person's or company's recent posts, and your own home feed – all from your account, all bounded by a limit – and on big posts it samples engagement rather than dumping it whole. Chrome extensions and scripts run on *your own* account at machine speed and get it restricted; an API paces like a human and returns clean JSON. ## What data is in a LinkedIn post A post is really three records: the post itself, the reactions on it, and the comments on it. Here is what you get from each. | Group | Fields | | --- | --- | | Post | `url`, `time`, `type` (`original` / `repost`), `repostText`, `text` | | Media | `images`, `hasVideo`, `hasPoll` | | Counts | `reactionsCount`, `commentsCount`, `repostsCount` | | Reaction (per engager) | `actor` (`type`, `name`, `profileUrl` or `companyUrl`, `headline`, your `connectionDegree`), `type` (`like` / `celebrate` / `support` / `love` / `insightful` / `funny`) | | Comment (per commenter) | `author` (`type`, `name`, `profileUrl` or `companyUrl`, `headline`, your `connectionDegree`), `text`, `time`, `isReply`, `reactionsCount`, `repliesCount` | The reaction and comment records are the valuable part: each one carries the engager's **profile URL** – a durable key you can enrich or act on later. Note what is *not* here: no email, no phone. Post data is public-facing profile data, not contact data. ## A real scraped post The reactions and comments sections are opt-in – you ask for them, and you get typed JSON back instead of HTML to parse. ```json { "url": "https://www.linkedin.com/posts/jane-doe_growth-activity-7440011668937568257", "time": "2026-07-08T14:20:00Z", "type": "original", "repostText": null, "text": "We cut our onboarding drop-off by 40% this quarter. Three things that worked...", "images": ["https://media.linkedin.com/…/chart.png"], "hasVideo": false, "hasPoll": false, "reactionsCount": 214, "commentsCount": 37, "repostsCount": 9, "reactions": [ { "actor": { "type": "person", "name": "Mark Lee", "urn": null, "profileUrl": "https://www.linkedin.com/in/mark-lee", "headline": "VP Sales at Northwind", "viewerState": { "connectionDegree": "2nd" } }, "type": "insightful" }, { "actor": { "type": "person", "name": "Sara Kim", "urn": null, "profileUrl": "https://www.linkedin.com/in/sara-kim", "headline": "Head of RevOps at Acme", "viewerState": { "connectionDegree": "3rd+" } }, "type": "celebrate" } ], "comments": [ { "author": { "type": "person", "name": "David Ross", "profileUrl": "https://www.linkedin.com/in/david-ross", "headline": "Growth Lead at Beacon", "viewerState": { "connectionDegree": "2nd" } }, "text": "Which onboarding step moved the needle most?", "time": "2026-07-08T15:02:00Z", "isReply": false, "reactionsCount": 4, "repliesCount": 1 } ] } ``` ## Four ways to scrape LinkedIn posts, compared There is no official post API, so the real choice is between four methods that trade off scale, output, and the risk to your account. | Method | Scale | Output | Maintenance | Account-ban risk | | --- | --- | --- | --- | --- | | Manual copy-paste | A few a day | You retype it | None | None | | Chrome extension | Tens/day | A spreadsheet | Breaks on layout changes | High – acts on your account at machine speed | | DIY Python scraper | High, until blocked | Raw HTML you parse | You own selectors and proxies | High – headless on your account | | API on your own account | Steady, paced | Structured JSON (post + engagers) | Handled for you | Lower – paced like a human | One scope note before the code: this account-based approach reaches posts four ways – a **keyword search**, a **specific post URL**, a **person's or company's timeline**, and **your own home feed** – and every one of them runs through your own account at a human pace. That makes it the right tool for live, targeted reads, and the wrong one for a sweeping historical archive of everything ever posted about a topic across many keywords: a dataset or a large-scale scraper is built for that volume, with the usual scraping-risk and stale-versus-live trade-offs. For the account-based model across all entities, see the [LinkedIn scraper API guide](/guides/linkedin-scraper-api); for vacancies rather than content posts, the [LinkedIn jobs scraper](/guides/linkedin-jobs-scraper). ## Scrape posts with an AI agent (no code) If you work in Claude, ChatGPT, Cursor or Claude Code, you can skip the code below. Connect the Linked API [MCP server](/mcp/overview) or give a coding agent the agent-friendly [CLI](/cli/getting-started), and ask for the posts and the people behind them: **You:** Search up to 50 LinkedIn posts from the past week about "AI SDR". Among those results, take the three with the highest comment counts, collect up to 100 comments per post, and list the commenters with their headline and what they said. Save it to engagers.csv. **Agent** (used Linked API: search_posts, fetch_post ×3): - up to 50 posts about "AI SDR" from the past week - up to 100 comments on each of the three posts with the most comments - 58 commenters written to engagers.csv Saved the 58 commenters retrieved from those three posts to engagers.csv. The first rows: | Name | Headline | Post | Comment | | --- | --- | --- | --- | | Carla V. | Head of Sales Development at a SaaS company | "We replaced half our SDR research with agents…" | "What did you keep human?" | | Ben T. | Founder, outbound agency | "We replaced half our SDR research with agents…" | "Reply rates matter more than volume here." | | Nadia F. | RevOps Lead | "AI SDRs: 90 days in" | "How do you stop duplicate outreach?" | *Example run. LinkedIn may widen a narrow search, so check the posts against your topic. Works the same in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* To build the same reads into your own product or pipeline, the sections below show each one in code. ## Search LinkedIn posts by keyword Install the SDK: ```bash # Node.js npm install -S @linkedapi/node # Python pip install linkedapi ``` Then [search posts](/docs/searching-for-posts) the way you would in LinkedIn's content search – a keyword plus the same filters the search page offers: ```typescript import LinkedApi from '@linkedapi/node'; const linkedapi = new LinkedApi({ linkedApiToken: process.env.LINKED_API_TOKEN, identificationToken: process.env.IDENTIFICATION_TOKEN, }); const workflow = await linkedapi.searchPosts.execute({ term: 'onboarding drop-off', limit: 20, filter: { sort: 'latest', datePosted: 'pastWeek' }, }); const { data } = await linkedapi.searchPosts.result(workflow.workflowId); for (const post of data ?? []) { console.log(post.time, post.author?.name, post.reactionsCount, post.url); } ``` ```python from linkedapi import LinkedApi, LinkedApiConfig, SearchPostsParams linkedapi = LinkedApi( LinkedApiConfig( linked_api_token="your-linked-api-token", identification_token="your-identification-token", ) ) workflow = linkedapi.search_posts.execute( SearchPostsParams( term="onboarding drop-off", limit=20, filter={"sort": "latest", "date_posted": "pastWeek"}, ) ) for post in linkedapi.search_posts.result(workflow.workflow_id).data or []: print(post.time, post.author.name if post.author else None, post.reactions_count, post.url) ``` Each result carries the post's URL, author (name, headline and profile URL for a person), text, hashtags, mentions and reaction, comment and repost counts. Beyond `sort` and `datePosted`, the [`searchPosts` filters](/docs/action-st-search-posts?surface=sdk) cover content type, who posted it (you, your connections, people you follow), specific authors and companies, mentions, and the author's company or industry – or pass a `customSearchUrl` copied from a LinkedIn search you configured by hand. Two honest limits. LinkedIn widens a narrow query on its own and can return loosely related posts, so check results against your own criteria when an exact match matters. And a search returns at most 100 posts per call, from your own account's search. Run the same search daily with `datePosted: 'past24Hours'` and you are watching a keyword for people raising their hand – a [buying-signal](/guides/linkedin-buying-signals) feed rather than complete social listening, because LinkedIn decides what its search returns. For a weekly digest of brand mentions, competitors and topics built on the same search, see [LinkedIn social listening](/guides/linkedin-social-listening). To see who engaged with a result, pass its `url` to the next step. ## Scrape a single post and its engagers [Fetch a post](/docs/retrieving-post-data) by URL – from a search result or anywhere else – asking for its reactions and comments: ```typescript import LinkedApi from '@linkedapi/node'; const linkedapi = new LinkedApi({ linkedApiToken: process.env.LINKED_API_TOKEN, identificationToken: process.env.IDENTIFICATION_TOKEN, }); const workflow = await linkedapi.fetchPost.execute({ postUrl: 'https://www.linkedin.com/posts/jane-doe_growth-activity-7440011668937568257', retrieveReactions: true, retrieveComments: true, reactionsRetrievalConfig: { limit: 50 }, commentsRetrievalConfig: { limit: 50, sort: 'mostRecent' }, }); const { data } = await linkedapi.fetchPost.result(workflow.workflowId); console.log(data?.text, data?.reactionsCount, data?.reactions?.length); // each reaction: { actor: { type, name, urn, profileUrl or companyUrl, headline }, type } ``` ```python from linkedapi import LinkedApi, LinkedApiConfig, FetchPostParams linkedapi = LinkedApi( LinkedApiConfig( linked_api_token="your-linked-api-token", identification_token="your-identification-token", ) ) workflow = linkedapi.fetch_post.execute( FetchPostParams( post_url="https://www.linkedin.com/posts/jane-doe_growth-activity-7440011668937568257", retrieve_reactions=True, retrieve_comments=True, reactions_retrieval_config={"limit": 50}, comments_retrieval_config={"limit": 50, "sort": "mostRecent"}, ) ) data = linkedapi.fetch_post.result(workflow.workflow_id).data print(data.text, data.reactions_count, len(data.reactions or [])) ``` The `limit` in each config is what keeps this honest on a viral post: you pull a bounded, recent slice of the engagement, not a guaranteed copy of every one of thousands of reactions. ## Scrape a person's or company's recent posts To watch what someone publishes, [fetch the person](/docs/retrieving-person-data) (or [company](/docs/retrieving-company-data)) with `retrievePosts` and a `postsRetrievalConfig`. The `since` date is the key to monitoring – pass your last run's timestamp and you get only what is new: ```typescript const workflow = await linkedapi.fetchPerson.execute({ personUrl: 'https://www.linkedin.com/in/jane-doe', retrievePosts: true, postsRetrievalConfig: { limit: 20, since: '2026-06-01T00:00:00Z' }, }); const { data } = await linkedapi.fetchPerson.result(workflow.workflowId); for (const post of data?.posts ?? []) { console.log(post.time, post.reactionsCount, post.url); } // swap fetchPerson for fetchCompany with a companyUrl to track a company's posts ``` ```python from linkedapi import FetchPersonParams workflow = linkedapi.fetch_person.execute( FetchPersonParams( person_url="https://www.linkedin.com/in/jane-doe", retrieve_posts=True, posts_retrieval_config={"limit": 20, "since": "2026-06-01T00:00:00Z"}, ) ) data = linkedapi.fetch_person.result(workflow.workflow_id).data for post in data.posts or []: print(post.time, post.reactions_count, post.url) ``` This returns a **recent, bounded set** of posts, not a full archive. Run it on a schedule (a nightly cron with `since` set to yesterday) and you have a monitor for a person's or company's new activity – the foundation for the use case below. ## Is there a LinkedIn feed API? Not an official one for reading a member's home feed: LinkedIn's [Activity Feed API is deprecated](https://learn.microsoft.com/en-us/linkedin/marketing/community-management/shares/activity-feed?view=li-lms-2024-05) and no longer grants access, and its current APIs cover publishing and managing your own organization's content rather than reading what your network posts. Two different jobs get called a "LinkedIn feed API", so here are both answers. **Showing your company's posts on a website** does not need an API at all: LinkedIn's "Embed this post" option gives you a snippet per post, and website-widget tools handle a live wall of them. **Reading your own home feed into code or an AI agent** – what your network is posting, as LinkedIn serves it to you – is what [`retrieveFeed`](/docs/action-st-retrieve-feed?surface=sdk) does: ```typescript const workflow = await linkedapi.retrieveFeed.execute({ limit: 20 }); const { data } = await linkedapi.retrieveFeed.result(workflow.workflowId); for (const post of data ?? []) { console.log(post.author?.name, post.feedContext, post.url); } ``` ```python from linkedapi import RetrieveFeedParams workflow = linkedapi.retrieve_feed.execute(RetrieveFeedParams(limit=20)) for post in linkedapi.retrieve_feed.result(workflow.workflow_id).data or []: print(post.author.name if post.author else None, post.feed_context, post.url) ``` Each post comes back in the standard post shape plus `feedContext` – LinkedIn's own line explaining why the post is in your feed, such as a connection reacting to it. The feed is algorithmic rather than chronological, so there is no `since`: each call returns what LinkedIn serves the account now, up to 100 posts. From the shell, `linkedin feed retrieve --limit 50 --json` does the same through the [CLI](/cli/commands#your-account). ## Turn post engagers into warm leads Here is the part worth building for. A person who reacted to or commented on a relevant post has raised their hand. You already have their profile URL from the post – so the pipeline is short: read the post's engagers, optionally enrich each live, and act. ```typescript // You already fetched the post with retrieveReactions + retrieveComments above. const leads = [ ...(data?.reactions ?? []).map(({ actor, type }) => ({ url: actor.type === 'person' ? actor.profileUrl : actor.companyUrl, name: actor.name, headline: actor.type === 'person' ? actor.headline : null, signal: type, })), ...(data?.comments ?? []).map(({ author }) => ({ url: author.type === 'person' ? author.profileUrl : author.companyUrl, name: author.name, headline: author.type === 'person' ? author.headline : null, signal: 'commented', })), ]; // From here: enrich one live with fetchPerson(url), or act with // sendConnectionRequest / sendMessage - all on your own account. ``` ![Pipeline diagram: a monitored LinkedIn post feeds into pulling its reactions and comments, which give each engager's profile URL, name, and headline; those flow into optional live enrichment via fetchPerson and then into outreach with a connection request or message. A note marks that you get profile URLs, not emails.](/images/guides/linkedin-post-engagers-pipeline.webp) Two honest limits keep this grounded. You get profile URLs and public headlines, **not emails** – so this builds a targeted list and a warm-intent signal, not a contact database. And it runs on your own account at a human pace, so it is built for steady, relevant lists, not for scraping every reactor on a 10,000-like post. For what to do with the list next, see our [cold outreach guide](/guides/linkedin-cold-outreach-strategies-2026); if your source list lives in Sales Navigator, see the [Sales Navigator guide](/guides/linkedin-sales-navigator-scraper). ## Can you get an engager's email? No, and it is the same story as any [profile scraper](/guides/linkedin-profile-scraper): emails and phone numbers are not shown on posts or profiles, so a scraper reading LinkedIn cannot return them. What you get is the engager's profile URL and headline. To attach a verified email, match that person against a separate, consented B2B enrichment provider – a different product from post scraping, and the data does not come off LinkedIn. ## Is scraping LinkedIn posts legal, and will my account get banned? Post content and public engagement are largely visible data, and courts have treated scraping genuinely public data more leniently than accessing private data – but public is not a free pass. Personal data still falls under GDPR and CCPA, and LinkedIn enforces against extraction operations directly. We break down the full legal picture in our [guide to scraping LinkedIn](/guides/how-to-scrape-linkedin#is-scraping-linkedin-legal-the-three-layers). The ban risk is highest exactly where most people start: a Chrome extension or headless script driving your own account too fast. Linked API takes the account-based path – it runs on your own authenticated account through a human-paced cloud browser, within built-in workflow limits – and returns maintained, structured JSON, so you are not rewriting selectors every time the feed changes. Pace like a human, stop on any warning, and keep contact data to consented sources. Read our [safety model](/safety) before you scale. ## Frequently Asked Questions (FAQ) #### What data can you scrape from a LinkedIn post? The post's content (text, media flags), its reaction, comment, and repost counts, and the list of people who reacted and commented – each with name, headline, and profile URL, plus the reaction type or comment text. Personal emails and phone numbers are not available. #### Can I see who liked or commented on a LinkedIn post? Yes. Requesting reactions returns each reactor's profile URL, name, headline, and reaction type (`like`, `celebrate`, `support`, `love`, `insightful`, `funny`); requesting comments returns each commenter's URL, name, headline, and comment text. This is what makes a post a lead source. #### Can I get the email of someone who engaged with a post? No. LinkedIn does not expose personal emails on posts or profiles, so you get profile URLs, not contacts. Match those profiles against a consented enrichment provider if you need verified emails. #### Can I scrape a person's recent LinkedIn posts? Yes – fetch the person with `retrievePosts` and a `postsRetrievalConfig` (`limit`, optional `since`). It returns a bounded recent set of their posts, not a guaranteed full archive; the same works for a company via `fetchCompany`. #### Can I monitor a person's or company's posts for new activity? Yes. Pass a `since` date in `postsRetrievalConfig` to pull only posts published after your last run, and schedule the call (for example, a nightly cron job). That turns the fetch into a monitor for new posts. The publishing direction – scheduling and automating your own posts – is covered in [How to Automate LinkedIn Posts](/guides/how-to-automate-linkedin-posts). #### Can Linked API search LinkedIn posts by keyword? Yes – since September 2026. `searchPosts` runs LinkedIn's content search on your own account with a keyword and the same filters the search page offers (sort, date posted, content type, author, mentions), and returns up to 100 posts per call as structured JSON. LinkedIn can widen narrow queries, so check results against your own criteria when an exact match matters. #### Is there an official LinkedIn API for reading post data? No. LinkedIn's official APIs cover your own content and approved partner use cases; there is no public API to read arbitrary posts and their engagement. Every "post scraper" you see is a scraping or account-based product. #### Is scraping LinkedIn posts legal? Reading public post data is treated more leniently than accessing private data, but personal data still falls under GDPR and CCPA. See our [legal breakdown](/guides/how-to-scrape-linkedin#is-scraping-linkedin-legal-the-three-layers). #### How many posts can I scrape per day? There is no universal number – it depends on your account's age and history and on staying within a safe daily pace. An account-based API paces the work like a human rather than bursting; treat volume as bounded, not a firehose. --- Need LinkedIn post data and the people behind the engagement, without running an extension or a fragile script? [Start with Linked API](/pricing) – search posts by keyword, read posts, reactions, and comments, and pull your own feed – from your own account, as structured JSON, through the [API and SDKs](/sdks/installation), [CLI](/cli/getting-started), [MCP](/mcp/overview), and [skills](/skills). ## LinkedIn Connections API and Export: Get Your Connections Manually or via API (2026) Exporting your LinkedIn connections gets your network out of LinkedIn and into a spreadsheet, a CRM, or your own product. There are two honest ways to do it, and they answer different needs. The manual way – LinkedIn's own data export – hands you a one-time CSV in a few clicks, and it is the right answer if you just want the file. If you need your connections kept up to date in a CRM or product, there is no one-click tool for that; you pull them as JSON through an API on your own schedule. This guide covers both: the exact current steps to download the file, what fields you actually get (email is included only if the connection shared it), and how to build a continuous sync when a one-time export is not enough. > **The short version.** The manual way is LinkedIn's **Data Export**: Me → Settings & Privacy → Data privacy → Get a copy of your data → "Download larger data archive, including connections…" → Request archive, then download the `Connections.csv` from the email. You get a one-time snapshot of your 1st-degree connections, with an email address only for those who chose to share it. That is the right answer for a one-time download. If you need your connections **kept in sync** – upserted into a CRM or product on a schedule – there is no built-in export for that; you pull them as JSON through an account-based API like [Linked API](/pricing) and update your system yourself. ## How to export your LinkedIn connections (step by step) Here is the route [LinkedIn currently documents](https://www.linkedin.com/help/linkedin/answer/a566336/export-connections-from-linkedin): ![The manual LinkedIn connections export flow: Settings and Privacy, then Data privacy, then Get a copy of your data, then the larger data archive option, then Request archive, then download the CSV from the email](/images/guides/export-linkedin-connections-steps.webp) 1. Click **Me** (your photo, top right) → **Settings & Privacy**. 2. Open **Data privacy**. 3. Click **Get a copy of your data**. 4. Choose **"Download larger data archive, including connections, verifications, contacts, account history, and information we infer about you based on your profile and activity."** 5. Click **Request archive** and confirm your password. 6. LinkedIn emails you when the archive is ready. Download it and open **`Connections.csv`**. Two things to know before you start. You can only export your **1st-degree connections** – [LinkedIn notes](https://www.linkedin.com/help/linkedin/answer/a566336/export-connections-from-linkedin) you "currently can't export a list of your contacts that aren't 1st-degree connections." And if your account still shows a granular "Connections" option, that works too; the larger-archive option above is the route LinkedIn currently documents. ## What you get in the export (and what you don't) The `Connections.csv` gives you one row per 1st-degree connection, typically with these columns: - **First name** and **last name** - **LinkedIn profile URL** - **Company** – as of the time you export - **Position** – job title - **Connected on** – the date you connected, in MM/DD/YYYY format - **Email address** – but [only for connections who allowed it](https://www.linkedin.com/help/linkedin/answer/a566336/export-connections-from-linkedin), so many rows have none What you will not get: anyone beyond your 1st degree, a personal email for every connection, or any ongoing updates. The file is a snapshot as of the moment you export it, and the only way to refresh it manually is to export again. If you need it to stay current, use the API below. To export people from a LinkedIn search instead – beyond your own network – see [how to export LinkedIn search results](/guides/export-linkedin-search-results). ## Is there a LinkedIn connections API? Not a self-serve one. LinkedIn's official [Connections API](https://learn.microsoft.com/en-us/linkedin/shared/integrations/people/connections-api) exists, but it is restricted to LinkedIn-approved developers with permissions such as `r_1st_connections`, so for most teams it is simply not available. The route that is open to everyone is account-based: Linked API's [`retrieveConnections`](/docs/action-st-retrieve-connections) returns your 1st-degree connections as structured JSON through a dedicated cloud browser on your own account, which is what the continuous sync below is built on. ## How to export your connections programmatically (build a continuous sync) The manual export is a snapshot. If you want your connections to stay current in a CRM or product, pull them through your own account instead. Linked API's `retrieveConnections` returns your 1st-degree connections as structured data, and its `since` parameter returns only connections you made on or after a date – so each run picks up the **new connections** since the last one, each with the date you connected. The quickest way to try it is to ask an AI agent connected through the [MCP server](/mcp/overview) or the agent-friendly [CLI](/cli/getting-started): **You:** Export the LinkedIn connections I've made since October 1 to new-connections.csv – name, headline, profile link and the date we connected. **Agent** (used Linked API: retrieve_connections): - connections made since 2026-10-01 - 37 rows written to new-connections.csv Saved 37 new connections to new-connections.csv. The latest three: | Name | Headline | Connected | Profile link | | --- | --- | --- | --- | | Laura M. | Head of Partnerships at a fintech | 2026-11-03 | linkedin.com/in/… | | Daniel K. | Founder, B2B analytics startup | 2026-11-02 | linkedin.com/in/… | | Aisha R. | RevOps Lead | 2026-10-31 | linkedin.com/in/… | *Example run. Works the same in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ![A continuous connection-sync pipeline: a cron scheduler triggers retrieveConnections with a since timestamp through the API, SDK, or CLI; Linked API runs it on your own account and returns new connections as JSON, which you upsert into your CRM or product](/images/guides/export-linkedin-connections-pipeline.webp) For a sync that runs on its own, call the same action from your code on a schedule and keep the last run time between runs. Reach it through the REST API, the [Node and Python SDKs](/docs/action-st-retrieve-connections?surface=sdk) or the shell [CLI](/cli): ```typescript import LinkedApi from '@linkedapi/node'; const linkedapi = new LinkedApi({ linkedApiToken: process.env.LINKED_API_TOKEN, identificationToken: process.env.IDENTIFICATION_TOKEN, }); const workflow = await linkedapi.retrieveConnections.execute({ since: process.env.LAST_RUN_ISO, limit: 500 }); const { data: connections } = await linkedapi.retrieveConnections.result(workflow.workflowId); for (const c of connections ?? []) { console.log(c.name, '-', c.publicUrl, '-', c.connectedAt); // upsert into your CRM here } ``` Two honest limits: `since` returns newly made connections, not a full change-feed – it will not report profile edits or connections that were removed, so treat it as an append-and-update sync – and, like the manual export, it returns no personal email addresses. It runs on your own account, bounded by your account's [daily limits](/docs/core-concepts#limits-management). Grab your tokens from the [installation guide](/sdks/installation), and see [retrieving connections](/docs/action-st-retrieve-connections) and [managing existing connections](/docs/managing-existing-connections) for the full contract. **Without polling.** Turn on [network monitoring](/docs/monitoring-network) and register a [webhook](/docs/webhooks), and Linked API sends `network.connectionAccepted` when someone accepts your invitation and `network.connectionAdded` for any other new connection, each with the person's LinkedIn URL – upsert on each event. A `workflow.completed` event can also deliver any workflow's result to your endpoint, so your code does not wait on it ([event types](/docs/webhook-event-types)). ## Manual export vs API sync: which do you need? | | Manual Data Export | Account-based API (`retrieveConnections`) | | --- | --- | --- | | Output | One-time CSV | Structured JSON on demand | | Freshness | Snapshot when you export | On demand or on a schedule (`since` returns connections made on or after a timestamp), or a webhook event per new connection with network monitoring | | Keep a CRM updated | Re-download by hand | Scheduled sync you build | | Emails | Only if the connection shared it | No email field | | Setup | A few clicks | API tokens + code | | Best for | A one-time download | Continuous sync into a product or CRM | If you need the file once, export it. If you need your network to stay current inside a system, sync it with the API. ## Frequently Asked Questions (FAQ) #### How do I export my LinkedIn connections? Use LinkedIn's Data Export: Me → Settings & Privacy → Data privacy → Get a copy of your data → "Download larger data archive, including connections…" → Request archive, then download `Connections.csv` from the email LinkedIn sends. It is a one-time snapshot of your 1st-degree connections. #### Can I export my LinkedIn connections with email addresses? Only partly. LinkedIn includes an email address only for connections who allowed their connections to see or download it, so many rows have none. The API route returns no personal emails at all. If email coverage matters, do not count on having one for your whole list. #### Where is the option to download my connections? It lives under Settings & Privacy → Data privacy → Get a copy of your data, via the "Download larger data archive, including connections…" option. That is LinkedIn's currently documented route; if a granular "Connections" checkbox appears in your account, that works too. #### Can I export contacts that aren't 1st-degree connections? No. LinkedIn states you currently can't export a list of contacts that aren't 1st-degree connections. The export covers your direct connections only. #### How do I export LinkedIn connections to a CSV or Excel? The Data Export archive already contains a `Connections.csv` – open it directly in Excel, Google Sheets, or any tool that reads CSV. There is no separate "export to Excel" step. #### Can I export LinkedIn connections to my CRM automatically? Yes. Schedule `retrieveConnections({ since })` via the API, SDKs or CLI and upsert new connections into your CRM, or turn on Linked API's [network monitoring](/docs/monitoring-network) and receive a `network.connectionAccepted` or `network.connectionAdded` webhook event for each new connection. An AI agent can also export new connections on request through the MCP server. #### Is there a LinkedIn connections API? LinkedIn does not offer a self-serve, general-access API for exporting your connections. A [restricted Connections API](https://learn.microsoft.com/en-us/linkedin/shared/integrations/people/connections-api) exists for LinkedIn-approved developers (with permissions like `r_1st_connections`), but most teams cannot use it. For product or CRM sync, an account-based API like Linked API retrieves your connections as JSON through your own account – see the [retrieve-connections docs](/docs/action-st-retrieve-connections). --- Need your connections to stay current in your product, not just a CSV you re-download? [Start with Linked API](/pricing) to pull them as JSON on your own schedule, or see how the account-based model works across LinkedIn data in our [LinkedIn scraper API guide](/guides/linkedin-scraper-api). ## How to Export Leads from LinkedIn Sales Navigator to CSV or Excel (2026) You have built the search, saved the list, and now you want the rows in a spreadsheet. Sales Navigator has no export button, so every route runs through something that reads the results for you: your own hands, a browser extension, an export tool, an AI agent or a few lines of code. Pick by how many leads you need and whether the file is the end of the job or the first step. > **The short version.** Sales Navigator does not export leads or accounts to CSV or Excel natively – LinkedIn says so in its own help centre. For a handful of leads, copy them by hand. For the list you are looking at, a browser extension downloads a CSV in a few clicks. For a cleaned bulk file of a saved search, an export tool such as Evaboot runs it through your own session. When the export is the first step of a repeatable workflow, an AI agent or your own code runs the saved search on your seat and writes the file. Whatever the route, Sales Navigator shows at most 2,500 leads per search, and no route gets email addresses from Sales Navigator itself. ## Can Sales Navigator export leads natively? No. LinkedIn states it plainly in its [Sales Navigator help centre](https://www.linkedin.com/help/sales-navigator/answer/a102031): > "LinkedIn currently doesn't offer the option to export account and lead information from Sales Navigator into a CSV or XLS file." Two things get mistaken for a native export, and neither one is: - **CRM Sync on Advanced Plus.** The same help page says Advanced Plus users can sync lead and account information with Salesforce, Microsoft Dynamics or HubSpot. That is a CRM synchronisation, not a file you download, and it requires the top tier plus one of those CRMs. - **The usage report export.** Sales Navigator admins can export a usage report covering seat activity. That is licence administration data, not your leads. So when a tool advertises "Sales Navigator export", it is not unlocking a hidden feature. It is reading the search on your behalf and building the file itself. For a standard LinkedIn search rather than Sales Navigator, the options and limits differ – see [how to export LinkedIn search results](/guides/export-linkedin-search-results). ## What a Sales Navigator export actually produces Whatever route you take, the ceiling is what Sales Navigator itself renders. A row typically carries the lead's name, headline or position, company, and location, plus the profile URL that identifies them. Two things a Sales Navigator export does **not** carry, regardless of tool: - **Verified email addresses and phone numbers are not Sales Navigator fields.** Export tools that advertise emails run a separate enrichment step against other data sources after the export, and coverage and accuracy vary by provider. - **Anything behind a filter you did not apply.** The export inherits your search, so the quality of the file is decided before you export anything. Search scope also caps the job: Sales Navigator shows up to 2,500 lead results across 100 pages, or 1,000 account results across 40 pages, per search ([LinkedIn Help](https://www.linkedin.com/help/sales-navigator/answer/a106030)). Very large pulls mean splitting the search rather than exporting harder. Our [Boolean search guide](/guides/linkedin-boolean-search) covers building searches that segment cleanly. ## How to export Sales Navigator leads, step by step ### By hand, for a handful of leads 1. Open the lead search or lead list in Sales Navigator. 2. Start a spreadsheet with columns for name, title, company, location and profile link. 3. For each lead, copy the name, title and company from the result card, and the link from the lead page. 4. Save the sheet as CSV (UTF-8) when you are done. That is practical for a few dozen leads. Beyond that, the copying costs more than a tool. ### With a browser extension The steps below are the ones the SalesNav Exporter listing on the Chrome Web Store gives; most list exporters work the same way: 1. Open your Sales Navigator lead list. 2. Click the extension's icon. 3. Choose how many pages to export. 4. Select all and scroll to the bottom of each page, so every result loads. 5. Download the CSV and open it in Google Sheets or Excel. An extension reads what the page renders, so the file carries what the list shows – names, titles, companies – and runs on your own logged-in session. ### With an export tool (Evaboot) Evaboot's own export guide describes five steps: 1. Create an Evaboot account. 2. Install its Chrome extension; an "Export with Evaboot" button appears in Sales Navigator. 3. Open the lead search, lead list, account search, account list or saved search you want, and click the button. 4. Name the export and launch it in the Evaboot app. 5. Download the cleaned list as CSV or Excel when it finishes. Export tools clean the rows and offer email finding as a separate step. We compare the options in our [Evaboot alternatives guide](/blog/evaboot-alternatives). ## Sales Navigator scrapers and export tools compared Capabilities below are as described on each named vendor's live product and help pages. | Route | How it works | Owned seat required | Refresh model | Whose session runs it | Best for | | --- | --- | --- | --- | --- | --- | | **Browser extension** | Reads the Sales Navigator page open in your logged-in browser | Yes | Manual, you rerun it | Yours | A quick list from a search you are already looking at | | **Export tool** (Evaboot, Scrupp) | Runs your saved search through your own account, cleans the rows, returns a file, and offers email enrichment as a separate step | Yes | Manual, one export per run | Yours | A tidy bulk CSV of a saved search | | **Cloud actor or DIY script** (Apify, GitHub projects) | Runs an actor or your own code; cookie-based actors use your session, some run cookie-free against public pages | Only if cookie-based | Scheduled or on demand, maintained by you | Yours if cookie-based, the provider's if not | Custom bulk work you are willing to maintain | | **No-account dataset** (Bright Data) | Serves pre-collected public data at scale | No | Vendor-refreshed, so records can lag | Neither, it never touches your seat | Volume with no owned Sales Navigator seat | | **AI agent or code** (Linked API) | Runs your Sales Navigator search on your own seat in a dedicated cloud browser and returns structured rows | Yes | On demand or on your schedule | Yours | A repeatable export that feeds the next step | The distinction the tool pages blur is **whose session does the work**. A browser extension and an export tool both run on your own logged-in Sales Navigator session, so the activity sits on your account. A cloud actor may use your session cookies, in which case the same applies, or run cookie-free against public pages, in which case it never sees your Sales Navigator searches at all. A dataset never touches your account, and equally cannot see anything your seat can see. Pace matters on every route that uses your own session: a bulk extension pulling a large search as fast as it can render is a very different activity profile from a paced export. ## Export a saved search with an AI agent or in code If you export the same search every week, or the file feeds a next step – enrichment, a CRM, outreach – run the search on your own Sales Navigator seat through Linked API instead of clicking through it. Its Sales Navigator people search takes the URL of a search you built in the browser, so every filter you set there applies, and returns up to 2,500 leads, the same ceiling Sales Navigator shows. A Sales Navigator seat on the connected account is required. ### With an AI agent Connect Claude, Cursor or another MCP client to the Linked API [MCP server](/mcp/overview), or give a coding agent such as Claude Code or Codex the agent-friendly [CLI](/cli/getting-started), and describe the list: **You:** Run a Sales Navigator search for heads of RevOps at software companies in Germany, up to 500 leads, and save name, position, location, connection degree and profile link to sales-navigator-leads.csv. Tell me how many rows came back. **Agent** (used Linked API: nv_search_people): - heads of RevOps in Germany, industry Software Development, up to 500 leads - 312 rows written to sales-navigator-leads.csv Saved 312 leads to sales-navigator-leads.csv – that is every result Sales Navigator returned for this search. The first rows: | Name | Position | Location | Degree | Profile link | | --- | --- | --- | --- | --- | | Jonas B. | Head of Revenue Operations at a CRM software company | Berlin | 2nd | linkedin.com/in/ACoAA… | | Elif K. | Head of RevOps, DACH – HR software | Munich | 3rd | linkedin.com/in/ACoAA… | | Martin S. | Head of Sales & Revenue Operations at a SaaS company | Hamburg | 2nd | linkedin.com/in/ACoAA… | *Example run. Works the same in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* The agent runs `nv_search_people` with filters built from your request – title, location, industry, current and past company, school, years of experience, connection degree. To reuse a search URL you copied from Sales Navigator, hand it to the agent as it is: `nv_search_people` takes it as `customSearchUrl`, and the CLI takes it as `linkedin navigator person search --url`. If the leads are headed for connection requests, the ready-made [LinkedIn growth skill](/skills/linkedin-growth) takes a Sales Navigator search URL directly and manages the invite pipeline. For how agents connect to a LinkedIn account, see the [LinkedIn AI agent guide](/guides/linkedin-ai-agent). ### In code: a Sales Navigator search to CSV Developers get the same export in their own code: [`nv.searchPeople`](/docs/action-nv-search-people) takes the URL of a Sales Navigator lead search as `customSearchUrl` and returns up to 2,500 leads, which a few lines with the Node or Python [SDK](/sdks/installation) write to a CSV. A failed search comes back with LinkedIn's message, so stop on it rather than writing an empty file. Each row carries the lead's name, position, location, your connection degree and a hashed profile link (linkedin.com/in/ACoAA…) rather than the public one. The company and the full profile come from opening the lead: Linked API's [Sales Navigator person fetch](/docs/action-nv-open-person-page) returns them for each link. Contact details are a separate enrichment step. ### Open the CSV in Excel or Google Sheets In Excel, import the file through Data → From Text/CSV with UTF-8 as the file origin, rather than double-clicking it, so accented and non-Latin names survive. The full steps for Excel and Google Sheets, and how to keep a sheet or CRM updated, are in [our search results export guide](/guides/export-linkedin-search-results#send-the-results-to-excel-google-sheets-or-a-crm). ## When you need an API instead An export tool is the right answer when the file is the deliverable. It stops being the right answer when the export is step one. If you need to search, pull a field, branch on it, message the lead, and pick the reply back up as a repeatable workflow inside your own product, you want programmatic access to your seat rather than a CSV. That is a different question with a different answer, including what LinkedIn's own partner-gated API does and does not cover. See our [Sales Navigator API guide](/guides/linkedin-sales-navigator-api). ## Frequently Asked Questions (FAQ) #### Can you export leads from Sales Navigator to CSV? Not natively. LinkedIn's help centre states it does not offer export of account and lead information to CSV or XLS. Every CSV you have seen from Sales Navigator was produced by a browser extension, an export tool, or a script reading the results on your behalf. #### How do I export leads from Sales Navigator to Excel? Use a browser extension or an export tool to download a CSV of your lead list or saved search, then import it into Excel through Data → From Text/CSV with UTF-8 as the file origin. For a handful of leads, copying them into a sheet by hand works too. #### What is the best Sales Navigator export tool? It depends on what ends the job. For a clean CSV of a saved search with optional email enrichment, dedicated export tools like Evaboot and Scrupp are built for exactly that. For a quick grab from a search you are viewing, an extension is faster. For volume with no owned seat, a dataset provider fits better. For a repeatable export that feeds the next step, run the search through an AI agent or your own code. #### Can I export a Sales Navigator lead list? Yes, through a tool. Extensions read the list page you have open, export tools such as Evaboot accept lead lists as well as searches, and an AI agent or script can run the same leads as a Sales Navigator search. Sales Navigator itself has no download button for a list. #### Do I need a Sales Navigator subscription to export leads? For any route that runs through your own session, yes. Extensions, export tools, cookie-based actors and account-based APIs all read what your seat can see, so the seat is the prerequisite. No-account datasets are the exception, because they never use your account and correspondingly cannot see your searches. What that seat costs, and which tier it needs to be, is covered in our [Sales Navigator cost guide](/guides/linkedin-sales-navigator-cost). #### Does a Sales Navigator export include email addresses? Not from Sales Navigator itself. Email is not a field the product exposes in a lead export. Tools advertising emails run a separate enrichment step against other sources afterwards, and coverage varies by provider. #### How do I export more than 2,500 leads? Split the search. Sales Navigator shows at most 2,500 lead results per search, so break one broad search into narrower ones – by geography, seniority, company size or industry – that each stay under the cap, then merge the files and remove duplicates by profile link. #### What is the difference between an export tool and an account-based API? An export tool produces a snapshot and the job ends when the file downloads. An account-based API exposes Sales Navigator actions as composable primitives on your own seat, so you can build a workflow that reads and acts repeatedly from inside your own code. ## Get the file, or build the workflow If a CSV is what you need, pick the route above that matches how the job ends. If the export is only the first step and you want search, fetch and outreach running as one repeatable workflow on your own Sales Navigator seat, that is what [Linked API](/pricing) does – through the REST API, the Node and Python [SDKs](/sdks/installation) or the [CLI](/cli/getting-started), or out of the box through the [MCP server](/mcp/overview), the agent-friendly CLI or a ready-made [skill](/skills). Plans are flat per seat, from $49/mo billed annually. *Facts verified 4 November 2026 – native export, CRM Sync and the 2,500-lead limit checked against LinkedIn's Sales Navigator help centre, and the extension and Evaboot steps against their live pages, on that date; the routes table was checked against vendor pages on 29 July 2026.* ## LinkedIn Jobs API: What Exists, and How to Get Job Data via API (2026) There is no official LinkedIn API for searching or reading job postings. LinkedIn's only jobs API is a partner-gated tool for *publishing* jobs, so every "LinkedIn jobs API" you find is really a scraper or a dataset. The upside: job postings are largely public, which makes them one of the more accessible things to pull from LinkedIn. This guide covers what job data you can actually get, a real Python example against LinkedIn's public endpoints (and where it breaks), the search-then-enrich pattern that returns full detail as clean JSON, and how to monitor new postings for hiring signals. > **The short version.** There is no public LinkedIn jobs API. LinkedIn's only jobs API is a partner-gated tool for *posting* jobs, so every "LinkedIn jobs API" on the market is a scraper or a dataset. Job postings are public, which makes them one of the easier things to collect – but hand-rolled scrapers break at scale, and it is still automated access under LinkedIn's terms. The reliable pattern: search jobs through an account you own, open each one for the full record, get structured JSON – in code, or by asking an AI agent to run the same search through the MCP server or CLI. ## Does LinkedIn have a jobs API? Not the kind you want. LinkedIn's official [Job Posting API](https://learn.microsoft.com/en-us/linkedin/talent/job-postings/api/overview) exists only for approved partners to *post* jobs through applicant-tracking and job-distribution integrations, and LinkedIn is not accepting new partners for it. There is no public, self-serve API to search or read job listings. So when a tool advertises a "LinkedIn Jobs API," it is a scraping or dataset product wrapping LinkedIn's public pages, not an official endpoint. That is fine – it is how the entire category works – but it changes how you should think about reliability and compliance: you are reading public pages, not calling a sanctioned API. The practical alternative is to search jobs through an account you own – in code ([Method 3](#method-3-account-based-api-search-then-enrich)), or by asking an AI agent to run the same search through the MCP server or CLI ([Method 4](#method-4-ask-an-ai-agent-mcp-server-or-cli)). Here is that search-then-enrich pattern as one agent run on your own account: **You:** Find remote data engineer jobs in the United States posted in the past week – up to 25. Leave out anything LinkedIn only shows as a similar match. Open each posting and give me a table with title, company, workplace type, when it was posted and the salary range if the posting shows one. **Agent** (used Linked API: search_jobs, fetch_job ×21): - "data engineer", United States, remote, posted in the past week, up to 25 – 25 jobs, 4 of them marked as similar matches - the full record for each of the 21 exact matches 21 jobs opened; the 4 similar matches were left out. 9 of the 21 show a salary range, 12 don't. The first rows: | Title | Company | Workplace | Posted | Salary | | --- | --- | --- | --- | --- | | Senior Data Engineer | Northgate Analytics | Remote | 2d | $150,000–$180,000 a year | | Data Engineer, Platform | Pinewood Health | Remote | 5d | Not shown | | Analytics Engineer | Cobalt Ledger | Remote | 1w | $130,000–$155,000 a year | *The rows go to your sheet; for a daily feed, re-run it on a schedule in your agent's host and skip job IDs you've already seen.* *Example run, fictional companies. Salary appears only where the posting shows pay. On an account with LinkedIn's AI-powered jobs search, a few classic filters are not available – see Method 3. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ## What data you can get from a LinkedIn job A single posting carries a fairly complete record. Grouped by what it tells you: ![Anatomy of a scraped LinkedIn job: identity, company, role, compensation, and demand-signal fields](/images/guides/linkedin-job-data-fields.webp) The full per-job object looks like this: ```json { "jobId": "4416248954", "jobUrl": "https://www.linkedin.com/jobs/view/4416248954/", "title": "Senior Product Manager", "companyName": "Example Company", "companyUrl": "https://www.linkedin.com/company/example-company", "location": "San Francisco, CA", "workplaceType": "remote", "employmentType": "Full-time", "postedDate": "1w", "applicantsCount": 84, "salary": { "currency": "usd", "minAmount": 140000, "maxAmount": 180000, "period": "yearly" }, "description": "Example job description text.", "applyUrl": "https://www.linkedin.com/jobs/view/4416248954/apply/", "easyApply": true } ``` Two honest caveats: `salary` only appears when the posting shows pay (driven by pay-transparency laws), and `applicantsCount` is approximate and varies by posting and region. Everything else is reliably present. ## Method 1: DIY with Python LinkedIn serves logged-out job data through public "guest" endpoints, which is why a basic Python scraper works with no account and no cookies: - **Search/list:** `https://www.linkedin.com/jobs-guest/jobs/api/seeMoreJobPostings/search?keywords=...&start=0` (paginate in steps of 25) - **Per-job detail:** `https://www.linkedin.com/jobs-guest/jobs/api/jobPosting/{jobId}` A minimal scraper over the search endpoint: ```python import requests from bs4 import BeautifulSoup # LinkedIn's public, logged-out jobs endpoint - there is no official jobs API url = "https://www.linkedin.com/jobs-guest/jobs/api/seeMoreJobPostings/search" params = {"keywords": "product manager", "location": "San Francisco", "start": 0} res = requests.get(url, params=params, headers={"User-Agent": "Mozilla/5.0"}) soup = BeautifulSoup(res.text, "html.parser") for card in soup.select("li"): title = card.select_one("h3.base-search-card__title") company = card.select_one("h4.base-search-card__subtitle") if title and company: print(title.get_text(strip=True), "|", company.get_text(strip=True)) # Paginate by increasing "start" in steps of 25. ``` **Where this breaks.** The guest endpoint is generous until it isn't. You will hit `429 Too Many Requests` after roughly ten pages from one IP, so any real volume needs rotating proxies. Fields silently drop out (salary and applicant counts are inconsistent), the HTML changes and your selectors rot, and the most popular open-source LinkedIn job libraries now note that their anonymous mode is no longer maintained. It is great for a one-off pull, painful as a pipeline. We cover why hand-rolled scrapers decay in the [scraping guide](/guides/how-to-scrape-linkedin#why-diy-headless-scraping-breaks). ## Method 2: Scraping APIs and datasets If you would rather not maintain a scraper, two options handle the proxies for you: **real-time scraping APIs** (Apify job actors, Bright Data) that take a search or a job URL and return JSON, and **job datasets** (Coresignal, TheirStack) for bulk historical postings. The trade-off is the usual one – datasets are cheap at scale but stale, real-time is fresh but priced per request. We compare these models in the [LinkedIn scraper API guide](/guides/linkedin-scraper-api); to read a person's or company's posts and who engaged with them, see the [LinkedIn post scraper guide](/guides/linkedin-post-scraper). ## Method 3: Account-based API (search, then enrich) The pattern most teams actually want is **search-then-enrich**: a search returns a list of thin job cards, and opening each job returns the full posting. With [Linked API](/) you run this through your own account in a cloud browser and get structured JSON back, with no proxies or CAPTCHAs to manage. ![The search-then-enrich pipeline: st.searchJobs to st.doForJobs to st.openJob to structured JSON](/images/guides/linkedin-jobs-scraper-pipeline.webp) As a workflow, you [search](/docs/searching-for-jobs), iterate over each result, and [open every job](/docs/retrieving-job-data) for its details: ```json { "actionType": "st.searchJobs", "term": "product manager", "limit": 25, "location": "San Francisco, California, United States", "filter": { "datePosted": "pastWeek" }, "then": { "actionType": "st.doForJobs", "then": { "actionType": "st.openJob", "basicInfo": true } } } ``` The same workflow through the SDK, via [`customWorkflow`](/sdks/custom-workflow): ```typescript import LinkedApi from '@linkedapi/node'; const linkedapi = new LinkedApi({ linkedApiToken: process.env.LINKED_API_TOKEN, identificationToken: process.env.IDENTIFICATION_TOKEN, }); const workflow = await linkedapi.customWorkflow.execute({ actionType: 'st.searchJobs', term: 'product manager', limit: 25, location: 'San Francisco, California, United States', filter: { datePosted: 'pastWeek' }, then: { actionType: 'st.doForJobs', then: { actionType: 'st.openJob', basicInfo: true }, }, }); const { data } = await linkedapi.customWorkflow.result(workflow.workflowId); console.log(data); ``` ```python from linkedapi import LinkedApi, LinkedApiConfig linkedapi = LinkedApi( LinkedApiConfig( linked_api_token="your-linked-api-token", identification_token="your-identification-token", ) ) workflow = linkedapi.custom_workflow.execute( { "actionType": "st.searchJobs", "term": "product manager", "limit": 25, "location": "San Francisco, California, United States", "filter": {"datePosted": "pastWeek"}, "then": { "actionType": "st.doForJobs", "then": {"actionType": "st.openJob", "basicInfo": True}, }, } ) result = linkedapi.custom_workflow.result(workflow.workflow_id) print(result.data) ``` `st.searchJobs` supports the same filters as the LinkedIn jobs UI – `datePosted`, `experienceLevels`, `employmentTypes`, `workplaceTypes`, `companies`, `industries`, `easyApply`, and more (see [`st.searchJobs`](/docs/action-st-search-jobs)). One thing to know upfront: LinkedIn is rolling out an [AI-powered jobs search](/docs/searching-for-jobs) alongside the classic one, it offers fewer refinements, and which version an account has is LinkedIn's decision – so a few of the filters above are not available on every account. The honest caveat: this runs on your own account, so throughput is bounded by your account's daily limits and it is automated access under LinkedIn's terms. Human-like pacing keeps the account healthy, but it is not a bulk firehose – for millions of historical postings, a dataset is the better tool. ## Method 4: Ask an AI agent (MCP server or CLI) If you would rather describe the result than write the workflow, an AI agent can run the same search-then-enrich pattern for you. Connect Claude, Cursor or another MCP client to the [Linked API MCP server](/mcp/overview), or give a coding agent such as Claude Code or Codex the agent-friendly [CLI](/cli/getting-started), and ask in plain language: > Find product manager jobs in Berlin posted in the past week with under 10 applicants. Open each one and give me a table with company, title, posted date, applicant count and the job link. The agent calls `search_jobs` with those filters – or with a LinkedIn jobs search URL you copied from the browser, passed as `customSearchUrl` – and then `fetch_job` on each result for the full record. Through the CLI the same two steps are two commands: ```bash linkedin jobs search --term "product manager" --location "Berlin" --date-posted pastWeek --under-10-applicants --limit 25 --json linkedin jobs fetch https://www.linkedin.com/jobs/view/4416248954/ --json ``` It runs on your own account, at the same human pace and within the same limits as Method 3. The classic-versus-AI-powered caveat above applies too: if the account has LinkedIn's AI-powered jobs search, filters it cannot apply fail with `searchInterfaceMismatch`, and the agent has to switch to that search's preferences (the CLI's `--pref-*` flags). For a recurring feed, the schedule lives in your agent host – a scheduled task or a cron job – not in Linked API. More agent workflows are in our [LinkedIn AI agent guide](/guides/linkedin-ai-agent). ## How to monitor new job postings The highest-value jobs use case is freshness, and it is the one almost no guide covers. LinkedIn's native job alerts are a delayed daily digest; for real-time signals you poll. Filter the search by recency and dedupe by `jobId`: ```json { "actionType": "st.searchJobs", "term": "account executive", "limit": 50, "location": "United States", "filter": { "datePosted": "past24Hours", "companies": ["Example Company"] } } ``` Run that search on a schedule, keep a set of `jobId`s you have already seen, and treat anything new as a fresh posting. A new opening for a role you sell into is a buying signal; a competitor's new hire is a market signal. This is the pattern behind most "hiring intent" data products – and you can run it yourself. ## What you can build - **Recruiting and sourcing** – pull matching roles with company and apply URL, refreshed daily. - **Sales hiring-signals** – new postings mean teams are growing and budgets are moving; route them to your CRM. - **Market and compensation research** – aggregate salary ranges and titles across a sector or competitor set. - **Job-board aggregation** – keep a fresh, deduped feed of relevant roles. - **Monitoring** – alert the moment a target company opens a role. ## Is it legal to scrape LinkedIn jobs? Job postings are largely public – the guest endpoints serve logged-out data – and in the US, the Ninth Circuit affirmed a preliminary injunction in [hiQ Labs v. LinkedIn (9th Cir. 2022)](https://cdn.ca9.uscourts.gov/datastore/opinions/2022/04/18/17-16783.pdf), finding hiQ had raised serious questions that scraping publicly available data likely does not violate the Computer Fraud and Abuse Act. But public is not a free pass. LinkedIn enforces against extraction operations with blocks and lawsuits, and any personal data you touch falls under GDPR and CCPA. Jobs are lower-risk than personal profiles because the data is corporate and public, but the same rules apply. We break down the full model – computer-access law, privacy, and enforcement – in our [guide to scraping LinkedIn](/guides/how-to-scrape-linkedin#is-scraping-linkedin-legal-the-three-layers). This is not legal advice. ## Limits and staying unblocked A DIY scraper against the guest API gets rate-limited fast, often by around the tenth page from a single IP, which is why proxies become mandatory at any volume. An account-based run is instead bounded by your own account's [daily limits](/docs/core-concepts#limits-management). Either way, the rule is the same: pace like a human, and stop the moment you see a CAPTCHA or a restriction notice rather than pushing through. ## Frequently Asked Questions (FAQ) #### Does LinkedIn have a jobs API? Only a partner-gated Job Posting API for *publishing* jobs, and LinkedIn is not accepting new partners for it. There is no public, self-serve API to search or read job listings, so every third-party "LinkedIn jobs API" is a scraper or dataset wrapping LinkedIn's public pages. #### Is it legal to scrape LinkedIn jobs? Job postings are public, and in *hiQ v. LinkedIn* the Ninth Circuit affirmed a preliminary injunction finding that scraping public data likely does not violate the CFAA. But LinkedIn's terms still prohibit automated access, and personal data is subject to GDPR and CCPA. Jobs are lower-risk than profiles, not risk-free. See our [legal breakdown](/guides/how-to-scrape-linkedin#is-scraping-linkedin-legal-the-three-layers). #### How do I scrape LinkedIn jobs with Python? The simplest path is LinkedIn's public guest endpoints (`/jobs-guest/jobs/api/seeMoreJobPostings/search` and `/jobPosting/{id}`) with `requests` and BeautifulSoup, paginating in steps of 25. It works for small pulls but gets rate-limited quickly; for a reliable pipeline, use a scraping API or an account-based API instead. #### Do I need a LinkedIn account or cookies to scrape jobs? Not for the public guest endpoints – they serve logged-out data. You only need an account for higher-volume, structured access through an account-based API, where the requests come from your own authenticated session. #### Can I get salary data from LinkedIn job postings? Yes, when the posting includes it. Pay-transparency laws mean many postings now show a salary range, which comes through as a structured `salary` object. Postings without published pay return no salary. #### How many LinkedIn jobs can I scrape before getting blocked? There is no fixed number. A single IP hitting the guest API is usually throttled after about ten pages, so volume needs rotating proxies. An account-based approach is limited instead by your account's safe daily pace. Behavior matters more than raw count. #### How do I monitor new LinkedIn job postings? Poll a search filtered by `datePosted` (for example `past24Hours`), dedupe results by `jobId`, and treat new IDs as fresh postings. That gives you near-real-time hiring signals, which LinkedIn's once-a-day native alerts do not. #### Can an AI agent search LinkedIn jobs? Yes. Connected to Linked API through the MCP server or the CLI, an agent such as Claude or Codex runs the job search on your own account from a plain-language request, opens each posting, and returns the results as a table or JSON. A recurring search is scheduled in the agent host, not in Linked API. #### Is there a free LinkedIn jobs scraper? Open-source Python libraries and the public guest endpoints are free for small, occasional pulls. Most managed tools and APIs offer a small free tier and then charge by volume. #### Can I scrape LinkedIn jobs without Python? Yes. The job data is just JSON, so any language works over plain HTTP. With Linked API you can use the Node.js SDK, the Python SDK, the CLI, or raw HTTP requests – all hit the same workflow API – or let an AI agent run it for you through the MCP server. --- Need fresh LinkedIn job data without running and unblocking your own scraper? [Start with Linked API](/pricing) – search jobs, open each one for the full record, and get clean JSON straight from your own account. ## LinkedIn Profile Scraper and Profile API: Extract Profile Data by URL or in Bulk (2026) A LinkedIn profile scraper pulls structured data from a person's profile – name, headline, experience, education, skills, activity – from its URL, whether you need one profile or a list of thousands. There is no official LinkedIn API for reading profile data, so every option is a scraper, and they differ a lot in reliability and account risk. This guide shows exactly what fields you can get, a real sample JSON, how to fetch one profile and a whole list in code, an honest take on Chrome extensions versus an API, and what you cannot get (spoiler: emails). > **The short version.** A person's headline, experience, education, skills, and activity are all extractable from their profile. Personal emails and phone numbers are not on the profile and need consented enrichment. Chrome extensions and homemade scripts run on *your own* account at machine speed and get it restricted; an API paces like a human and returns clean JSON. ## What data is on a LinkedIn profile A single profile is a rich record. Grouped by what it tells you: | Group | Fields | | --- | --- | | Identity | `name`, `headline`, `publicUrl`, `hashedUrl` | | Role and company | `position`, `companyName`, `location`, `countryCode` | | About | `about`, `followersCount` | | Experience | `experiences[]` – role, company, dates, duration, employment and location type | | Education | `education[]` – school and details | | Skills and languages | `skills[]` (`{ name }`), `languages[]` (`{ name, proficiency }`) | | Activity | `posts`, `comments`, `reactions` – [scrape posts and engagers](/guides/linkedin-post-scraper) | One detail worth building around: use `hashedUrl` as your stable key, not `publicUrl`. The vanity URL (`/in/jane-doe`) changes when someone renames their profile, but the hashed member URL is durable – it is the difference between a deduped database and silent duplicates. ## Is there a LinkedIn profile API? Not one that reads other people's profiles. LinkedIn's self-serve [Profile API](https://learn.microsoft.com/en-us/linkedin/shared/integrations/people/profile-api) returns the authenticated member's own record – your name, headline and photo after sign-in – and profile lookup by URL or ID exists only inside approved partner integrations, so a standard developer application cannot fetch a profile you point it at. Every "LinkedIn profile API" or "profile lookup API" on the market is therefore an account-based or scraping product. Linked API's route is account-based: [`fetchPerson`](/docs/action-st-open-person-page?surface=sdk) opens any public profile by URL through a dedicated cloud browser on your own account and returns the typed JSON shown below – [one profile at a time](#scrape-one-profile-by-url) or [a list in bulk](#scrape-a-list-of-profiles-in-bulk). ## A real scraped profile Each section is opt-in: you request the parts you need, and you get back typed JSON instead of HTML to parse. ```json { "name": "Jane Doe", "publicUrl": "https://www.linkedin.com/in/jane-doe", "hashedUrl": "https://www.linkedin.com/in/ACoAAB1a2b3c4d", "headline": "Head of Growth at Acme", "location": "San Francisco, California, United States", "countryCode": "US", "position": "Head of Growth", "companyName": "Acme", "about": "Demand generation and lifecycle marketing leader.", "followersCount": 4820, "experiences": [ { "position": "Head of Growth", "companyName": "Acme", "employmentType": "fullTime", "locationType": "hybrid", "duration": 26, "startTime": "2024-01-01T00:00:00Z", "endTime": null, "location": "San Francisco, CA" } ], "education": [ { "schoolName": "Stanford University", "details": "MBA, Marketing" } ], "skills": [ { "name": "Demand Generation" }, { "name": "SEO" } ], "languages": [ { "name": "English", "proficiency": "nativeOrBilingual" }, { "name": "Spanish", "proficiency": "professionalWorking" } ] } ``` ## Four ways to scrape a profile, compared There is no official profile API, so the real choice is between four methods that trade off scale, output, and the risk to your account. | Method | Scale | Output | Maintenance | Account-ban risk | | --- | --- | --- | --- | --- | | Manual copy-paste | A few a day | You retype it | None | None | | Chrome extension | 50–100/day | A spreadsheet | Breaks on layout changes | High – acts on your account at machine speed | | DIY Python | High, until blocked | Raw HTML you parse | You own selectors and proxies | High – headless on your account | | API on your own account | Hundreds to thousands/day | Structured JSON | Handled for you | Lower – paced like a human | The honest distinction is account risk. A Chrome extension or a headless Python script acts through *your own logged-in account* at machine speed, which is exactly the pattern LinkedIn flags – accounts get restricted within days. An account-based API runs the same account but paces actions like a real user and returns maintained, structured JSON, so you are not re-writing selectors every time the page changes. We rank all the methods by risk in the [guide to scraping LinkedIn](/guides/how-to-scrape-linkedin#the-5-ways-to-scrape-linkedin-ranked-by-risk), and compare the API models in the [LinkedIn scraper API guide](/guides/linkedin-scraper-api). ## Scrape profiles with an AI agent (no code) If you work in Claude, ChatGPT, Cursor or Claude Code, you do not need the code below. Connect the Linked API [MCP server](/mcp/overview) or give a coding agent the agent-friendly [CLI](/cli/getting-started), and the agent reads profiles on your own account from a plain-language ask: **You:** Here are 25 LinkedIn profile links from our event sign-up list (attendees.csv). For each person, get the current title, company, time in the role and the date of their latest post, and save it to attendees-enriched.csv. Flag any profile you couldn't open. **Agent** (used Linked API: fetch_person ×25): - headline, current experience and recent posts - 23 rows written; 2 profiles could not be opened Saved 23 rows to attendees-enriched.csv. Two links failed – one profile was renamed and one could not be opened. The first rows: | Name | Current title | Company | In the role | Latest post | | --- | --- | --- | --- | --- | | Jane D. | Head of Growth | Finlo | 1 yr 4 mos | 2026-10-28 | | Omar S. | RevOps Manager | Brightly | 8 mos | No recent posts | | Mei L. | VP Marketing | Tally | 3 yrs 2 mos | 2026-11-02 | *Example run. Works the same in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* To build the same reads into your own product or pipeline, the next two sections show them in code. ## Scrape one profile by URL Install the SDK: ```bash # Node.js npm install -S @linkedapi/node # Python pip install linkedapi ``` Then [fetch a profile](/docs/retrieving-person-data) by URL, choosing which sections to pull: ```typescript import LinkedApi from '@linkedapi/node'; const linkedapi = new LinkedApi({ linkedApiToken: process.env.LINKED_API_TOKEN, identificationToken: process.env.IDENTIFICATION_TOKEN, }); const workflow = await linkedapi.fetchPerson.execute({ personUrl: 'https://www.linkedin.com/in/jane-doe', retrieveExperience: true, retrieveEducation: true, retrieveSkills: true, retrieveLanguages: true, }); const { data } = await linkedapi.fetchPerson.result(workflow.workflowId); console.log(data?.name, data?.position, data?.hashedUrl); ``` ```python from linkedapi import LinkedApi, LinkedApiConfig, FetchPersonParams linkedapi = LinkedApi( LinkedApiConfig( linked_api_token="your-linked-api-token", identification_token="your-identification-token", ) ) workflow = linkedapi.fetch_person.execute( FetchPersonParams( person_url="https://www.linkedin.com/in/jane-doe", retrieve_experience=True, retrieve_education=True, retrieve_skills=True, retrieve_languages=True, ) ) data = linkedapi.fetch_person.result(workflow.workflow_id).data print(data.name, data.position, data.hashed_url) ``` If you only have a name rather than a URL, [search for people](/docs/searching-for-people) first and feed the resulting URLs into the fetch. ## Scrape a list of profiles in bulk The common job is enrichment: you have a list of profile URLs – from a CSV, a search export, or your CRM – and you want a structured row for each. If the list is your own network, start from [exporting your LinkedIn connections](/guides/export-linkedin-connections) instead. Loop over the URLs and collect the results. Linked API runs workflows sequentially on your account, so this paces itself automatically: ```typescript const profileUrls = [ 'https://www.linkedin.com/in/jane-doe', 'https://www.linkedin.com/in/john-smith', // one row per profile ]; const rows = []; for (const personUrl of profileUrls) { const workflow = await linkedapi.fetchPerson.execute({ personUrl, retrieveExperience: true }); const { data, errors } = await linkedapi.fetchPerson.result(workflow.workflowId); if (data) rows.push(data); else console.warn('Skipped', personUrl, errors); } ``` ```python profile_urls = [ "https://www.linkedin.com/in/jane-doe", "https://www.linkedin.com/in/john-smith", # one row per profile ] rows = [] for person_url in profile_urls: workflow = linkedapi.fetch_person.execute( FetchPersonParams(person_url=person_url, retrieve_experience=True) ) result = linkedapi.fetch_person.result(workflow.workflow_id) if result.data: rows.append(result.data) else: print("Skipped", person_url, result.errors) ``` Two realities to plan for: a share of URLs in any list are stale (people rename or delete profiles), and some profiles are private, so expect to skip a percentage rather than get a clean 100%. Handle the error case, as the loop above does, instead of assuming every fetch succeeds. Bulk volume is also bounded by your account's [daily limits](/docs/core-concepts#limits-management) – this is your real account, not a proxy pool. ## Can you get an email or phone from a profile? Mostly no, and this is where a lot of tools oversell. Personal emails and phone numbers are almost never shown on a LinkedIn profile, so a scraper reading the profile cannot reliably return them. Tools that advertise "verified emails" are matching the person against a separate, ideally consented, B2B enrichment database – that is a different product from profile scraping, and the data does not come off the profile itself. The practical split: scrape the profile for role, company, experience, and activity; get contact details from a consented enrichment provider. We cover why direct contact-harvesting is the riskiest move in the [scraping guide](/guides/how-to-scrape-linkedin). ## Is it legal, and will my account get banned? Profile data is largely public, and in [hiQ Labs v. LinkedIn (9th Cir. 2022)](https://cdn.ca9.uscourts.gov/datastore/opinions/2022/04/18/17-16783.pdf) the Ninth Circuit affirmed a preliminary injunction, finding hiQ had raised serious questions that scraping publicly available data likely does not violate the Computer Fraud and Abuse Act. But public is not a free pass: LinkedIn enforces against extraction operations with account restrictions and lawsuits – the data API Proxycurl was [sued into shutting down](/guides/proxycurl-alternatives) – and personal data falls under GDPR and CCPA. The ban risk is highest exactly where most people start: Chrome extensions and headless scripts driving your own account too fast. Pace like a human, stop on a CAPTCHA or restriction notice, and keep contact data to consented sources. The full legal model is in our [guide to scraping LinkedIn](/guides/how-to-scrape-linkedin#is-scraping-linkedin-legal-the-three-layers). This is not legal advice. ## Frequently Asked Questions (FAQ) #### What data can you extract from a LinkedIn profile? Name, headline, location, current role and company, the full experience and education history, skills, languages, follower count, and recent activity (posts, comments, reactions). Personal email and phone are generally not on the profile. #### Does LinkedIn have an official profile API? No. LinkedIn's official APIs are limited to your own data and approved partner use cases; there is no public profile or profile-lookup API for other people's data. Every "profile API" you see is an account-based, scraping or enrichment product. #### Can I scrape LinkedIn profiles in bulk? Yes – pass a list of profile URLs and fetch each one in a loop, collecting structured rows. Plan for a percentage of stale or private URLs, and remember that volume on an account-based approach is bounded by your account's safe daily pace. #### Can I get someone's email from their LinkedIn profile? Not from the profile itself in most cases. Emails and phone numbers are rarely published on profiles, so reliable contact data comes from a separate consented enrichment provider, not from scraping the profile. #### Chrome extension vs API – which is safer? An API on your own account, by a wide margin. Extensions act through your logged-in account at machine speed and tend to get it restricted quickly; an API paces actions like a human, returns structured JSON, and is maintained against LinkedIn UI changes. #### How do I scrape a LinkedIn profile with Python? Install the SDK (`pip install linkedapi`), then call `fetch_person.execute(...)` with the profile URL and the sections you want, and read the result with `fetch_person.result(...)`. See the code above for a full example, including the bulk loop. #### Can I scrape a profile without an account? Only the limited public version LinkedIn shows logged-out, which omits much of the profile. Full, structured profile data comes through an authenticated session – your own account, driven by an API. #### How many profiles can I scrape per day? There is no universal number; it depends on your account's age and history. A new account should stay conservative and ramp up, while an established one handles more. Behavior matters more than raw count – pace like a human and stop on warnings. --- Need clean LinkedIn profile data by URL or in bulk, without running an extension or a fragile script? [Start with Linked API](/pricing) – fetch a profile or a whole list from your own account and get structured JSON back. ## How to Scrape LinkedIn in 2026 Without Getting Banned (and Is It Legal?) Yes, you can extract data from LinkedIn, and scraping *public* LinkedIn data is not a federal crime in the US. But that one fact hides two more: aggressive extraction can get your account permanently restricted, and how you store or sell the data can expose you – and your buyers – to privacy law. This guide gives you the real methods ranked by risk, how bans actually happen, and the legal picture, in plain terms. > **The short version.** Public profile and activity data is extractable. Personal contact details (emails, phone numbers) are not, and chasing them is where most trouble starts. The durable approach is to operate on *your own* authenticated account with human-like pacing, or use consented data – not to point a headless bot at LinkedIn and hope. ## What you can actually extract from LinkedIn Before picking a method, be clear about what is realistically available. Most of LinkedIn's value sits in data the platform shows publicly. The data it hides – private contact details – is exactly the data that creates legal risk. | Data | Public? | Realistic to extract | Notes | | --- | --- | --- | --- | | Name, headline, role, location | Yes | Yes | Visible on public profiles, even logged out | | Work history, education, skills | Mostly | Yes | Privacy-dependent – [scrape a full profile](/guides/linkedin-profile-scraper) | | Posts, reactions, comments | Yes | Yes | Engagement data for social selling – [scrape posts and engagers](/guides/linkedin-post-scraper) | | Company info, employees | Yes | Yes | Headcount, industry, decision-makers – [scrape a company](/guides/linkedin-company-scraper) | | Job postings | Yes | Yes | Public listings, salary when shown – [scrape jobs](/guides/linkedin-jobs-scraper) | | Your own connections | Private to you | Yes | You can export your own network | | Personal email, phone | No | No (not directly) | LinkedIn does not expose these; harvesting them is the highest-risk move | The line that matters: profile and activity data is fair to extract; personal contact data is not. Any tool that promises to "scrape verified emails straight from LinkedIn" is either guessing or pulling from a separate database – and that distinction matters legally, as we will see. Here is what extracting the fair-to-collect part looks like on your own account, run by an AI agent from a plain-language ask: **You:** Find up to 20 people in New York with "head of growth" in their title who work in the Financial Services industry. Open each profile and give me their current role and company, location and the topic of their latest post from the last 30 days. No emails or phone numbers – we get contact data from our consented enrichment provider. **Agent** (used Linked API: search_people, fetch_person ×20): - "head of growth", located in New York, industry Financial Services, up to 20 – 20 people - current role and company, location, posts from the last 30 days 20 profiles read: 14 posted in the last 30 days, 6 did not. No contact details were collected – this workflow doesn't retrieve them, and you asked for none. The first rows: | Name | Current role and company | Location | Latest post (last 30 days) | | --- | --- | --- | --- | | Alicia M. | Head of Growth, payments startup | New York, NY | Lessons from relaunching a referral program | | Ben T. | Head of Growth Marketing, wealth-management app | Brooklyn, NY | A hiring post for a lifecycle marketer | | Carla D. | Head of Growth, lending platform | New York, NY | No posts in the last 30 days | *The rows go to your sheet or CRM; nothing was sent to anyone.* *Example run, fictional people. Runs on your own LinkedIn account in a cloud browser at a human pace, within the limits you set. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ## The 5 ways to scrape LinkedIn, ranked by risk There is no single "LinkedIn scraper." There are five common approaches, and they trade off scale against the risk to your account. ![Five LinkedIn scraping methods plotted by scale and account-ban risk](/images/guides/linkedin-scraping-methods-quadrant.webp) | Method | Typical scale | Account-ban risk | Legal exposure | Best for | | --- | --- | --- | --- | --- | | Manual copy-paste | A few/day | None | Low | One-off lookups | | Browser extension | 50–100/day | High | Medium | Small lists, non-technical users | | No-code tools | Hundreds/day | High | Medium | Sales ops without engineers | | Custom code (headless + proxies) | High, until it breaks | Very high | High | Engineers who want full control | | API on your own account | Hundreds to thousands/day | Low–moderate | Medium | Products and repeatable pipelines | **Manual copy-paste.** Slow, free, zero risk. Fine for a handful of profiles. Useless at scale. **Browser extensions.** A Chrome extension reads the page you are looking at and dumps it to a sheet. Easy to start, but it acts on your logged-in account at machine speed, which is easy for LinkedIn to flag. Good for tens of profiles, not thousands. **No-code tools.** PhantomBuster, Evaboot, and similar SaaS run cloud automations on your account. More throughput than an extension, same core risk: it is still your account doing the actions, so account safety depends entirely on how conservatively the tool paces itself. **Custom code.** Python with Selenium, Playwright, or a headless browser plus rotating proxies. Maximum control, maximum maintenance, and the highest ban risk – which brings us to why this path is harder than it looks. **API on your own account.** A managed service drives a real browser session for *your* account with human-like timing and built-in limits, and returns structured JSON. This is the sweet spot for anything ongoing or product-facing, and it is where [Linked API](/) sits – see our [LinkedIn scraper API guide](/guides/linkedin-scraper-api) for how that model works. ### Why DIY headless scraping breaks Most engineers try the custom-code route first, then abandon it. Here is what they run into: - **The login wall.** LinkedIn shows only a few public profiles before forcing authentication. Once you log in to get past it, every request is tied to a real account that can be restricted. - **Fingerprinting.** LinkedIn profiles your TLS handshake, headers, timing, and browser fingerprint. Datacenter proxies and vanilla headless browsers are trivially detectable, so you end up paying for residential proxies and stealth patches. - **Fragile selectors.** The DOM changes constantly. Your parser breaks, silently returns empty fields, and you maintain it forever. - **Permanent bans.** Account restrictions on LinkedIn escalate fast and are rarely reversed. A burned account is gone, along with its connections and history. None of this means scraping is dead. It means brute force is dead. The methods that survive are the ones that behave like a human. ## How LinkedIn detects scraping (and how accounts get banned) Bans are not random. LinkedIn watches a handful of signals, and you can stay clear of all of them. - **Request velocity.** Hundreds of profile views in an hour is not human. Real users pause, scroll, and get distracted. - **Behavioral patterns.** Identical timing between actions, no mouse movement, perfectly sequential browsing – all classic automation tells. - **Fingerprint and IP reputation.** Headless browsers, datacenter IPs, and mismatched geolocation raise the score. - **The "log in to continue" wall.** Hitting it repeatedly while logged out is a strong scraping signal. When the score crosses a threshold, accounts move through a ladder: a soft warning, then a temporary restriction (search and profile views blocked for a stretch), then a permanent ban. New accounts get the least slack, so warm them up over weeks rather than firing on day one. ### Safe volume is a range, not a number You will see "500 profiles a day is safe" thrown around. Ignore single numbers. Safe volume depends on account age, your Social Selling Index, whether you have Sales Navigator, and how human-like your pacing is. | Account state | Rough safe ceiling | Approach | | --- | --- | --- | | New or cold | 20–50 actions/day | Ramp slowly over 3–4 weeks | | Established, human-like pacing | A few hundred actions/day | Spread across the day, with pauses | | Aggressive headless + proxies | You will likely be flagged | Not recommended | For the real, account-specific picture, see our guides on the [LinkedIn connection limit](/guides/linkedin-connection-limit-2026) and [understanding LinkedIn limits](/guides/understanding-linkedin-limits). **Stop signals.** If you see a CAPTCHA, a forced re-login, an "unusual activity" notice, or a sudden drop in results, stop immediately and let the account rest. Pushing through is how a temporary restriction becomes a permanent one. ## Is scraping LinkedIn legal? The three layers This is where almost every other guide gets it wrong. "Scraping public data is legal, *hiQ* said so" is half a sentence. Legality is not one test – it is three separate layers, and clearing one does not clear the next. **1. US computer-access law (the CFAA).** In [hiQ Labs v. LinkedIn (9th Cir. 2022)](https://cdn.ca9.uscourts.gov/datastore/opinions/2022/04/18/17-16783.pdf), the Ninth Circuit affirmed a preliminary injunction, finding hiQ had raised serious questions that scraping publicly available data likely does not violate the Computer Fraud and Abuse Act. The arc matters: an injunction in 2017, affirmed in 2019, vacated by the Supreme Court in 2021 after [Van Buren v. United States](https://www.law.cornell.edu/supremecourt/text/19-783), then reaffirmed in 2022. So scraping public data is not a federal hacking crime. That is the layer most articles stop at. **2. Privacy law (GDPR / CCPA).** "Public" does not mean "free to use." If your dataset includes personal data of EU or California residents, privacy law applies regardless of where you found it. You need a lawful basis – for B2B prospecting that is usually legitimate interest – and data subjects keep rights over their data. Personal emails and phone numbers are the hot zone; collecting them without consent is the fastest way into trouble. **3. Enforcement reality.** LinkedIn does not just win cases, it makes examples. It has permanently banned and sued operations that used fake profiles, pushed data brokers like Apollo and Seamless to remove company pages, and in 2025 sued [Proxycurl](/guides/proxycurl-alternatives) (Nubela) – whose LinkedIn data API then shut down entirely. For a 2026 reader, that suit, not *hiQ*, is the live warning shot. > This is not legal advice. It is the mental model to bring to your own counsel: pass all three, or you are carrying the risk. The honest takeaway: public data is collectible, but how you *use* it is what gets people sued. Stay on public, business-relevant data; keep a lawful basis; and never harvest personal contact details from LinkedIn directly. ## The durable approach: automate your own account like a human Strip away the noise and the safe path is consistent across all three legal layers and the detection signals: 1. **Use your own authenticated account.** No fake profiles, no bought accounts. Fake-profile operations are exactly who LinkedIn bans and sues. 2. **Behave like a human.** Pace actions, add real delays, run sequentially, and stay inside your account's limits. 3. **Stick to public, business data.** Profiles, companies, posts, your own connections. Get personal contact data from consented enrichment sources, not by scraping it off LinkedIn. This is precisely what Linked API is built to do. It runs your account in a cloud browser that emulates a real LinkedIn user, so requests are not instant – a simple action takes seconds, a heavy one minutes – and workflows run [sequentially, never in parallel](/docs/workflows-overview#sequential-execution), mirroring how a person actually browses. When an action would exceed a configured limit, it returns a `limitExceeded` error instead of pushing your account over the edge. To be clear about what that does and does not buy you: it is not a guarantee against restriction. What it buys you is account safety and clean, structured data without maintaining a scraper. In practice that means two calls rather than a scraper: a [people search](/docs/searching-for-people) that returns matching profiles as structured data, and a [profile fetch](/docs/retrieving-person-data) that returns experience, skills and recent posts in one request. Neither involves HTML parsing, selectors, or a session file you have to keep alive. Working code for both calls lives in our guide to building a [LinkedIn scraper in Python](/guides/linkedin-scraper-python), which also compares this route against the open-source libraries and a DIY Playwright script line for line. The [SDK reference](/sdks/installation) has the TypeScript equivalents. ## Which method should you use? - **A few profiles, occasionally.** Copy-paste or a browser extension. No need for anything heavier. - **A non-technical sales team.** A no-code tool, paced conservatively. Compare options in our [best LinkedIn automation tools](/blog/best-linkedin-automation-tools-2026) roundup. - **A product or a repeatable data pipeline.** An API on your own account. Predictable, structured, and account-safe at scale. - **Personal emails and phone numbers.** Not from LinkedIn. Use a consented B2B enrichment provider and keep a lawful basis. ## Frequently Asked Questions (FAQ) #### Is LinkedIn scraping legal in 2026? Scraping publicly available data likely does not violate the CFAA in the US — in *hiQ v. LinkedIn* the Ninth Circuit affirmed a preliminary injunction on that basis. That settles the criminal-law question only: GDPR and CCPA still apply if the data touches personal information, and LinkedIn enforces against extraction operations directly, as the Proxycurl suit showed. Public does not mean unrestricted. #### How many LinkedIn profiles can I scrape per day without getting banned? There is no universal number. A new account should stay around 20–50 actions a day and ramp up over weeks; an established account with human-like pacing can handle a few hundred. Limits depend on account age, SSI, and subscription. See our [limits guide](/guides/understanding-linkedin-limits). #### Can you get banned for scraping LinkedIn? Yes. LinkedIn escalates from warnings to temporary restrictions to permanent bans, and permanent bans are rarely reversed. Human-like pacing on your own account is the main defense. #### Can I scrape LinkedIn without an account? Only the limited public pages LinkedIn shows before the login wall. No account is involved, so nothing can be restricted, but it is the hardest route technically and it still falls under privacy law. #### Does LinkedIn detect API scraping? LinkedIn detects automation through behavioral patterns, request velocity, and fingerprinting regardless of how it is driven. The mitigation is not hiding – it is behaving like a real user on a real account, which is how a managed API approach works. #### What is the difference between scraping and data enrichment? Scraping pulls data from LinkedIn's interface. Enrichment matches a name or domain against a separate, ideally consented, database. Verified emails come from enrichment, not from LinkedIn directly. #### Is it legal to scrape Sales Navigator? The same layers apply. Treat it as higher risk, not lower, and pace accordingly. For the ways to extract it, see our [Sales Navigator export guide](/guides/linkedin-sales-navigator-scraper); for programmatic access, see the [Sales Navigator API guide](/guides/linkedin-sales-navigator-api). #### Can I put scraped LinkedIn data in my CRM? For public, business-relevant data with a lawful basis (legitimate interest for B2B), generally yes. For personal contact data gathered without consent, you are exposed under GDPR and CCPA. Keep records of your basis and honor deletion requests. #### What is the safest way to scrape LinkedIn? Operate your own authenticated account with human-like pacing and conservative limits, stick to public business data, and source contact details from consented providers. That clears the detection signals and keeps you on the right side of all three legal layers. --- Want structured LinkedIn data without running a scraper or risking your account? [Start with Linked API](/pricing) – it drives your own account safely and returns clean JSON for people, companies, posts, and connections. ## LinkedIn Scraper API: What It Returns and What It Costs (2026) A LinkedIn scraper API returns structured LinkedIn data – profiles, companies, posts, search results, jobs – to your code, so you never write a selector or run a headless browser. This guide is the evaluation material: what comes back per entity, what each provider charges, and a real request with the JSON it produces. "LinkedIn scraper API" covers three different products, so it also says plainly which one fits which job, including where a dataset or a real-time scraper beats what we build. > **The short version.** Need millions of cold profiles in bulk? Use a dataset. Need fresh public pages on demand? Use a real-time scraper. Need the data your own account can see – your network, your searches, Sales Navigator, your inbox – and the ability to act on it? Use an account-based API. Only the last kind can send a connection request or a message, and only the first is cheap at a million records. The account-based kind also runs from a plain-language ask. Here an AI agent reads three profiles on your own account; the code that returns the same fields follows below: **You:** Open these 3 LinkedIn profiles and give me each person's headline, current role and company, location, follower count and the first three skills they list. **Agent** (used Linked API: fetch_person ×3): - basic profile, experience and skills 3 profiles read. Here they are: | Name | Headline | Current role and company | Location | Followers | First three skills | | --- | --- | --- | --- | --- | --- | | Jane D. | "Growth at Acme – B2B SaaS" | Head of Growth, Acme | San Francisco, California | 4,820 | Demand Generation, SEO, Lifecycle Marketing | | Omar K. | "Marketing leader in robotics" | VP Marketing, Fieldline Robotics | Austin, Texas | 1,315 | Product Marketing, Positioning, B2B Marketing | | Lea S. | "Growth and experimentation" | Growth Lead, Brightwell Software | Berlin, Germany | 912 | Experimentation, Analytics, Paid Acquisition | *The rows go to your sheet or your code; nothing was sent to anyone.* *Example run, fictional people. Runs inside your own LinkedIn account in a dedicated cloud browser, at a person's pace – a simple fetch takes seconds. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ## What a LinkedIn scraper API returns Here is the whole contract, on one screen. You start a request, you get a handle back, and you read the result: ```typescript const profile = await linkedapi.fetchPerson.execute({ personUrl: 'https://www.linkedin.com/in/jane-doe', retrieveExperience: true, retrieveSkills: true, }); // execute() returns a handle, not the data - the work runs in your account const { data, errors } = await linkedapi.fetchPerson.result(profile.workflowId); ``` ```python profile = linkedapi.fetch_person.execute( FetchPersonParams( person_url="https://www.linkedin.com/in/jane-doe", retrieve_experience=True, retrieve_skills=True, ) ) # execute() returns a handle, not the data - the work runs in your account result = linkedapi.fetch_person.result(profile.workflow_id) data, errors = result.data, result.errors ``` `data` is typed JSON: ```json { "name": "Jane Doe", "publicUrl": "https://www.linkedin.com/in/jane-doe", "headline": "Head of Growth at Acme", "location": "San Francisco, California, United States", "position": "Head of Growth", "companyName": "Acme", "followersCount": 4820, "experiences": [ { "position": "Head of Growth", "companyName": "Acme", "employmentType": "fullTime", "locationType": "hybrid", "duration": 26, "startTime": "2024-01-01T00:00:00Z", "endTime": null } ], "skills": [ { "name": "Demand Generation" }, { "name": "SEO" }, { "name": "Lifecycle Marketing" } ] } ``` **Two things to be clear about, because they are the real difference between the models.** First, this is an asynchronous workflow, not one HTTP call that hands back finished JSON: `execute` starts the work and returns a `workflowId`, `result` gives you `{ data, errors }` when it is done. Second, the work runs inside *your own* LinkedIn account in a dedicated cloud browser, at the pace of a person – a simple fetch takes seconds, a heavy one minutes, and actions run [sequentially rather than in parallel](/docs/workflows-overview#sequential-execution). The ceiling is not a rate limit we invented; it is your account's own, and you [configure the per-action limits](/docs/admin-limits) the platform then enforces. Sensible values are in the [LinkedIn limits guide](/guides/understanding-linkedin-limits). Every other operation follows the same `execute` then `result` pattern – the [people search below](#make-your-first-call) is the same two steps against a different operation. ## Is there a LinkedIn API for scraping? Not from LinkedIn. Its official API is a partner program: the open tier essentially returns your own profile and lets you publish posts, and reading other people's profiles, search results or audience data needs [Partner Program approval](https://learn.microsoft.com/en-us/linkedin/shared/authentication/getting-access), which is selective and slow. The full picture of what you can and cannot get through official channels is in our [LinkedIn API access guide](/guides/linkedin-api-access). So "LinkedIn scraper API" always means a third-party product, and there are three of them: | Model | How it works | Freshness | What it reaches | Can it act? | Risk sits with | | --- | --- | --- | --- | --- | --- | | Dataset / database | Query a pre-collected database | Months to years | Bulk public profiles | No | The data holder | | Real-time scraper | Pass a URL or ID, fetched live through proxies | Live | Public pages | No | The provider | | Account-based API | Runs your own authenticated account | Live | Your network, searches, Sales Navigator, inbox, public data | Yes | Your account | ## What you can extract, per entity This is the table most "scraper API" pages leave out. Ceilings below are LinkedIn's, not ours – typical for an established account, because LinkedIn publishes few exact numbers: | Entity | What comes back | Daily ceiling on one account | Method | | --- | --- | --- | --- | | Person profile | Name, headline, location, current role, company, about, follower count, experience, education, skills, languages | ~80 views on a free account, ~150 on Premium, up to ~1,000 through Sales Navigator | [`fetchPerson`](/docs/action-st-open-person-page?surface=sdk) | | Company | Description, industry, headquarters, size, founding year, specialties, employees, decision-makers | ~100 free, ~200 Premium, up to ~1,000 through Sales Navigator | [`fetchCompany`](/docs/action-st-open-company-page?surface=sdk) | | Posts | Text, author, hashtags, media, reactions and comments with each engager's name and headline | Counts against reading limits, not a separate cap | [`fetchPost`](/docs/action-st-open-post?surface=sdk) | | People search | Matching people with filters for role, location, industry, current and past company, school | A monthly commercial-use limit on free accounts (LinkedIn publishes no number; Premium Business, Recruiter Lite and Sales Navigator raise it). LinkedIn shows a free account up to 250 results per search, Sales Navigator up to 2,500 leads | [`searchPeople`](/docs/action-st-search-people?surface=sdk) | | Jobs | Job posts and search results – title, company, location, description, posting date | Job search does not count against LinkedIn's commercial-use limit | [`searchJobs`](/docs/action-st-search-jobs?surface=sdk), [`fetchJob`](/docs/action-st-open-job?surface=sdk) | | Sales Navigator | Lead and account search, lead data, InMail and the Sales Navigator inbox | Uses your Sales Navigator seat's own limits | [`nvSearchPeople`](/docs/action-nv-search-people?surface=sdk) and the other `nv-` operations | Entity-level detail, with working code for each, lives in the dedicated guides: [profiles](/guides/linkedin-profile-scraper), [companies](/guides/linkedin-company-scraper), [posts](/guides/linkedin-post-scraper), [jobs](/guides/linkedin-jobs-scraper) and [Sales Navigator](/guides/linkedin-sales-navigator-api). What a third-party profile fetch does not reliably give you is someone else's contact details. LinkedIn shows Contact Info at the member's discretion, mostly to connections, and its own OIDC permission returns only the email of the member who consented – so emails and phone numbers at scale do not come from a profile API of any kind. Source them from a consented enrichment provider instead; harvesting them is the fastest route into legal trouble. ## LinkedIn scraper APIs compared Prices and capabilities below come from each vendor's own pricing and product pages. | Provider | Model | Input | Can it act? | Published price | Free tier | | --- | --- | --- | --- | --- | --- | | Bright Data | Real-time scraper plus a pre-collected dataset | URL batches (up to 5,000 per call), keyword discovery | No | $1.50 per 1,000 records pay-as-you-go; $499/mo including 384,000 records; datasets $250 per 100,000 | 5,000 records a month | | Scrapingdog | Real-time scraper | Profile, company and post IDs; job search by keyword and location | No | Credit-based: a person profile costs 50–100 credits, a company 10, a post 5. $40/mo buys 200,000 credits, so 2,000–4,000 profiles | 200 starting credits | | Apify | Marketplace of community-built actors – there is no first-party LinkedIn actor | Profile URLs or IDs, or a search URL with filters | Actor-dependent – the read actors cannot; one community actor sends connection requests if you paste in your session cookies | Platform plan from $0 to $999/mo *plus* per-run actor charges; a representative profile actor charges $4 per 1,000 profiles, $10 with email lookup; the connection-request actor $25/mo plus usage | $5 of usage a month | | Unipile | Account-based | A connected account plus an identifier | Yes | €5.00 per connected account per month, minimum €49/mo for up to 10 accounts, no per-request fee | 7-day trial | | Linked API | Account-based, in a dedicated cloud browser | A connected account; actions composed as workflows | Yes | $49 per seat per month billed annually, no per-record metering | 7-day trial | **What the table actually says.** The read-focused products cannot act on LinkedIn, and they are explicit about why: they never hold a session. Bright Data's LinkedIn scrapers cover "only publicly available data", Scrapingdog scrapes "publicly available LinkedIn person profiles", and the most-used Apify profile actor sells "no cookies, no login, no browser required" as its headline feature. That property is exactly what keeps them clear of your account – and what stops them sending a connection request, reading your inbox, or seeing a Sales Navigator result. Apify is the one to qualify rather than dismiss: it is a marketplace, so capability varies by actor. Alongside the read-only scrapers there is a community actor that does send connection requests – by asking you to copy your LinkedIn session cookies out of your browser and paste them into a third-party actor. That is a real capability and a different safety model from either the read-only scrapers or an account-based API, where the session is established once and stays inside the platform. Unipile is the one genuine peer: it also drives your own account, and it also acts. The difference there is execution rather than capability – it constructs reverse-engineered calls to LinkedIn's private interface and bills per connected account, where Linked API runs a real browser session on LinkedIn's own pages and bills per seat. Our [head-to-head with Unipile](/vs/unipile) covers that layer difference properly. And where the others win, they win clearly. For a million cold profiles, Bright Data's dataset at $250 per 100,000 records is a different order of magnitude from any account-based product, and no per-seat model competes with it. For cheap public reads at moderate volume, Scrapingdog is hard to beat on unit cost. For breadth of odd jobs, Apify's marketplace has an actor for almost anything – at the price of depending on a community maintainer rather than a vendor. ## Make your first call Install the SDK: ```bash # Node.js npm install -S @linkedapi/node # Python pip install linkedapi ``` Initialize the client and run a [people search](/docs/searching-for-people) – the same `execute` then `result` pattern as the profile fetch above: ```typescript import LinkedApi from '@linkedapi/node'; const linkedapi = new LinkedApi({ linkedApiToken: process.env.LINKED_API_TOKEN, identificationToken: process.env.IDENTIFICATION_TOKEN, }); const search = await linkedapi.searchPeople.execute({ term: 'head of growth', limit: 25, filter: { locations: ['United States'], industries: ['Software Development'] }, }); const { data } = await linkedapi.searchPeople.result(search.workflowId); data?.forEach((person) => console.log(person.name, '-', person.publicUrl)); ``` ```python from linkedapi import LinkedApi, LinkedApiConfig, SearchPeopleParams linkedapi = LinkedApi( LinkedApiConfig( linked_api_token="your-linked-api-token", identification_token="your-identification-token", ) ) search = linkedapi.search_people.execute( SearchPeopleParams( term="head of growth", limit=25, filter={"locations": ["United States"], "industries": ["Software Development"]}, ) ) result = linkedapi.search_people.result(search.workflow_id) for person in result.data or []: print(person.name, "-", person.public_url) ``` Grab your tokens from the [installation guide](/sdks/installation). Writing this in Python rather than TypeScript? [Scraping LinkedIn in Python](/guides/linkedin-scraper-python) puts the same extraction next to a Playwright script and checks the state of the open-source libraries. ## Two ways to run it: build it in, or hand it to an agent Both routes are first-class, and which one you want depends on whether you are building a product or running a workflow. **Build it in.** The [REST API and the Node and Python SDKs](/sdks/installation) plus the shell [CLI](/cli/getting-started) give you the primitives above to compose into your own logic – your backend, your CRM, your scheduler. **Get it out of the box.** Install a ready-made [agent skill](/skills) with `npx @linkedapi/skills`, or point an assistant at the [MCP server](/mcp/overview) or the AI-agent-friendly CLI (Claude Code, Cursor, Codex), and ask in plain language: "find heads of growth at Series B fintechs in London, pull their profiles, and message the ones who posted about hiring this month." The agent composes and runs the same workflows. Nothing to wire up. ## Scraper API vs building your own scraper The real question for most engineers is "should I just build this myself?" It comes down to maintenance and risk, not difficulty: | Factor | Build it yourself | Scraper API | | --- | --- | --- | | Time to first data | Days to weeks | Minutes | | Proxies and CAPTCHAs | You manage them | Handled | | Selectors break | You fix them, forever | Handled | | Account-ban risk | High, hard to control | Lower, paced for you | | Cost at low volume | "Free" but your time | Free tier to low monthly | | Cost at massive volume | Cheaper per record | More per record | | Best when | You have niche needs and time | You want data and to ship | If you want to build it anyway, our [guide to scraping LinkedIn](/guides/how-to-scrape-linkedin) covers the methods, the detection signals, and why headless scraping breaks. ## Is a LinkedIn scraper API legal? Will my account get banned? In [hiQ Labs v. LinkedIn (9th Cir. 2022)](https://cdn.ca9.uscourts.gov/datastore/opinions/2022/04/18/17-16783.pdf) the Ninth Circuit affirmed a preliminary injunction, finding hiQ had raised serious questions that scraping *public* LinkedIn data likely does not violate the CFAA – but it still falls under LinkedIn's terms, and under GDPR and CCPA when personal data is involved. The three-layer model is in our [scraping guide](/guides/how-to-scrape-linkedin#is-scraping-linkedin-legal-the-three-layers). The cautionary tale for this category is [Proxycurl](/guides/proxycurl-alternatives): one of the most popular LinkedIn data APIs until LinkedIn [sued its operator in 2025](https://dockets.justia.com/docket/california/candce/3:2025cv00828/443258) over fake accounts and scraping, after which the service shut down and its data was slated for deletion. The lesson is about who carries the risk. An account-based API runs your own real session, holds no scraped index, and paces itself – which keeps accounts healthy, but is not immunity and will not pull a hundred thousand profiles a day. ## Frequently Asked Questions (FAQ) #### Can I use LinkedIn's official API to scrape profiles? No. The official API is partner-gated and does not expose other people's profiles, search results or audience data, which is why every "LinkedIn scraper API" is a third-party product – a dataset, a real-time scraper, or an account-based API that runs your own session. #### Which LinkedIn scraper API is free? None are free at working volume, but most have a free tier to test with: Bright Data gives 5,000 records a month, Scrapingdog 200 starting credits, and Apify $5 of monthly usage. Account-based products give trials instead – Linked API a 7-day trial, Unipile the same. #### Does LinkedIn have an official API? Yes, but restricted. The open tier mainly returns your own profile and lets you share posts. Anything broader needs Partner Program approval, which is selective and can take weeks. #### How do I get a LinkedIn API key? For a scraper API, you sign up with the provider and get a token. For Linked API you get two – an account token and a per-account identification token – from the dashboard; see the [installation guide](/sdks/installation). #### What is the difference between a scraper API and LinkedIn's official API? The official API exposes a narrow, approved slice of data through OAuth. A scraper API returns what a user can actually see – profiles, companies, posts, search – without partner approval, and operates outside LinkedIn's official program. #### Can I get LinkedIn data in real time? Yes, with a real-time scraper or an account-based API. Datasets are not real time: they serve pre-collected records that can be months or years old. #### How many profiles can I fetch per day? With an account-based API the ceiling is your account's own: roughly 80 profile views a day on a free account, ~150 on Premium, up to ~1,000 through Sales Navigator. Scrapers and datasets go higher because they do not use your account. #### Do I need Sales Navigator? Not for standard profile, company, post or job data. Sales Navigator unlocks its own search and lead surfaces, which account-based APIs reach through your seat – see the [Sales Navigator API guide](/guides/linkedin-sales-navigator-api). #### Will my account get banned? Any automation carries risk. It is lowest when requests come from your own authenticated account at human pace, which is how an account-based API is built to behave. Aggressive headless scraping on a logged-in account is what gets flagged. --- Want fresh LinkedIn data and the ability to act on it, without running a scraper? [Start with Linked API](/pricing) – your account runs in its own dedicated cloud browser at human pace, within the per-action limits you configure, on flat per-seat pricing from $49/mo billed annually with a 7-day trial – and use it both ways: build it into your product with the [REST API, SDKs](/sdks/installation) and [CLI](/cli/getting-started), or get it out of the box through the [MCP server](/mcp/overview) and ready-made [agent skills](/skills). *Facts verified September 24, 2026 – Bright Data, Scrapingdog, Apify and Unipile pricing, entity coverage and action capability checked against their live product and pricing pages on that date. LinkedIn's search limits re-checked against LinkedIn Help on November 1, 2026.* ## Proxycurl Is Gone: Best LinkedIn Data API Alternatives in 2026 (and How to Migrate) Proxycurl, for years one of the most popular LinkedIn data APIs, shut down in 2025 after LinkedIn sued the company behind it. If your pipeline broke overnight, this guide gives you the accurate story (the dates and the case, not the rumors), the real lesson for choosing your next vendor, an honest comparison of the live alternatives by model, and a concrete migration path. No gloating, no single-product hard sell – just what happened and what to do next. > **The short version.** For a like-for-like "profile URL in, JSON out" replacement, a real-time scraper (ScrapIn, Apify, Bright Data) is the closest drop-in. For bulk enrichment, a dataset provider (Coresignal, People Data Labs) fits. If you want live data plus the ability to act – and no shared scraped database that a court can order deleted – an account-based API (Linked API, Unipile) is the durable play. The thing that actually killed Proxycurl – fake accounts and a central scraped index – is the thing not to repeat. ## What happened to Proxycurl On January 24, 2025, LinkedIn sued the company behind Proxycurl (Nubela) in the U.S. District Court for the Northern District of California – *LinkedIn Corp. v. Nubela Pte. Ltd.*, No. 3:25-cv-00828 (N.D. Cal.), filed January 24, 2025; see [the docket](https://dockets.justia.com/docket/california/candce/3:2025cv00828/443258). The complaint brought six claims, including breach of contract, fraud and deceit, violation of the Computer Fraud and Abuse Act (CFAA), California's Unfair Competition Law, a Lanham Act claim, and misappropriation. The core allegation was not simply "they used LinkedIn data." It was that Proxycurl created hundreds of thousands of fake accounts to scrape millions of profiles, including non-public data, and resold that data through its API. The case settled in mid-2025; Proxycurl posted its goodbye in July 2025 and wound the service down, with customers notified and data slated for deletion. ![Why Proxycurl was shut down: fake accounts and a central scraped index led to a lawsuit, an injunction, and shutdown](/images/guides/proxycurl-why-shut-down.webp) To its credit, Proxycurl's founder was candid afterward. He wrote in his July 2025 goodbye post that the business was a roughly $10M revenue business, that about half of it came from scraping LinkedIn, and that there was "no winning in fighting this" against a company with an effectively unlimited legal budget. The team has since pivoted to a new product, NinjaPear, that explicitly does not scrape LinkedIn. ## The real lesson for picking your next API It is tempting to read this as "LinkedIn data is radioactive, stay away." That is the wrong takeaway. The fatal combination was specific: **fake accounts at scale, scraping non-public data, packaged as a central database and resold.** Each of those is a separate aggravating factor, and together they made the case easy to bring. The legal backdrop is more nuanced than the headlines. Scraping genuinely *public* data is not automatically illegal in the US – that is the takeaway from *hiQ Labs v. LinkedIn*. But the moment you spin up fake accounts or reach non-public data at scale, you are in CFAA and privacy-law territory. (We cover the full legal model in our [guide to scraping LinkedIn](/guides/how-to-scrape-linkedin#is-scraping-linkedin-legal-the-three-layers).) For you as a buyer, the practical lesson is about continuity risk. A provider whose entire business is a central, scraped index of LinkedIn is one injunction away from gone – and that injunction can require deleting the very data you depend on, with little notice. Vendor selection now has to weigh "will this still exist, and will my data survive, in twelve months?" alongside price and coverage. ## The live alternatives, by model Proxycurl's competitors – the LinkedIn data APIs still standing – split into three models. Most "Proxycurl alternative" listicles blur them together and then crown whichever product the author sells. Here they are honestly, with the trade-offs that matter. | Model | How it works | Closest Proxycurl match | Examples | Freshness | Risk sits with | Typical price | | --- | --- | --- | --- | --- | --- | --- | | Real-time scraper | Pass a URL, scraped live via proxies | Person/Company Profile endpoints | ScrapIn, Apify, Bright Data, Scrapingdog | Live | The provider | ~$1.50–$4 / 1K profiles | | Dataset / database | Query a pre-scraped database in bulk | Search and bulk enrichment | Coresignal, People Data Labs, Crustdata | Months to years | The data holder | ~$0.005–$0.20 / record | | Account-based API | Runs your own authenticated account | Profile reads, plus actions | Linked API, Unipile | Live | Your account | Flat per connected account | **Real-time scrapers** are the closest drop-in for Proxycurl's bread-and-butter "give a profile URL, get JSON." ScrapIn (now merged into Reverse Contact) and Apify's LinkedIn actors are the usual developer picks; Bright Data is the enterprise-scale option with the strongest legal track record. You hand over a URL, they manage proxies and return structured data – and they carry the scraping risk. **Dataset providers** like Coresignal and People Data Labs sell scale: hundreds of millions of records you can query or buy in bulk. They replace Proxycurl's *search and enrichment* use case, not real-time single lookups, and the trade-off is freshness – records are often months or years out of date between refreshes. Crustdata sits in this group too: it indexes public web pages into one graph of people and companies, served through a REST API and an MCP server with flat-file datasets alongside, and it publishes no prices – real-time retrieval is an enterprise-tier option there rather than the default. **Account-based APIs** work differently: they drive *your own* authenticated LinkedIn account in a cloud browser. There is no shared scraped index for a court to seize, and you can act (connect, message, react), not just read. The honest caveat: the risk shifts to your account and LinkedIn's terms, and throughput is bounded by your account's daily limits – it is not a bulk firehose. This is the [account-based model](/guides/linkedin-scraper-api) we build at Linked API. ## What replaced the Proxycurl API? Nothing replaced the Proxycurl API one-for-one, and the team behind it is not the answer either: Nubela's new product, NinjaPear, deliberately does not touch LinkedIn. So the 21-odd endpoints you were calling now split across three kinds of product, and which one you want depends on the endpoint. Here is where each one goes: | Proxycurl endpoint | What it did | Where to go now | | --- | --- | --- | | Person Profile / Person Lookup | Profile data from a URL | Real-time scraper (ScrapIn, Apify, Bright Data) or account-based `fetchPerson` | | Person Search / Role Lookup | Find people by criteria | Dataset search (Coresignal, PDL) or account-based [people search](/docs/searching-for-people) | | Company Profile / Employee Count | Company firmographics | Dataset (Coresignal) or account-based [company data](/docs/retrieving-company-data) | | Employee Listing / Search | Roster of a company's people | Dataset, or account-based company fetch with employees | | Job Listing / Job Search | LinkedIn job posts and job search results | Account-based [job search](/docs/action-st-search-jobs?surface=sdk) and [job data](/docs/action-st-open-job?surface=sdk) – `searchJobs` and `fetchJob` in the Node and Python SDKs – or a dataset provider | | Work Email / Reverse Email / Personal Contact | Contact details | Consented enrichment (Reverse Contact, People Data Labs, Prospeo) | | Credit Balance | How much quota you had left | Nothing to port on a flat per-seat plan; the equivalent check is [API usage statistics](/docs/checking-api-usage-statistics) | One honest note on contact data: the email and phone endpoints were always the legally hottest part of Proxycurl. Personal contact details are not something you should extract from LinkedIn directly – source them from a consented B2B enrichment provider instead. We explain why in the [scraping guide](/guides/how-to-scrape-linkedin). ## Proxycurl pricing, and what the replacements cost Proxycurl sold credits, and its pricing page is still published even though the service is gone. The monthly tiers were Starter $49 for 2,500 credits at $0.020 a credit, Growth $299 for 25,000 at $0.012, Pro $899 for 89,900 at $0.010, and Ultra $1,899 for 211,000 at $0.009, with an Enterprise tier from $2,000 above that (per Proxycurl's own pricing page). Replacements do not price in the same unit, which is the part that makes a like-for-like comparison misleading. Real-time scrapers charge roughly $1.50–$4 per 1,000 profiles, so they behave most like the credit model you are leaving. Dataset providers charge per record, from fractions of a cent to about $0.20, and expect volume. Account-based APIs charge per connected account and meter nothing: Linked API is $49 per seat per month billed annually, the same headline number as Proxycurl's entry tier, but it buys a different thing – no credit balance to watch, and throughput bounded by one LinkedIn account's safe daily pace rather than by a quota you can top up. ## Migrating to an account-based API If you used Proxycurl for live profile reads and want control rather than a shared index, the account-based path maps cleanly. The Person Profile endpoint – a URL in, structured JSON out – becomes a single call against your own account. If your enrichment ran from a spreadsheet rather than a pipeline, you may not need code at all. Connect the Linked API [MCP server](/mcp/overview) to Claude, ChatGPT or Cursor, give a coding agent the agent-friendly [CLI](/cli/getting-started), or install ready-made [skills](/skills) with `npx @linkedapi/skills`, and the agent does the same reads from a plain-language ask: **You:** Here are 40 LinkedIn profile links from our CRM export (leads.csv) that we used to enrich through Proxycurl. For each person, add the headline, location, current title and company as new columns. Flag any profile you couldn't open. **Agent** (used Linked API: fetch_person ×40): - name, headline, location, current position and company - 38 rows updated; 2 profiles could not be opened Updated 38 rows in leads.csv. Two links failed – one profile no longer exists and one could not be opened. The first rows: | Name | Headline | Location | Current title | Company | | --- | --- | --- | --- | --- | | Priya K. | Building data platforms at Ordo | Austin, Texas, USA | Head of Data | Ordo | | Tomás R. | Partnerships – Fintech | Madrid, Spain | Partnerships Manager | Paylane | | Grace O. | Helping SaaS teams sell into retail | Toronto, Canada | Account Executive | Shelfwise | *Example run. The reads happen on your own connected account at a human pace, so 40 profiles take minutes rather than seconds, with no credit balance to watch. Emails and phone numbers are not part of the result – see the note on contact data above.* In code, install the SDK: ```bash # Node.js npm install -S @linkedapi/node # Python pip install linkedapi ``` Then fetch a profile by URL, the direct analog of Proxycurl's Person Profile endpoint: ```typescript import LinkedApi from '@linkedapi/node'; const linkedapi = new LinkedApi({ linkedApiToken: process.env.LINKED_API_TOKEN, identificationToken: process.env.IDENTIFICATION_TOKEN, }); const profile = await linkedapi.fetchPerson.execute({ personUrl: 'https://www.linkedin.com/in/jane-doe', retrieveExperience: true, retrieveSkills: true, }); const { data } = await linkedapi.fetchPerson.result(profile.workflowId); console.log(data?.name, data?.position, data?.followersCount); ``` ```python from linkedapi import LinkedApi, LinkedApiConfig, FetchPersonParams linkedapi = LinkedApi( LinkedApiConfig( linked_api_token="your-linked-api-token", identification_token="your-identification-token", ) ) profile = linkedapi.fetch_person.execute( FetchPersonParams( person_url="https://www.linkedin.com/in/jane-doe", retrieve_experience=True, retrieve_skills=True, ) ) data = linkedapi.fetch_person.result(profile.workflow_id).data print(data.name, data.position, data.followers_count) ``` The same `execute` then `result` pattern covers [people search](/docs/searching-for-people) and [company data](/docs/retrieving-company-data). Grab your tokens from the [installation guide](/sdks/installation) to start. ## A one-day migration checklist 1. **Put a thin interface in front of your data source** so you can swap providers without touching the rest of the app. Proxycurl taught everyone why this matters. 2. **Pick a model by job:** live single-profile reads to a real-time scraper, bulk firmographics to a dataset, your-own-account reads plus actions to an account-based API. 3. **Map your fields.** Most providers return the same core profile shape; normalize names once at the boundary. 4. **Move contact lookups to consented enrichment** rather than direct extraction. 5. **Backfill** any records you lost when Proxycurl went dark. 6. **Handle limits.** Real-time and dataset APIs have rate limits; account-based APIs surface a limit error when you would exceed your account's safe pace. ## Frequently Asked Questions (FAQ) #### Why did Proxycurl shut down? LinkedIn sued the company behind Proxycurl in January 2025 over creating fake accounts to scrape profiles, including non-public data, and reselling it. The case settled in mid-2025, and Proxycurl wound the service down. Its founder said about half the revenue came from LinkedIn scraping, and that there was "no winning in fighting this." #### Is the Proxycurl API still available in 2026? No. Its founder put it plainly in an April 2026 post: "Proxycurl is shut down. Old docs, old blog posts, and old code samples still exist. Treat them as historical reference only." The same post answers whether the team's new product is a direct replacement with a flat "No" – NinjaPear does not scrape LinkedIn – so for LinkedIn data specifically the choice is between the three models above. #### What is the best Proxycurl alternative? There is no single answer – it depends on the job. For "profile URL in, JSON out," a real-time scraper like ScrapIn or Apify is the closest drop-in. For bulk enrichment, Coresignal or People Data Labs. For live data plus actions on your own account, an account-based API like Linked API. #### Which alternative gives profile data by URL, like Proxycurl did? Real-time scrapers (ScrapIn, Apify, Bright Data, Scrapingdog) and account-based APIs both take a profile URL and return structured JSON. Dataset providers work by query and bulk export instead. #### Is scraping LinkedIn legal in 2026? Scraping genuinely public data is not automatically a crime in the US under *hiQ v. LinkedIn*, but it still falls under LinkedIn's terms and under GDPR and CCPA for personal data. Fake accounts and non-public data are what turn it into a lawsuit. See our [legal breakdown](/guides/how-to-scrape-linkedin#is-scraping-linkedin-legal-the-three-layers). #### Will my new alternative just get sued too? The risk depends on the model. A provider built on a fake-account farm and a central scraped index carries the same exposure Proxycurl did. A dataset or real-time provider that sources data carefully spreads that risk, and an account-based API moves it onto your own account and LinkedIn's terms rather than a shared index. None of these is risk-free; choose with that in mind. #### How much did Proxycurl cost, and how do alternatives compare? Proxycurl was credit-based, from $0.020 a credit on its $49 Starter tier down to $0.009 at volume. Real-time scrapers run about $1.50–$4 per 1,000 profiles, datasets from fractions of a cent to ~$0.20 per record, and account-based APIs charge a flat rate per connected account – the tier-by-tier comparison is above. #### How do I migrate from Proxycurl? Abstract your data source behind an interface, pick a replacement model by use case, map your fields, move contact lookups to consented enrichment, and backfill lost records. Most profile shapes are similar enough that the swap is a boundary-layer change, not a rewrite. --- Were you using Proxycurl for live profile reads and the ability to act? [Linked API](/pricing) runs your own authenticated account and returns clean JSON for people, companies, posts, and search – with no shared scraped database to disappear overnight. ## LinkedIn Cold Outreach: 7 Strategies and Message Templates (2026) LinkedIn cold outreach works when every message gives one specific, true reason to reply – and fails when it is the same note sent to everyone. This guide covers the seven strategies that make the difference, from profile research to follow-ups, and ends with cold message templates you can adapt. You send 50 connection requests per week. Maybe 10 people accept. Two respond. Zero meetings booked. The problem isn't LinkedIn – it's your approach. Generic spray-and-pray outreach gets weak response rates, and sales teams track vanity metrics (messages sent) instead of what matters: meetings booked and deals closed. > **The short version.** Research each prospect before you write, warm them up with a visit or a genuine comment before you ask to connect, reach out when something just happened in their world, and follow up a few times with something new each time. Measure acceptance, reply and meeting rates from your own first batches instead of trusting benchmark numbers, and change one thing at a time. An AI agent or your own code can do the research and draft each message; you approve what goes out. Here is the research-and-draft step for one week's new connections, run by an AI agent on your own LinkedIn account through [Linked API](/): **You:** For everyone who accepted my invitations in the last 7 days, read their profile and posts from the last 30 days and draft a first message from my templates – fill every bracket with a true detail from what you read, and skip anyone where you can't. Check first whether they've already written to me. Send nothing until I approve. **Agent** (used Linked API: get_network, fetch_person ×8, sync_conversation ×8, get_inbox ×8): - invitations accepted in the last 7 days – 8 people - current role, company and posts from the last 30 days - each conversation loaded once - the messages with each person – 1 has already written to you 8 people accepted: 1 has already written to you – answer that instead of a template; 5 first messages drafted; 2 skipped with nothing true to fill the brackets. Nothing has been sent. Three of the 8: | Person | What the agent read | Draft or status | | --- | --- | --- | | Sarah K. | Head of Sales Ops at a logistics software company; a post on data quality as the real forecasting bottleneck | "Thanks for connecting, Sarah. Your post on data quality being the real forecasting bottleneck stuck with me. We help sales ops teams fix that. Is it on your list this quarter, or already solved?" | | Mike D. | Wrote to you on Tuesday: "Thanks – what does your team do exactly?" | Reply to his question, not a template | | Anna L. | VP Sales; no posts in the last 30 days and little on the profile | SKIP – no true detail for the brackets | *Nothing goes out until you approve; before each follow-up the agent checks for a reply again.* *Example run, fictional people. Assumes network monitoring was already on – it reports acceptances only from the moment it is enabled. Each conversation is loaded once per person and then read from the inbox; an empty result means nothing captured yet, never "no reply". Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ## Why Most LinkedIn Cold Outreach Fails LinkedIn cold outreach has a failure rate problem. But the failure modes are predictable – and fixable. ### Failure Mode #1: Generic Messaging Most outreach still looks like this: *"Hi [Name], I help [Industry] companies with [Generic Value Prop]. Let's connect!"* Prospects see through templated messages instantly. They know you sent the same note to 50 other people. There's no reason to respond – you haven't shown genuine interest in their specific situation. ### Failure Mode #2: Single-Touch Approach Most salespeople send one connection request, maybe one follow-up, then move on. They're giving up right when the prospect is starting to recognize their name. The psychology is simple: familiarity breeds trust. One cold message from a stranger triggers skepticism. A few useful touchpoints over a couple of weeks build recognition and credibility. ### Failure Mode #3: Poor Timing Timing isn't just about day of week or time of day. It's about relevance windows. When someone just published a post about a challenge you solve, they're thinking about that problem right now. That's your window. Sending a connection request three weeks later? The moment has passed. The attention has moved on. ### Failure Mode #4: Vanity Metrics Focus Here's the real problem: most teams track vanity metrics like "connection requests sent," and far fewer track "meetings booked per 100 requests." You optimize what you measure. If you're tracking volume (requests sent, messages delivered, profile views), you'll optimize for volume. You'll send more generic messages to more people. If you track outcomes (acceptance rate, response rate, meeting rate), you'll optimize for quality. You'll personalize more, test more, and improve conversion at each stage. ### The Real Problem: Spray-and-Pray Thinking All four failure modes stem from the same root cause: treating LinkedIn outreach as a numbers game instead of a relationship-building process. Spray-and-pray assumes more volume means more results. It's tempting arithmetic but a broken strategy: generic messages burn through your prospect list without building any recognition. Data-driven outreach flips the model: fewer, better-researched messages, each measured, so you learn what converts for your audience. The rest of this guide shows you how to make that shift. ## The Data-Driven Approach: What It Means Data-driven outreach isn't about having fancy analytics dashboards (though those help). It's about making decisions based on what actually converts for your audience, not what sounds good in a LinkedIn post. Here's what changes when you go data-driven: ### 1. You Track Full-Funnel Conversion Rates Instead of tracking "messages sent," you track the complete funnel: - **Connection requests sent** → **Accepted** (acceptance rate) - **Accepted** → **Responded** (response rate) - **Responded** → **Meeting booked** (meeting rate) - **Meeting** → **Deal created** (deal conversion) ![The LinkedIn outreach conversion funnel: connection requests sent narrow to accepted, responded, meeting booked, and deal created, with the rate to track at each stage](/images/guides/linkedin-cold-outreach-funnel.webp) Now you can see exactly where prospects drop off. If your acceptance rate is 50% but your response rate is 5%, you know the problem: your first message after connecting isn't compelling. Fix the bottleneck, measure the improvement, repeat. ### 2. You A/B Test Everything Anecdotal advice says "be conversational" or "lead with value." Data-driven teams test it. - Does a conversational tone or professional tone work better for C-level prospects in fintech? - Does asking a question or offering a resource get more responses? - Does a short connection note (50 characters) or detailed note (200 characters) perform better? You don't guess. You test with 50 prospects per variant, measure the results, and scale what wins. ### 3. You Use Behavioral Data for Personalization Generic personalization: > Hi {{Name}}, I see you work at {{Company}}... Data-driven personalization: > Hi Sarah, saw your recent post about AI adoption in sales ops – your point about data quality resonated with our experience at... The difference? You're using real behavioral data (recent posts, job changes, content engagement) to show genuine relevance, not just filling in template variables. ### 4. You Optimize Continuously Data-driven outreach isn't "set it and forget it." You run weekly reviews: - What's the current acceptance rate? - What's the response rate? - What's the meeting conversion? - Which message variants are winning? - Where are prospects dropping off? Take your baseline from your own first 100 requests, not from someone else's benchmark – audiences, offers and seniority levels differ too much for a universal target to mean anything. Then adjust targeting, messaging or timing one at a time and compare against that baseline. **Why this beats spray-and-pray:** Spray-and-pray is static. You send the same template to everyone, hoping volume compensates for low conversion. Data-driven outreach improves every week, because each change is measured against the last. ## Strategy #1: Start with Deep Profile Research > 📈 A note does not guarantee more accepts. In Belkins' 2026 study of 11.5 million connection requests – observational campaign data – 25.3% of requests with a note were accepted against 27.6% without one, while campaigns with a note saw more replies (8.2% vs 5.3%). ### Why Deep Research Works When you reference specific details from someone's profile – a recent post, a shared interest, a mutual connection – you trigger reciprocity (you invested time researching them) and relevance (you understand their world). Generic templates signal the opposite: "I sent this to 100 people." Prospects ignore that instantly. ### How to Implement You don't need 30 minutes per prospect. You need the right data points: recent posts, job changes, shared interests, mutual connections. Then reference specific insights, not just topics. **Weak:** *"Hi Sarah, I saw your recent post about sales automation."* **Strong:** *"Hi Sarah, saw your post about AI in sales ops – your point about data quality being the real bottleneck resonated."* The second example proves you actually read the post and understood the nuance. More notes like it, by scenario and all under 200 characters, are in [LinkedIn connection request message examples](/guides/linkedin-connection-request-message). ### Scaling with Automation Use [Linked API's Fetch Person method](/docs/action-st-open-person-page?surface=sdk) to pull profile data automatically (recent posts, job changes, mutual connections), store it in your CRM with dynamic variables, and generate personalized connection notes: > Hi {{FirstName}}, saw your recent post about {{PostTopic}} – {{ContextualComment}}. I work with {{CompanyType}} companies on similar challenges. Would love to connect. Automation handles data collection. You control message quality and relevance – and if a variable comes back empty, send the request without a note rather than with a generic one. ## Strategy #2: Multi-Touch Warming Before Pitching ### Why Multi-Touch Warming Works Single-touch outreach triggers skepticism: "Who is this person?" Multi-touch warming triggers recognition: "I've seen this name before. They engaged with my content." The psychology: [mere exposure effect](https://en.wikipedia.org/wiki/Mere-exposure_effect) – repeated exposure increases liking and trust over time. When someone sees your name three times before you ask to connect (profile visit, post like, comment), you're not a stranger anymore. Recognition lowers resistance. ### How to Implement A typical warming sequence: 4-5 low-stakes touchpoints over 1-2 weeks: 1. **Visit their profile** (Day 1) – appears in their viewer list and may notify them, planting your name. This only works if your [profile viewing options](/guides/linkedin-private-mode) show your name rather than private mode 2. **Like their recent post** (48h later) – reinforces your name 3. **Comment on their post** (optional, 48h later) – adds value, positions you as knowledgeable 4. **Send personalized connection request** (2-3 days later) – reference the post in your note 5. **Send value-add message after acceptance** (2-3 days later) – don't pitch immediately ### Automating with Linked API Build workflows using n8n, Make, or Zapier: 1. [Visit Profile](/docs/action-st-open-person-page) → delay 48h 2. [Like Post](/docs/action-st-react-to-post) → delay 48-72h 3. [Send Connection Request](/docs/action-st-send-connection-request) → wait for acceptance 4. [Send Message](/docs/action-st-send-message) after 2-3 days (value-add, not pitch) For the connection-request mechanics in code – send, check acceptance, and withdraw stale invites – see [How to Automate LinkedIn Connection Requests](/guides/how-to-automate-linkedin-connection-requests); for the message-and-read-reply flow, see [How to Automate LinkedIn Messages](/guides/how-to-automate-linkedin-messages). This guide owns the strategy – what to say and when; those own the mechanics. ## Strategy #3: Personalize Your Offer Based on Company-Specific Needs Real personalization isn't about mentioning someone's LinkedIn post. It's about demonstrating you understand what your product solves for their specific company based on their actual situation, workflows, and friction points. ### Why Offer Personalization Works Generic pitch: > Our tool helps sales teams automate LinkedIn outreach. Personalized offer (example for DevOps SaaS): > I noticed your team uses Happy CRM for inbound lead management. We help teams like yours generate automated lead files from LinkedIn outreach and push them directly to S3 buckets for automatic Happy CRM import – cutting manual CSV uploads from 2 hours/week to zero. The difference? The second example shows you understand their specific workflow (Happy CRM → S3 import), identify a real friction point (manual CSV uploads), and explain exactly how your product fits their situation. This approach works regardless of industry – the key is demonstrating you understand their specific challenges. ### How to Implement Offer Personalization at Scale **Step 1: Identify data points relevant to YOUR product and industry** What data you need depends entirely on what you sell and who you sell to. There's no universal "tech stack" checklist – it's specific to your value proposition. **Examples:** - DevOps SaaS tool → CRM used, automation tools, integration stack, current data flows - Agricultural equipment → hectares owned, crop types, geographic region, existing machinery - Real estate services → property portfolio size, geographic focus, recent transactions - HR software → company size, hiring velocity, ATS used, remote/hybrid policies The pattern: identify data that reveals **specific friction points your product solves**. **Step 2: Map your product's value to their specific situation** Create personalization templates based on the data points you identified in Step 1: **Example: If prospect uses Happy CRM:** > I noticed your team uses Happy CRM for inbound leads. We help teams automate LinkedIn outreach lead export → S3 bucket integration → automatic Happy CRM import. Eliminates the manual CSV upload step entirely. Relevant for your workflow? **Example: If prospect uses Salesforce + Zapier:** > Saw you're running Salesforce with Zapier. We plug into that exact stack – LinkedIn leads flow directly to Salesforce via Zapier webhook, maintaining field mapping and deduplication. Would this close a gap in your current outreach process? **Step 3: Use** [**Linked API's Fetch Company method**](/docs/action-st-open-company-page?surface=sdk) **to automate research** Pull company-level data relevant to your product. Examples vary by industry: - Tech/SaaS → technologies mentioned, recent hiring signals, job postings revealing needs - Agriculture → company size, geographic mentions, equipment/technology discussed - Real estate → property mentions, market focus, transaction activity - General → company size, growth signals, recent news/announcements **Step 4: Generate tailored value propositions** Instead of generic benefits, explain the specific solution to their situation: > Hi {{FirstName}}, noticed {{CompanyName}} {{SpecificSituation}}. Quick question: are you currently {{CurrentProcess}}, or do you have {{DesiredState}}? We help teams {{SpecificSolution}} – {{QuantifiedBenefit}}. Relevant for your {{Context}}? Example variables for a DevOps SaaS tool: - `{{SpecificSituation}}` = "uses Happy CRM for lead management" - `{{CurrentProcess}}` = "exporting LinkedIn leads manually" - `{{DesiredState}}` = "an automated pipeline into Happy CRM" - `{{SpecificSolution}}` = "push LinkedIn leads directly to S3 for automatic Happy CRM import" - `{{QuantifiedBenefit}}` = "cuts manual CSV uploads from 2 hours/week to zero" - `{{Context}}` = "workflow" Only put a number in `{{QuantifiedBenefit}}` if a real customer measured it – an invented figure is the fastest way to lose a careful buyer. ### Practical Example: Happy CRM + S3 Integration Workflow **Scenario:** You sell a LinkedIn automation tool. Your prospect uses Happy CRM, which imports leads from S3 buckets automatically. **Your personalized offer:** > "Hi Michael, saw that your team at {{Company}} uses Happy CRM for inbound lead management. Quick question: when your SDRs generate leads from LinkedIn outreach, are they manually exporting CSVs and uploading to S3, or do you have that automated? We integrate directly with Happy CRM's S3 import workflow – LinkedIn leads flow automatically to your bucket in Happy CRM's required format (JSON schema with contact fields + interaction history). Eliminates the manual export/upload step. Would this close a workflow gap for your team?" **Why this works:** - Shows you researched their specific situation (Happy CRM in this case) - Identifies a real friction point (manual CSV → S3 uploads) - Explains exact solution specific to their setup (S3 bucket, JSON schema) - Positions your product as a tailored solution, not a generic tool ### The Key: Sell Specific Solutions, Not Generic Features Don't say "We do LinkedIn automation." Say "We integrate LinkedIn outreach data directly into your Happy CRM → S3 pipeline" (or whatever is relevant to THEIR specific context). Specificity proves relevance. ## Strategy #4: Timing Matters – When to Reach Out ### Why Timing Works **Professional hours:** reach people when they are in work mode – during their working week, in their own timezone – rather than late evenings or weekends, when professional outreach feels intrusive. Which days and hours work best for your audience is something to test, not assume. **Activity-based timing:** When someone just published a post about a challenge you solve, they're thinking about that problem right now. That's your relevance window. The psychology: attention availability + recency. Send a request three weeks later? The moment has passed. ### How to Implement Activity-Based Timing Trigger outreach based on prospect behavior: 1. **Published a post** – send within 24-48 hours, reference the post 2. **Changed jobs** – send within the first 30 days, congratulate them 3. **Shared/commented on content** – engage with the same content, send the request 24-48h later 4. **Company news** (funding, launch, expansion) – reference the news More signals and how to collect them are in our guide to [LinkedIn buying signals](/guides/linkedin-buying-signals). ### Automating Activity Monitoring Use [Linked API's Fetch Person](/docs/action-st-open-person-page?surface=sdk) to monitor activity daily: - IF recent post exists → [Like Post](/docs/action-st-react-to-post?surface=sdk) → delay 24h → [Send Connection Request](/docs/action-st-send-connection-request?surface=sdk) - IF job change detected → delay 7 days → send congratulations + request ## Strategy #5: Track Real Metrics ### Why Outcome Metrics Work **Vanity metrics** (requests sent, profile views) measure activity, not revenue. You can send 500 requests and book zero meetings. **Outcome metrics** (acceptance rate, response rate, meeting rate) measure results that correlate with pipeline and revenue. When you track outcome metrics, you optimize for what actually matters: turning cold prospects into qualified conversations into closed deals. You can compute all three from your own records: [check connection status](/docs/checking-connection-status) for acceptance, and [monitor the inbox](/docs/monitoring-inbox) for replies. ## Strategy #6: A/B Test Your Messaging and Approach ### Why A/B Testing Works Static templates assume one message fits all audiences. A/B testing reveals what actually resonates with your specific audience based on real behavior, not assumptions. ### Testing Rules 1. **Test one variable at a time** – message angle OR personalization depth OR CTA type (not all at once) 2. **Use enough prospects** – minimum 50 per variant, ideally 100+, before you trust a difference 3. **Segment by ICP** – what works for enterprise buyers might not work for SMB buyers 4. **Give tests time** – minimum 2 weeks before calling a winner ### What to Test **High-impact variables:** - **Message angle** – problem-solution vs question-based vs value-first - **Personalization depth** – basic (name/company) vs contextual (recent activity) vs advanced (content engagement) - **CTA type** – direct meeting ask vs value offer vs question **Example:** Split 100 prospects into two groups (50 each). Test problem-solution opening vs question-based opening. Keep everything else constant. After 2-3 weeks, scale the winner, retire the loser. Small improvements compound: each test you keep raises the baseline the next one is measured against. ## Strategy #7: Follow Up Strategically Strategic follow-ups aren't optional – a single unanswered message is rarely the prospect's final answer. ### Why Follow-Ups Work When a prospect doesn't respond to your first message, it usually doesn't mean "no." It means: "I'm busy," "I didn't see it," "I need to think," or "Timing isn't right this week." Strategic follow-ups increase your chances of catching them when they have bandwidth to engage. ### Follow-Up Rules 1. **Space follow-ups 3-7 days apart** – daily follow-ups = spam; weekly follow-ups = strategic persistence 2. **Add value in every follow-up** – share new resource, reference new data, offer different help (don't just bump the thread) 3. **Know when to stop** – after four unanswered follow-ups, move on ### 4-Touch Follow-Up Framework **Follow-up #1 (Day 3):** Add new value (share insight, article, case study). **Follow-up #2 (Day 7):** Share a different resource (tool, template). Acknowledge they're busy. **Follow-up #3 (Day 14):** Pattern interrupt. Acknowledge timing might be off. Create an exit ramp. **Follow-up #4 (Day 21) – Breakup:** Give permission to decline, with one final value offer ("before I close this..."). ### Why Breakup Messages Work The final "I'll stop here" message gives the prospect an easy way to answer: a quick "not now, try in Q2" or "talk to my colleague" costs them nothing. It also closes the thread on your terms, after a series of messages that each offered something. ### Automating Follow-Ups Use [Linked API](/) to automate the sequence: - Day 3: Check for response → if none, send Follow-up #1 - Day 7: Check for response → if none, send Follow-up #2 - Day 14: Check for response → if none, send Follow-up #3 - Day 21: Check for response → if none, send Follow-up #4 (breakup) → remove from sequence ## LinkedIn Cold Message Templates These are editorial starting points, not benchmarks. Each one is short, gives one specific reason, and asks one easy question. Replace every bracket with a real detail – if you cannot fill a bracket truthfully, don't send that message. They are for the messages after someone accepts; for the note on the invitation itself, see [connection request message examples](/guides/linkedin-connection-request-message). ### First message after they accept **Sales – their recent post:** > Thanks for connecting, [Name]. Your post on [topic] stuck with me – especially [specific point]. We help [role]s at [company type] with [problem]. Curious: is that on your list this quarter, or already solved? **Sales – something that just happened at their company:** > Thanks for accepting, [Name]. Saw that [Company] [is hiring for X / opened an office in Y / announced Z]. Teams at that stage often run into [specific friction]. Is that showing up for you, or is it handled? **Recruiting:** > Thanks for connecting, [Name]. I'm hiring a [role] at [Company] – [one true fact: team, stack or scope]. Your work on [specific project] is close to what the team does. Open to a 15-minute chat, or should I check back later? **Founder or partnership:** > Thanks for connecting, [Name]. We both work with [shared audience] – you on [their side], us on [ours]. I have an idea for [specific joint thing]. Worth a short call to see if it fits? ### Follow-up #1 – add something useful (about 3 days later) > [Name], one more thing on [topic]: [a resource, a number from a named source, or a short observation]. If it's not relevant, no reply needed – happy to share how [similar company] handled it. ### Follow-up #2 – a different angle (about a week later) > [Name], maybe [problem] isn't the priority right now. A different question: how does your team handle [adjacent problem] today? ### Follow-up #3 – the pattern interrupt (about two weeks in) > [Name], I may have caught you at the wrong moment. If [problem] is on the roadmap for later, tell me when and I'll come back then. ### Breakup – close the loop (about three weeks in) > [Name], I'll stop here so I don't clutter your inbox. If [problem] becomes a priority, I'm one message away – and if someone else on your team owns it, I'd be glad to know who. ### Let an AI agent draft them An AI agent connected to Linked API through the [MCP server](/mcp/overview) or the agent-friendly [CLI](/cli/getting-started) can read each prospect's profile and recent posts, fill the brackets with true details, and show you every draft before it sends – the run at the top of this page does exactly that for one week's new connections. Ask it to check for a reply before each follow-up and to stop the sequence the moment someone answers – [inbox monitoring](/docs/monitoring-inbox) reports new messages, so the agent or your own code always knows. More agent workflows for sales are in our [LinkedIn AI agent guide](/guides/linkedin-ai-agent). ## Best Practices & Common Mistakes ### 👍 DO: - **Start with small test batches** – Validate message quality with 20-30 prospects before scaling - **Personalize using real data** – Reference recent posts, job changes, tech stack using [Linked API's Fetch Person](/docs/action-st-open-person-page?surface=sdk) - **Build multi-touch warming** – Visit profile → engage with content → wait 48h → send connection request - **Track outcome metrics** – acceptance rate, response rate and meeting rate, against your own baseline - **Follow up strategically** – 4-touch sequence over 3-4 weeks, add value in every message - **Use automation for scale** – [Linked API](/) automates data collection and scheduling while maintaining personalization ### 👎 DON'T: - **Scale volume before testing** – Scaling a broken process burns through your prospect list faster - **Use generic templates** – One-size-fits-all messaging looks automated and gets ignored - **Pitch immediately after connecting** – Wait 2-3 days, send value-add message first - **Track only vanity metrics** – Volume ≠ results; track acceptance rate, response rate, meeting rate - **Ignore follow-ups** – a single unanswered message is rarely a final no - **Automate without personalization** – mass-sending identical messages reads as spam, to recipients and to LinkedIn ## Frequently Asked Questions (FAQ) #### What is the average LinkedIn cold outreach acceptance rate? It varies widely by audience, seniority and offer, so treat any single benchmark with care. One large published dataset – Belkins' 2026 analysis of 11.5 million connection requests – put acceptance at 25.3% with a note and 27.6% without one. The useful number is your own: measure acceptance on your first 100 requests and improve against it. #### How many touchpoints does successful LinkedIn outreach require? Usually several, spread over two to four weeks. A typical sequence: profile visit → like or comment on their content (48h later) → connection request (48-72h later) → first message after acceptance (2-3 days later) → three or four follow-ups, each adding something new. #### Can I automate LinkedIn cold outreach without getting banned? Automation always carries some risk, so keep it human-paced. Stay within LinkedIn's [weekly invitation limit](/guides/linkedin-connection-limit-2026), space your actions out, personalize with real data and avoid bulk patterns. [Linked API](/) runs each account in its own dedicated cloud browser at a human pace, with the limits you set. For detailed limits, see our [LinkedIn Limits Guide](/guides/understanding-linkedin-limits). #### What metrics should I track for LinkedIn outreach campaigns? Track outcome metrics, not vanity metrics: acceptance rate, response rate and meeting rate, each measured against your own baseline. Requests sent, profile views and messages delivered measure activity, not results. With Linked API you can pull [connection status](/docs/checking-connection-status) and [replies](/docs/monitoring-inbox) automatically and calculate the rates weekly. #### How do I personalize LinkedIn outreach at scale? Use [Linked API's Fetch Person method](/docs/action-st-open-person-page?surface=sdk) to extract profile data automatically (recent posts, job changes, mutual connections). Then have an AI model such as ChatGPT or Claude draft a contextual message from that data, review it, and send it via Linked API at a human pace. An AI agent connected through the MCP server or CLI can run the whole loop for you. #### What's the best time to send LinkedIn connection requests? During your prospect's working week, in their timezone, and ideally soon after something relevant happened – a post they published, a job change, company news. Which days and hours work best for your audience is worth testing rather than assuming. #### How many follow-up messages should I send before giving up? Three or four follow-ups over three to four weeks, spaced 3-7 days apart, each adding something new: a useful resource on day 3, a different angle on day 7, a pattern interrupt on day 14, and a breakup message on day 21. Stop after four unanswered follow-ups. ## LinkedIn Connection Limit 2026: Weekly Caps and When They Reset You've sent 201 connection requests this week, and suddenly LinkedIn blocks you. The message is vague, the timeline unclear, and panic sets in. This happens because LinkedIn's limits aren't what most guides claim. There's no universal "200 per week" rule – your actual capacity depends on your account reputation, not a fixed number. This guide decodes how LinkedIn's limit system really works through a myth-busting approach, so you can work strategically within your constraints. For technical deep-dives and other LinkedIn limits, see our [detailed limits guide](/guides/understanding-linkedin-limits). ## Myth #1: Everyone Has the Same 200/Week Connection Limit ### ✅ Truth: Limits Are Dynamic, Based on Account Reputation LinkedIn doesn't use fixed categories – your reputation exists on a **continuous gradient**. Your actual weekly capacity depends on account age, activity consistency, acceptance rate, and engagement quality – not a single fixed number. For clarity, we can think of this gradient in **three broad ranges**: | Reputation | Daily Limit | Weekly Limit | Key Factors | | --- | --- | --- | --- | | **New** | ~10-15 | ~50-75 | Recently created, minimal activity history | | **Established** | ~20-25 | ~100 | Active 3-12 months, regular posting/engagement | | **Trusted** | ~30-40 | Up to 200 | Long history, high acceptance rate (>40%), strong SSI | > ✍️ These ranges aren't rigid categories – your limit fluctuates continuously based on recent behavior and engagement patterns. ### The 500 Pending Request Rule Beyond weekly sending limits, LinkedIn watches how many of your invitations sit unanswered – its [help pages](https://www.linkedin.com/help/linkedin/answer/a551012) list "many of your invitations have been ignored, left pending" among restriction triggers, without publishing a numeric cap. As a community-observed guardrail, keep outgoing (pending) connection requests under **500** (restrictions are commonly reported around 700). Exceeding 500 pending requests signals poor targeting and low acceptance rate. This hurts your reputation faster than hitting weekly send limits. > ✍️ **Best practice:** withdraw unaccepted connection requests after 2-3 weeks to maintain account health. You can [automate the whole send-track-withdraw lifecycle](/guides/how-to-automate-linkedin-connection-requests). The two numbers you control – how many requests went out and how many still sit pending – an AI agent can check in one ask, against the limits you set in [Linked API](/): **You:** Check before I plan this week's outreach: how many connection requests have I used against my Linked API daily and weekly limits, how many requests are still pending, and how many of those are three weeks old or more? Don't send or withdraw anything. **Agent** (used Linked API: admin_get_accounts, admin_get_limits_usage, retrieve_pending_requests): - your connected LinkedIn account - connection-request limits and usage in their current periods - 212 pending requests, each with LinkedIn's "sent" age You've used 7 of your 20 daily and 61 of your 100 weekly connection requests. 212 requests are pending, and 131 of them were sent three weeks ago or earlier – withdrawing those would bring the queue down to 81. Nothing has been sent or withdrawn. | Check | Now | Threshold | Status | | --- | --- | --- | --- | | Connection requests, daily limit | 7 used | 20 (your limit) | 13 left | | Connection requests, weekly limit | 61 used | 100 (your limit) | 39 left | | Pending requests | 212 | Under 500 (community guardrail) | Within it | | Pending three weeks or longer | 131 | Withdraw after 2–3 weeks | Ready to withdraw on your approval | *Nothing is withdrawn until you approve; then the agent withdraws the old requests one at a time at a human pace on your own account.* *Example run. The 20-a-day and 100-a-week figures are limits you set in Linked API, not LinkedIn's – LinkedIn publishes no per-account number. A request over your own limit is refused instead of sent. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ## Myth #2: Buying LinkedIn Premium Increases Your Connection Limits ### ✅ Truth: Premium Doesn't Affect Connection Request Limits **Premium, Sales Navigator, and Recruiter Lite do NOT increase your weekly connection request capacity.** Your limits remain reputation-based regardless of subscription tier. **Why the confusion?** Premium users appear to send more requests because they have better targeting tools (InMail, advanced search filters), not higher connection limits. If your only goal is increasing connection capacity, Premium won't help. Focus on building account reputation instead. ## Myth #3: Weekly Limits Reset Every Monday ### ✅ Truth: LinkedIn Uses Rolling 7-Day Windows LinkedIn's limits reset **7 days from when you send each request**, not on calendar weeks (Monday-Sunday). This creates a rolling window that tracks your last 7 days of activity at any given moment. **Example scenario:** - **Monday:** Send 30 requests - **Tuesday:** Send 40 requests (rolling 7-day total: 70) - **Wednesday:** Send 50 requests (rolling 7-day total: 120) - **Following Monday:** Only the 30 requests from previous Monday "expire" from your count, not all 120 ![LinkedIn's rolling 7-day connection-request window: 30 sent Monday, 40 Tuesday, 50 Wednesday reach a rolling total of 120, and the next Monday only the first 30 expire, dropping the count to 90](/images/guides/linkedin-connection-limit-rolling-window.webp) **Why this matters:** Bulk-sending 100+ requests on Monday morning burns through your weekly quota immediately and triggers spam detection. Spread requests evenly throughout the week (20-30 per day) for consistent capacity and natural behavior patterns. ## Myth #4: Once You Hit the Limit, You're Blocked for Exactly 7 Days ### ✅ Truth: Restriction Types and Timelines Vary Hitting the invitation limit does not put you on a fixed seven-day clock. LinkedIn treats invitation restrictions separately from policy restrictions, and per its [invitation restrictions page](https://www.linkedin.com/help/linkedin/answer/a551012), "Most restrictions will automatically be removed within one week" – and "LinkedIn won't be able to remove invitation restrictions upon request", so contacting Support will not speed it up. For the full picture – which restriction type you have, the documented route back for each, and which durations LinkedIn actually publishes – see our guide to a [restricted LinkedIn account](/guides/linkedin-account-restricted). ## Myth #5: It's Impossible to Track Your Limits and Reputation Signals ### ✅ Truth: Automated Monitoring Is Straightforward with Linked API Manually tracking connection limits requires logging into LinkedIn daily, counting pending requests, calculating acceptance rates, and checking your SSI score separately – tedious, time-consuming, and error-prone. **Linked API provides dedicated actions** to automate this monitoring: - [**Retrieve SSI**](/docs/action-st-retrieve-ssi?surface=sdk) – Automatically pulls your current Social Selling Index (SSI) score – on accounts with Sales Navigator, since LinkedIn [stopped showing SSI to other accounts in 2026](/guides/linkedin-social-selling-index#is-linkedin-ssi-still-free-the-2026-sales-navigator-change)*.* - **Use case:** Track SSI weekly to monitor engagement quality. Drops in SSI often signal declining reputation or approaching spam territory. - [**Retrieve Performance**](/docs/action-st-retrieve-performance?surface=sdk) – Gets LinkedIn dashboard analytics (profile views, search appearances, post engagement)*.* - **Use case:** Monitor overall account health. Declining performance metrics (fewer profile views, lower engagement) often precede connection limit restrictions. - [**Get Actions Statistics**](/docs/checking-api-usage-statistics?surface=sdk) – Returns every action the API ran for the account in a period, with its type, success and time*.* - **Use case:** Count the connection requests sent per day and per week against your limits. For the pending count, add [**Retrieve Pending Requests**](/docs/action-st-retrieve-pending-requests?surface=sdk), which lists the invitations still waiting. **Workflow Example (n8n/Make/Zapier):** ``` Weekly Account Health Check: 1. Schedule trigger: Every Monday 9 AM 2. Retrieve SSI (Sales Navigator accounts) → Log to Google Sheets 3. Get Actions Statistics → successful connection requests sent (rolling 7 days) 4. Retrieve Pending Requests → pending requests count 5. Network monitoring → accepted invitations (connectionAccepted events) → acceptance rate: match the people you invited 30+ days ago against those events (monitoring must be on before you send) 6. Conditional alerts: - IF acceptance rate <30% → Slack: "🚨 Slow down outreach" - IF pending requests >400 → Slack: "⚠️ Withdraw old requests" - IF rolling 7-day total >150 → Slack: "⏸️ Approaching limit" ``` **Why proactive monitoring prevents blocks:** Users who track these metrics proactively rarely experience hard blocks. You catch declining reputation signals before LinkedIn restricts you, adjust strategy in real-time based on data (not guesswork), and maintain long-term account health rather than reactive damage control. ## Myth #6: You Need 'Hacks' to Scale Beyond Limits ### ✅ Truth: Quality Over Quantity Wins Every Time **Case study comparison:** - **Approach A:** 50 personalized requests/week with 60% acceptance rate = 30 new connections - **Approach B:** 200 generic requests/week with 15% acceptance rate = 30 new connections Same outcome, but Approach A maintains account reputation and avoids restrictions. Approach B burns through your limit, tanks acceptance rate, and risks hard blocks. ### Smart Strategies Within Limits **1. Multi-touch engagement before connecting** Warm up prospects before sending requests. Sequence: Visit profile → Like/comment on recent post → Wait 2-3 days → Send personalized connection request mentioning shared interest or recent content. > ✍️ Higher acceptance rates from warm prospects improve your reputation, which gradually increases your limits over time. **2. Tight ICP targeting** Define your Ideal Customer Profile precisely. Use LinkedIn's advanced search filters (job title, company size, industry, seniority) to target only high-fit prospects. > ✍️ Better targeting = higher acceptance rate = better reputation = higher limits. This creates a positive feedback loop. **3. Consistent pacing (not bulk sending)** Send 20-30 requests per day consistently instead of 150 on Monday followed by nothing. LinkedIn's algorithm rewards natural, consistent behavior patterns. > ✍️ Bulk activity triggers spam detection regardless of your limits. **Linked API workflow example:** ``` Smart Outreach (30-40 requests/week, 50-70% acceptance): 1. Search People (Linked API) → Filter by ICP criteria 2. For each prospect: - Fetch Person → Get recent activity, posts, shared interests - Visit profile (simulated engagement) - IF they posted in last 7 days: - Extract post content - Generate contextual comment (ChatGPT integration) - Comment on Post (Linked API) - Wait 2-3 days (natural pacing) - Generate personalized connection note mentioning shared interest - Send Connection Request (Linked API) Result: 50-70% acceptance rate vs. 15-20% from generic templates ``` > ✍️ Automation doesn't mean sending more requests. It means personalizing at scale while respecting your limits and maintaining account health. For the connect → check-acceptance → message flow in code, see [How to Automate LinkedIn Messages](/guides/how-to-automate-linkedin-messages); to automate sending, tracking, and withdrawing the requests themselves, see [How to Automate LinkedIn Connection Requests](/guides/how-to-automate-linkedin-connection-requests). ## Best Practices & Common Mistakes ### 👍 DO: - **Know your reputation level** – Set realistic weekly targets: New accounts (~50-75/week), Established (~100/week), Trusted (up to 200/week) - **Target your ICP tightly** – Higher acceptance rate improves reputation and gradually increases your limits over time - **Warm up prospects first** – Multi-touch engagement (profile visit, post comment) before connecting boosts acceptance rate - **Personalize when you have a real reason** – A note does not guarantee more accepts: in Belkins' observational data on 11.5 million requests, 25.3% with a note were accepted vs 27.6% without, while noted campaigns saw more replies. Free accounts can personalize only three requests a month, per [LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a563153) - **Monitor metrics weekly** – Track acceptance rate and pending count – and SSI, if the account has Sales Navigator – using [Linked API](/) - **Maintain >40% acceptance rate** – LinkedIn rewards high acceptance rates with better reputation and potentially higher limits - **Withdraw old pending requests** – Keep pending count under 400-500; withdraw requests older than 2-3 weeks - **Spread requests evenly** – Send 20-30 per day consistently instead of 150 on Monday ### 👎 DON'T: - **Bulk send 100+ on Monday morning** – Unnatural behavior pattern triggers spam detection algorithms - **Ignore pending request ratio** – Exceeding 500 pending requests signals poor targeting and hurts reputation - **Use generic templates** – Low acceptance rates from "I'd like to connect" messages limit future capacity - **Skip metric monitoring** – You'll miss early warning signs before LinkedIn restricts your account - **Connect with everyone** – Shotgun approach tanks acceptance rate and wastes limited request slots - **Buy Premium for higher limits** – Premium doesn't increase connection limits (it only adds InMail, custom notes, advanced search) ## Frequently Asked Questions (FAQ) #### What is the LinkedIn connection limit in 2026? There's no single universal limit. LinkedIn uses a **reputation-based gradient** – your capacity ranges from ~50-75 requests/week for new accounts, ~100/week for established accounts, up to 200/week for highly trusted accounts. Your actual limit depends on account age, activity consistency, and acceptance rate – not fixed categories. #### Does LinkedIn Premium increase connection request limits? No. Premium subscriptions don't affect connection request limits at all. Premium adds [InMail credits](/guides/linkedin-inmail) (direct messaging without connecting), unlimited custom notes on requests, advanced search filters, and Open Profile messaging – but your weekly connection request cap remains reputation-based regardless of subscription tier. #### How do I know what my actual connection limit is? LinkedIn doesn't publicly display your exact limit. Best approach: monitor key metrics (acceptance rate, pending requests, and SSI on Sales Navigator accounts) using Linked API monitoring actions and test conservatively. Start with 15-20 requests per day and adjust based on whether you encounter restrictions. #### What happens if I exceed my connection limit? You lose the ability to send new invitations while everything else on the account keeps working. LinkedIn publishes one figure for this: "Most restrictions will automatically be removed within one week", and Support cannot lift one on request or tell you the reason. Longer or account-wide consequences belong to other restriction types – our guide to a [restricted LinkedIn account](/guides/linkedin-account-restricted) covers which type is which and the documented route back for each. #### Can I track my SSI score and acceptance rate automatically? Yes, using Linked API's dedicated actions: [Retrieve SSI](/docs/action-st-retrieve-ssi?surface=sdk) pulls your Social Selling Index score on accounts with Sales Navigator, [Retrieve Performance](/docs/action-st-retrieve-performance?surface=sdk) gets dashboard analytics, and [Get Actions Statistics](/docs/checking-api-usage-statistics?surface=sdk) counts the connection requests you sent successfully, [Retrieve Pending Requests](/docs/action-st-retrieve-pending-requests?surface=sdk) lists the ones still pending, and [network monitoring](/docs/monitoring-network) reports accepted invitations as they happen. For a true acceptance rate, keep your own list of who you invited and match it to those accepted events – monitoring has to be on before you send, since it imports no history. Automate these in workflows (n8n, Make, Zapier) to monitor proactively. #### What is a good acceptance rate for LinkedIn connection requests? Aim for **>40% acceptance rate**. LinkedIn rewards high acceptance rates with better account reputation and potentially higher limits over time. Below 30% signals poor targeting and may trigger restrictions. Track acceptance rate weekly to catch declining trends early. #### How many pending connection requests is too many? Keep pending requests under **500** – a community-observed guardrail, since LinkedIn publishes no numeric cap; restrictions are commonly reported around 700. Exceeding 500 pending requests signals poor targeting and low acceptance rate, which hurts your reputation. Withdraw requests older than 2-3 weeks regularly to maintain account health and stay below this threshold. #### Can I bypass LinkedIn connection limits safely? No, there's no safe "bypass." The smart approach: work strategically within your limits by focusing on quality over quantity. Use multi-touch engagement (warm up prospects before connecting), tight ICP targeting (only connect with high-fit prospects), and personalization to maximize results with fewer requests. [Linked API](/) automates this smarter approach while respecting limits. ## LinkedIn Limits Explained: Connection, Message, Search and LinkedIn API Rate Limits When using [Linked API](/docs), it's necessary to understand the limitations of your LinkedIn account to avoid potential account restrictions or blocks. While LinkedIn doesn't publish official limits, this guide combines community knowledge and our hands-on expertise. If a restriction has already been applied to your account, start instead with our guide to a [restricted LinkedIn account](/guides/linkedin-account-restricted), which covers the documented types and the route back for each. > Account limits primarily depend on two factors: **subscription type** (Premium, Sales Navigator, Recruiter etc.) and **reputation level**. Throughout the article, we divide reputation into 3 virtual levels: | Reputation Level | Account Characteristics | | --- | --- | | New | Recently created with minimal activity and engagement. | | Established | Active for 3–12 months with growing engagement and network size. | | Trusted | Long-established with a strong presence and proven activity patterns. | While we use these division for simplicity, think of reputation as a continuous gradient rather than fixed categories. Consider [Social Selling Index (SSI)](/guides/linkedin-social-selling-index) as one of the indirect metrics to assess your account's reputation. ## Connection request limits Connection requests are limited on a rolling weekly basis: | Reputation Level | Daily Limit | Weekly Limit | Notes | | --- | --- | --- | --- | | New | ~10-15 | ~50-75 | Start with 5-10/day and gradually increase. | | Established | ~20-25 | ~100 | Standard LinkedIn weekly cap. | | Trusted | ~30-40 | Up to 200 | Requires high acceptance rate. | **Good to know:** - Keep outgoing (pending) connection requests under 500 (a community-observed guardrail – LinkedIn publishes no numeric cap, and restrictions are commonly reported around 700) by [withdrawing unaccepted requests](/docs/working-with-invitations). - Personal notes don't increase limits. LinkedIn lets a free account add a personalized message to up to three connection requests per month, and Premium members can personalize all of them ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a563153)). - Monitor acceptance rates – higher acceptance rates may increase your limits. Since LinkedIn publishes none of these numbers, the practical move is to set your own ceilings below them. On [Linked API](/) an AI agent can do that in one ask, on your own account: **You:** My account is about eight months old – call it established. Set my Linked API limits a little under those ranges: 20 connection requests a day and 90 a week, 60 messages a day and 70 profile views a day. Then show me what I've used so far in each period. **Agent** (used Linked API: admin_get_accounts, admin_set_limits, admin_get_limits_usage): - your connected LinkedIn account - 4 limits on that account - usage against each limit in its current period The four limits are set. In their current periods you've used 9 of 20 daily connection requests, 52 of 90 weekly ones, 14 of 60 messages and 33 of 70 profile views. An action over a limit is now refused instead of run. | Limit | Period | Set to | Used now | | --- | --- | --- | --- | | Connection requests | Daily | 20 | 9 | | Connection requests | Weekly | 90 | 52 | | Messages | Daily | 60 | 14 | | Profile views | Daily | 70 | 33 | *Example run. These limits cap what runs through Linked API on the account; LinkedIn's own limits and judgement of the account stay as described on this page. Works in Claude, ChatGPT, Cursor or Claude Code through the MCP server or the CLI.* ## Direct message limits There is no strict limitation, but high volumes trigger spam flags. Here are our recommended limits: | Reputation Level | Daily Limit | Notes | | --- | --- | --- | | New | ~50 | Monitor closely for spam flags. | | Established | ~100 | Moderate and steady pace recommended. | | Trusted | ~100-150 | Requires high engagement rates. | **Good to know:** - Personalize messages to maintain higher allowed volumes. - Monitor response rates – ignored messages can lower limits. - Consistent engagement is better than irregular bulk sending. To automate messages and connection requests while staying inside these limits, see [How to Automate LinkedIn Messages](/guides/how-to-automate-linkedin-messages). ## InMail and Open Profile message limits InMail works differently from the behavioral limits on this page: allowances are plan-defined monthly credits (5–50 depending on subscription, more on Recruiter products), not reputation-based caps, and a credit is returned whenever the recipient responds within 90 days. The full breakdown – credits and accumulation caps per plan, the credit-back rule, purchase rules, character limits, and the Open Profile exception that lets anyone message opted-in Premium members free – lives in the [LinkedIn InMail guide](/guides/linkedin-inmail). Pacing still applies here as everywhere: spread InMails across days even when credits are available, and keep Open Profile outreach at a steady, human volume – LinkedIn limits it without publishing a number. ## Company page view limits LinkedIn does not publish company-page view limits. These are the typical ceilings reported for established accounts, by subscription type: | Subscription Type | Daily Views | Weekly Views | | --- | --- | --- | | Free | ~100 | ~700 | | Premium (all plans) | ~200 | ~1400 | | Sales Navigator (all plans), Recruiter (all plans) | ~200 / 1000 * | ~1400 / 7000* | **Good to know:** - Sales Navigator and Recruiter higher limits (1000/day) apply only when using their respective interfaces. - While there's no direct correlation with account reputation, your actual limits may slightly increase or decrease depending on the reputation level. ## Person profile view limits LinkedIn does not publish profile-view limits either. These are the typical ceilings reported for established accounts, by subscription type: | Subscription Type | Daily Views | Weekly Views | | --- | --- | --- | | Free | ~80 | ~560 | | Premium (all plans) | ~150 | ~1050 | | Sales Navigator (all plans), Recruiter (all plans) | ~150 / 1000* | ~1050 / 7000* | **Good to know:** - Sales Navigator and Recruiter higher limits (1000/day) apply only when using their respective interfaces. - While there's no direct correlation with account reputation, your actual limits may slightly increase or decrease depending on the reputation level. - Whether those views are visible to the people you viewed is a separate setting – see [LinkedIn private mode](/guides/linkedin-private-mode). ## Search query limits LinkedIn applies a monthly **Commercial Use Limit (CUL)** to people searches on free accounts, but it does not publish the number. Its Help page says: "Your free monthly usage resets at midnight PST on the 1st of each calendar month. We are not able to display the exact number of searches or views you have left and we also cannot lift the limit upon request" ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a564226)). | Subscription Type | Monthly search allowance | Source | | --- | --- | --- | | Free | Commercial Use Limit – the number is not published | [a564226](https://www.linkedin.com/help/linkedin/answer/a564226) | | Premium Career | The search limit still applies to job-seeker plans | [a524372](https://www.linkedin.com/help/linkedin/answer/a524372) | | Premium Business | "Unlimited searches" | [a7474393](https://www.linkedin.com/help/linkedin/answer/a7474393) | | Sales Navigator, Recruiter Lite | Raised above the free allowance | [a564226](https://www.linkedin.com/help/linkedin/answer/a564226) | **Good to know:** - When you reach the limit, LinkedIn shows a notice and the allowance returns on the 1st of the next month. The warning "may not display if you run through the full amount of searches or views too quickly" ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a564226)). - Upgrading to Premium Business, Recruiter Lite or Sales Navigator raises the limit; LinkedIn cannot lift it on request. - Certain search types don't count towards CUL, such as viewing 1st-degree connections, job searches, or searching by specific names. ## Search results limits LinkedIn also caps how many results a single search shows. On a free account it is "A maximum of 250 results per search or 25 pages of search results" ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a520842)). | Where you search | Results shown per search | Source | | --- | --- | --- | | Standard LinkedIn, free account | 250 (25 pages) | [a520842](https://www.linkedin.com/help/linkedin/answer/a520842) | | Sales Navigator | 2,500 leads (100 pages) or 1,000 accounts (40 pages) | [a106030](https://www.linkedin.com/help/sales-navigator/answer/a106030) | | Premium plans, Recruiter | Not published | – | **Good to know:** - To see more matches than the cap allows, break your search into narrower segments (e.g. by region or industry) so each query stays under the maximum. - Viewing search results doesn't count towards profile/company view limits. These limits only restrict how many results are displayed per search query. ## Jobs browsing limits Unlike the surfaces above, no concrete jobs-specific limits have surfaced in the community yet, so automated job search and viewing are bounded mostly by behavioral rate limiting rather than fixed caps. | Operation | Limit | Notes | | --- | --- | --- | | Job search (Commercial Use Limit) | Exempt | Doesn't count towards the CUL, unlike people or company search, and isn't affected by subscription tier. | | Job search results per query | No published cap | If a query stops paging, split it into narrower searches. | | Individual job views | No published limit | Opening a job posting isn't a profile or company page view and doesn't consume those quotas. | | Daily job applications (Easy Apply) | ~50 | Soft daily throttle for Free and Premium alike, plus a speed limit that briefly pauses Easy Apply on rapid submissions. | **Good to know:** - Pace matters more than counts: paging through hundreds of results or opening postings back-to-back still trips anti-automation systems despite the exemptions above. Keep a human-like pace of a few seconds between actions. - Reputation still governs safe volume – ramp up bulk job viewing gradually, just as you would profile views, especially on new accounts. ## Likes and comments limits LinkedIn monitors your likes and comments, focusing on frequency and quality of interactions rather than strict numerical limits. Here are approximate daily thresholds based on account reputation: | Reputation Level | Daily Likes | Daily Comments | | --- | --- | --- | | New | ~20-30 | ~10-15 | | Established | ~40-60 | ~20 | | Trusted | ~100 | ~30 | **Good to know:** - Regardless of your reputation level, start with lower volumes and gradually increase interactions over time to reach your limit organically. ## Post publishing limits While LinkedIn doesn't enforce strict posting limits, excessive posting may trigger spam filters or diminish overall reach. Here are recommended daily posting frequencies: | Reputation Level | Recommended Posts per Day | | --- | --- | | New | 1-2 | | Established | 3-5 | | Trusted | 5-7 | **Good to know:** - Focus on content quality over quantity: one engaging post typically generates better results than multiple average-quality posts. ## Other LinkedIn limits | Category | Limit | | --- | --- | | Total network connections | 30,000 | | Outgoing (pending) connection requests | ~700 (community-observed – no official cap published) | | Group memberships | 100 | | Connection request note length | 200 characters (Free), 300 (Premium) | | Standard message length | 8,000 characters | | InMail subject length (LinkedIn UI) | 200 characters | | InMail message length (LinkedIn UI) | 2,000 characters | ## LinkedIn API limits and rate limits Two different things share the name. The limits above are account limits – how much a LinkedIn account can do through the interface before LinkedIn restricts it – and they apply whether a person or an automation performs the actions. LinkedIn's official APIs have their own throttles, documented on [Microsoft Learn](https://learn.microsoft.com/en-us/linkedin/shared/api-guide/concepts/rate-limits): an application-level and a member-level quota per 24 hours, reset at midnight UTC, a `429` response when exceeded, and numbers that are not published – you read them per endpoint in the Developer Portal's Analytics tab after making at least one call. Those quotas only matter if you hold approved API access. An account-based route such as Linked API is bound by the account limits on this page instead, and lets you set your own per-action ceilings below them – see the [admin limits documentation](/docs/admin-limits) and the next section. ## Enforcing limits with Linked API Linked API allows you to configure action limits for each connected LinkedIn account directly from the [platform](https://app.linkedapi.io/). Limits are organized by action category (profile views, connection requests, messages, etc.) and time period (daily, weekly, monthly). When a workflow contains an action that would exceed a configured limit, the action will return a `limitExceeded` error instead of executing. This helps you stay within safe boundaries automatically, without needing to track usage manually. For more details on how errors are returned, see the [documentation](/docs/executing-workflows). > This guide reflects common LinkedIn limits based on community knowledge and hands-on experience. It should be used as a reference point rather than official guidance, as actual limits vary by account and may change over time. Experiment carefully with your own limits while monitoring account health and engagement metrics. --- # Comparisons ## Linked API vs Dripify (2026): Features, Pricing, and Safety Compared Linked API vs Dripify is a choice between two shapes of LinkedIn automation. Linked API is a programmable LinkedIn automation API: you compose workflows from primitives and run them from your own code or an AI agent, with the execution layer – a dedicated cloud browser per account, human pacing, enforced limits – built in. Dripify is a no-code tool for LinkedIn and email drip campaigns: you assemble a fixed sequence of steps in a visual builder and it runs in Dripify's cloud. > **The short version.** Both are cloud tools that automate your own account and let you set daily activity limits; they differ in how you connect and how the pacing is enforced. Linked API connects your account into its own dedicated cloud browser that behaves like a person – a real browser on LinkedIn's own pages, and Linked API never stores your password – and enforces the daily limits you set. Dripify instead takes your LinkedIn password and uses it to obtain your session cookies, then drives your account through those (a newer, optional Chrome extension lets you connect without entering the password in Dripify). Beyond safety, Linked API covers two jobs: embed LinkedIn automation into your own product through 55+ composable actions, or run it out of the box – a ready-made skill lets an AI agent build and run the workflows for you. Dripify fits sales, founder, and recruiting teams who want a ready-made drip-campaign builder with a built-in inbox and analytics, no code involved. Pick by the job, not the brand. ## Pick in 10 seconds :::cards **Choose Linked API if…** - You need automation that is not a fixed campaign: compose [55+ actions](/docs/actions-overview) – search, fetch profiles and companies, connect, message, react, post – into any logic, branching on real profile data or your CRM. - You want a real developer surface: a REST API, Node/Python SDKs, and a shell CLI to embed LinkedIn automation in your product – or a ready-made skill an AI agent runs out of the box. Dripify's public API and MCP server feed and read its campaigns, and the API can reply in a lead's existing LinkedIn conversation – but neither sends a connection request or starts a new conversation directly. - You want predictable cost: flat per-seat pricing with no usage metering, and per-action limits enforced in a dedicated cloud browser. **Choose Dripify if…** - You want a ready-made, no-code drip-campaign builder: assemble a sequence from 15+ actions and conditions in a visual editor, with nothing to code. - You need the campaign extras built in: sequence templates, a unified reply inbox, analytics dashboards, and team management, plus an email channel alongside LinkedIn. - A standard drip campaign is exactly the job – you are not trying to build automation into your own product or branch on custom logic. ::: ## Linked API vs Dripify at a glance | | Linked API | Dripify | |---|---|---| | What it is | Programmable LinkedIn automation API | No-code LinkedIn + email drip-campaign tool | | Model | Compose 55+ actions into any workflow – from your code or an AI agent | Assemble a fixed sequence of steps in a visual campaign builder | | Developer surface | REST API, Node/Python SDKs, shell CLI, MCP server, agent skills | Campaign API and an MCP server (Pro and Advanced) over campaigns, leads and teams; the API can reply in a lead's existing LinkedIn conversation but has no endpoint that sends a connection request; plus Zapier, Make and outbound webhooks | | Channels | LinkedIn, including Sales Navigator | LinkedIn and email | | Account connection | Your own [personal cloud browser](/safety) – Linked API never stores your password | You give Dripify your LinkedIn password, which it uses to obtain your session cookies – or connect through its optional Chrome extension without entering the password in Dripify | | Entry price | From $49/mo per seat, billed annually ($69 month-to-month) | Pro $59/user/mo billed annually ($79 month-to-month), per Dripify's pricing page | | Pricing model | Flat per seat, no usage metering | Per user/seat, tiered (Pro / Advanced / Enterprise) | | Safety model | Dedicated cloud browser behaving like a person; per-action limits you configure and the platform enforces | Cloud execution with daily activity limits you set, optionally auto-adjusted on Advanced | | Free trial | 7 days | 7 days | | Best for | Building automation into a product or AI-agent workflow | Ready-made no-code drip campaigns | Shopping a full list rather than a head-to-head? See the [best Dripify alternatives](/blog/dripify-alternatives). ## Does Dripify have an API? Yes – since September 2026, and it is a campaign API. On the Pro and Advanced plans, Dripify's public API reads your campaigns, lead lists, campaign statistics, leads, conversations, teams, and members; manages leads – uploading them into a campaign, tagging, blacklisting, resuming paused leads; and can send a message to a lead's existing LinkedIn conversation. That endpoint "never starts a new one", and sending "pauses the lead's outbound automation" (Dripify's API reference). Requests authenticate with an API key and are capped at 60 a minute and 5,000 a day. Dripify has also added an MCP server on the same plans: an AI assistant can view your campaigns and lead lists, look up leads in your Dripify account and upload up to 1,000 LinkedIn profiles to a campaign (Dripify's help center). It does not send messages or invitations. What the API works through is the campaign: your code can choose which profiles enter an active campaign, but the reference has no endpoint that sends a connection request or opens a new conversation directly – invitations and first messages are steps of the sequence you build in Dripify, and switching a campaign on or off "must be done from the Dripify UI" (Dripify's API reference). Its other integrations are Zapier, Make, and outbound webhooks. So the API drives Dripify's campaigns, while Linked API's [actions](/docs/actions-overview) and [SDKs](/sdks/installation) expose each LinkedIn action – search, fetch, connect, message – as a call your code makes directly. ## Programmable API or a fixed campaign builder? This is the distinction that decides the choice. Linked API gives you primitives – search, fetch profiles and companies, connect, message, react, comment, post – and you compose them into whatever logic you want, branching on any data rather than a preset checklist. Filter on a real profile field, pull data from your CRM mid-flow, trigger from your app: ![A programmable API versus a fixed drip sequence: Linked API exposes primitives you compose into any logic inside your own product, while Dripify runs a fixed templated sequence in its cloud](/images/vs/dripify-sequence-vs-api.webp) Dripify is a different shape: a closed no-code UI where you arrange a fixed sequence of steps – its help center describes building campaigns "by selecting automated LinkedIn actions, delays, and conditions" (Dripify's help center) – that runs in Dripify's cloud. It does offer branching, but from a fixed set of four predefined conditions (connected, message viewed, email available, open profile), each "a one-time action that checks the status at a specific moment" (Dripify's docs). It reaches its edge the moment your logic needs a field those conditions do not cover, or you want the automation to live inside your own product. Concretely, the primitive model looks like this: ```typescript import LinkedApi from '@linkedapi/node'; const linkedapi = new LinkedApi({ linkedApiToken: process.env.LINKED_API_TOKEN, identificationToken: process.env.IDENTIFICATION_TOKEN, }); const search = await linkedapi.searchPeople.execute({ term: 'head of growth', filter: { locations: ['United States'] }, }); const { data: people } = await linkedapi.searchPeople.result(search.workflowId); for (const person of people ?? []) { // Branch on a real profile field - your rule, not a fixed template const profile = await linkedapi.fetchPerson.execute({ personUrl: person.publicUrl }); const { data } = await linkedapi.fetchPerson.result(profile.workflowId); if (!data || (data.followersCount ?? 0) < 1000) continue; const req = await linkedapi.sendConnectionRequest.execute({ personUrl: person.publicUrl, note: `Hi ${person.name.split(' ')[0]}, loved your growth work, let's connect.`, }); await linkedapi.sendConnectionRequest.result(req.workflowId); } ``` ```python from linkedapi import ( LinkedApi, LinkedApiConfig, SearchPeopleParams, FetchPersonParams, SendConnectionRequestParams, ) linkedapi = LinkedApi( LinkedApiConfig( linked_api_token="your-linked-api-token", identification_token="your-identification-token", ) ) search = linkedapi.search_people.execute( SearchPeopleParams(term="head of growth", filter={"locations": ["United States"]}) ) people = linkedapi.search_people.result(search.workflow_id).data or [] for person in people: # Branch on a real profile field - your rule, not a fixed template profile = linkedapi.fetch_person.execute(FetchPersonParams(person_url=person.public_url)) data = linkedapi.fetch_person.result(profile.workflow_id).data if not data or (data.followers_count or 0) < 1000: continue req = linkedapi.send_connection_request.execute( SendConnectionRequestParams( person_url=person.public_url, note=f"Hi {person.name.split(' ')[0]}, loved your growth work, let's connect.", ) ) linkedapi.send_connection_request.result(req.workflow_id) ``` Dripify's API covers part of this. Its [campaign API](#does-dripify-have-an-api) lets your code choose which profiles enter an active campaign, resume paused leads and reply in an existing conversation, but it has no endpoint that sends a connection request or starts a conversation directly: the invitation itself is a step of the sequence you built in Dripify's UI, sent when the campaign reaches it. Its other integrations are Zapier, Make, and outbound webhooks – "native integrations and modern webhooks let you easily connect Dripify with all the software your team already uses" (Dripify's integrations page). Those webhooks are data-out only: Dripify's own docs state they "can transfer lead's data ONLY … not … message content and other data", fire on a fixed event set (invite sent, message sent, reply), allow "only one condition per webhook integration", and are available on both Pro and Advanced. Together they let you feed, steer and report on Dripify campaigns and pipe leads into a CRM, with each LinkedIn step still defined in the campaign. Use Linked API's primitives two ways, both first-class: build them into your product through the REST API, SDKs, and CLI, or hand a ready-made [agent skill](/skills) to an AI agent that composes and runs the same workflows from a plain-language ask. ## What does account safety look like on each? Both products automate your own LinkedIn account from the cloud, both let you set daily activity limits, and both are unofficial – neither is a LinkedIn product. Two differences matter: how each connects to your account, and how limits are enforced. **How each connects.** Linked API connects the account into its own [personal cloud browser](/safety) – a real browser loading LinkedIn's own pages – and never stores your LinkedIn password. Dripify works the other way around: its onboarding step is titled "Enter Your LinkedIn Account Credentials", and it stores that password encrypted (Dripify's help center) to obtain your LinkedIn session cookies and drive your account through them. A newer, optional Chrome extension lets you connect without entering your password in Dripify (Dripify's help center). The difference in one line: your account lives in a real browser that stays yours, versus your password and session cookies held on Dripify's side. **How limits are enforced.** Linked API runs each action in a dedicated cloud browser where it [behaves like a person](/safety) on the real pages – a simple visit-and-like takes around 20 seconds by design – and executes workflows sequentially at human pace. You [configure per-action limits](/docs/admin-limits) once, and any action that would exceed one returns a `limitExceeded` error instead of running; our [limits guide](/guides/understanding-linkedin-limits) covers sensible values. Dripify also lets you set daily limits per action type, runs "in the cloud" with "random delays to make sure your LinkedIn activity looks manual" (Dripify's safety page), and on its Advanced plan adds an optional "activity control" feature that auto-adjusts your connecting and messaging limits. Those are daily caps Dripify applies, rather than a per-action gate enforced in a dedicated browser as each action runs. Neither model is free of risk – automating a real account never is. The honest framing: Linked API runs your account in its own real [personal cloud browser](/safety) and enforces limits per action, while Dripify holds your password and the session cookies it derives from it (unless you connect through its optional extension instead), applying daily caps from its side, with optional auto-adjust on its top tier. ## How does Linked API pricing compare with Dripify? | Plan | Price | Notes | |---|---|---| | Linked API – Core | $49/mo per seat billed annually; $69 month-to-month | Unlimited workflow execution within the limits you configure | | Dripify – Pro | $59/user/mo billed annually; $79 month-to-month | Unlimited campaigns, dedicated inbox, CSV export, webhooks, campaign API and MCP server | | Dripify – Advanced | $79/user/mo billed annually; $99 month-to-month | Multi-team management, advanced protection, step analytics | Dripify prices are per user/seat as displayed on its pricing page; both tools bill per seat and offer a 7-day free trial. The seats hold different things. A Linked API seat is one LinkedIn account driven by a full API, SDKs, and CLI, with no metering on how much you run. A Dripify seat is a campaign builder for one user; its programmatic surface – webhooks, a campaign API and an MCP server, on Pro and Advanced – feeds, steers and reports on its campaigns rather than exposing each LinkedIn action. At entry, Dripify's Pro ($59/user annual) sits just above Linked API's Core ($49/seat annual). The seat prices are close; what each seat carries – a developer surface or a no-code builder – is the substantive difference. ## Frequently Asked Questions (FAQ) #### Can Dripify's API or webhooks replace Linked API? No – they solve different problems. Dripify's API, on the Pro and Advanced plans, feeds and reads your campaigns – uploading and tagging leads, reading statistics and conversations – and can send a message to a lead's existing LinkedIn conversation; its webhooks are outbound notifications that "can transfer lead's data ONLY" (not message content) and fire on a fixed set of events (Dripify's help center). Between them you can steer and report on your Dripify campaigns and push leads into your CRM, but invitations and first messages remain steps of a campaign you built in the UI – there is no endpoint that sends a connection request or starts a conversation directly. Linked API is the inverse – an inbound control surface for LinkedIn itself: your code calls [send message, fetch profile, search, connect](/docs/actions-overview) and gets structured JSON back. If you need to trigger and compose LinkedIn actions from your own stack rather than feed a campaign, a campaign API is not a substitute. #### Can I move my Dripify campaigns to Linked API? The lead data moves; the campaign is rebuilt as code or an agent workflow. Export your leads from Dripify (CSV export is on both Pro and Advanced) and feed the LinkedIn URLs into Linked API [actions](/docs/actions-overview) as parameters. Each campaign step maps to an action – a connection request with a note, a follow-up message, a profile view – chained with `then` and iterated with `doFor`, so the same sequence becomes a workflow the platform runs for you, with the branching logic a fixed template could not express. The account runs in its own [personal cloud browser](/safety), and piloting one account while Dripify runs the rest is the low-risk path. #### Is Linked API safe to use compared with Dripify? Both automate your own account from the cloud with human-like pacing and configurable daily limits, and both are unofficial tools that carry the risk any LinkedIn automation does. Two differences: Linked API runs your account in its own [personal cloud browser](/safety) and enforces the [per-action limits you configure](/docs/admin-limits), while Dripify holds your LinkedIn password and the session cookies it derives from it (unless you connect through its optional extension instead), applying daily caps (auto-adjusted by activity control on its top tier). Accounts that behave like people are the ones that keep working – on either tool, conservative limits matter more than the brand. #### Do I need Sales Navigator for either tool? Not for standard LinkedIn automation. Linked API needs Sales Navigator only for its `nv-*` actions, not for standard people, company, or post data; Dripify states it is "100% compatible with Free LinkedIn, Premium, Sales Navigator and Recruiter Lite accounts" (Dripify's help center), documenting Sales Navigator setup through its browser extension. Either works on a free or Premium account for core outreach. --- Automating LinkedIn for your team, product, or AI agent? [Start with Linked API](/pricing) – flat per-seat pricing from $49/mo, billed annually, with a 7-day free trial – and use it both ways: build it into your product with the [REST API and Node/Python SDKs](/sdks/installation) and the shell [CLI](/cli/getting-started), or get automations out of the box through the [MCP server](/mcp/overview), the AI-agent-friendly CLI (Claude Code, Cursor, Codex), and ready-made [agent skills](/skills) (`npx @linkedapi/skills`). *Facts verified July 24, 2026 – Dripify prices, quotes, and feature coverage checked against its live pricing page, features pages, and help center on that date; its public API re-checked against Dripify's live API reference and help center on September 17, 2026; its MCP server and optional Chrome-extension connection checked against its help center on October 5, 2026; its plans, prices and API re-checked against its live pricing page, API reference and help center on November 6, 2026.* ## Linked API vs Expandi (2026): Features, Pricing, and Safety Compared Linked API vs Expandi is a choice between two shapes of LinkedIn automation. Linked API is a programmable LinkedIn automation API with safety built into the execution layer: you compose workflows from primitives and run them from your own code or an AI agent, and every action runs in a dedicated cloud browser per account, at a human pace, within limits the platform enforces. Expandi is a no-code LinkedIn outreach tool that emphasizes managed safety features – an automatic warm-up ramp and vendor-tuned daily limits – with conditional campaign sequences you assemble in a visual builder. > **The short version.** Both automate your own account from the cloud, and both are built with account safety in mind – they take different approaches. Linked API builds safety into how every action runs: a dedicated cloud browser that behaves like a person, per-action limits the platform enforces, and never stores your LinkedIn password. Expandi layers managed safety features onto a credential-based model – you enter your LinkedIn password for Expandi to obtain your session, with an automatic warm-up that ramps a new account from 5 to 21 actions a day and daily limits from vendor-defined presets. Beyond safety, Linked API is built for two jobs – embed LinkedIn automation into your own product through 55+ composable actions, or run it out of the box via an AI agent. Expandi fits agencies and sales teams who want a no-code campaign builder. Pick by the job, not the brand. ## Pick in 10 seconds :::cards **Choose Linked API if…** - You need a real developer surface: a REST API, Node/Python SDKs, and a shell CLI to compose [55+ actions](/docs/actions-overview) – search, fetch, connect, message, react, post – into your own product. Expandi's Open API schedules actions inside its own campaign and account model, not primitives you compose. - You want automation working out of the box without building it: hand a ready-made skill to an AI agent that runs the workflows for you. - You want safety built into the execution: a dedicated cloud browser that behaves like a person, per-action limits the platform enforces, and no LinkedIn password stored. **Choose Expandi if…** - You want safety handled hands-off with no setup: an automatic warm-up that ramps a new account for you and vendor-tuned daily limits, with nothing to configure. - You want a no-code campaign builder: behaviour-based sequences combining "10 different actions and 10 conditions", A/B testing, a smart inbox, and multichannel LinkedIn, InMail, and email. - You run an agency: centralized multi-account management, client reporting, roles, and a white-label option. ::: ## Linked API vs Expandi at a glance | | Linked API | Expandi | |---|---|---| | What it is | Programmable LinkedIn automation API with built-in safety | No-code LinkedIn outreach tool with managed safety features | | Model | Compose 55+ actions into any workflow – from your code or an AI agent | Assemble behaviour-based campaign sequences in a visual builder | | Developer surface | REST API, Node/Python SDKs, shell CLI, MCP server, agent skills | Open API (Swagger) that schedules actions per connected account, plus webhooks, Zapier and native CRM integrations; MCP in waitlisted beta | | Channels | LinkedIn, including Sales Navigator | LinkedIn, InMail, and email | | Account connection | Your own [personal cloud browser](/safety) – Linked API never stores your password | You enter your LinkedIn password; Expandi uses it to obtain your session | | Safety model | Dedicated cloud browser behaving like a person; per-action limits you configure and the platform enforces | Automatic warm-up ramp; daily limits from vendor-defined "Safe Presets" | | Entry price | From $49/mo per seat, billed annually ($69 month-to-month) | Business $79/account/mo billed annually ($99 month-to-month), per Expandi's pricing page | | Free trial | 7 days | 7 days | | Best for | Building automation into a product or AI-agent workflow | No-code outreach and agency campaign management | ## Does Expandi have an API? Yes. Expandi documents an Open API in a Swagger specification linked from its help center, and its endpoints schedule real LinkedIn actions on one of your connected accounts: a connection request, a message, an InMail, a profile visit, a comment, a post like, or a scheduled post – alongside campaign contacts, searches, and reading conversations. Requests authenticate with an API key and secret, and Expandi describes the API as "intended only for users with existing API knowledge" (Expandi's help center). Three things are worth knowing before you build on it. The specification is the documentation – there is no written guide around it. An older help-center article still says "reversed webhook actions are the closest to the publicly available API we have", the sentence many comparisons quote when they say Expandi has no API. And its pricing page does not say which plans include the API. Separately, Expandi's MCP server is in private beta behind a waitlist, and it works on drafts: "Replies are drafted and campaigns are built as drafts. You review and launch" (Expandi's MCP page). ## A programmable API or a no-code outreach tool? This is the distinction that decides the choice. Linked API gives you primitives – search, fetch profiles and companies, connect, message, react, comment, post – and you compose them into whatever logic you want, in your own code or through an AI agent. You reach the engine two ways, both first-class: build it into your product through the REST API, SDKs, and CLI, or hand a ready-made [agent skill](/skills) to an AI agent that composes and runs the same workflows from a plain-language ask. Expandi is a no-code outreach tool. Its sequence builder combines "10 different actions and 10 conditions in one sequence based on your prospects' behavior" (Expandi's site), with A/B testing, a unified inbox, personalization, and multichannel LinkedIn, InMail, and email. It is also programmable from the outside, through the [Open API](#does-expandi-have-an-api) covered above. So the difference is not whether you can drive it from code – it is what you drive. Expandi's endpoints schedule actions into its own campaign and account model, on an account you connected by entering your LinkedIn password, which Expandi uses to obtain your session cookies. Linked API's surface is the LinkedIn action itself – search, fetch, connect, message, react, comment, post – composed by your code or an AI agent with no campaign object in between, and run in a dedicated cloud browser that behaves like a person. Linked API never stores your password. The same line runs through the agent route: Expandi's MCP beta prepares replies and campaigns as drafts for you to launch, while an AI agent on Linked API runs the LinkedIn actions themselves. If your logic fits a campaign, Expandi's API reaches it; if it needs to branch on data a campaign does not model, or live inside your own product, that is the gap an API of composable actions closes. ## How does each keep an account safe? Both products automate your own LinkedIn account from the cloud, both are unofficial, and both are built with account safety in mind – Linked API builds it into how every action runs, and Expandi markets it heavily ("account safety is why Expandi was built", Expandi's site). Neither claims zero ban risk, and neither should. They take different approaches. Linked API builds safety into the execution layer. Each seat is a dedicated cloud browser matched to your device, where LinkedIn's own pages load and every action [behaves like a person](/safety) – real clicks, human pauses, a simple visit-and-like taking around 20 seconds by design – and workflows execute sequentially at human pace. Linked API never stores your LinkedIn password, and you [configure per-action limits](/docs/admin-limits) that the platform enforces, returning a `limitExceeded` error before any action crosses the line; our [limits guide](/guides/understanding-linkedin-limits) covers sensible values, including ramping a new account conservatively. Expandi takes a managed-features approach layered on a credential-based model. To connect, you enter your LinkedIn password, which Expandi uses to obtain your session; from there it adds "random delays… so that your automation mimics human behavior" and runs an automatic warm-up that ramps a new account gradually – "a default limit that starts at 5 actions per day" that increases "by 3 actions" "every two days" to "a maximum of 21 actions per day over the course of the warm-up period" (Expandi's help center). Daily volumes stay inside randomized ranges from "Safe Presets… defined by our team" to keep activity at "low-risk levels". The automatic warm-up is a convenience Linked API does not package as a named feature – if you want the ramp handled for you, that is a point in Expandi's favor. The counterweight: Expandi's model asks for your LinkedIn password and lets its team define the safe numbers, where Linked API takes no password and lets you set and enforce your own. Neither model removes the underlying risk any real-account automation carries – on either tool, conservative limits and human-like pacing are what keep an account healthy. ## How does Linked API pricing compare with Expandi? | Plan | Price | Notes | |---|---|---| | Linked API – Core | $49/mo per seat billed annually; $69 month-to-month | Full API, SDKs, and CLI; unlimited workflow execution within the limits you configure | | Expandi – Business | $79/account/mo billed annually; $99 month-to-month | Cloud-based outreach, warm-up, unlimited campaigns | | Expandi – Agency | Custom (10+ seats) | Centralized management, client reporting, white-label | Linked API bills a flat per-seat subscription; Expandi bills per LinkedIn account/seat, with the prices above as displayed on its pricing page (annual billing gives two months free). Both offer a 7-day free trial; on Linked API there is no cap on workflow runs while you evaluate it. The units carry different things. A Linked API seat is one LinkedIn account driven by a full API, SDKs, and CLI, with no metering on how much you run. An Expandi seat is one account in a no-code campaign tool; at $79/account/mo annual it sits above Linked API's $49 Core, and some personalization – dynamic images and GIFs – runs through a separate paid Hyperise subscription rather than the base plan. The seat prices are in the same range; what each seat carries – a developer surface of composable actions, or a managed no-code campaign tool with an API into its campaigns – is the substantive difference. ## Frequently Asked Questions (FAQ) #### Does Linked API include account warm-up like Expandi? Not as a named auto-warm-up feature, and that is a real difference to weigh. Linked API gives you [per-action limits you configure](/docs/admin-limits) and the platform enforces, so you ramp a freshly connected account by starting conservative and raising the limits over the first weeks yourself – our [limits guide](/guides/understanding-linkedin-limits) covers sensible starting values. Expandi instead automates that ramp with a built-in warm-up that starts small and climbs gradually on its own. If a hands-off warm-up matters most, that is a point for Expandi; if you would rather set the pace, Linked API's configurable limits reach the same gradual ramp manually. #### How does account safety compare? Both are built for safety and neither eliminates risk. Linked API's is structural: your account runs in a dedicated cloud browser that behaves like a person, Linked API never stores your LinkedIn password, and the platform enforces the [per-action limits you configure](/docs/admin-limits). Expandi layers managed features – an automatic warm-up and daily limits from vendor-defined "Safe Presets" – onto a model where you enter your LinkedIn password for it to obtain your session, and its team defines the numbers. Both can keep an account healthy; the difference is a transparent, password-free execution model where you hold the controls versus a managed one where more is delegated to the vendor. #### Can I move from Expandi to Linked API? Yes – the campaign is rebuilt as a Linked API workflow, and your lead data comes with it. Each campaign step maps to a Linked API [action](/docs/actions-overview) – a connection request with a note, a follow-up message – chained with `then` and iterated with `doFor`; export your leads from Expandi and feed the LinkedIn URLs in as parameters. The account connects into its own [personal cloud browser](/safety), and because Linked API lets you set conservative per-action limits, you can ramp a freshly connected account gradually rather than switching it to full volume at once. Piloting one account while Expandi runs the rest is the low-risk path. #### Do I need Sales Navigator for either tool? Not to start. Linked API needs Sales Navigator only for its `nv-*` actions, not for standard people, company, or post data. Expandi states "you do not need any premium subscription to begin your outreach", with Sales Navigator or Recruiter searches requiring those subscriptions (Expandi's FAQ). Either works on a free or Premium account for core outreach. --- Automating LinkedIn for your team, product, or AI agent? [Start with Linked API](/pricing) – flat per-seat pricing from $49/mo, billed annually, with a 7-day free trial – and use it both ways: build it into your product with the [REST API and Node/Python SDKs](/sdks/installation) and the shell [CLI](/cli/getting-started), or get automations out of the box through the [MCP server](/mcp/overview), the AI-agent-friendly CLI (Claude Code, Cursor, Codex), and ready-made [agent skills](/skills) (`npx @linkedapi/skills`). *Facts verified July 24, 2026 – Expandi prices, quotes, and feature coverage checked against its live pricing page, product pages, and help center on that date; its Open API and MCP beta re-checked against Expandi's live API specification, help center, and MCP page on September 17, 2026.* ## Linked API vs PhantomBuster (2026): Features, Pricing, and Safety Compared Linked API vs PhantomBuster is a choice between two different shapes of LinkedIn automation. Linked API is a programmable LinkedIn automation API: you compose workflows from primitives, and the execution layer – a dedicated cloud browser per account, human pacing, enforced limits – is built in. PhantomBuster is a no-code catalog of ready-made cloud automations ("Phantoms") for LinkedIn and 15+ other platforms, which you configure, schedule, and meter by execution time. > **The short version.** The safety difference is structural: Linked API runs your account in its own dedicated cloud browser that behaves like a person, with pacing and per-action limits enforced by the platform; PhantomBuster runs Phantoms from its cloud on a session cookie you supply, with published limits that are recommendations you configure and divide across Phantoms yourself. Beyond safety, Linked API covers two jobs: embed LinkedIn automation into your own product through 55+ composable actions, or run it out of the box – a ready-made skill lets an AI agent build and run the workflows for you. PhantomBuster fits sales and growth teams who prefer configuring template automations in a UI, across many platforms. Pick by the job, not the brand. ## Pick in 10 seconds :::cards **Choose Linked API if…** - You are building LinkedIn automation into a product, backend, or agent workflow: [55+ composable actions](/docs/actions-overview) behind a REST API, Node/Python SDKs, a shell CLI, an MCP server, and packaged agent skills. - You want the safety layer run for you: a dedicated cloud browser per account, sequential human-paced execution, and per-action limits the platform enforces. - You want automation working out of the box without assembling it: install a ready-made skill (`npx @linkedapi/skills`) and ask your AI agent in plain language – nothing to configure, schedule, or chain by hand. **Choose PhantomBuster if…** - You want no-code, ready-made automations: 100+ Phantoms and workflows you configure in a UI – around 40 for LinkedIn and 13 for Sales Navigator – instead of writing code. - You need built-in email enrichment: finding professional email addresses from LinkedIn searches and profiles is a core, metered feature. - Your team prospects across many platforms at once – Google, Instagram, Facebook, X, YouTube and more – not just LinkedIn. ::: ## Linked API vs PhantomBuster at a glance | | Linked API | PhantomBuster | |---|---|---| | What it is | Dedicated LinkedIn automation API | No-code catalog of cloud automations for 15+ platforms | | Model | Workflows from 55+ actions – composed in your code or by your AI agent; the platform executes them | You configure and schedule ready-made Phantoms; chains come as pre-made Workflows | | Entry price | From $49/mo per seat, billed annually ($69 month-to-month) | Start plan €56/mo billed annually, €69 month-to-month (per PhantomBuster's pricing page, in EUR) | | Pricing model | Flat per seat, no usage metering | Metered: monthly quotas for execution hours and email/AI/URL-finder credits, plus a fixed cap on automation slots | | LinkedIn connection | Connect once; your account then runs in its own [personal cloud browser](/safety) – no cookie to handle | Your li_at session cookie + user agent, via browser extension or manual paste | | Safety model | Real browser session behaving like a person – requests come from LinkedIn's own pages; enforced per-action limits | Runs from PhantomBuster's cloud on your cookie; published limits are recommendations you configure per Phantom | | Public API | LinkedIn actions as API calls, returning structured JSON | Account control – launches and monitors Phantoms; no LinkedIn action endpoints | | Free trial | 7 days | 14 days | | Best for | Developers, products, AI agents going deep on LinkedIn | Sales and growth teams prospecting no-code across many platforms | Shopping a full list of alternatives instead of a head-to-head? See the [10 best PhantomBuster alternatives](/blog/phantombuster-alternatives). ## Does PhantomBuster have an API? Yes, on every plan – but it is an API to your PhantomBuster account, not to LinkedIn. By its own description it "gives you control over your account" (PhantomBuster's docs): you launch and stop Phantoms, monitor their runs, fetch their output, and manage scripts, authenticating with an API key. A LinkedIn action – a connection request, a message – still happens only by launching the Phantom that performs it; there is no endpoint that acts on LinkedIn directly. Its hosted MCP server wraps "a curated subset" of the same account API, and a custom-scripts SDK lets you write your own Phantoms in JavaScript. That is the practical line between the two: PhantomBuster's API orchestrates finished automations, while Linked API's [actions](/docs/actions-overview) are the LinkedIn operations themselves, each returning structured JSON to your code. ## What are you actually buying: an API or a catalog? Linked API sells you primitives – and two first-class ways to use them. Automation is expressed as [workflows](/docs/workflows-overview) – actions chained with `then`, iterated with `doFor` blocks – and the platform executes them sequentially in a dedicated cloud browser, returning structured JSON. The embedding route: if you can describe a LinkedIn workflow, you can build it into your product through the API and SDKs; there is no fixed menu. The out-of-the-box route: hand a ready-made [agent skill](/skills) to an AI agent, and it composes and runs those same workflows from a plain-language ask – nothing to wire up or maintain. PhantomBuster sells you finished units. "Phantoms are individual automations. Each Phantom performs one task" (PhantomBuster's pricing FAQ) – its store lists around 40 LinkedIn and 13 Sales Navigator Phantoms, from search export and profile scraping to auto-connect, message sending, and post engagement. Multi-step sequences come as Workflows, which are "ready-made chains of Phantoms" with "predefined launch patterns that are automatically optimized and can't be fully customized" (PhantomBuster's docs). Its [public API](#does-phantombuster-have-an-api) sits at that same layer: it controls Phantoms rather than exposing LinkedIn actions. Coverage differs in both directions: - **First-class in Linked API, not in PhantomBuster:** LinkedIn actions as direct API calls from your backend (send a message, fetch a profile, react, comment – each returning JSON), free-form workflow composition with conditional chains, and account analytics – no SSI or dashboard-performance automation appears in PhantomBuster's LinkedIn catalog. - **Native in PhantomBuster, not in Linked API:** group surfaces (member export and messaging), event guest export and inviting, poll-voter export, Recruiter profile scraping, and AI copywriting Phantoms for messages and comments. - **Both offer:** MCP servers for AI assistants, Sales Navigator coverage, and no-code integrations – n8n and Make on both sides, with PhantomBuster adding Zapier and HubSpot-native sync. ## What does account safety look like on each? Both products automate real member accounts, and neither is an official LinkedIn product. The difference is what LinkedIn's servers see and where the safety engineering lives. ### What LinkedIn's servers see **Linked API – a dedicated browser per account:** - Each seat is a cloud browser dedicated to that account, matched to your device profile, where [every action fully emulates a real user](/safety) – real pages, real clicks, human pauses. - The session lives inside that browser; there is no cookie to extract, paste, or keep alive. **PhantomBuster – your cookie in their cloud:** - Phantoms authenticate with a LinkedIn session cookie and user agent you supply – via its browser extension, or "by copying your li_at session cookie and user agent from your browser's Developer Tools" (PhantomBuster's help center). - Its automations run from PhantomBuster's infrastructure, and its own docs note they "may operate from a different location than where you're actually based", which "can trigger login alerts"; built-in proxies exist in five fixed regions, though PhantomBuster does not recommend proxies for LinkedIn by default. - Your real browsing and its cloud runs act on the same session, and the accounting is yours: "If you run multiple Phantoms on the same LinkedIn account, LinkedIn sees the combined activity" (PhantomBuster's help center). ### Where the safety engineering lives **Linked API – in the platform:** - Workflows execute one at a time at realistic speed – a simple visit-and-like takes around 20 seconds by design. - You [configure per-action limits](/docs/admin-limits) once; an action that would exceed them returns a `limitExceeded` error instead of executing. Our [limits guide](/guides/understanding-linkedin-limits) covers sensible values. **PhantomBuster – mostly in your configuration:** - Its documentation is detailed – per-action daily limit tables by account type, warm-up advice, and recovery steps after a restriction – but the numbers are framed as "starting guidelines, not guarantees" (PhantomBuster's help center). - Applying them is your job: you set volumes in each Phantom's Behavior settings, schedule launch frequency "based on rate limits", and when several Phantoms share one account you "divide the recommended limit by the number of Phantoms" yourself. One exception: Auto Connect invitation limits are enforced dynamically by the product. - Its own FAQ acknowledges the residual risk plainly: restrictions can occur "below published thresholds" when Phantoms stack, manual and automated activity mix, or volume resumes after a quiet period. Neither model is free of risk – automating a real account never is. The honest framing: on Linked API the safety engineering is the platform's job end to end; on PhantomBuster it is shared – the platform documents limits in unusual detail and enforces them for Auto Connect, and you configure everything else. ## How does Linked API pricing compare with PhantomBuster? ![Linked API's flat per-seat fee compared with PhantomBuster's five meters – monthly quotas for execution time and email, AI, and URL-finder credits, plus a fixed cap on automation slots](/images/vs/phantombuster-meters-vs-flat.webp) | Plan | Price | What it includes | |---|---|---| | Linked API – Core | $49/mo per seat billed annually; $69 month-to-month | Unlimited workflow execution within the per-action limits you configure; one seat = one LinkedIn account | | PhantomBuster – Start | €56/mo billed annually; €69 month-to-month | 20 h execution time, 5 automation slots, 500 email + 10k AI + 1k URL-finder credits per month | | PhantomBuster – Grow | €128/mo billed annually; €159 month-to-month | 80 h execution, 15 slots, 2,500 email + 30k AI + 10k URL-finder credits | | PhantomBuster – Scale | €352/mo billed annually; €439 month-to-month | 300 h execution, 50 slots, 10,000 email + 90k AI + 20k URL-finder credits | PhantomBuster prices are shown in EUR; its pricing page localizes currency by region. The units mean different things. A Linked API seat is one LinkedIn account with its own dedicated cloud browser; cost tracks the number of accounts you automate, and each runs unmetered. A PhantomBuster plan is a pool of metered resources shared by a workspace – "execution time is the total monthly time your automations can run", and when it runs out "your automations will pause until your execution time resets or you upgrade your plan", with no automatic overage charges (PhantomBuster's pricing FAQ). Slots count every Phantom kept on the dashboard, "including ones that are inactive or have never been launched", a Workflow "can occupy up to 3 slots", and Workflows run background tasks that consume execution time outside working hours (PhantomBuster's help center). The models meter differently: a PhantomBuster workspace can connect many LinkedIn accounts, but they all draw from that one shared, capped pool of hours and credits, so more accounts means a thinner slice per account; a Linked API seat is one account with its own browser and no metering on how much it runs. Both let you start free – a 7-day trial on Linked API, a 14-day trial on PhantomBuster. ## Frequently Asked Questions (FAQ) #### Can I build a product on PhantomBuster's API the way I can on Linked API? They expose different layers. PhantomBuster's API, by its own description, "gives you control over your account" – it launches and stops Phantoms, monitors runs, and fetches their output; LinkedIn behavior itself stays inside the packaged Phantoms. Linked API exposes the LinkedIn actions themselves: your backend calls [send message, fetch profile, connect, react](/docs/actions-overview) and receives structured JSON, so the automation logic lives in your code rather than in a launched job. #### Do Linked API and PhantomBuster connect to my LinkedIn account the same way? No. PhantomBuster authenticates with your LinkedIn session cookie (li_at) and user agent, supplied through its browser extension or pasted from your browser's developer tools, and expired sessions stop runs until you reconnect. Linked API connects the account once and maintains the session inside its own [personal cloud browser](/safety), with no cookie handling on your side. #### Can I use Linked API and PhantomBuster together? On different LinkedIn accounts, yes – for example PhantomBuster for cross-platform scraping and enrichment on one account, Linked API automating outreach from another, or Linked API's [actions](/docs/actions-overview) consuming lead lists a Phantom exported. On the same account, be careful: PhantomBuster's own docs note that LinkedIn sees combined activity across everything driving a session, so two automation tools sharing one account undermine each other's pacing. #### What does moving from PhantomBuster to Linked API look like? Lead data moves easily; the automation logic is rebuilt. Export your existing lead lists from Phantoms (they output spreadsheets), and feed the LinkedIn URLs straight into Linked API [actions](/docs/actions-overview) as parameters. Each Phantom's job then maps to a workflow you compose once – a search-export Phantom becomes a search action with `doFor` chains, an auto-connect Phantom becomes `sendConnectionRequest` with a note, follow-ups become message actions triggered on acceptance. The account runs in its own [personal cloud browser](/safety) with no cookie to paste, and the practical path is piloting one account on Linked API while PhantomBuster keeps running the rest – just not both tools on the same account at once. #### Does PhantomBuster enforce LinkedIn limits for me? Mostly no – with one exception. Its published limit tables are explicitly "starting guidelines, not guarantees"; you configure volumes per Phantom and divide limits when several share an account. The exception is Auto Connect, whose invitation limits the product enforces dynamically. Linked API enforces limits across every action: you [set them once](/docs/admin-limits), the platform paces each workflow like a human, and any action that would exceed a limit returns `limitExceeded` instead of executing. --- Automating LinkedIn for your team, product, or AI agent? [Start with Linked API](/pricing) – flat per-seat pricing from $49/mo, billed annually, with a 7-day free trial – and use it both ways: build it into your product with the [REST API and Node/Python SDKs](/sdks/installation) and the shell [CLI](/cli/getting-started), or get automations out of the box through the [MCP server](/mcp/overview), the AI-agent-friendly CLI (Claude Code, Cursor, Codex), and ready-made [agent skills](/skills) (`npx @linkedapi/skills`). *Facts verified July 24, 2026 – PhantomBuster prices, quotes, and feature coverage checked against its live pricing page, Phantom store, and Help Center on that date; prices as displayed in EUR. Its public API re-checked against PhantomBuster's live developer docs on September 17, 2026.* ## Linked API vs Unipile (2026): Features, Pricing, and Safety Compared Linked API vs Unipile is really a choice between two layers of the same problem – letting your software act on LinkedIn. Linked API is a dedicated LinkedIn automation platform where the execution layer – a cloud browser per account, human pacing, enforced limits – is built in. Unipile is a unified multi-channel communication API – LinkedIn is one of its six-plus channels – and you build the automation logic on top. > **The short version.** The safety difference is structural: Linked API automates through a real browser session that behaves like a person, with pacing and per-action limits enforced by the platform; Unipile constructs reverse-engineered wire-level calls to LinkedIn's private interface and, on its GA API, leaves pacing to your application. Beyond safety, Linked API covers two jobs: embed LinkedIn automation into your own product through 55+ composable actions, or run it out of the box – a ready-made skill lets an AI agent build and run the workflows for you. Unipile fits SaaS products that need messaging across LinkedIn, WhatsApp, Instagram, Telegram, email, and calendars, with sequencing and campaign logic yours to build. Pick by the job, not the brand. ## Pick in 10 seconds :::cards **Choose Linked API if…** - LinkedIn automation is the actual job: search-to-outreach workflows (visit → connect → message → react → comment) composed from [55+ actions](/docs/actions-overview), not just messaging endpoints. - You want the safety layer run for you: every action executes in a dedicated cloud browser at a human pace, within per-action limits the platform enforces. - You want automation working out of the box: install a ready-made skill (`npx @linkedapi/skills`) and ask your AI agent in plain language – no flows to assemble, nothing to configure by hand. **Choose Unipile if…** - You need channels beyond LinkedIn behind one API – WhatsApp, Instagram, Telegram, Gmail/Outlook/IMAP email, and calendars – with a unified inbox in your product. - You connect many end-user accounts and per-account economics matter: €49 / $55 per month covers the first 10 accounts, then €3.00–5.00 per account as volume grows (per Unipile's pricing). - You need recruiter-side surfaces: Recruiter and Company Page inboxes, publishing job posts, retrieving applicants and their resumes. ::: ## Linked API vs Unipile at a glance | | Linked API | Unipile | |---|---|---| | What it is | Dedicated LinkedIn automation API | Unified multi-channel communication API | | Layer | Execution engine – workflows run in a cloud browser, pacing and limits enforced | Unified transport – REST endpoints over LinkedIn's private interface; sequencing and campaign logic are yours to build | | Channels | LinkedIn, including Sales Navigator | LinkedIn, WhatsApp, Instagram, Telegram, Gmail/Outlook/IMAP, Google/Outlook calendars | | Entry price | From $49/mo per seat, billed annually ($69 month-to-month); one seat = one LinkedIn account | €49 / $55 per month minimum, covering up to 10 connected accounts (per Unipile's pricing) | | Pricing model | Flat per seat, no usage metering | Per connected identity, sliding from €5.00 down to €3.00 per account at volume, post-paid on peak usage | | Account connection | Your account runs in its own [personal cloud browser](/safety) | White-label hosted auth wizard, or username/password or li_at cookie through your own UI | | Safety model | Real browser session behaving like a person – requests come from LinkedIn's own pages; enforced per-action limits | Direct calls to LinkedIn's private endpoints (reverse-engineered) via fixed proxies; on the GA v1 API pacing is implemented by you (the v2 beta adds enforced rate limits) | | Free trial | 7 days | 7 days | | Best for | LinkedIn automation depth – teams, products, AI agents | Multi-channel messaging inside a SaaS at end-user scale | Shopping a wider list than these two? See the [best LinkedIn automation tools roundup](/blog/best-linkedin-automation-tools-2026). ## What layer does each product sit at? Linked API sits at the execution layer. Automation is expressed as [workflows](/docs/workflows-overview) – actions chained with `then`, iterated with `doFor` blocks – and the platform executes them sequentially in a dedicated cloud browser that matches your device, at the pace of a real user. You describe *what* ("search these people, visit each profile, connect with a note, message on accept"); the execution layer owns *how fast* and *how humanly*. And you reach that engine two ways, both first-class: embed it in your product through the REST API, SDKs, and CLI – or skip building entirely and hand a ready-made [agent skill](/skills) to an AI agent, which composes and runs the same workflows from a plain-language ask. Unipile sits one layer down, at transport. It describes its API as "designed for messaging use cases" (Unipile's AI-agent page) and aggregates channels into one schema of 100+ REST endpoints: connect an account, then send and sync messages, list chats, manage invitations, retrieve profiles, react, comment, post. For LinkedIn specifically it works "through reverse engineering" of LinkedIn's private interface (Unipile's pricing FAQ), routing each account's requests through a fixed proxy. What it deliberately does not include is automation semantics: there is no campaign or sequence object in its API – its own outreach guide shows you how to wire routes and webhooks into a sequencer you build. Feature coverage follows the layer split, in both directions: - **First-class in Linked API, not native in Unipile's GA API:** [SSI retrieval](/docs/action-st-retrieve-ssi), dashboard performance analytics, own-feed retrieval, and removing existing connections. Unipile's raw-data "magic route" can reach some of these if you identify LinkedIn's private endpoints yourself, and its v2 beta adds a native Delete Relation method – the practical difference is DIY endpoints versus documented, supported actions. The structural difference stands regardless: composed multi-step workflows with built-in pacing make a prospecting sequence one API call rather than an engine you host. - **Native in Unipile, not in Linked API:** editing and deleting sent messages within LinkedIn's short edit window, and voice notes. - **Both offer:** REST APIs, official Node.js and Python SDKs (Unipile's Python SDK targets its v2 beta), MCP servers, and n8n integrations. Linked API adds a shell [CLI](/cli/getting-started) and packaged [agent skills](/skills); Unipile adds a PHP wrapper. ## What does account safety look like on each? Both products automate real member accounts, and neither is an official LinkedIn product – Unipile states plainly that it "is not affiliated with, endorsed by, or sponsored by LinkedIn" (Unipile's LinkedIn API page), and the same is true of Linked API. Two differences matter for risk, taken in turn below. ### What LinkedIn's servers see **Linked API – a real browser session:** - No request construction at all: a dedicated cloud browser loads the real LinkedIn pages, and every backend call is made by LinkedIn's own web app – exactly as in a normal browsing session. - After a LinkedIn update, the browser simply runs whatever code LinkedIn shipped – there is no synthesized request shape that could go stale. - What LinkedIn's servers see is a logged-in browser session [behaving like a person](/safety): real pages, real clicks, human pauses, on a device profile matching yours. **Unipile – wire-level API calls:** - Its reverse-engineered integration (its own description, quoted above) constructs requests to LinkedIn's private backend interface and sends them through each account's fixed proxy. - That interface is private and undocumented, so LinkedIn can change its URL, parameters, or protocol without a public compatibility contract. - This creates a structural risk pacing cannot address: if LinkedIn changes a private endpoint before a reverse-engineered client adapts, the client can keep sending an outdated request shape that the current frontend no longer produces – a potentially distinctive server-side signal. The timing follows LinkedIn's release schedule, not a change in your integration. ### Where the safety engineering lives **Linked API – in the platform:** - Workflows execute one at a time at realistic speed – a simple visit-and-like takes around 20 seconds by design. - You [configure per-action limits](/docs/admin-limits) once; an action that would exceed them returns a `limitExceeded` error instead of executing. Our [limits guide](/guides/understanding-linkedin-limits) covers what values are sensible. **Unipile's GA v1 API – mostly in your codebase:** - Each account gets a fixed, geo-matched proxy (you can bring your own), but enforcement is explicitly absent: "We don't enforce any limits on our side, so you'll have the exact same limit in the LinkedIn UI" (Unipile's developer docs). - The documented daily numbers are labeled conservative recommendations for your application to implement, and its docs advise spacing calls out "with random values" across working hours. - Your application also handles surfaced checkpoints – 2FA, OTP, CAPTCHA, in-app validation – within a five-minute window, and its docs note that Recruiter accounts hit a session conflict that forces cookie-based reconnection, with a Chrome extension suggested as the workaround. **Unipile's v2 beta – part moves into the platform:** - It enforces rate limits at its Methods API level, rejecting over-limit requests "before they are sent to the provider", with limits configurable in its dashboard and a caching layer that serves repeat reads without hitting LinkedIn (per Unipile's v2 documentation). - Caveats run in both directions: v2 is a beta that "may introduce breaking changes" and requires a new account per its migration docs – and rate limiting is throttling, not execution. Rejected requests are your application's to reschedule; sequencing and humanization still live in your code, where on Linked API the platform executes the queue itself at a human pace. Neither model is free of risk – automating a real account never is. The honest framing: on Linked API the safety engineering is the platform's job end to end; on Unipile it is split between you and the platform (mostly you on v1, more of the platform in the v2 beta). ## How does Linked API pricing compare with Unipile? | Connected LinkedIn accounts | Linked API (annual billing) | Unipile (per its pricing) | |---|---|---| | 1 | $49/mo | €49 / $55/mo (minimum, covers up to 10) | | 10 | $490/mo | €49 / $55/mo | The unit of pricing differs in what it includes. A Linked API seat is a dedicated cloud browser running that account, with pacing, sequencing, and limit enforcement part of the price. Unipile's per-account fee covers transport ("no additional cost per request", per its pricing page), with sequencing, quota tracking, and checkpoint handling running in your application. Both sides offer a 7-day free trial, so a side-by-side pilot on a test account costs nothing but a week. One billing-model note: Unipile bills post-paid on the peak number of simultaneously connected accounts in each 30-day period, prices excluding VAT (per its pricing FAQ); Linked API is a flat prepaid subscription per seat – $49/mo billed annually, $69 month-to-month. ## Frequently Asked Questions (FAQ) #### Is Unipile an official LinkedIn API? No. Unipile's own FAQ states it "is not affiliated with, endorsed by, or sponsored by LinkedIn", and for LinkedIn it operates "through reverse engineering" (Unipile's site). Linked API is not affiliated with LinkedIn either – it automates your own account through a cloud browser. LinkedIn's official developer platform is a separate, partner-gated program that does not offer account-level automation of this kind. #### Can I use Linked API and Unipile together? Yes, split by channel: Linked API running the LinkedIn automation, and Unipile handling email, WhatsApp, or a unified inbox inside your product. What you should not do is point two automation tools at the same LinkedIn account at once – pacing only protects an account when a single tool controls all of its activity. #### What does migrating between Linked API and Unipile look like? It is a rewrite of the integration layer, not a search-and-replace, because the models differ: Linked API expects the logic expressed as a [workflow](/docs/building-workflows) – actions chained with `then` – that the platform executes for you; Unipile exposes per-action REST endpoints you orchestrate yourself. Accounts reconnect through each side's hosted connection flow (end users re-authenticate; sessions do not transfer). The practical path is piloting the target on one account while the incumbent keeps running the rest. #### Does Unipile enforce LinkedIn limits for me? On its GA v1 API, no – the documented numbers there are guidance your application implements. Its v2 beta changes this at the transport level: over-limit requests are rejected before they reach LinkedIn, with limits configurable in its dashboard (per Unipile's v2 documentation); scheduling and retries remain in your code. Linked API enforces limits at the execution level: you [set per-action limits once](/docs/admin-limits), the platform paces every workflow like a human, and any action that would exceed a limit returns `limitExceeded` instead of executing. --- Automating LinkedIn for your team, product, or AI agent? [Start with Linked API](/pricing) – flat per-seat pricing from $49/mo, billed annually, with a 7-day free trial – and use it both ways: build it into your product with the [REST API and Node/Python SDKs](/sdks/installation) and the shell [CLI](/cli/getting-started), or get automations out of the box through the [MCP server](/mcp/overview), the AI-agent-friendly CLI (Claude Code, Cursor, Codex), and ready-made [agent skills](/skills) (`npx @linkedapi/skills`). *Facts verified July 23, 2026 – Unipile prices, quotes, and feature coverage checked against Unipile's live pricing page and developer documentation (v1 and v2 beta) on that date.*