send_message
Send a LinkedIn DM via Voyager createMessage: use conversation_linkedin_id for an existing thread or recipient_linkedin_id for a new DM. Use for the classic inbox: conversation_linkedin_id to reply in a thread, recipient_linkedin_id for a new one (1st-degree connections, or InMail). Counts against the daily messages quota; for a Sales Navigator thread use salesnav_send_message; for more than ten messages use create_job.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Plain text to send or post. | |
| account_id | Yes | Reach id of the LinkedIn account to act on, from list_accounts. | |
| 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. | |
| in_mail_premium | No | Send as InMail to someone outside the network (premium accounts); requires recipient_linkedin_id. | |
| recipient_linkedin_id | No | Recipient profile id (fsd_profile id) to start a new conversation; from list_conversations or scrape_profile. Omit when replying in an existing conversation. | |
| conversation_linkedin_id | No | Conversation (thread) id, as returned by list_conversations. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | ||
| status_code | No | HTTP status from LinkedIn (e.g. 201 on success). |