# Commands

Every LinkedIn CLI command and the API action it runs – options, results and errors are on that action's page, in the CLI tab.

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 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 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 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) |

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