Skip to main content
DELETE
Permanently delete a campaign and all associated data including contacts, executions, and schedules.
Running campaigns cannot be deleted. Stop the campaign first using the stop endpoint.
This action is irreversible. All campaign data, contacts, and execution history will be permanently deleted.

Path Parameters

  • campaign_id (integer, required): The unique identifier of the campaign

Response

Response

What Gets Deleted

When you delete a campaign, the following data is permanently removed:
  • Campaign configuration and settings
  • All imported contacts
  • Execution history and logs
  • Schedule configurations
  • Import history records

Example Code

cURL
Python
JavaScript

Error Responses

Best Practices

  • Export data first if you need to keep records of the campaign results
  • Stop running campaigns before attempting to delete
  • Consider pausing instead of deleting if you might need the campaign later

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

campaign_id
integer
required

Response

Successful Response