> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.scaleabm.org/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.scaleabm.org/_mcp/server.

# SalesNav

> Full Sales Navigator API access -- search leads, get accounts, track alerts, send InMail

# SalesNav

Voyager provides direct access to LinkedIn Sales Navigator's internal APIs. SalesNav endpoints offer richer data, advanced filters, and capabilities beyond the standard LinkedIn API — lead search with 28 structured filters, account dossiers, employee insights, relationship maps, personas, alerts, messaging, credits, and more.

> **Warning**
>
> SalesNav endpoints require an active Sales Navigator subscription on your LinkedIn account. You must sync the `li_a` and `li_ep_auth_context` cookies in addition to the standard `li_at` and `JSESSIONID` cookies.

> **Note**
>
> Every Voyager response is wrapped in the standard envelope `{ success, statusCode, message, data, errors }`. The JSON examples below show only the endpoint-specific payload — access `res.data.<field>` in your client. See [Introduction](/guides/getting-started/introduction) for the full envelope shape.

## Prerequisites

### Required Cookies

| Cookie               | Purpose                                                            |
| -------------------- | ------------------------------------------------------------------ |
| `li_at`              | Standard LinkedIn auth                                             |
| `JSESSIONID`         | Standard LinkedIn session                                          |
| `li_a`               | SalesNav authentication token                                      |
| `li_ep_auth_context` | Enterprise profile context (base64-encoded enterprise profile URN) |

### Verify SalesNav Access

```bash
curl -H "Authorization: Bearer $KEY" \
  -H "X-User-Id: $USER" \
  "$BASE/api/session/capabilities"
```

Check that `salesNavSessionValid: true` in the response.

### SalesNav Health Check

```bash
curl -H "Authorization: Bearer $KEY" \
  -H "X-User-Id: $USER" \
  "$BASE/api/salesnav/health"
```

## Search Leads

Search for leads by keyword or by SalesNav search URL:

```bash
# By keywords
curl -X POST "$BASE/api/salesnav/search" \
  -H "Authorization: Bearer $KEY" \
  -H "X-User-Id: $USER" \
  -H "Content-Type: application/json" \
  -d '{
    "keywords": "VP Engineering fintech London",
    "maxResults": 25
  }'
```

```json
{
  "success": true,
  "data": [
    {
      "fullName": "Jane Smith",
      "title": "VP Engineering",
      "company": "FinCorp",
      "location": "London, United Kingdom",
      "connectionDegree": "2ND",
      "leadId": "ACwAABCD1234",
      "profileUrl": "https://www.linkedin.com/in/janesmith/"
    }
  ]
}
```

### By SalesNav URL

If you have a pre-built SalesNav search URL with advanced filters:

```bash
curl -X POST "$BASE/api/salesnav/search" \
  -H "Authorization: Bearer $KEY" \
  -H "X-User-Id: $USER" \
  -H "Content-Type: application/json" \
  -d '{
    "searchUrl": "https://www.linkedin.com/sales/search/people?query=...",
    "maxResults": 50
  }'
```

## Get Lead Profile

Get a detailed SalesNav lead profile (async job):

```bash
curl -H "Authorization: Bearer $KEY" \
  -H "X-User-Id: $USER" \
  "$BASE/api/salesnav/leads/ACwAABCD1234"
```

Returns `{ jobId, pollUrl }` -- poll for the result:

```bash
curl -H "Authorization: Bearer $KEY" \
  -H "X-User-Id: $USER" \
  "$BASE/api/jobs/JOB_ID"
```

## Lead Timeline

Get a lead's activity history (job changes, posts, mentions):

```bash
curl -H "Authorization: Bearer $KEY" \
  -H "X-User-Id: $USER" \
  "$BASE/api/salesnav/leads/ACwAABCD1234/timeline?count=10"
```

## Lead Insights

Get a lead's posts and comments for conversation intelligence:

```bash
curl -H "Authorization: Bearer $KEY" \
  -H "X-User-Id: $USER" \
  "$BASE/api/salesnav/leads/ACwAABCD1234/insights"
```

## Account (Company) Profile

Get detailed company data from SalesNav (async job):

```bash
curl -H "Authorization: Bearer $KEY" \
  -H "X-User-Id: $USER" \
  "$BASE/api/salesnav/accounts/12345678"
```

## Account Employees

Get employees of a SalesNav account (async job):

```bash
curl -H "Authorization: Bearer $KEY" \
  -H "X-User-Id: $USER" \
  "$BASE/api/salesnav/accounts/12345678/employees?limit=50"
```

## Saved Lists

Export leads from a SalesNav saved list (async job):

```bash
curl -H "Authorization: Bearer $KEY" \
  -H "X-User-Id: $USER" \
  "$BASE/api/salesnav/lists/LIST_ID?limit=100"
```

## Alerts

Get SalesNav alerts (job changes, post activity, company news):

