Lumbox Docs

Threads

Email conversation threading.

Threads

Emails are automatically grouped into conversation threads based on standard email headers (In-Reply-To, References, Subject).

List Threads

GET /v1/threads

Optional filter by inbox:

GET /v1/threads?inbox_id=inb_abc123

Get Thread

GET /v1/threads/:id

Returns all emails in the thread in chronological order.

Thread Agents

Assign AI agents to threads for routing and tracking.

Assign Agent

POST /v1/threads/:id/agents
{
  "agent_id": "support-bot",
  "role": "OWNER"
}

Roles: OWNER, PARTICIPANT, OBSERVER

List Agents

GET /v1/threads/:id/agents

Unassign Agent

DELETE /v1/threads/:id/agents/:agent_id