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:
- Sales Navigator
- Recruiter Lite
- Recruiter Corporate
- Two-factor authentication configured on LinkedIn (see 2FA Setup Guide)
- A server endpoint to receive webhooks
Create Your We-Link Account
If you don't have a We-Link account yet, follow these steps before proceeding:
- 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.
- Wait for approval — Our team will review your request and reach out within 48 hours.
- Set your password — After approval, you'll receive an email with a link to set your password and activate your account.
- Log in — Once your password is set, log in to explore your dashboard and begin testing.
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
- Log in to the We-Link Dashboard
- Go to Settings → Security → Create API Key
- Name your key, set IP restrictions and allowed actions
- Save your
x-api-keyandx-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:
- Go to Webhooks in the dashboard
- Create a new webhook pointing to your endpoint
- 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"
}
}'
You can also bring your own proxy instead of using We-Link's internal proxy. See Proxy Configuration for all options.
Response:
{
"accountId": "1234ab5678290...."
}
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 providetwoFASecret) - ❌
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:
- Send connection requests — Automate outreach
- Set up webhooks — Receive real-time updates
- Browse the API Reference — Explore all available endpoints