App Logo
linkedin.com

Withdraw LinkedIn connection invitation

Automatically withdraw LinkedIn connection invitation on linkedin.com. Withdraw a pending sent connection invitation by profile URL. Finds the "Pending" control (primary top-card action or three-dot menu item) and confirms the "Withdraw invitation?" dialog. Safe to repeat: it returns not_pending if there's no outstanding invite. After withdrawing, LinkedIn blocks resending to that person for about three weeks; it also does not unfollow them, since connecting auto-follows. Statuses: withdrawn/not_pending.

Input

profileUrl required

LinkedIn profile URL, e.g. https://www.linkedin.com/in/emmanuelmacron/ (the /in/<publicId> form; query/locale prefixes are tolerated).

Output

status required

withdrawn = the pending invitation was just withdrawn, confirmed by the pending control disappearing; not_pending = no outstanding invitation to this person.

publicId required

vanity id parsed from the URL (decoded)

profileUrl required
name optional
memberId optional

LinkedIn member id read from the pending control's own componentkey. Null on not_pending.

FAQ

Withdraw a pending sent connection invitation by profile URL. Finds the "Pending" control (primary top-card action or three-dot menu item) and confirms the "Withdraw invitation?" dialog. Safe to repeat: it returns not_pending if there's no outstanding invite. After withdrawing, LinkedIn blocks resending to that person for about three weeks; it also does not unfollow them, since connecting auto-follows. Statuses: withdrawn/not_pending.
Ask an AI agent connected to Reduck to run reduck/linkedin.com/withdraw, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/linkedin.com/withdraw
You do not need one. "Withdraw LinkedIn connection invitation" drives the real linkedin.com pages in a browser, so it works whether or not linkedin.com offers an API for this.
Required: profileUrl.
It returns name, status, memberId, publicId, profileUrl.
Yes. It acts as you on linkedin.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the linkedin.com cookies saved by the Reduck extension.
It makes changes on linkedin.com, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/linkedin.com/withdraw, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/linkedin.com/withdraw
It is part of Reduck's official curated catalogue.

Start building not clicking