Create Thread
Unibox
Create Thread
Create a draft one-off email thread in Unibox.
POST
Create Thread
CLI:
At least one draft field must be present. A sendable one-off email needs
The response includes the created draft as
Overview
Creates a draft one-off email thread in Unibox. This does not send the email by itself. To send the message, call Send message with the returnedthread.id.
Use this endpoint when you want to start a new direct email conversation outside a campaign. Campaign sends still belong to the Campaigns API and sequence engine.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
participant_email | string | Required to send | Recipient email address. The API stores it lowercase. |
account_id | string | Optional | Email sender account ID. If provided, it must belong to the workspace, be an email account, have a configured sending inbox, and be ready to send. You may also provide this later when sending. |
participant_name | string | Optional | Display name for the recipient. |
draft_subject | string | Optional | Draft subject stored on the thread. |
draft_body_text | string | Optional | Plain-text draft body stored on the thread. |
draft_body_html | string | Optional | HTML draft body stored on the thread. |
draft_cc | string | Optional | Comma-separated CC recipients for the draft. |
draft_bcc | string | Optional | Comma-separated BCC recipients for the draft. |
draft_attachments | array | Optional | Draft email attachments. Use uploaded attachment metadata from the thread attachment endpoint. |
participant_email plus an email sender account, either here as account_id or later in the send request.
Example
thread.
Duplicate Recipient Handling
If the same sender already has a non-archived, non-warmup email thread with the recipient, the API returns409 with existing_thread and existing_threads. Open that thread and call Send message instead of creating a duplicate.
AI agent notes
Use this endpoint beforePOST /api/threads/{id}/messages when starting a one-off email. Do not use it to send campaign sequence messages.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
Thread created.