WarmablyWarmablyDOCS
Search docs⌘K
Dashboard
API Reference/Endpoints

Reconnect an account

POST/api/linkedin/gateway/accounts/{account_id}

Re-authenticates an account that already exists in Warmably but has fallen out of its session — fresh credentials go in, the same account_id comes back out.

Authentication

Send your personal API key as a bearer token. A missing, malformed or revoked key returns 401.

Path parameters

FieldTypeDescription
account_id *stringThe account to reconnect. Must belong to this key.

Body parameters

FieldTypeDescription
provider *"LINKEDIN"Which channel this account represents.
usernamestringLinkedIn login email. Pair with password for a fresh sign-in.
passwordstringLinkedIn login password. Never persisted by Warmably.
access_tokenstringA LinkedIn session cookie, used instead of username/password to reconnect without a fresh login.
premium_tokenstringOptional companion cookie for Sales Navigator or Recruiter sessions.
proxyobjectOptional { protocol, host, port, username, password } to route this account's traffic through your own proxy instead of Warmably's default.

Response fields

FieldTypeDescription
account_idstringEchoes the path parameter once the session is restored.
Send either username/password or access_token — never both. A reconnect can still land on a checkpoint; resend it with Resend checkpoint notification if needed.

Errors

·401 Unauthorized. The key is missing/rotated, or the supplied credentials were rejected.·403 Forbidden. account_id doesn't belong to this key.·404 Not Found. No account with that id exists upstream.
CredentialsRequired
AuthorizationBearer wm_live_••••••••
RequestTry it
curl -X POST https://api.warmably.com/api/linkedin/gateway/accounts/459993d2-b0e7-4b19-baf9-45252ca324cf \
  -H "Authorization: Bearer wm_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "provider": "LINKEDIN",
    "username": "you@company.com",
    "password": "..."
  }'
Response
201 Created
{
  "object": "AccountReconnected",
  "account_id": "459993d2-b0e7-4b19-baf9-45252ca324cf"
}
No key yet? Create one from Dashboard → API Keys.