Skip to main content

DELETE /campaigns/:id

Delete a campaign. Only draft and sent campaigns can be deleted. Running, scheduled, or paused campaigns must be completed or cancelled first.

Authentication

JWT Bearer token (dashboard auth)

Response

{
  "success": true
}

Example

curl -X DELETE "https://app.usesendi.com/api/campaigns/CAMPAIGN_ID" \
  -H "Authorization: Bearer YOUR_JWT_TOKEN"

Errors

StatusErrorCause
404Campaign not foundInvalid ID or not owned by user