Write

Send LinkedIn InMail

Send an InMail to someone outside your immediate network, reaching prospects you are not yet connected to. Requires a Sales Navigator subscription, consumes InMail credits, and accepts the recipient as a provider_id, profile slug, or full LinkedIn URL. The body is capped at 1900 characters and the optional subject at 200, and you can attribute the send to a campaign. Fails if the recipient has opted out of InMail or you have no credits remaining.

send_inmailPOST/api/v1/inbox/inmail
crispy — bash

Example prompt: Send an InMail to ACoAABGDkeIB introducing our onboarding service with the subject Quick question about your hiring plans

{
  "sent": true,
  "recipient_id": "ACoAABGDkeIB",
  "credits_remaining": 14
}
Permission scope
core
Access
Write
Category
Messaging

What you can build

Reach high-value prospects you are not yet connected to without an invitation first
Open a conversation with a decision-maker outside your network
Run targeted Sales Navigator outreach with a clear subject line
Attribute InMail outreach to a campaign for accurate pipeline tracking

Parameters

Inputs accepted by send_inmail.

NameTypeDescription
recipient_idstringWho to InMail. Accepts ANY of: (1) provider_id like 'ACoAABGDkeIB...' - best, (2) slug like 'john-doe-123', (3) full URL like 'https://linkedin.com/in/john-doe-123'.
textstringThe message body text (max 1900 chars)
subjectstringOptional subject line for the InMail (max 200 chars)
campaign_idstringCampaign slug (from list_campaigns) to track this action under.

The complete LinkedIn API. Ready when you are.

Connect your first LinkedIn profile in under 5 minutes. Every tool, every seat, no feature gates. Safe limits, warm-up, and full permission control built in.