```bash
curl -H "Authorization: Bearer $KEY" \
  -H "X-User-Id: $USER" \
  "$BASE/api/salesnav/alerts?start=0&count=25"
```

## SalesNav Inbox

Read your SalesNav messages (separate from LinkedIn inbox):

```bash
curl -H "Authorization: Bearer $KEY" \
  -H "X-User-Id: $USER" \
  "$BASE/api/salesnav/inbox?start=0&count=20"
```

## Profile Viewers

See who viewed your SalesNav profile:

```bash
curl -H "Authorization: Bearer $KEY" \
  -H "X-User-Id: $USER" \
  "$BASE/api/salesnav/viewers?start=0&count=20"
```

## Batch Operations

### Batch Lead Profiles

Fetch up to 10 lead profiles in a single async job:

```bash
curl -X POST "$BASE/api/salesnav/leads/read" \
  -H "Authorization: Bearer $KEY" \
  -H "X-User-Id: $USER" \
  -H "Content-Type: application/json" \
  -d '{"leads": [{"leadId": "ACwAABCD1234"}, {"leadId": "ACwAAEFGH5678"}]}'
```

### Batch Account Profiles

Fetch up to 5 account profiles:

```bash
curl -X POST "$BASE/api/salesnav/accounts/read" \
  -H "Authorization: Bearer $KEY" \
  -H "X-User-Id: $USER" \
  -H "Content-Type: application/json" \
  -d '{"accounts": [{"accountId": "12345678"}, {"accountId": "87654321"}]}'
```

### Batch List Export

Export multiple saved lists:

```bash
curl -X POST "$BASE/api/salesnav/lists/read" \
  -H "Authorization: Bearer $KEY" \
  -H "X-User-Id: $USER" \
  -H "Content-Type: application/json" \
  -d '{"lists": [{"listId": "abc123"}, {"listId": "def456"}], "limit": 100}'
```

## Account Intelligence

### Account Dossier

Get AI-generated competitive landscape, challenges, and strengths:

```bash
curl -H "Authorization: Bearer $KEY" \
  -H "X-User-Id: $USER" \
  "$BASE/api/salesnav/companies/12345678/dossier"
```

Returns competitive analysis, company challenges, and strategic insights.

### Employee Insights

Track headcount growth/decline over time:

```bash
curl -H "Authorization: Bearer $KEY" \
  -H "X-User-Id: $USER" \
  "$BASE/api/salesnav/companies/12345678/insights"
```

Returns monthly headcount timeseries data (e.g., 57 → 110 employees, +93% growth).

### Similar Companies

Find lookalike companies:

```bash
curl -H "Authorization: Bearer $KEY" \
  -H "X-User-Id: $USER" \
  "$BASE/api/salesnav/companies/12345678/similar"
```

### Relationship Map

Get org chart data for an account:

```bash
curl -H "Authorization: Bearer $KEY" \
  -H "X-User-Id: $USER" \
  "$BASE/api/salesnav/companies/12345678/relationship-map"
```

### Buyer Personas

Get configured ICP buyer personas:

```bash
curl -H "Authorization: Bearer $KEY" \
  -H "X-User-Id: $USER" \
  "$BASE/api/salesnav/personas"
```

### Job Change Triggers

Get lead insights including recent job changes:

```bash
curl -H "Authorization: Bearer $KEY" \
  -H "X-User-Id: $USER" \
  "$BASE/api/salesnav/leads/ACwAABCD1234/job-changes"
```

### InMail Credits

Check your remaining InMail credit balance:

```bash
curl -H "Authorization: Bearer $KEY" \
  -H "X-User-Id: $USER" \
  "$BASE/api/salesnav/credits"
```

### SalesNav Read Receipts

Check if a SalesNav message was read:

```bash
curl -H "Authorization: Bearer $KEY" \
  -H "X-User-Id: $USER" \
  "$BASE/api/salesnav/inbox/THREAD_ID/seen"
```

## SalesNav API Architecture

Under the hood, Voyager uses LinkedIn's `sales-api` endpoints:

* All requests go to `https://www.linkedin.com/sales-api/salesApi*`
* Decoration parameters use URL-encoded parentheses (`%28`/`%29`)
* The `x-li-identity` header is derived from the `li_ep_auth_context` cookie
* Search uses the `salesApiLeadSearch` endpoint with `q=searchQuery`

> **Note**
>
> SalesNav has its own API layer separate from the standard LinkedIn Voyager API. Response formats, URN schemes, and rate limits differ. SalesNav lead IDs are not the same as standard LinkedIn profile URNs.

## Related

* [Lead Discovery Guide](/guides/workflow-guides/lead-discovery) -- SalesNav-powered lead pipeline
* [Async Jobs](/common-patterns/common-patterns/async-jobs) -- Polling for SalesNav job results
* [Sessions](/guides/core-concepts/sessions-cookies) -- SalesNav cookie requirements