App Logo
linkedin.com

Send a LinkedIn InMail

Send a paid InMail to an out-of-network LinkedIn profile via the profile's InMail CTA (consumes an InMail credit). Distinct from send_message, which only reaches 1st-degree and open profiles. dryRun (default true) opens the composer and reports what it found without sending.

Input

text required

InMail body.

subject required

InMail subject line. Ignored when the composer that opens is the free-message one, which has no subject field.

profileUrl required

LinkedIn profile URL or public id of the recipient.

dryRun optional

Defaults to true, and fills the composer and resolves the real Send control without clicking it. Must be explicitly false to spend an InMail credit and deliver a real message. A dry run may leave an unsent draft in the composer.

Default: true

Output

status required

"dry_run" means Send was resolved but never clicked. "no_inmail_cta" means this seat has no InMail route to the member.

subject required
recipient required
profileUrl required
diagnostics optional

How the route and the Send control were resolved. Any button text here is diagnostics only, never a selector.

creditsBefore optional

InMail credits read off the composer, or null when the composer showed no credit line. Never inferred.

creditsRemainingAfter optional

Always null after a send: once the composer closes the credit line is gone, and a loose match reads unrelated numbers.

Start building not clicking