cliDeterministic

Launch prepared campaign

pipeline launch-prepared-campaign

Activate a campaign that was prepared by prepare-campaign-launch. Requires the exact expiring approvalId and confirm=true. Revalidates workspace ownership and campaign draft status, atomically consumes the approval, and starts delivery idempotently.

Parameters

workspaceId
string
Optional with API-key auth. Inferred from the key.
approvalIdrequired
string
Approval ID returned by prepare-campaign-launch.
confirmrequired
boolean
Must be true after the operator explicitly approves the preview.

Example

CLI commandbash
pipeline launch-prepared-campaign \
--approval-id "00000000-0000-4000-8000-000000000000" \
--confirm

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"launched": {
"type": "boolean"
},
"reason": {
"type": "string"
},
"campaignId": {
"type": "string"
},
"prospectsUploaded": {
"type": "number"
},
"sourceTableIds": {
"type": "array",
"items": {
"type": "string"
}
},
"channels": {
"type": "object"
}
},
"required": [
"launched"
]
}

Exit codes

1
Invalid input or local configuration.
2
The API or tool returned an error.
3
Authentication failed.
4
A network request failed.
Pipeline CLI documentation | Pipeline