sayintel
Endpoint

Archive campaign

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

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

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

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
reasonbodystringnoOptional. Why it is archived, in a few words (kept on the campaign).
workspacebodystringnoOptional. 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_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": "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.