---
title: "Create an idempotent empty campaign draft with the caller's available sender pools. Does not launch or send"
method: POST
path: "/campaigns/drafts"
tags: ["campaigns"]
---

# Create an idempotent empty campaign draft with the caller's available sender pools. Does not launch or send

`POST /campaigns/drafts`

## Request

- Base URL: `https://www.dench.com/api/v1`
- URL: `https://www.dench.com/api/v1/campaigns/drafts`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Create an idempotent empty campaign draft with the caller's available sender pools. Does not launch or send.

## Request body

- object
  - `clientRequestId` string, required: Your stable id for this request, 8-64 characters. Retrying with the same id returns the same draft instead of creating another.
  - `name` string
  - `timezone` string: IANA timezone, e.g. America/Los_Angeles. Sets a Mon-Fri 9-18 send window in it; without one the draft has no send window.
  - `emailMailboxAccountIds` string[]: Mailboxes to send from instead of your own running ones. Checked as the draft is created: one you can't use creates nothing.
  - `linkedinAccountIds` string[]: LinkedIn accounts to send from instead of your own running ones. Checked as the draft is created.

## Response `200`

Successful response

- object
  - `sequenceId` string, required
  - `references` union[]
    - union
      - object
        - `kind` 'crm-entry', required
        - `objectName` string, required
        - `entryId` string, required
        - `label` string, required
        - `href` string, required
        - `url` string
        - `imageUrl` string
        - `objectIcon` string
      - object
        - `kind` 'crm-object', required
        - `objectName` string, required
        - `label` string, required
        - `href` string, required
        - `url` string
        - `imageUrl` string
        - `objectIcon` string
      - object
        - `kind` 'campaign', required
        - `sequenceId` string, required
        - `label` string, required
        - `href` string, required
        - `url` string
        - `imageUrl` string
        - `objectIcon` string
  - `referenceCoverage` object
    - `returned` integer, required
    - `available` integer, required
    - `truncated` boolean, required

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid authentication
- `404`: Operation or resource not found
- `500`: Server error

---

[API](https://skmtc.dev/dench/apis/dench-api.md) - [All operations](https://skmtc.dev/dench/apis/dench-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dench/apis/dench-api/revisions/4a145b38f19c?raw)
