---
title: "Public Send New Message"
method: POST
path: "/threads/new"
tags: ["Unibox"]
---

# Public Send New Message

`POST /threads/new`

## Request

- Base URL: `https://public.outreach2day.com`
- URL: `https://public.outreach2day.com/threads/new`
- Auth: HTTP bearer

Send a new message through the Unibox outbound path.

## Query parameters

- `workspaceId` integer, required
- `deliveryMode` string, nullable

## Headers

- `Idempotency-Key` string, nullable
- `X-Client-Request-Id` string, nullable

## Request body

- UniboxPublicSendNewIn
  - `fromMailboxAddress` string, nullable
  - `to_emails` string, required
  - `subject` string, required
  - `body_text` string, required
  - `body_html` string, nullable
  - `cc_emails` string, nullable
  - `renderTemplates` boolean
  - `templateContext` object, nullable
  - `templateSeed` integer, nullable
  - `templateMode` string, nullable

## Response `200`

Successful Response

- UniboxSendOut
  - `status` string, nullable
  - `message_id` union
    - integer
    - string
  - `thread_id` union
    - integer
    - string
  - `task_hash` string, nullable
  - `operation_id` string, nullable
  - `idempotency_key` string, nullable
  - `estimated_finalization_s` integer, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/outreach2day/apis/outreach-today-public-api.md) · [All operations](https://skmtc.dev/outreach2day/apis/outreach-today-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/outreach2day/apis/outreach-today-public-api/revisions/6c02339eef43?raw)
