API referenceLinkedin accounts
POST
/api/v1/accounts/{id}

Signs the same account in again (same id, device and IP), with credentials or a cookie; the same answers as a connect, AccountReconnected instead of AccountCreated. A restricted account, or one held by its proxy, is reconnected only with reason: "manual" (a person asked); otherwise 403 / 503. A proxy or a first country sent here is used from this sign-in on.

Authorization

X-API-KEY<token>

Your API key from the console (gw_live_…).

In: header

Path Parameters

id*string

A LinkedIn account id (lg_…).

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Credentials (username + password) or a cookie (access_token). Unknown fields are accepted and ignored.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v1/accounts/lg_3f9c2a7b1d" \  -H "Content-Type: application/json" \  -d '{    "username": "jane.doe@example.com",    "password": "correct horse battery staple",    "reason": "manual"  }'
{  "object": "AccountReconnected",  "account_id": "lg_3f9c2a7b1d",  "status": "OK"}