Learn to manage LinkedIn authentication and identity integrations in Captain Data.
timezone
field provisions a proxy IP matching that timezone/country.
This needs to match the location where you log into your LinkedIn account to
avoid restrictions.li_at
and optionally li_a
for Sales Navigator) to connect an account. This is useful when:
full_name
or email
.li_a
token, the connection may not work properly with LinkedIn Sales Navigator.
Including the li_a
token will also speed up account synchronization.Configure Your Webhook URL
https://your-domain.com/webhooks
)https://user:pass@your-website.com:8080/webhooks/captaindata/linkedin-integration?foo=bar
Implement Your Webhook Handler
Field | Description |
---|---|
event_type , event | The type and nature of the integration event |
data | Standard integration information (see API reference) |
reason | Cause of the event (especially relevant for AUTH_EXPIRED ) |
action_to_be_taken | Recommended next step for handling the event |
Event | Description | Typical Action |
---|---|---|
AUTH_SUCCESS | Integration successfully authenticated | Continue normal operations |
AUTH_PENDING | Authentication in progress | Wait for completion |
AUTH_FAILED | Authentication failed | Retry or notify user |
AUTH_EXPIRED | Authentication expired | Trigger resync flow |
AUTH_EXPIRED
event with action_to_be_taken: "RETRY_LOGIN"
, you can:
AUTH_SUCCESS
event confirms when setup is complete.
timezone
in Captain Data matches your login location on LinkedIn.li_at
and/or li_a
cookie values:
alarms
:
License | Captain Data Level | Captain Data Compatibility | InMails/Month | Invitations with Note | CRM Integration |
---|---|---|---|---|---|
LinkedIn Basic | Classic | ✅ Yes | 0 | 5/month | No |
LinkedIn Premium Career | Classic | ❌ No | 5 | N/A | No |
LinkedIn Premium Business | Classic | ✅ Yes | 15 | 400 | No |
Sales Navigator Core | Sales Navigator | ✅ Yes | 50 | 400 | No |
level
in the LinkedIn integration.
By following this guide, you can safely automate LinkedIn activities with Captain Data, ensuring stable sessions and avoiding platform restrictions.
For further assistance, feel free to reach out to our support team at support@captaindata.com 🙌
Scenario | Message | Status | Error |
---|---|---|---|
Invalid credentials | Username or password invalid. | 400 | INVALID_CREDENTIALS Double-check your LinkedIn username and password. See authentication endpoint |
Google login not supported | Username or password invalid. | 400 | INVALID_CREDENTIALS Google login is not supported. Use “Forgot password” on LinkedIn to set a password and use that for login. |
Checkpoint code invalid | Code invalid. | 400 | INVALID_CODE The checkpoint (2FA/SMS/email) code is incorrect. Try again. See checkpoint endpoint |
In-app challenge pending | Waiting for user to validate in_app_challenge | 500 | IN_APP_CHALLENGE_PENDING Complete the challenge in your LinkedIn app. |
In-app challenge expired | In_app_challenge expired. Please retry the whole process by sending credentials again on /authenticate | 500 | IN_APP_CHALLENGE_EXPIRED Start the login process again. |
2FA expired | 2FA expired. Please retry the whole process by sending credentials again on /authenticate | 500 | 2FA_VALIDATION_EXPIRED Start the login process again. |
Failed IP attribution | Could not login the account. | 500 | LOGIN_ACCOUNT_500_ERROR Retry logging in. This is a LinkedIn-side issue. |
IP allocation error | IP allocation error. Please retry again in 5 minutes or contact support. | 400 | IP_ATTRIBUTION_ERROR_400 Wait 5 minutes and try again, or contact support. |
IP allocation conflict | IP allocation error. Please retry again in 5 minutes or contact support. | 409 | IP_ATTRIBUTION_CONFLICT_409 Wait 5 minutes and try again, or contact support. |
IP rate limit exceeded | Rate limit exceeded IP attribution, please try again in five (5) minutes or contact the support. | 429 | IP_ATTRIBUTION_RATE_LIMIT_429 Wait 5 minutes and try again, or contact support. |
No IP available in timezone | No IP available in this timezone. Update your timezone to a neighbouring one or contact support. | 400 | IP_TIMEZONE_NOT_SUPPORTED_400 Change your timezone in Captain Data or contact support. |
Captcha challenge | Error while resolving the challenge, the Captcha challenge seem to be pending. Re-send username and password to overcome this. | 500 | CAPTCHA_CHALLENGE_ERROR Retry the authentication with your credentials. |
Unsupported challenge | Unsupported challenge identified, please contact the support and provide it with the identity_uid so we can address it. | 500 | UNSUPPORTED_CHALLENGE Contact support with your identity_uid. |
Simple challenge failed | Error while solving challenge, retry in 5 minutes, if it persists contact support. | 500 | LOGIN_SIMPLE_CHALLENGE Wait and retry, or contact support. |
Checkpoint missing data | Error while solving the challenge, retry the whole process by sending credentials to /authenticate again | 500 | CHECKPOINT_MISSING_DATA Start the login process again. |
User management not permitted | User management via the API is not permitted for the current workspace, activate the option on settings | 403 | CREATE-ONE-ACCOUNT_403_FORBIDDEN Enable user management in your workspace settings. |
Identity already exists | An identity with the same Linkedin ID already exists. | 409 | CREATE_OR_UPDATE_ACCOUNT_409_CONFLICT Use a different LinkedIn account or identity. |
Account already exists on identity | An account already exist on this identity | 409 | CREATE_OR_UPDATE_ACCOUNT_409_CONFLICT This will be merged in the future. |
Account link change | Please note that your LinkedIn integration is different from the one that has already been synchronized on this identity. | 409 | CREATE_OR_UPDATE_ACCOUNT_409_CONFLICT Use the same LinkedIn account as previously connected. |
Other errors | Error while synchronizing your account, please retry again or contact the support. | 500 | - Retry or contact support. |
identity_uid
for faster resolution.