Skip to main content
PUT
Save Working Draft

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

campaign_id
string<uuid>
required

Body

application/json

PUT /campaigns/{id}/playground/draft body.

A working draft is an in-progress edit that AUTO-SAVES as the reviewer types — it NEVER sends. Unlike ApproveLeadRequest this deliberately does NOT reject blank or {{placeholder}}-bearing content: mid-edit the field can be empty or half-typed, and the draft is never a ship action. Approve stays the only path that freezes a sendable blob.

campaign_lead_id
string<uuid>
required

Lead whose working draft is being saved.

step_index
integer
required

Step number the working draft belongs to (1-indexed).

Required range: 1 <= x <= 32
subject
string
required

In-progress subject (may be empty while typing).

Maximum string length: 998
body
string
required

In-progress body (may be empty while typing).

Maximum string length: 50000

Response

Successful Response

PUT /campaigns/{id}/playground/draft response.

campaign_id
string<uuid>
required
campaign_lead_id
string<uuid>
required
step_index
integer
required
working_draft
WorkingDraftState · object
required

A saved-but-unapproved working draft for one (lead, step).

updated_at
string<date-time>
required