---
title: "Create a draft outreach campaign with email and LinkedIn sender pools and a business-hours send window in the given timezone"
method: POST
path: "/campaigns"
tags: ["campaigns"]
---

# Create a draft outreach campaign with email and LinkedIn sender pools and a business-hours send window in the given timezone

`POST /campaigns`

## Request

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

Create a draft outreach campaign with email and LinkedIn sender pools and a business-hours send window in the given timezone.

## Request body

- object
  - `name` string, required
  - `emailMailboxAccountIds` string[]: Campaign email sender pool: up to 50 emailMailboxAccounts ids both you and the campaign owner may use. Omit to preserve existing configuration; [] clears the pool. A person's sender stays fixed for their conversation. Launch validates sender availability.
  - `linkedinAccountIds` string[]: Campaign LinkedIn sender pool: up to 50 linkedinAccounts ids both you and the campaign owner may use. Omit to preserve existing configuration; [] clears the pool. Legacy step senders remain until a pool is configured.
  - `timezone` string: IANA timezone for the default Mon-Fri 9-18 send window.

## 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)
