Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Pause Campaign

Pause an active campaign, or a ready campaign that accepts properties. Mail already submitted to the vendor will still be delivered. Properties added while the campaign is paused wait at step 1 and no mail goes out for them until you resume with POST /campaigns/{id}/resume.
An ended campaign cannot be paused and returns 409 campaign_ended.
path idstringrequired
Campaign ID (UUID)
Request example
curl -X POST https://api.v2.dealmachine.com/v1/mail/campaigns/a1b2c3d4/pause \ -H "Authorization: Bearer dm_sk_live_xxx"
Response example
{ "error": { "code": "campaign_ended", "message": "This campaign has ended and cannot be paused.", "request_id": "req_abc123" } }