drafts

Create a draft

post/v1/drafts

Request

  • Base URL: https://api.replylayer.ai
  • URL: https://api.replylayer.ai/v1/drafts
  • Auth: HTTP bearer

Request body

attachment_idsstring[]
bodystring required
htmlstring
in_reply_to_message_idstring
mailbox_idstring
send_atstring
subaddress_instance_idstring
subaddress_mode'reply_to' | 'from' | 'none'
subjectstring
thread_idstring
tostring email

Response

Created

compose_held_atstring date-time nullable
compose_held_decision'quarantine' | 'block' | 'require_human_approval' | 'null' nullable
created_atstring date-time required
idstring required
in_reply_tostring nullable
last_dispatch_attempt_atstring date-time nullable
last_dispatch_error_codestring nullable
mailbox_idstring required
mailbox_namestring nullable
original_send_atstring date-time nullable
recipientstring required
releasableboolean
send_atstring date-time nullable
send_attemptsinteger required
senderstring required
state'draft' | 'available' | 'deleted' required
subaddress_instance_idstring nullable
subaddress_mode'reply_to' | 'from' | 'none' | 'null' nullable
subjectstring required
thread_idstring nullable
updated_atstring date-time required
worst_decision'allow' | 'allow_with_warning' | 'quarantine' | 'require_human_approval' | 'block' required

Changes

No recorded changes to this operation across all 1 revision of this API.