Update campaign messaging
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
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 |
|---|---|---|---|---|
| pitch | body | string | no | — |
| cta | body | string | no | — |
| tone | body | string | no | — |
| locked_ask | body | string | no | The 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_pitch | body | string | no | The locked 'what we do' line, written to campaign_config.m1_pitch_locked. Drafts must carry it verbatim. |
| pitch_mode | body | stringlocked | guided | flexible | no | How 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. |
| clear | body | array | no | Fields to set to null on purpose. |
| 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": "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.