Login to LinkedIn (v2)
This API endpoint allows users to log in to LinkedIn via We-Link, optionally enabling automatic 2FA setup using the two_fa_secret parameter. It returns an account_id 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"
},
"two_fa_secret": "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"
},
"two_fa_secret": "ABCDEFGHIJKLMNOPQRSTUVWXYZ123456"
}Important: One proxy method is required for login.
Proxy Location Selection: If you log in from one location and later log in again from a different location, it will incur additional charges because proxies are allocated based on the given location. When choosing Internal Proxy, please make sure to provide the correct location to avoid unnecessary credit usage.
Trial Limit Details: During the trial period, we will provide only one LinkedIn account and one internal proxy. This means only one proxy location is allowed if you choose the Internal Proxy option.
| Header Parameters |
|---|
x-api-key string — REQUIRED |
x-api-secret string — REQUIRED |
| Request Body — REQUIRED | |||||
|---|---|---|---|---|---|
email string — REQUIRED | |||||
password string — REQUIRED | |||||
proxy object — REQUIRED
| |||||
two_fa_secret string |
| Responses | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Immediate Resultaccount_id, request_id | |||||||||||
SuccessWebhook
| |||||||||||
FailedWebhook
|