/v1/actions/linkedin-withdraw-invitation/run/liveWithdraw Invitation cancels a single pending outbound LinkedIn connection request so you free invitation quota and keep your outbound list clean. You get a confirmed withdrawal attributed to your account plus the metadata of the invitation that was pulled back.
This action runs on the LinkedIn level and is built for sales, recruiting, and growth teams who run disciplined invitation hygiene — withdrawing stale invites to keep the acceptance window fresh.
You pass the invitation identifier or the recipient's profile URL. Edges signs the withdrawal with your authenticated LinkedIn session, cancels the pending invite on LinkedIn, and returns the receipt. The run is live: by the time the call completes, the invitation has moved from Sent to withdrawn and your outbound quota is released.
Under the hood the action respects LinkedIn's pacing guidance. If the invitation has already been accepted, declined, or expired, Edges returns a typed error so your workflow can branch cleanly.
Reach for Withdraw Invitation when withdraw decisions are event-driven rather than batch. Event-driven means a rule picks which invite to pull back: a stale-invite job says "anything pending more than 21 days", a CRM flag says "this lead is now a customer, withdraw the outbound invite", an ICP update says "this profile no longer fits, cancel".
It pairs directly with the LinkedIn messaging & outreach API use case — keeping your pending queue clean is how you protect the acceptance rate on the invites that actually matter.
withdrawnAt and the days-pending metric so you can tune the acceptance-window threshold over time.One. Withdraw Invitation is designed for per-record triggers. For bulk cleanup, use the bulk companion action.
Your LinkedIn account. You connect LinkedIn to Edges once; every withdrawal is executed through that authenticated session and appears in your activity log.
Yes. A common chain is Extract LinkedIn Sent Invitations → filter on age → Withdraw Invitation to pull stale rows back, then a downstream job logs the outcome to your CRM.
Run Withdraw Invitation from the Edges library, wire it into your outbound hygiene job, or call it directly from the Edges API. Browse the full Actions library to see what to chain around the withdrawal.
curl -X POST "https://api.edges.run/v1/actions/linkedin-withdraw-invitation/run/live" \
-H "X-API-KEY: <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"identity_ids": [
"your-identity-uuid"
],
"identity_mode": "direct",
"input": {
"linkedin_invitation_urn": "example_value",
"linkedin_invitation_type": "example_value",
"custom_data": "example_value"
}
}'[
{
"linkedin_invitation_id": "example-123",
"linkedin_invitation_urn": "example_value"
}
]