LinkedNav Account API
The Account API from LinkedNav — 15 operation(s) for account.
The Account API from LinkedNav — 15 operation(s) for account.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/linkednav-com:linkednav-com-account-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: LinkedNav Account API
version: 1.0.0
summary: 'LinkedIn outreach and your own LinkedIn account: one POST per action.'
description: 'The same actions as the LinkedNav connector for Claude. Each action is one POST to /v1/actions/, with your LinkedNav API key as "Authorization: Bearer " and the action''s inputs as the JSON body. Create a key at https://linkednav.com/app/api-keys. GET /v1/actions lists the actions your key can run.'
termsOfService: https://linkednav.com/terms
contact:
name: LinkedNav
url: https://linkednav.com
email: cynthia@linkednav.com
servers:
- url: https://api.linkednav.com
security:
- bearer: []
tags:
- name: Account
paths:
/v1/actions/get_account_status:
post:
operationId: get_account_status
summary: Get account status
description: 'Get read-safe LinkedNav account status: profile, plan, limits, credits, integrations, and LinkedIn account counts.'
tags:
- Account
x-changes-something: false
x-destructive: false
requestBody:
required: true
content:
application/json:
schema:
type: object
properties: {}
responses:
'200':
description: It worked.
content:
application/json:
schema:
$ref: '#/components/schemas/Worked'
default:
description: 'It did not work: the message says why.'
content:
application/json:
schema:
$ref: '#/components/schemas/Refused'
/v1/actions/get_linkedin_accounts:
post:
operationId: get_linkedin_accounts
summary: Get LinkedIn accounts
description: 'List read-safe LinkedIn sender accounts for the active setup, each with its Sales Navigator seat status (salesNavigator.status: available / unavailable / unknown — what InMail campaigns need; "unknown" = no InMail sent from it yet) and a health verdict: whether it will run 24/7 (alwaysOnReady), whether it is connected, its login method (email+password vs cookie-only), its 2FA state (off / push / authenticator-code / unknown), a blockers list with how-to-fix steps, and its last login attempt (date, challenge, failure reason). Use this to triage which senders are working and, for the broken ones, exactly why + how to fix — no per-account drill-down needed. Never exposes cookies, passwords, or tokens.'
tags:
- Account
x-changes-something: false
x-destructive: false
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
includeAllSetups:
description: If true, return every LinkedIn account. Default returns accounts scoped to active setup.
default: false
type: boolean
responses:
'200':
description: It worked.
content:
application/json:
schema:
$ref: '#/components/schemas/Worked'
default:
description: 'It did not work: the message says why.'
content:
application/json:
schema:
$ref: '#/components/schemas/Refused'
/v1/actions/get_inmail_credits:
post:
operationId: get_inmail_credits
summary: Get InMail credits
description: Read the LIVE InMail credit balance of the user's LinkedIn sender accounts — Sales Navigator, Premium, and Recruiter credits, per account. InMail campaigns spend Sales Navigator credits (one per InMail to a recipient who is NOT an Open Profile; Open Profiles are free — see check_inmail_open_profiles). Use it before launching or growing an InMail campaign to check the accounts can cover the not-open recipients, and to pick senders (a salesNavigator balance means the account has a Sales Navigator seat). Only live-session accounts (sessionType "managed") can be read; cookie-connected accounts report supported:false. Free, no LinkedNav credits. Omit connectionId to read every account on the active setup.
tags:
- Account
x-changes-something: false
x-destructive: false
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
connectionId:
description: One LinkedIn account id (get_linkedin_accounts). Omit for all accounts on the active setup.
type: string
includeAllSetups:
default: false
description: 'With no connectionId: read accounts across every setup, not just the active one.'
type: boolean
responses:
'200':
description: It worked.
content:
application/json:
schema:
$ref: '#/components/schemas/Worked'
default:
description: 'It did not work: the message says why.'
content:
application/json:
schema:
$ref: '#/components/schemas/Refused'
/v1/actions/get_linkedin_contracts:
post:
operationId: get_linkedin_contracts
summary: Get LinkedIn contracts
description: List each LinkedIn account's Sales Navigator (and Recruiter) CONTRACTS live from LinkedIn — which one is active, the active contract's Sales Navigator InMail credits, and what LinkedNav remembers about the others (their last-seen credits; "out of credits" or "refused switch" cooling-down status). One account can hold several Sales Navigator contracts (e.g. a personal seat plus company Team contracts), each with its OWN InMail credits. Read-only — nothing is switched. Use switch_linkedin_contract to change the active one, or turn on an InMail campaign's autoSwitchSalesNavContract to rotate automatically when credits run out. Only live-session accounts can be read. Each Sales Navigator contract carries inboxSyncedAt (when its InMail inbox was last pulled into LinkedNav — a nightly background round visits every contract of a multi-contract account and returns it to the contract it was on; lastInboxRound says how the latest one went). Omit connectionId for every account on the active setup.
tags:
- Account
x-changes-something: false
x-destructive: false
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
connectionId:
description: One LinkedIn account id (get_linkedin_accounts). Omit for all accounts on the active setup.
type: string
includeAllSetups:
default: false
description: 'With no connectionId: accounts across every setup, not just the active one.'
type: boolean
responses:
'200':
description: It worked.
content:
application/json:
schema:
$ref: '#/components/schemas/Worked'
default:
description: 'It did not work: the message says why.'
content:
application/json:
schema:
$ref: '#/components/schemas/Refused'
/v1/actions/switch_linkedin_contract:
post:
operationId: switch_linkedin_contract
summary: Switch LinkedIn contract
description: Switch a LinkedIn account's ACTIVE Sales Navigator contract (e.g. to one that still has InMail credits). Get contract ids from get_linkedin_contracts. Call with confirm:false first (default) to preview what will change and tell the user; only call with confirm:true after their explicit yes. While switching, the account is unavailable for about 10–20 seconds (sends on it pause and retry automatically — nothing is lost, no reconnect or pause is triggered), and afterwards InMail credits and Sales Navigator search come from the new contract. If LinkedIn refuses the switch, the account is put back on a contract that works (opening that contract once in Sales Navigator in the browser usually makes it switchable). After switching, LinkedNav starts pulling the new contract's InMail inbox from LinkedIn (result.inboxSync); to see those threads, call get_inmail_inbox with syncInbox:true a few minutes later. Takes up to a minute or two.
tags:
- Account
x-changes-something: true
x-destructive: false
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
connectionId:
type: string
description: The LinkedIn account id (get_linkedin_accounts / get_linkedin_contracts).
contractId:
type: string
description: The Sales Navigator contract id to make active (from get_linkedin_contracts), e.g. "SALES_2062952500".
confirm:
default: false
description: false (default) = preview only, nothing changes. true = switch now (only after the user said yes).
type: boolean
required:
- connectionId
- contractId
responses:
'200':
description: It worked.
content:
application/json:
schema:
$ref: '#/components/schemas/Worked'
default:
description: 'It did not work: the message says why.'
content:
application/json:
schema:
$ref: '#/components/schemas/Refused'
/v1/actions/get_billing_summary:
post:
operationId: get_billing_summary
summary: Get billing summary
description: Get subscription and credit summary, recent credit transactions, and account limits.
tags:
- Account
x-changes-something: false
x-destructive: false
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
transactionLimit:
default: 20
type: number
minimum: 1
maximum: 100
responses:
'200':
description: It worked.
content:
application/json:
schema:
$ref: '#/components/schemas/Worked'
default:
description: 'It did not work: the message says why.'
content:
application/json:
schema:
$ref: '#/components/schemas/Refused'
/v1/actions/get_integration_status:
post:
operationId: get_integration_status
summary: Get integration status
description: Get read-safe integration status for Slack, HubSpot, Clay, and Instantly. Secrets are never returned.
tags:
- Account
x-changes-something: false
x-destructive: false
requestBody:
required: true
content:
application/json:
schema:
type: object
properties: {}
responses:
'200':
description: It worked.
content:
application/json:
schema:
$ref: '#/components/schemas/Worked'
default:
description: 'It did not work: the message says why.'
content:
application/json:
schema:
$ref: '#/components/schemas/Refused'
/v1/actions/get_account_health:
post:
operationId: get_account_health
summary: Get account health
description: 'PROACTIVE ACCOUNT HEALTH CHECK: re-runs the full daily health audit and returns a ranked list of everything wrong across the whole account — billing, LinkedIn senders, AI setup, prompt/messages, lead supply, campaigns, funnel performance, and background-job/infra failures — including deep signals the other tools do not surface (task-failure buckets, per-source accept rate, reap clock, cron health). Each item is tagged: level (0 critical / 1 important / 2 quality), step (which lifecycle stage), owner (you = the account owner must act | waiting = blocked on a prospect reply or a weekly limit, nothing to do | auto = the platform self-heals), basis (fact = certain, or judgment = a sample-gated call), audience (client = worth telling the account owner | team = an operator should investigate, do NOT alarm the client), plus what/why/action and a deep link to fix it. Read-only and spends no credits. Poll it every few hours to catch problems proactively.'
tags:
- Account
x-changes-something: false
x-destructive: false
requestBody:
required: true
content:
application/json:
schema:
type: object
properties: {}
responses:
'200':
description: It worked.
content:
application/json:
schema:
$ref: '#/components/schemas/Worked'
default:
description: 'It did not work: the message says why.'
content:
application/json:
schema:
$ref: '#/components/schemas/Refused'
/v1/actions/start_linkedin_connect:
post:
operationId: start_linkedin_connect
summary: Start LinkedIn connect
description: 'Create a private, secure web link the user opens to connect their LinkedIn account by entering their cookie OR email+password on a bare form — instead of pasting those secrets into this chat. STRONGLY PREFER this over connect_linkedin_with_cookie / connect_linkedin_with_credentials whenever the user is in a shared or logged channel: the secret goes straight from their browser to the backend and is never exposed here or to anyone else in the conversation. Give them the returned url and tell them it expires in ~2 hours. The form auto-detects their browser fingerprint and lets them pick the account country, exactly like the in-app page. The connection is attached to the current AI setup automatically. Only for a LinkedIn account that is NOT connected yet. To fix, reconnect or re-login an account that is already connected (expired cookie, disconnected, needs a new password or 2FA), use start_linkedin_update with its connectionId instead — connecting it again here creates a separate new sender that starts without the old one''s synced message history (older Unibox / InMail threads), and removing the old sender deletes that history.'
tags:
- Account
x-changes-something: true
x-destructive: false
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
label:
description: Optional friendly name to pre-fill for this sender.
type: string
country:
description: Optional country to pre-select — a name token (e.g. "UNITED_STATES", "UNITED_KINGDOM") or a 2-letter ISO code (e.g. "us", "gb"); the user can change it on the form.
type: string
responses:
'200':
description: It worked.
content:
application/json:
schema:
$ref: '#/components/schemas/Worked'
default:
description: 'It did not work: the message says why.'
content:
application/json:
schema:
$ref: '#/components/schemas/Refused'
/v1/actions/start_linkedin_update:
post:
operationId: start_linkedin_update
summary: Start LinkedIn update
description: 'Create a private, secure web link the user opens to UPDATE one existing LinkedIn sender — replace its expired cookie, change its saved email+password login, add/replace/remove its authenticator 2FA setup key, or edit its label/country — on a bare form instead of pasting secrets into this chat. The form pre-fills the sender''s current NON-secret info (label, country, which sign-in and 2FA it has, with the login masked) so the user changes only what they want; blank fields keep the current value. Secrets are never pre-filled or shown. STRONGLY PREFER this over update_linkedin_cookie / refresh_linkedin_cookie / register_linkedin_totp_seed whenever the user is in a shared or logged channel: the new secret goes straight from their browser to the backend. Give them the returned url; it expires in ~2 hours.'
tags:
- Account
x-changes-something: true
x-destructive: false
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
connectionId:
type: string
description: The id of the existing LinkedIn sender to update (from get_linkedin_accounts).
required:
- connectionId
responses:
'200':
description: It worked.
content:
application/json:
schema:
$ref: '#/components/schemas/Worked'
default:
description: 'It did not work: the message says why.'
content:
application/json:
schema:
$ref: '#/components/schemas/Refused'
/v1/actions/get_linkedin_connection:
post:
operationId: get_linkedin_connection
summary: Get LinkedIn connection
description: 'Read-safe detail + health for one LinkedIn sender: active state, cookie/login presence, auto-reconnect eligibility, 2FA (TOTP) status, PLUS a plain-English readiness verdict — whether it will run 24/7 (alwaysOnReady), whether 2FA is off / push / authenticator-code / unknown (from the last real login), a blockers list with how-to-fix steps, and its last login attempt (date, challenge, failure reason). Never returns the cookie, password, or authenticator seed. Use it to diagnose why a sender is/ isn''t working before running the connect/refresh/TOTP tools.'
tags:
- Account
x-changes-something: false
x-destructive: false
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
connectionId:
type: string
description: The LinkedIn connection id (from get_linkedin_accounts).
required:
- connectionId
responses:
'200':
description: It worked.
content:
application/json:
schema:
$ref: '#/components/schemas/Worked'
default:
description: 'It did not work: the message says why.'
content:
application/json:
schema:
$ref: '#/components/schemas/Refused'
/v1/actions/update_linkedin_connection:
post:
operationId: update_linkedin_connection
summary: Update LinkedIn connection
description: 'Edit an existing LinkedIn sender''s metadata: its friendly label and/or its 2-letter country (country drives proxy/locale coherence for logins and sends). Metadata only — this does NOT touch the cookie, credentials, or 2FA (use update_linkedin_cookie / refresh_linkedin_cookie / register_linkedin_totp_seed for those). Pass at least one of label or country.'
tags:
- Account
x-changes-something: true
x-destructive: true
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
connectionId:
type: string
description: The LinkedIn connection id to edit.
label:
description: New friendly name for this sender.
type: string
country:
description: New account country as a name token (e.g. "UNITED_STATES") or a 2-letter ISO code (e.g. "us", "gb"). Pass an empty string to clear it.
type: string
required:
- connectionId
responses:
'200':
description: It worked.
content:
application/json:
schema:
$ref: '#/components/schemas/Worked'
default:
description: 'It did not work: the message says why.'
content:
application/json:
schema:
$ref: '#/components/schemas/Refused'
/v1/actions/validate_linkedin_connection:
post:
operationId: validate_linkedin_connection
summary: Validate LinkedIn connection
description: Check whether a LinkedIn session is still alive. Pass connectionId to validate a saved sender's stored cookie, or pass liAtCookie + userAgent to test a cookie before connecting it. Returns valid true/false, the reason when invalid, and — for a saved sender that is invalid — a fix (how to bring it back). For a full 2FA / always-on readiness diagnosis of a saved sender, use get_linkedin_2fa_status instead.
tags:
- Account
x-changes-something: false
x-destructive: false
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
connectionId:
description: Validate this saved connection's stored cookie.
type: string
responses:
'200':
description: It worked.
content:
application/json:
schema:
$ref: '#/components/schemas/Worked'
default:
description: 'It did not work: the message says why.'
content:
application/json:
schema:
$ref: '#/components/schemas/Refused'
/v1/actions/get_linkedin_2fa_status:
post:
operationId: get_linkedin_2fa_status
summary: Get LinkedIn 2FA status
description: 'Report, in plain terms, whether a LinkedIn sender is set up to run 24/7 with no manual babysitting — and if not, exactly what the account owner is stuck on. For each connection returns: connected or not, the login method (email+password vs cookie-only), whether 2FA is off / on-with-push / on-with-authenticator-code / unknown (read from the last real login attempt LinkedIn recorded), whether that 2FA can be auto-answered, auto-reconnect eligibility, an alwaysOnReady flag, a human-readable blockers list with how-to-fix steps, and how to make 2FA self-heal (howToAutomate2fa). Use this right after a user connects (or says they connected) to tell them if they did it right, and as the FIRST step whenever they ask "do I have 2FA on?" / about their LinkedIn connection health / a "why did my campaign stop" login issue. Omit connectionId to check EVERY sender in the active setup at once. This is a passive read of the LAST recorded login — it does NOT log in — so report it as last-known ("as of the lastAttempt.at date"), not as live truth, and if lastAttempt is null say there is no login on record. Route on the result: if alwaysOnReady is true (2FA off, or authenticator 2FA that self-heals from a stored key) the passive answer is enough — just report it. If alwaysOnReady is false due to a 2FA blocker (push, or authenticator-code with no stored key) the state may be stale, so OFFER a live re-check with reconnect_and_check_linkedin_2fa ("that''s from your last login on {date} — want me to reconnect now to confirm?") and run it only on a yes — do not auto-run it, since a live login pings the phone on push 2FA and resumes paused campaigns. If loginMethod is cookie-only (state unknown), 2FA cannot be read without a saved password login. When the user says they JUST changed their 2FA, skip this and use reconnect_and_check_linkedin_2fa so a fresh login confirms the new state. Never returns cookies, passwords, or authenticator seeds.'
tags:
- Account
x-changes-something: false
x-destructive: false
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
connectionId:
description: One sender to check (from get_linkedin_accounts). Omit to check every sender in the active setup.
type: string
responses:
'200':
description: It worked.
content:
application/json:
schema:
$ref: '#/components/schemas/Worked'
default:
description: 'It did not work: the message says why.'
content:
application/json:
schema:
$ref: '#/components/schemas/Refused'
/v1/actions/get_action_usage:
post:
operationId: get_action_usage
summary: Get action usage
description: 'How many direct LinkedIn actions (invitations, messages, comments, reactions, posts, searches and the rest) your LinkedIn account has used today, the daily limit for each, and when the count resets. `invitations` holds the longer counts for invitations: whether the account counts as paid or free, the last 7 days against the weekly limit, on a free account the invitations with a note in the last 30 days, and how long a note can be. Read-only.'
tags:
- Account
x-changes-something: false
x-destructive: false
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
connectionId:
description: Which of your LinkedIn accounts to act from (its id from get_linkedin_accounts). Omit to use your first live one that does not need reconnecting.
type: string
responses:
'200':
description: It worked.
content:
application/json:
schema:
$ref: '#/components/schemas/Worked'
default:
description: 'It did not work: the message says why.'
content:
application/json:
schema:
$ref: '#/components/schemas/Refused'
components:
schemas:
Refused:
type: object
required:
- ok
- error
- message
properties:
ok:
const: false
error:
type: string
description: 'A short code: invalid_key, unknown_action, not_offered, invalid_input, failed, temporarily_unavailable, or the tool''s own.'
message:
type: string
description: What went wrong, in plain English.
inputs:
type: array
description: 'invalid_input only: each input that is wrong and why.'
items:
type: object
properties:
name:
type: string
problem:
type: string
Worked:
type: object
required:
- ok
- result
properties:
ok:
const: true
result:
description: 'The tool''s answer: an object, or { text } when it answered in words.'
securitySchemes:
bearer:
type: http
scheme: bearer
description: A LinkedNav API key.