Skip to content

LinkedIn Accounts

Connect LinkedIn accounts, edit their settings and workspace links, and export their connections.

Full name: campaignstack_get_accounts

accounts:read Read-only

Read one or many connected accounts. LinkedIn rows include safety by default because it gates outreach; maintenance is opt-in and bounded. Google rows omit LinkedIn-only safety, budgets and ramp fields. Results are one page. When pagination reports more, say so rather than presenting the page as the whole set, and page through before counting anything.

NameTypeRequiredDefaultDescription
workspaceIdstringNo—Workspace ID. Omit it when this connection reaches one workspace: a workspace key (cs_) is bound to its own, and a user key (csu_) or connected app whose person belongs to exactly one workspace defaults to that one. Required only when the person belongs to several; the error then lists them, and campaignstack_whoami reports them too.
idsstring[]No—
platformlinkedin | googleNo—
includeobjectNo{}
include.maintenancebooleanNofalse
include.safetybooleanNotrue
limitintegerNo50(min: 1, max: 50)
cursorstringNo—

Full name: campaignstack_export_linkedin_connections

accounts:write Acts outside CampaignStack

Start a runner job that exports an account’s first-degree LinkedIn connections into a lead list. This does not send connection requests.

NameTypeRequiredDefaultDescription
workspaceIdstringNo—Workspace ID. Omit it when this connection reaches one workspace: a workspace key (cs_) is bound to its own, and a user key (csu_) or connected app whose person belongs to exactly one workspace defaults to that one. Required only when the person belongs to several; the error then lists them, and campaignstack_whoami reports them too. (min length: 1)
accountIdstringYes—(min length: 1)
maxConnectionsintegerNo—(max: 10000)
listNamestringNo—(min length: 1, max length: 120)
keepUpToDatebooleanNo—

Full name: campaignstack_connect_account

accounts:write Acts outside CampaignStack API key only

Not offered to OAuth connectors (Claude.ai, ChatGPT); call it with an API key.

Return a browser handoff for connecting a new LinkedIn or Google account. Never asks for OAuth secrets, cookies, or passwords in chat.

NameTypeRequiredDefaultDescription
platformlinkedin | googleYes—
workspaceIdstringNo—Workspace ID. Omit it when this connection reaches one workspace: a workspace key (cs_) is bound to its own, and a user key (csu_) or connected app whose person belongs to exactly one workspace defaults to that one. Required only when the person belongs to several; the error then lists them, and campaignstack_whoami reports them too.

Full name: campaignstack_edit_account

accounts:write Destructive Acts outside CampaignStack Needs confirmation

Edit one connected LinkedIn account. Use operation=set_owner_workspace to change the workspace that pays for maintenance/watchers. Use operation=set_watcher to turn the account’s connection watcher, message watcher, own-posts watcher or invitation hygiene on or off (state is in campaignstack_get_accounts include.maintenance): name the account and kind and get a yes first, because enabling a watcher starts drafting outbound messages for review. The first enable creates the watcher and its review-first workflow, later calls pause or resume it; one watcher per kind per account across all workspaces (DUPLICATE_*_EXTERNAL means another workspace runs it; it has to be turned off there first) and it needs a live session (AGENT_ACCOUNT_UNAVAILABLE). Use operation=delete only after naming the account and getting explicit confirmation: delete removes the account from every workspace and clears its CampaignStack session/proxy/budgets/credentials, unlike campaignstack_edit_workspace_accounts unlink which only removes workspace access.

NameTypeRequiredDefaultDescription
workspaceIdstringNo—Workspace ID. Omit it when this connection reaches one workspace: a workspace key (cs_) is bound to its own, and a user key (csu_) or connected app whose person belongs to exactly one workspace defaults to that one. Required only when the person belongs to several; the error then lists them, and campaignstack_whoami reports them too.
platformstringYes—
accountIdstringYes—Connected LinkedIn account id from campaignstack_get_accounts. (min length: 1)
operationoperationYes—Exactly one operation, see below.
NameTypeRequiredDefaultDescription
ownerWorkspaceIdstringYes—Workspace that pays for account maintenance watchers and inbox sends. (min length: 1)
NameTypeRequiredDefaultDescription
kindconnection_watcher | message | own_posts_watcher | invitation_hygieneYes—connection_watcher welcomes new connections, message answers inbound DMs, own_posts_watcher follows up with people engaging with the account’s posts, invitation_hygiene withdraws the account’s oldest pending invitations.
enabledbooleanYes—
NameTypeRequiredDefaultDescription
confirmedbooleanYes—Required acknowledgement that the named account should be deleted from CampaignStack.

Full name: campaignstack_edit_account_proxy

proxy:write Destructive Acts outside CampaignStack Needs confirmation API key only

Not offered to OAuth connectors (Claude.ai, ChatGPT); call it with an API key.

Non-OAuth private proxy tool for LinkedIn accounts: inspect, replace, or remove. Inspect never returns the password; replace accepts a secret only on this non-OAuth surface.

NameTypeRequiredDefaultDescription
workspaceIdstringNo—Workspace ID. Omit it when this connection reaches one workspace: a workspace key (cs_) is bound to its own, and a user key (csu_) or connected app whose person belongs to exactly one workspace defaults to that one. Required only when the person belongs to several; the error then lists them, and campaignstack_whoami reports them too. (min length: 1)
accountIdstringYes—(min length: 1)
operationoperationYes—Exactly one operation, see below.

No fields besides op.

NameTypeRequiredDefaultDescription
hoststringYes—(min length: 1)
portintegerYes—(min: 1, max: 65535)
usernamestringNo—
passwordstringNo—

No fields besides op.


Full name: campaignstack_edit_workspace_accounts

accounts:write

Link or unlink already-connected LinkedIn/Google accounts to a workspace. Nothing is re-authenticated or sent.

NameTypeRequiredDefaultDescription
workspaceIdstringNo—Workspace ID. Omit it when this connection reaches one workspace: a workspace key (cs_) is bound to its own, and a user key (csu_) or connected app whose person belongs to exactly one workspace defaults to that one. Required only when the person belongs to several; the error then lists them, and campaignstack_whoami reports them too. (min length: 1)
operationsobject[]Yes—