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

Authorizations

Authorization
string
header
required

Workspace-scoped Dench API key from workspace settings. This is the same key used by DENCH_API_KEY in sandboxes.

Body

application/json
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.

Required string length: 8 - 64
name
string
Maximum string length: 120
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.

Maximum array length: 50
Minimum string length: 1
linkedinAccountIds
string[]

LinkedIn accounts to send from instead of your own running ones. Checked as the draft is created.

Maximum array length: 50
Minimum string length: 1

Response

Successful response

sequenceId
string
required
references
object[]
Maximum array length: 100
referenceCoverage
object