Skip to main content
POST
Approve and send a draft

Authorizations

X-API-Key
string
header
required

Path Parameters

draft_id
string<uuid>
required

Query Parameters

dry_run
boolean
default:false

Report the draft as it would stand once sent, and send nothing.

Body

application/json

What the person's composer shows under the draft's words, and how they approve it.

as_written_only
boolean
default:false

Send it only in the words the AI wrote, spacing aside: the Inbox's Approve and send over many conversations sets it, so a reply somebody edited is refused with 409 and keeps waiting, to be read and sent from its conversation.

rev
integer | null

The reply's feedback session rev as read. When sent, a session a note or an edit changed since is refused (409) and the reply keeps waiting; left out, sending saves the session as it stands.

Required range: x >= 0
signature_block
string | null

The divider and signature exactly as the composer shows them under the draft's words, empty when the person removed them. Sent under the words in place of the mailbox's own signature, so the email is what they saw. Null signs as the mailbox does.

Maximum string length: 4000
without_file
boolean
default:false

Send words that say something is attached even though no file goes with them. Without it such a reply is refused with 422 reply_says_attached.

Response

Successful Response

The reply Approve and send sent, and whether its Needs work's learning was saved.

body_text
string
required
confidence
enum<string> | null
required

How sure the model is. Shown on the card; no band sends without a person.

Available options:
high,
medium,
low
confidence_reason
string | null
required
generated_body_text
string
required
id
string<uuid>
required
saved_learnings
integer
required

How many learnings the reply's Needs work proposed this approval saved: 1 or 0. A proposed learning whose list is full is left unsaved while the reply is sent all the same, so a reply that proposed one and answers 0 saved nothing. On a dry run, how many sending it would save.

saved_learnings_for_all_sequences
integer
required

Of saved_learnings, how many apply to every sequence, not only their own.

source
enum<string>
required
Available options:
auto_drafted,
on_demand
status
enum<string>
required

Where this reply stands. pending_approval: waiting for a person to approve, edit or discard it. scheduled: a reply an older release scheduled, which nothing sends now; it waits for a person exactly as pending_approval does, and is approved, edited or discarded the same way. sending: it is leaving now and can no longer be changed. send_unknown: it was sent, but the mailbox has not confirmed it yet; it settles on its own as sent or send_failed. send_failed: it did not go; write a fresh reply. sent: it went out. discarded: a person rejected it or asked for a new version. stale: the contact wrote again before anyone answered it.

Available options:
pending_approval,
sent,
discarded,
stale,
scheduled,
sending,
send_unknown,
send_failed
steer_text
string | null
required
subject
string | null
required
thread_id
string<uuid>
required
ask_reason
enum<string> | null

Why an older release held this reply for a person when it would otherwise have sent it, for example low_confidence, always_ask, unverified_sender, different_sender or daily_cap. Every reply waits for a person now, so it is null on every reply written since, and on a reply a person asked for.

Available options:
low_confidence,
findings,
insufficient_data,
policy,
always_ask,
sequence_manual,
step_requires_approval,
daily_cap,
unverified_sender,
suppressed,
different_sender,
label,
question,
consecutive_cap,
thread_cap,
hourly_cap,
org_daily_cap,
stale_inbound,
sequence_gone,
bot_question,
automated_counterparty,
kill_switch,
authentication,
language,
linkedin_only,
send_interrupted,
sender_switched_to_manual,
never_say
channel
enum<string> | null

The channel the reply goes out on: the one the message it answers came in on, so a contact who answered a LinkedIn conversation by email is answered by email. Null on a reply written before this was recorded, which goes out on the conversation's own channel.

Available options:
email,
linkedin
confidence_score
integer | null

The model's 0-100 calibration, clamped into the categorical band. Null for drafts that predate the field. Presentation only: every decision reads the categorical confidence.

hand_edited
boolean
default:false

True when a person changed the agent's words (body_text is not generated_body_text): Needs work is off on it, and the edit proposes a learning instead (POST /agent-learnings/hand-edits/).

in_reply_to_message_id
string<uuid> | null

The message this reply answers. Approving an email reply sends it to whoever wrote that message: a colleague answering for the contact is answered with the contact on CC. Null on a reply written before this was recorded.

learning_subject_key
string | null

What a Needs work on this reply is filed under: list its events with GET /agent-learnings/thumbs-downs/?subject_key=. One key for every version of the reply (a Rewrite with no note, a Needs work's rewrite, its Undo), so the note a Needs work left on one version is found on the next. Null on a reply no sequence's agent wrote, which has no agent to save a learning for.

mailbox_id
string<uuid> | null

The mailbox an email reply is sent from: the one the email it answers came in to. Null on a LinkedIn reply, on one written before this was recorded, and once that mailbox is removed; each goes out from the conversation's own mailbox.

newer_reply_message_id
string<uuid> | null

The contact's message that came after the one this reply answers, which puts it out of date: approving it is refused, and a rewrite answers that message. Read on a waiting reply, and on a stale one set aside for it (newer_reply) while no reply of ours went after it. Only when the read names one conversation's drafts; null otherwise, and while the reply answers the newest.

outbound_message_id
string<uuid> | null

The agent's message this reply came from, when a sequence's agent wrote it. Ratings and the send are recorded against that message too. A rating saves no learning; a person's edit of the draft proposes one, which sending saves, and Needs work on the draft teaches too. Null only on a reply an older release wrote for a conversation outside any sequence.

rating
enum<string> | null

The human verdict on this draft, when one was given.

Available options:
good,
bad
rewriting
boolean
default:false

True while a changed learning has the agent write this waiting reply again. Its words stay as they are, and can still be approved, edited or rejected, until the new words replace them; a reply a person approved, edited or sent meanwhile keeps the person's version. False on every other reply.

rewritten_for_learning
string | null

The learning whose change wrote this waiting reply again, as it reads; null on any other draft.

rewritten_for_learning_removed
boolean
default:false

The change took that learning away: a delete, or a move off this sequence.

send_after
string<date-time> | null

When an older release would have sent a scheduled reply; nothing sends it now. Kept on a reply that release sent. Null on a reply that was never scheduled, and on one handed back to a person, edited or approved.

send_outcome
enum<string> | null

How the words a person sent stand to what the AI wrote, decided as they sent it. as_written: the AI's words, unchanged. edited: the person changed them and kept what they say. replaced: the person sent a reply of their own in its place. Null until a person sends it, on a reply an older release sent without one, and on one sent before this was recorded.

Available options:
as_written,
edited,
replaced
sent_by_kind
enum<string> | null

Who sent the reply: person when someone approved it, system on a reply an older release sent without one. Null until it is sent.

Available options:
person,
system
set_aside_because
enum<string> | null

Why a stale reply was set aside. newer_reply: the contact wrote again after the message it answers; its conversation shows it out of date until a person rewrites it (regenerate, which answers the newest message), writes their own reply, or rejects it, which dismisses it as newer_reply_dismissed. answered: a reply of ours went. label: a person's label says the agent does not answer. do_not_contact, stop_request, superseded (another draft took its place). Null on every other reply, and on one set aside before 2026-11-22.

Available options:
newer_reply,
newer_reply_dismissed,
answered,
label,
do_not_contact,
stop_request,
superseded