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; linkedin --help lists the commands of your installed version.

Setup and Accounts

CommandWhat it does
linkedin setupSaves the tokens of an account – Setup
linkedin account listLists the saved accounts – Multiple accounts
linkedin account switchMakes another saved account the active one – Multiple accounts
linkedin account updateReplaces an account's tokens – Updating tokens
linkedin account renameRenames a saved account – Multiple accounts
linkedin resetRemoves the active account, or all of them with --all – Multiple accounts
linkedin workflow runRuns any workflow – Custom Workflows
linkedin workflow statusChecks or waits for a workflow – Custom Workflows
linkedin changelogPrints the public changelog – Changelog
linkedin feedbackSends feedback to the Linked API team – Feedback

Messages

CommandRuns
linkedin message sendst.sendMessage
linkedin message getst.syncConversation (reads the conversation; loads its earlier history first when needed)
linkedin message managest.manageConversation
linkedin inbox syncst.syncInbox
linkedin inbox getPOST /inbox/poll

Connections

CommandRuns
linkedin connection statusst.checkConnectionStatus
linkedin connection sendst.sendConnectionRequest
linkedin connection listst.retrieveConnections
linkedin connection pendingst.retrievePendingRequests
linkedin connection invitationsst.retrieveInvitations
linkedin connection acceptst.acceptInvitation
linkedin connection ignorest.ignoreInvitation
linkedin connection withdrawst.withdrawConnectionRequest
linkedin connection removest.removeConnection
linkedin network syncst.syncNetwork
linkedin network eventsPOST /network/poll

People

CommandRuns
linkedin person fetchst.openPersonPage
linkedin person searchst.searchPeople
linkedin person endorsest.endorsePersonSkill; --pattern / --all – see Endorsing skills

Companies

CommandRuns
linkedin company fetchst.openCompanyPage
linkedin company searchst.searchCompanies

Posts and Comments

CommandRuns
linkedin post fetchst.openPost
linkedin post searchst.searchPosts
linkedin post createst.createPost
linkedin post repostst.createRepost
linkedin post reactst.reactToPost
linkedin post commentst.commentOnPost
linkedin comment reactst.reactToComment
linkedin comment replyst.replyToComment

Jobs

CommandRuns
linkedin jobs searchst.searchJobs
linkedin jobs fetchst.openJob

Your Account

CommandRuns
linkedin feed retrievest.retrieveFeed
linkedin stats ssist.retrieveSSI
linkedin stats performancest.retrievePerformance
linkedin stats viewersst.retrieveProfileViewers
linkedin stats usageGET /stats/actions

Sales Navigator

CommandRuns
linkedin navigator person fetchnv.openPersonPage
linkedin navigator person searchnv.searchPeople
linkedin navigator company fetchnv.openCompanyPage
linkedin navigator company searchnv.searchCompanies
linkedin navigator message sendnv.sendMessage
linkedin navigator message getnv.syncConversation (reads the conversation; loads its earlier history first when needed)
linkedin navigator message managenv.manageConversation

Admin API

Admin commands use the Linked API token of the current saved account; see Authentication.

CommandRuns
linkedin admin subscription statussubscription.getStatus
linkedin admin subscription seatssubscription.getSeats
linkedin admin subscription set-seatssubscription.setSeats
linkedin admin accounts listaccounts.getAll
linkedin admin accounts reparseaccounts.reparseAccountInfo
linkedin admin accounts disconnectaccounts.disconnect
linkedin admin accounts regenerate-tokenaccounts.regenerateIdentificationToken
linkedin admin accounts connectaccounts.createConnectionSession
linkedin admin accounts reconnectaccounts.createReconnectionSession
linkedin admin accounts sessionaccounts.getConnectionSession
linkedin admin accounts cancel-sessionaccounts.cancelConnectionSession
linkedin admin limits defaultslimits.getDefaults
linkedin admin limits getlimits.get
linkedin admin limits usagelimits.getUsage
linkedin admin limits setlimits.set
linkedin admin limits deletelimits.delete
linkedin admin limits resetlimits.resetToDefaults

Webhooks

CommandRuns
linkedin admin webhook setwebhook.set
linkedin admin webhook getwebhook.get
linkedin admin webhook set-payload-modewebhook.setPayloadMode
linkedin admin webhook set-eventswebhook.setEvents
linkedin admin webhook event-typeswebhook.eventTypes
linkedin admin webhook set-signingwebhook.setSigning
linkedin admin webhook set-headerwebhook.setHeader
linkedin admin webhook delete-headerwebhook.deleteHeader
linkedin admin webhook set-headerswebhook.setHeaders
linkedin admin webhook reveal-secretwebhook.revealSecret
linkedin admin webhook rotate-secretwebhook.rotateSecret
linkedin admin webhook deletewebhook.delete
linkedin admin webhook deliverieswebhook.deliveries
linkedin admin webhook replaywebhook.replayDelivery
linkedin admin webhook send-testwebhook.sendTest