{"uid":"cap_SnC95LJOX819LjkOIjQnB","slug":"linkedin-invitation-withdraw-4bd4949f","name":"LinkedIn Invitation Withdraw","description":"Tools, payments, and compute orchestration for autonomous AI agents.\n\n## Authentication\n\n- **`x402Payment`** — paid tool endpoints use the [x402 payment protocol](https://x402.io).\n  First call returns `402 Payment Required` with a quote; sign and resend the request\n  with `Authorization: <signed payment header>` and `X-Quote-ID: <quote_id>`.\n- **`agentId`** — free read-only endpoints accept `X-Agent-ID: <wallet>` (0x… address).\n- **`soulKey`** — soul marketplace seller dashboard uses `Authorization: Bearer soul_…`\n  (issued by `POST /v1/soul/register`).\n- **`acpBearer`** — Stripe ACP checkout sessions use a separate bearer token plus the\n  `API-Version: 2026-01-30` header.\n\n## Async tools & polling\n\nMost tool endpoints return `202 Accepted` with `{ request_id, tool, status }`. Poll\n`GET /v1/requests/{id}` (with the same `X-Agent-ID`) to retrieve the final result.\nA WebSocket fallback is available at `wss://<host>/v1/requests/subscribe`.\n\n## Pricing\n\nSee [docs.oneshotagent.com/pricing](https://docs.oneshotagent.com/pricing) for the full\ntable. Per-call costs for this environment, rendered from the same config the routes bill from:\n\n| Tool | Cost |\n|---|---|\n| Web search | $0.001 |\n| Web read | $0.002 |\n| Research | $0.01 |\n| Person enrichment | $0.005 |\n| Email verification | $0.001 |\n| Deep research (person) | $0.05 |\n| Social profiles | $0.50 |\n| Local business search | $0.01 |\n| Commerce search | $0.002 |\n| LinkedIn history sync | $0.02 per bounded run |\n| LinkedIn reply | $0.02 per message |\n| LinkedIn profile view | $0.01 per view |\n| LinkedIn post reaction | $0.01 per reaction |\n| Email send | quote-based; service fee from $0.005 per send |\n| SMS send | $0.0035 per segment per recipient |\n| Voice call | $0.35/minute + $5.00 number registration on the first call |\n| Browser task | quote-based; minimum $0.005 |\n| Website build | quote-based; from $1.00 |\n| Compute goal | quote-based; minimum budget $1.00 + 20% platform fee |\n\n## Error format\n\n`{ \"error\": \"<machine_code>\", \"message\": \"<human readable>\", \"details\": <optional> }`.\nValidation errors include a `details` field with the failing field paths.","url":"https://win.oneshotagent.com/v1/tools/linkedin/invite/withdraw?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"account_id":{"type":"string"},"invitation_id":{"type":"string"}}},"responseSchema":{"type":"json","example":{"status":"processing","linkedin":{"invitation_id":"uuid"},"request_id":"uuid"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7tFw9dCk6OFtAa_MsR-RQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Withdraws a pending outgoing LinkedIn connection invitation on behalf of a specified account.","exampleAgentPrompt":"Withdraw my pending LinkedIn invitation with ID inv-abc123 on my account 0xWallet123 — I sent it by mistake and want to cancel it before they see it.","exampleUseCases":[{"title":"Retract mistaken connection request","prompt":"I accidentally sent a LinkedIn invite to the wrong person — the invitation ID is inv-xyz789 on account acc-001. Can you withdraw it right away?"},{"title":"Clean up stale outbound invites","prompt":"I have a pending LinkedIn invite that's been sitting unanswered for 3 weeks. Withdraw invitation inv-stale456 on my account acc-002 so I can re-send it later."},{"title":"Automated outreach campaign reset","prompt":"Our outreach sequence went wrong and sent a connection request we need to cancel. Please retract LinkedIn invitation inv-campaign999 on account acc-007 immediately."}],"resultDescription":"Returns a 202 Accepted response with a JSON body containing a request_id, the tool name, and a processing status. The actual withdrawal result can be retrieved by polling GET /v1/requests/{request_id} with the same Agent ID. The response also echoes back the invitation_id that was targeted.","failureModes":["Invalid or non-existent invitation_id returns an error or empty result on polling","Invitation already accepted or expired — cannot be withdrawn","Account_id not authorized or not found","Rate limiting or LinkedIn anti-bot restrictions causing failures","Payment not completed (402 Payment Required) — must sign and resend with payment header","Polling timeout if LinkedIn takes too long to process withdrawal"],"whenToPreferThis":"Use this endpoint when you need to programmatically cancel an outgoing LinkedIn connection invitation that has not yet been accepted, particularly in automated outreach workflows or agent-driven LinkedIn management pipelines. Prefer this over manual LinkedIn UI actions when operating at scale or within an agentic workflow that already uses the OneShot Agent API for LinkedIn automation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T06:30:42.114Z","isFirstParty":false,"canonicalSlug":"linkedin-invitation-withdraw-4bd4949f"}