salesnav_send_inmail
Start a new Sales Navigator InMail, with a subject, to someone the account is not connected to (salesApiMessageActions). LinkedIn takes one InMail credit from the Sales Navigator seat; an Open Profile member is free. Requires a Sales Navigator subscription. Returns the new thread_id: follow up there with salesnav_send_message once the person has answered (LinkedIn refuses a second message before). On a refusal, error carries LinkedIn's reason. Use to reach someone outside the network from Sales Navigator; spends one of the seat's InMail credits (free for an Open Profile: is_open_profile in search results), so show the user the subject and text first. Not for 1st-degree connections (send_message) or an existing thread (salesnav_send_message). Replies land in salesnav_list_messaging_threads, not in list_conversations, and do not fire message.received. Counts against the daily messages quota.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"account_id": "<account_id>",
"recipient": "<recipient>",
"subject": "<subject>",
"text": "<text>"
},
"name": "salesnav_send_inmail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | InMail body, plain text (1,900 characters at most). | |
| subject | Yes | InMail subject line (200 characters at most). | |
| recipient | Yes | Who to write to. Best: the salesnavigator_url from scrape_search on a Sales Navigator search or from scrape_profile (no extra lookup). Also accepted: a Sales Navigator lead URL, a profile id (ACoA…/ACwA…), a public profile URL or vanity name (one or two lookups). | |
| account_id | Yes | Reach id of the LinkedIn account to act on, from list_accounts. | |
| copy_to_crm | No | Copy the InMail to the CRM synced with Sales Navigator. | |
| idempotency_key | No | Optional. A key you choose (a UUID is fine) that names this exact call. If you retry with the same key and the same arguments, the first call's result is returned and nothing is done twice on LinkedIn. Reusing a key with different arguments is refused. Keys expire after 24 hours. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | LinkedIn's reason when it refused the message (absent on success, or when LinkedIn gave none). | |
| success | No | ||
| thread_id | No | ||
| message_id | No | ||
| status_code | No | HTTP status from LinkedIn. |