Campaigns
Delete a campaign
Permanently delete a campaign. Its outreach stops for good, so no further steps are sent: remaining steps are skipped and queued emails cancelled (messages and invitations already sent are not retracted). The campaign's lists and contacts are kept. Its outreach logs (GET /api/v1/campaigns/{id}/logs) are no longer retrievable through the API. Deletion cannot be undone. An active campaign can be deleted directly; it does not need to be deactivated first. A campaign is the outreach side of an agent, so this also deletes the lead source agent with the same id. Needs the campaigns:write scope.
delete
https://app.replysparrow.com/api/v1/campaigns/{id}Authorizations
Path Parameters
Campaign id
Response
application/jsonCtrl+I
Delete a campaign
curl --request DELETE \ --url https://app.replysparrow.com/api/v1/campaigns/string \ --header 'Authorization: Bearer <token>'{ "id": "5b0c6c1e-8a43-4f7e-9d7d-1f8a2b3c4d5e", "deleted": true}