Skip to main content
POST
Create Email Draft

Authorizations

Authorization
string
header
required

Bearer API key for server-to-server access. Session auth is also supported in first-party UI flows.

Body

application/json
to
string
required
Required string length: 3 - 500
subject
string
required
Required string length: 1 - 500
body
string
required
Required string length: 1 - 50000
connectionId
string

Connected account id from email_list_accounts. Omit to use the user's default.

Maximum string length: 120
replyToMessageId
string
Maximum string length: 500
threadId
string
Maximum string length: 500
organizationId
string

Required for session auth. Optional for API keys, which already belong to one organization.

Required string length: 1 - 120

Response

The saved draft.

ok
boolean
operationId
string
status
string
data
object