> ## Documentation Index
> Fetch the complete documentation index at: https://api.docs.dealmachine.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Launch Campaign

> Launch a draft campaign

Launch a draft campaign to begin sending mail. This validates wallet credits, enrolls recipients, and begins the sending pipeline.

Returns `402 Insufficient Credits` if your wallet balance cannot cover the campaign cost. Use `GET /campaigns/{id}/cost-estimate` to check before launching.

<ParamField path="id" type="string" required>
  Campaign ID (UUID)
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST https://api.v2.dealmachine.com/v1/mail/campaigns/a1b2c3d4/send \
    -H "Authorization: Bearer dm_sk_live_xxx"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "data": {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "status": "active",
      "total_recipients": 150,
      "launched_at": "2026-03-11T14:23:45Z"
    }
  }
  ```

  ```json 402 theme={null}
  {
    "error": {
      "code": "insufficient_credits",
      "message": "Insufficient wallet credits to launch this campaign",
      "request_id": "req_abc123",
      "details": {
        "required_cents": 10800,
        "available_cents": 5000,
        "shortfall_cents": 5800
      }
    }
  }
  ```
</ResponseExample>
