Skip to main content

Getting Started

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:


npm install -S linkedapi-node
    

# Python SDK is coming soon!
#
# You can always use Linked API through HTTP
# https://linkedapi.io/docs/
    

// Go SDK is coming soon!
//
// You can always use Linked API through HTTP
// https://linkedapi.io/docs/
    

Authorization

To authorize your requests, you need to initialize the SDK with 2 tokens:


const linkedApi = new LinkedApi({
  linkedApiToken: "your-linked-api-token",
  identificationToken: "your-identifiaction-token",
});
    

# Python SDK is coming soon!
#
# You can always use Linked API through HTTP
# https://linkedapi.io/docs/
    

// Go SDK is coming soon!
//
// You can always use Linked API through HTTP
// https://linkedapi.io/docs/
    
  • 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, as demonstrated below:

Multiple LinkedIn accounts

If you need to manage multiple LinkedIn accounts, simply initialize a separate SDK instance for each account's identification token.


const firstLinkedInAccount = new LinkedApi({
  linkedApiToken: "your-linked-api-token",
  identificationToken: "your-first-identifiaction-token",
});

const secondLinkedInAccount = new LinkedApi({
  linkedApiToken: "your-linked-api-token",
  identificationToken: "your-second-identifiaction-token",
})
    

# Python SDK is coming soon!
#
# You can always use Linked API through HTTP
# https://linkedapi.io/docs/
    

// Go SDK is coming soon!
//
// You can always use Linked API through HTTP
// https://linkedapi.io/docs/