Building a webhook integration? Read the webhook guide for signatures, retries, event schemas, and troubleshooting.
apiDeterministic

Launch prepared campaign

POST /api/v1/strategy/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

REST requestbash
curl -X POST "https://app.pipeline.help/api/v1/strategy/launch-prepared-campaign" \
-H "Authorization: Bearer $PIPELINE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"approvalId":"00000000-0000-4000-8000-000000000000","confirm":true}'

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"
]
}

HTTP errors

401
Missing or invalid API key.
403
Authenticated but not permitted for the workspace or resource.
404
The requested resource was not found.
Pipeline REST API reference | Pipeline