sayintel
Endpoint

Set social discovery

POST/api/public/v1/campaigns/{campaign_id}/discoverywrite

Change a conference's social discovery. Only the fields you pass change. previous_edition: true also searches LAST YEAR's edition on LinkedIn and X (opt-in because it costs extra posts and qualification; get_social_discovery shows the estimate, and it is refused over the account's usage cap); people who went then are stored as returning, never as confirmed for this year, and drafts may not say they will be there. previous_edition_phrase overrides what is searched when the derived phrase is wrong. enabled / x_enabled switch the LinkedIn and X sweeps. event_name and hashtags override what the sweep searches for. sweep_now: true asks the next tick (a few minutes) to sweep regardless of the cooldown. Nothing is sent to anyone.

Request

curl -X POST "https://sayintel.com/api/public/v1/campaigns/<campaign_id>/discovery" \
  -H "Authorization: Bearer $SAYINTEL_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{}'

Try it out

Try it outPOST/api/public/v1/campaigns/{campaign_id}/discoverywrite

Sent as a bearer token to this site only, and kept in this tab's session storage. It is never written to disk or sent anywhere else.

Paste an API key to run.

Path parameters

NameInTypeRequiredDescription
campaign_idpathstringyes—

Body

NameInTypeRequiredDescription
enabledbodybooleanno—
x_enabledbodybooleanno—
previous_editionbodybooleanno—
previous_edition_phrasebodystringno—
event_namebodystringno—
hashtagsbodyarrayno—
target_companiesbodyarraynoReplaces the companies this campaign's sweeps search for by name with the event. Empty clears it. Each company searched costs Apify credit.
sweep_nowbodybooleanno—
workspacebodystringnoNot accepted on this tool: it acts on your own account, and naming another workspace is refused.
acting_accountbodystringnoWhich sayintel login this call acts on: an account_id or email from list_accounts. Required once logins are linked to this connection.

Response

{
  "ok": true,
  "tool": "set_social_discovery",
  "kind": "write",
  "data": { ... },
  "error": null
}

Notes

  • Scope required: write. How scopes work.
  • Accepts Idempotency-Key. A retry with the same key replays the first result instead of repeating the work.
  • Same capability over MCP as the tool set_social_discovery. MCP setup.