Send a LinkedIn InMail
Input
text requiredInMail body.
subject requiredInMail subject line. Ignored when the composer that opens is the free-message one, which has no subject field.
profileUrl requiredLinkedIn profile URL or public id of the recipient.
dryRun optionalDefaults 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: trueOutput
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 requiredrecipient requiredprofileUrl requireddiagnostics optionalHow the route and the Send control were resolved. Any button text here is diagnostics only, never a selector.
creditsBefore optionalInMail credits read off the composer, or null when the composer showed no credit line. Never inferred.
creditsRemainingAfter optionalAlways null after a send: once the composer closes the credit line is gone, and a loose match reads unrelated numbers.
