Skip to main content
POST
Create agent conversation

Authorizations

x-api-key
string
header
required

API key (sk-proj-…) from Settings → API Keys. Required for sold API calls outside the Mermail console.

Path Parameters

mailboxId
string
required

Mailbox public_id (UUID), hosted alias id, or current email

Body

application/json
title
string

Required when creating a normal chat if provided; 1–80 chars

Required string length: 1 - 80
Example:

"Billing help"

threadId
string

When set, finds or creates the thread-linked conversation (title optional; defaults to “(No subject)”)

Example:

"thread_01"

Response

Success

The response is of type object.