Archive a campaign
flow_archive_campaignArchives a campaign for good, whatever its status (ids from flow_list_campaigns): it leaves the campaign list (flow_list_campaigns with archived lists it), cannot be edited, and is never taken back out of the archive; what it sent keeps its figures and stays in the message log. One that could still send (scheduled, preparing, sending, paused, or an A/B test awaiting its winner) is stopped first, and the plan says so. To send it again, duplicate it in the portal.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "flow_archive_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| brandId | No | The id of the brand this change is for: the active brand (flow_whoami). Required when the connection covers several brands; the change is refused when another brand is active. |