Skip to main content
PUT
Edit a conversation's reply draft

Authorizations

Authorization
string
header
required

An API key, sent as Authorization: Bearer stfy_live_…. See Authentication for how to get one and which scopes it needs.

Path Parameters

conversation_id
string
required

The conversation's id, from GET /v1/conversations

Body

application/json
payload
Payload · object
required

The reply's new content, merged over the draft's (a key given replaces that key): for an email to, cc, subject, body; for a Slack, Teams, portal or in-app reply body

draft_updated_at
string | null

The draft's updated_at as you read it (the conversation's draft.updated_at): a 409, with nothing saved, when it changed since. Optional

Required string length: 1 - 64

Response

200 - application/json

Successful Response

id
string
required

The action's id

payload
Payload · object
required

The draft as it stands, as the app's editor shows it: for an email its recipients, subject and body, for a reply its text, for a tool approval each tool call and its arguments, for an escalation the reason and urgency. Its keys vary by type

priority
integer
required

Its priority, lower being more urgent; lists here are ordered by recent activity, not by it

status
string
required

in_progress (waiting on a person), skipped (set aside), executed (approved and done) or dismissed

title
string
required

The card's title, as the queue shows it

type
string
required

What it does once approved: email, slack, teams, portal, in_app_sdk, ticket_reply (a reply to send), ticket or task (one to create), tool_approval (tool calls to run), escalation (a decision handed to a person), canvas (a meeting prep brief)

account_id
string | null

The account it is about, as /v1/objects/account/records ids it

account_name
string | null

That account's name

agent
WorkbenchAgent · object | null

The digital worker that drafted it, as a conversation's agent names it; null for the workbench agent's drafts and a person's

assignee
ConversationPerson · object | null

Whose queue it is in; null for a shared draft no one holds (a digital worker's hold)

conversation_id
string | null

The conversation it replies on (GET /v1/conversations/{conversation_id}); null for a card on no thread

created_at
string | null

ISO 8601 UTC

description
string | null

The card's summary line, as the queue shows it

dismiss_reason
string | null

Why it was dismissed, as recorded; null unless dismissed

dismissed_at
string | null

ISO 8601 UTC: when it was dismissed; null unless dismissed

executed_at
string | null

ISO 8601 UTC: when it was approved and carried out; null unless executed

execution_result
Execution Result · object | null

What carrying it out returned (a sent message's ids, a created task); null unless executed

last_activity_at
string | null

ISO 8601 UTC: when it was carried out or dismissed, else when it was made; the list's order, as a conversation's last_message_at is the conversation list's

meeting_start
string | null

ISO 8601 UTC: for a recorded meeting's follow-up, when the meeting started

meeting_title
string | null

For a recorded meeting's follow-up, the meeting's title

original_payload
Original Payload · object | null

The draft as the agent first wrote it; differs from payload when a person edited it. Null for a card a person made

resolution
string | null

How it ended, such as executed, user_dismiss (a person dismissed it), agent_supersede or reply_supersede (a newer draft replaced it), answered_by_team (a teammate answered first) or conversation_closed; null while open, and on actions older than this record

resolved_by
ConversationPerson · object | null

The person who ended it; null when an agent or the system did, or while open

source
string | null

What raised it, such as completed_meeting (a recorded meeting's follow-up), upcoming_meeting (a meeting's prep) or stella_chat (a draft made in chat); null when nothing did

source_id
string | null

That signal's id: for a meeting follow-up the meeting's activity (GET /v1/activities/{id}), for prep its calendar event

updated_at
string | null

ISO 8601 UTC: its last change (an edit to the draft), else when it was made; the version a write takes back as updated_at (draft_updated_at on a conversation's draft routes)