Skip to main content

Quick Start

Get from zero to your first automated LinkedIn action in just a few minutes.

Prerequisites

  • A We-Link account with an active subscription (see Creating a Subscription)
  • A supported LinkedIn account to connect:
    • LinkedIn
    • Sales Navigator
    • Recruiter Lite
    • Recruiter Corporate
  • Two-factor authentication configured on LinkedIn (see 2FA Setup Guide)
  • A server endpoint to receive webhooks

If you don't have a We-Link account yet, follow these steps before proceeding:

  1. Sign up — Create a new account at We-Link. You'll be asked to verify your email, provide company details, and share your projected usage so our team can support your goals.
  2. Wait for approval — Our team will review your request and reach out within 48 hours.
  3. Set your password — After approval, you'll receive an email with a link to set your password and activate your account.
  4. Log in — Once your password is set, log in to explore your dashboard and begin testing.
Free Test Credits

Every new account receives 100 free API credits with 14 days of validity to test endpoints. Before testing, you'll need to generate your API keys and set up webhooks — both covered in the steps below.

When you're ready for production, upgrade to a paid subscription.

Step 1: Get Your API Credentials

  1. Log in to the We-Link Dashboard
  2. Go to SettingsSecurityCreate API Key
  3. Name your key, set IP restrictions and allowed actions
  4. Save your x-api-key and x-api-secret — they are only shown once

For a detailed walkthrough with screenshots, see Getting Your Credentials.

Step 2: Set Up a Webhook

Before connecting a LinkedIn account, configure a webhook to receive async results:

  1. Go to Webhooks in the dashboard
  2. Create a new webhook pointing to your endpoint
  3. Enable event triggers

Step 3: Connect a LinkedIn Account

curl -X POST https://api.we-link.ai/api/v1/login_v2 \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-api-secret: YOUR_API_SECRET" \
-d '{
"email": "user@example.com",
"password": "securePassword123",
"twoFASecret": "YOUR_AUTHENTICATOR_SECRET_KEY",
"proxy": {
"location": "US"
}
}'
tip

You can also bring your own proxy instead of using We-Link's internal proxy. See Proxy Configuration for all options.

Response:

{
"accountId": "1234ab5678290...."
}
tip

Save the accountId — you'll need it for every subsequent API call.

Step 4: Wait for the Webhook

Your webhook endpoint will receive one of:

  • SUCCESS — Account connected! You'll get the user's profile data.
  • 🔐 LOGIN_PIN_REQUIRED — A 2FA code is needed (only if you didn't provide twoFASecret)
  • FAILED — Check the error message (e.g., WRONG_PASSWORD, PROXY_ERROR)

Step 5: Verify the Connection

Confirm the account is active by fetching the user's profile:

curl -X POST https://api.we-link.ai/api/v1/me \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-api-secret: YOUR_API_SECRET" \
-d '{
"accountId": "1234ab5678290...."
}'

Response:

{
"status": "SUCCESS",
"result": {
"first_name": "Wade",
"last_name": "Willson",
"headline": "Software Engineer",
"is_premium": true,
"profile_id": "ACoABC1d2f..."
....
}
}

🎉 You're Ready!

Your LinkedIn account is now connected. Explore what you can do next: