sayintel
Endpoint

Update campaign messaging

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

Change what the drafter is told about this campaign: pitch (what we do, one or two sentences), cta (the ask), tone, and the LOCKED phrasing: locked_ask (the exact closing line every first message must carry, 4-160 characters) and locked_pitch (4-200 characters), plus pitch_mode (locked, guided or flexible: whether locked_pitch is repeated verbatim or is a base the drafter and the sender's edits can vary). Only the fields you pass change; an empty string is refused rather than written, and clearing a field is explicit through `clear`. Returns before and after. Drafts already written keep their text; the next drafting pass and any rewrite read the new values.

Request

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

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
pitchbodystringno—
ctabodystringno—
tonebodystringno—
locked_askbodystringnoThe locked ask: the exact closing line every first message must carry, e.g. 'Open to meeting up there?'. Written to campaign_config.m1_cta_locked, which the drafter and QA read before the cta column.
locked_pitchbodystringnoThe locked 'what we do' line, written to campaign_config.m1_pitch_locked. Drafts must carry it verbatim.
pitch_modebodystringlocked | guided | flexiblenoHow strictly the first message repeats locked_pitch. 'locked' (default) is verbatim. 'guided' treats it as a base: the pitch rotates between the base and the wordings the sender approved, and a sender's edit to the pitch sentence becomes the new base. 'flexible' behaves as 'guided' for now.
clearbodyarraynoFields to set to null on purpose.
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": "update_campaign_messaging",
  "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_messaging. MCP setup.