Skip to main content
POST
Add or Update a LinkedIn Account (Native)
The best practice is to first Create a User and then include the user_uid in the account payload:
The provided code example demonstrates how to create an account. To update an existing account, include the account’s uid within the account payload:
LinkedIn will most likely require you to complete a checkpoint. You can handle this using the Solve LinkedIn Checkpoint endpoint. Please note that CAPTCHA solving may take a long time and could fail.

Authorizations

Authorization
string
header
required

The Authorization header must include 'x-api-key' followed by your API key (e.g., 'Authorization: x-api-key YOUR_API_KEY').

x-project-id
string
header
required

Workspace UID required to identify the workspace.

Body

application/json
account
Account · object

The account JSON object to create or update.

Example:
resume_paused_jobs
boolean
default:false

Set this to true to resume all paused jobs if you update, for example, an account's cookie.

Example:

false

shared_account
boolean
default:false

Set this to true to share this account to an external user.

Example:

false

retrieve_ip
boolean
default:false

Set this to true to retrieve the IP we attribute to the user/account.

Example:

false

Response

200 - application/json

Successful Response