email-drafts
Author a new outbound email draft
post/v1/email/drafts
Request body
session_idstring uuid required
account_idstring uuid required
agent_idstring uuid nullable
mode'human_only' | 'copilot' required
in_reply_to_turn_idstring uuid nullable
subjectstring required
body_htmlstring required
body_textstring nullable
Response
Successful Response
idstring uuid required
organization_idstring uuid required
session_idstring uuid required
account_idstring uuid required
agent_idstring uuid nullable required
in_reply_to_turn_idstring uuid nullable required
mode'human_only' | 'copilot' required
status'draft' | 'submitted' | 'approved' | 'sending' | 'sent' | 'failed' | 'discarded' required
approval_state'unsubmitted' | 'pending' | 'approved' | 'rejected' | 'auto_approved' required
subjectstring required
body_htmlstring required
body_textstring nullable required
approved_by_member_idstring uuid nullable required
approved_atstring date-time nullable required
sent_turn_idstring uuid nullable required
evidence_snapshotobject nullable required
auto_send_reasonstring nullable required
discarded_by_member_idstring uuid nullable required
discarded_atstring nullable required
created_atstring date-time required
updated_atstring date-time required