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

Get Campaign

Retrieve a campaign with all its steps and current status.
path idstringrequired
Campaign ID (UUID)
Request example
curl https://api.v2.dealmachine.com/v1/mail/campaigns/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \ -H "Authorization: Bearer dm_sk_live_xxx"
Response example
{ "data": { "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "organization_id": 42, "name": "Spring Seller Campaign", "status": "active", "type": "one_off", "total_recipients": 150, "total_sent": 120, "total_delivered": 115, "steps": [{ "id": "1", "step_order": 1, "design_id": "design-uuid-123", "delay_days": 0, "repeat_count": 1 }], "created_at": "2026-03-01T14:23:45Z", "launched_at": "2026-03-02T10:00:00Z" } }