Set social discovery
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
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.
Path parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| campaign_id | path | string | yes | — |
Body
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| enabled | body | boolean | no | — |
| x_enabled | body | boolean | no | — |
| previous_edition | body | boolean | no | — |
| previous_edition_phrase | body | string | no | — |
| event_name | body | string | no | — |
| hashtags | body | array | no | — |
| target_companies | body | array | no | Replaces the companies this campaign's sweeps search for by name with the event. Empty clears it. Each company searched costs Apify credit. |
| sweep_now | body | boolean | no | — |
| workspace | body | string | no | Not accepted on this tool: it acts on your own account, and naming another workspace is refused. |
| acting_account | body | string | no | Which 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.