Skip to main content

Login to LinkedIn

POST /api/v1/login
Deprecated

This endpoint is deprecated and will be removed in future releases. Use the newer Login to LinkedIn (v2) endpoint for a faster and more seamless experience.

Log in to a LinkedIn account via We-Link. Returns an accountId for all subsequent API calls and delivers the login result asynchronously via webhook.

Before you begin

  • Social login is not supported — the LinkedIn account must have a password set. Accounts created via Google, Apple, or other third-party providers must first set a LinkedIn password.

Proxy Configuration

A proxy is required for every login request. Choose one of the two options below.

We-Link assigns a high-quality, geo-located IP. Pass a location country code (e.g. "US"):

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

Option 2 — Customer Proxy

Provide your own proxy credentials:

{
"email": "example@mail.com",
"password": "password",
"proxy": {
"host": "hostip",
"port": 4000,
"username": "username",
"password": "password"
}
}
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 per location. Make sure to provide the correct location to avoid unnecessary credit usage.

Trial Limit

During the trial period, only one LinkedIn account and one internal proxy are provided. This means only one proxy location is allowed if you choose the Internal Proxy option.


Headers

NameTypeRequired
x-api-keystringYes
x-api-secretstringYes

Request Body

Schema

emailstringrequiredThe LinkedIn account email address.
passwordstringrequiredThe LinkedIn account password.
proxyobjectrequiredProxy configuration — provide either a location (internal) or own proxy credentials.

Sample Request

{
"email": "string",
"password": "string",
"proxy": {
"location": "string",
"host": "string",
"port": 0,
"username": "string",
"password": "string"
}
}

Responses

Immediate Response

The API immediately returns an accountId. This does not mean the user is logged in yet — the login result is delivered asynchronously via webhook.

Webhook Events

Delivered when the login completes successfully.

Schema

statusstringStatus indicating the request completed successfully (e.g. "SUCCESS").
requestIdstringUnique identifier for the request.
resultobjectThe authenticated user's LinkedIn profile summary.

Sample Response

{
"status": "SUCCESS",
"requestId": "string",
"result": {
"first_name": "string",
"last_name": "string",
"profile_id": "string",
"public_identifier": "string",
"premium": false,
"occupation": "string",
"email": "string"
}
}
POST/api/v1/login
x-api-key
x-api-secret