sayintel
Endpoint

Update campaign config

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

Set a campaign's proof points (the only customer names, numbers and outcomes a draft may claim, each shipped verbatim) and banned phrases (words no draft may use; a draft carrying one hard-fails QA). Each list you pass REPLACES the stored one; pass [] to clear it, omit it to leave it alone. Proof points are stored as stated by the client, so drafts may quote them. Pass client_id to make sure you are editing the right client's campaign: a campaign belonging to another client is refused. The locked ask and pitch are set with update_campaign_messaging. Returns before and after; existing drafts keep their text until rescored or rewritten.

Request

curl -X POST "https://sayintel.com/api/public/v1/campaigns/<campaign_id>/config" \
  -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}/configwrite

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
client_idbodystringnoThe client you expect this campaign to belong to. Refused on a mismatch.
proof_pointsbodyarrayno—
banned_phrasesbodyarrayno—
confirmbodybooleannoOver an OAuth connection this write is staged until confirm=true: the first call returns a preview and the exact call that commits. Token callers run it at once.
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": "update_campaign_config",
  "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 update_campaign_config. MCP setup.