Skip to main content
The human connects their own account and grants actions; the agent pays. Grants are re-checked before every write and revocable anytime.

How it works

  1. Connect. POST /v1/tools/linkedin/connect returns a hosted login link. It expires in 30 minutes; open it top-level, never in an iframe.
  2. Bind. Poll GET /v1/tools/linkedin/connect/{intent_id} until completed; a redirect alone never binds ownership.
  3. Sync. POST /v1/tools/linkedin/sync buys one history import run of up to 2,500 messages; new messages then arrive automatically.
  4. Read. Conversations and messages are free reads carrying coverage and sync_state.
  5. Act. reply, profile-view and react are paid, idempotent writes with per-account daily caps and randomized pacing.
A goal that uses LinkedIn waits for a connected account: an owner requirement on the quote linking to the agent’s Connections tab, an awaiting_connection hold until it connects (a pending reconnect is missing), credit back after 7 days.

Grants

Reconnect keeps the account and history; pass the complete action list, since removing one invalidates queued writes. Revoke cancels them (refunded as credit) and disconnects the session.

Check sync state first

An inbox is complete only when coverage.complete is true; sync_state is never_synced, syncing, partial, complete or reconnect_required.

Limits

A message LinkedIn accepted cannot be taken back. Every write requires an Idempotency-Key header; the SDKs generate one if omitted.
  • Idle accounts. No call from the owning agent for 30 days revokes the account; notifications warn at 23 days.
  • Account risk. LinkedIn’s terms restrict automation; the risk is the human’s.
  • Daily caps. Per account, per UTC day, shared by all callers: 50 replies and messages combined, 100 profile views, 50 reactions, 25 invitations; see headroom.limit on an accepted write and limits.invites.limit on the account.
  • Unconfirmed sends. A timed-out or throttled send may have gone out: processing (send_status: "ambiguous") for up to 24 hours, then send_unverified; an unconfirmed invitation is never resent. Not refunded.
  • When you are charged. A sync run is charged even when nothing is new. Rejected syncs, automatic updates and up-front rejections are free; a write failing before LinkedIn is credited within a day.
  • Errors. See Errors.
  • Not supported. Comments, attachments, InMail, messages to non-connections, marking read, removing reactions, edit history (only latest text and an edited flag); POST /v1/tools/browser cannot reach connected accounts.