Skip to main content

Login to LinkedIn (v2)

This API endpoint allows users to log in to LinkedIn via We-Link, optionally enabling automatic 2FA setup using the twoFASecret parameter. It returns an accountId for later calls and triggers a webhook with user info.

Proxy support:

1. Internal Proxy (paid): Provide "location" (e.g., "US"). We assign an IP.
Example:

{
"email": "example@mail.com",
"password": "password",
"proxy": {
"location": "US"
},
"twoFASecret": "ABCDEFGHIJKLMNOPQRSTUVWXYZ123456"
}

2. Customer Proxy: Provide host, port, username, and password.
Example:
{
"email": "example@mail.com",
"password": "password",
"proxy": {
"host": "hostip",
"port": 4000,
"username": "username",
"password": "password"
},
"twoFASecret": "ABCDEFGHIJKLMNOPQRSTUVWXYZ123456"
}

Important: One proxy method is required for login.

Header Parameters
x-api-key string — REQUIRED
x-api-secret string — REQUIRED
Request Body — REQUIRED
email string — REQUIRED
password string — REQUIRED
proxy object — REQUIRED
location string
host string
port number
username string
password string
twoFASecret string
Responses
Immediate Result

Account Id

Success

Webhook

Schema — OPTIONAL
status string
request_id string
result object
first_name string
last_name string
profile_id string
public_identifier string
premium boolean
occupation string
email string
Failed

Webhook

Schema — OPTIONAL
status string
request_id string
error string