Skip to main content
POST
Create or send a mailbox draft

Authorizations

The full Cookie header copied from a signed-in connie.ai browser request. See the Authentication page.

Query Parameters

workspaceId
string<uuid>
required

Your workspace ID. Also accepted as workspace_id, the x-workspace-id header, or workspaceId in a JSON body. If you leave it out, the request silently runs against the first workspace you joined.

Body

application/json
accountId
string
required
action
enum<string>

Omit to create a draft.

Available options:
send
draftId
string

Required with action: send.

draftData
object

Required with action: send.

to
(string | object)[]
cc
(string | object)[]
bcc
(string | object)[]
subject
string
body
string
replyTo
string

ID of the message the draft replies to.

Response

Draft created or sent.

success
boolean
action
enum<string>
Available options:
created,
sent
draftId
string
tracking_id
string | null
provider_id
string | null