Skip to main content
POST
/
api
/
email
/
messages
/
draft
Create an email draft conversation
curl --request POST \
  --url https://your-instance.example.com/api/email/messages/draft \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "accountId": "665f1a0c0e0a4b001a2c9f50",
  "to": "jamie.lee@example.com",
  "subject": "Quick follow-up"
}
'
{
  "conversationId": "665f1a0c0e0a4b001a2c9f70",
  "conversation": {
    "_id": "665f1a0c0e0a4b001a2c9f70",
    "channelType": "email",
    "isDraft": true,
    "subject": "Follow-up: Maple Court",
    "participants": {
      "from": "leasing@acme.example",
      "to": [
        "alex.morgan@example.com"
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
accountId
string
required
to
string
required

String or array of strings

subject
string
cc
string[]
bcc
string[]

Response

Draft created

Returned after POST /api/email/messages/draft creates a draft conversation.

conversationId
string
required
conversation
object
required

Draft conversation document returned after creating an email draft. Marked with isDraft:true until the user sends.

Example:
{
"_id": "665f1a0c0e0a4b001a2c9f70",
"organizationId": "64a1b2c3d4e5f60012345678",
"contactId": "64b2c3d4e5f60012345678aa",
"userId": "64a1b2c3d4e5f60012345679",
"channelType": "email",
"emailAccountId": "64d2f9c5e8a1d4e001a0b1c2",
"isDraft": true,
"subject": "Follow-up: Maple Court",
"provider": "gmail",
"participants": {
"from": "leasing@acme.example",
"to": ["alex.morgan@example.com"]
},
"source": "New Email",
"createdAt": "2026-05-20T15:04:01.135Z",
"updatedAt": "2026-05-20T15:04:01.135Z"
}