Skip to main content
POST
Create campaign

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
name
string
required
identityId
string
required

Sending identity id OR a verified from-email.

templateId
string
required
scheduledAt
number

Epoch ms to start sending; omit to send on submit.

maxRecipients
number
batchSize
number
metadata
object

Response

Successful response

campaignId
string
required