Delete a campaign
DELETE
/v1/campaigns/{id}Secret key — sk_… or sk_test_… · Base URL https://api.volanea.com
Deletes the campaign and its recipient rows.
A campaign that is currently sending answers 409 — cancel it with POST /v1/campaigns/{id}/cancel first, so the in-flight batch stops rather than being orphaned mid-send.
Messages already dispatched are not recalled. They stay in the send log and keep recording opens and clicks; what goes away is the campaign's own aggregate view of them.
Path parameters
idstringrequiredCampaign id.
Response
Deleted.
successbooleanrequired
Errors
Every failure returns the standard envelope — branch on `code`, never on the wording of `error`.
401Missing or invalid API key.404Not found.409Cancel a sending campaign before deleting it (`invalid_state`).422Request validation failed (code `validation_error`, 422).
Request
curl https://api.volanea.com/v1/campaigns/id_123 \
-X DELETE \
-H "Authorization: Bearer sk_..."Response
200 · application/json
{
"success": true,
"data": {
"success": true
}
}92 endpoints · OpenAPI document