Skip to main content
POST
Write personalized lines for the people missing them (mode missing) or rewrite everyone's (mode all). Rewriting everyone or more than 100 people returns needsConfirm and the estimate until called with confirmed: true

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.

Path Parameters

sequenceId
string
required

Body

application/json
mode
enum<string>

missing (default): only people without lines. all: rewrite everyone's.

Available options:
missing,
all
confirmed
boolean

true after the user accepts the estimate from needsConfirm.

Response

Successful response

version
number
required
eligible
number
required

People who would get a line.

estimatedCents
number
required

About 3 cents a person.

needsConfirm
boolean
required

True when nothing was written: confirm with campaigns.personalization.write and confirmed: true.

queued
number
required

People whose lines are being written now.