Skip to main content
POST
Launch email template

Authorizations

x-api-key
string
header
required

CX API key. Create one in CX under Settings → Advanced → API Keys.

Path Parameters

email_template
string
required

Email template ID

Query Parameters

force
string

Opt in to the user-mailbox fallback when no managed method is configured

Body

application/json

Email schedule with recipients

allow_partial
boolean

Deprecated: read by nothing, and its Outbox behaviour does not exist in the post-ENG-8318 pipeline. Use StopOnRenderFailure; remove once backend-monorepo's generated bindings stop referencing it (ENG-8602).

cc
string[]

Variables (eg. "contacts:*")

clients
string[]
clients_filter
object

Filter instead of predefined list?

file
string

Who are we launching it for? (clients/plans)

from
string

Variables to get From, To and Cc from client list or filtered clients

plans
string[]
plans_filter
object
stop_on_render_failure
boolean

Send nothing at all if any target fails to render, rather than skipping it and mailing the rest. Zero value is the historical skip-and-continue behaviour, so older records keep working (ENG-8602).

timestamp
string

When are we launching it?

to
string[]

Variables (eg. "contacts:[role]")

Response

Launch result

ok
boolean
scheduled
boolean
send_id
string