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 Checkppoint endpoint. Please note that CAPTCHA solving may take a long time and could fail.
Authorizations
The Authorization header must include 'x-api-key' followed by your API key (e.g., 'Authorization: x-api-key YOUR_API_KEY').
Workspace UID required to identify the workspace.
Body
The account JSON object to create or update.
{
"username": "elon@musk.com",
"password": "********",
"user_uid": "(Optional) User UID previously created"
}
Set this to true to resume all paused jobs if you update, for example, an account's cookie.
false
Set this to true to share this account to an external user.
false
Set this to true to retrieve the IP we attribute to the user/account.
false
Response
The response is of type any
.