linkedin.com
LinkedIn — accept a received invitation
Input
name optionalInviter's display name exactly as shown on the invitation (e.g. "Ossama Messaoudi", or a page name like "Marketer Tips"), when you have no invitationUrn. Two or more matching invitations throw.
dryRun optionalFind and check the invitation, but do not click Accept. Returns status "dry_run".
Default: falseinvitationUrn optionalThe invitation's urn:li:invitation:<id>, as get_received_invitations returns it. Preferred: it targets one row exactly.
Output
status required"accepted" when the invitation left the pending list; "dry_run" when dryRun stopped before the click.
name optionalEcho of the requested name, or null when targeted by invitationUrn.
invitationUrn optionalurn:li:invitation:<id> of the matched row.
recipientResolved optionalTrimmed text of the matched invitation card — cross-check the right person/page was accepted.
