Skip to content

Lead Magnets

Discover LinkedIn posts that gate a resource behind a comment and work their comment sections.

Full name: campaignstack_get_lead_magnets

magnets:read Read-only

Read lead-magnet posts, seeds, creators, runs, settings, and insights through one stable items[] envelope. Includes are bounded and optional.

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.
includeobjectNo{"posts":true}
include.postsbooleanNofalse
include.seedsbooleanNofalse
include.creatorsbooleanNofalse
include.runsbooleanNofalse
include.settingsbooleanNofalse
include.insightsbooleanNofalse
filtersobjectNo—
filters.postStatuscandidate | sourced | dismissedNo—
filters.creatorStatuscandidate | promoted | dismissedNo—
filters.topicstringNo—
filters.seedIdsstring[]No—
filters.runIdstringNo—
filters.nichestringNo—
filters.weekstringNo—
limitintegerNo20(min: 1, max: 200)

Full name: campaignstack_discover_lead_magnets

magnets:write Acts outside CampaignStack Needs confirmation

Start topic-search discovery or resolve explicit LinkedIn post URLs. Topic search spends 500 credits and requires confirmCost:true before any discovery action. Explicit URLs are asynchronous seeds and can be checked with get_lead_magnets include.seeds.

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.
modetopic_search | post_urlsNo—
topicsstring[]No—
postUrlsstring[]No—
confirmCostbooleanNo—Required for topic_search because it starts a 500-credit discovery run.

Full name: campaignstack_edit_lead_magnets

magnets:write

Apply lead-magnet post source/dismiss, creator promote/dismiss, topic edits, or weekly schedule edits. Enabling weekly discovery requires confirmRecurringCost:true because it repeats a 500-credit search until disabled.

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.
operationsoperation[]Yes—One or more operations, see below.
NameTypeRequiredDefaultDescription
clientOperationIdstringNo—
junctionIdstringYes—(min length: 1)
dispositionsource | dismissYes—
readAccountIdsstring[]No—For disposition=source: LinkedIn accounts that read/watch the post and collect commenters.
sendAccountIdsstring[]No—For disposition=source: LinkedIn accounts that contact sourced commenters.
NameTypeRequiredDefaultDescription
clientOperationIdstringNo—
creatorIdstringYes—(min length: 1)
dispositionpromote | dismissYes—
NameTypeRequiredDefaultDescription
clientOperationIdstringNo—
addstring[]No—
removeIdsstring[]No—
NameTypeRequiredDefaultDescription
clientOperationIdstringNo—
enabledbooleanYes—
topicsstring[]No—
confirmRecurringCostbooleanNo—Required when enabled=true; weekly discovery costs 500 credits per run and repeats until disabled.