Archive campaign
Archive a conference (campaign) that is finished: it leaves every queue and count, its queued or running pipeline runs are cancelled, and no scheduled work runs for it any more (weekly rescrape, social sweeps, X discovery, side events, pipeline ticks, daily stats and notify emails). Nothing is deleted: people, drafts, research and HeyReach links stay, and unarchive_campaign brings it back (a new run is started by hand). Its open scrape and social-sweep tasks are closed and its Exa monitors disarmed. Refused while a redraft is running (let it finish or cancel it first), so its drafts are not left parked. Archiving an already archived conference keeps the first stamp and cancels or closes anything started since. Optional reason is kept on the campaign. Ask the person before archiving.
Request
curl -X POST "https://sayintel.com/api/public/v1/campaigns/<campaign_id>/archive" \
-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 |
|---|---|---|---|---|
| reason | body | string | no | Optional. Why it is archived, in a few words (kept on the campaign). |
| workspace | body | string | no | Optional. Make this change on another account where you hold an ADMIN seat on the whole account: pass the workspace_id that list_workspaces returns. Omit to use your own account. Refused for viewer and member seats and for client or conference seats. Never sends. |
| 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": "archive_campaign",
"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 archive_campaign. MCP setup.