CLI command
tinbox update-campaign
Update a campaign's settings or content. Only works for campaigns in draft or in_review status. Use to edit subject, content, audience/segment, sender details (from/reply-to/preview text), or move/clear the proposed send time (null clears it).
Generated from tool: update_campaignUsage
sh
tinbox update-campaign --id <id> --subject <subject> --content <content> --title <title> --audienceId <audienceId> --segmentId <segmentId> --fromName <fromName> --fromEmail <fromEmail> --replyTo <replyTo> --previewText <previewText> --proposedSendAt <proposedSendAt>Flags
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
--id | string | yes | — | The campaign id. |
--subject | string | yes | — | New email subject line. |
--content | string | yes | — | New email body content (markdown). |
--title | string | yes | — | New internal title. |
--audienceId | string | yes | — | Change target audience. |
--segmentId | string | yes | — | Change the segment (null = whole audience). |
--fromName | string | yes | — | Sender name. |
--fromEmail | string | yes | — | Sender email. |
--replyTo | string | yes | — | Reply-to address. |
--previewText | string | yes | — | Inbox preview text. |
--proposedSendAt | string | yes | — | Move the PROPOSED send time (Unix ms), or null to clear it. Draft-only; a human still schedules. |