WarmablyWarmablyDOCS
Search docs⌘K
Dashboard
API Reference/Endpoints

Check connection status

GET/api/linkedin/connect/{account_id}/status

Reads the current state of a connection — poll this after Connect a LinkedIn account until it settles on connected or error.

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_id returned by the connect call.

Response fields

FieldTypeDescription
account.idstringEchoes the account_id.
account.statusstringOne of not_connected, logging_in, awaiting_2fa, connected, error, disconnected.
account.li_errorstring | nullA human-readable failure reason when status is error, otherwise null.
account.li_checkpoint_typestring | nullSet while awaiting_2fa — one of 2FA, OTP, IN_APP_VALIDATION, CAPTCHA, PHONE_REGISTER.

Errors

·401 Unauthorized. The key is missing, malformed or has been rotated.·404 Not Found. No account with that id belongs to this key.
CredentialsRequired
AuthorizationBearer wm_live_••••••••
RequestTry it
curl https://api.warmably.com/api/linkedin/connect/459993d2-b0e7-4b19-baf9-45252ca324cf/status \
  -H "Authorization: Bearer wm_live_..."
Response
200 OK
{
  "account": {
    "id": "459993d2-b0e7-4b19-baf9-45252ca324cf",
    "status": "connected",
    "li_error": null,
    "li_checkpoint_type": null
  }
}
No key yet? Create one from Dashboard → API Keys.