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.
Your API key from the console (gw_live_…).
In: header
Path Parameters
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"}Hosted auth link POST
A link to a page we host where your own user connects a LinkedIn account (`type: create`), or reconnects one of yours (`type: reconnect` with `reconnect_account`), a hosted sign-in: you never see their password. Send them to `url`; it works until `expiresOn` (default 1 hour, at most 7 days) and ends once an account is connected or they cancel. A sign-in under way at the expiry may finish its verification step for 30 more minutes. When an account is connected, `notify_url` (https, public) receives `{ "status": "CREATION_SUCCESS" | "RECONNECTED", "account_id": "lg_…", "name": "<your name>" }` (up to 3 tries), then the page sends the person to `success_redirect_url`; a cancel sends them to `failure_redirect_url`. Check the account with `GET /api/v1/accounts/{id}`: the notification is not signed. Your webhook gets the account's usual events too. The page signs in exactly as `POST /api/v1/accounts` does (the same checkpoints, the live view for a CAPTCHA). A reconnect takes the account's own email only. `country` places a new account's IP (else the person's own location). At most 10 sign-in tries per link.
List LinkedIn accounts GET
The accounts as full `Account` objects (no secrets), newest first, a page of `limit` (default 100, at most 250); `cursor` gives the next page, null on the last.