Skip to main content
POST
Start a new website builder thread

Authorizations

X-API-Key
string
header
required

Company API key - scoped to a specific company. Generate from the Integrations page in your dashboard.

Path Parameters

websiteId
string
required

Body

application/json

Start a website builder thread

companyId
string
required

Company ID that owns the website

title
string

Optional title; the first message names the thread when omitted

branch
string

Review branch the thread's agent writes to, e.g. "homepage-refresh". Required before the agent can be run over the API.

Response

The new thread

The thread: {id, title, branch, createdAt, updatedAt, messageCount, totalCreditUsage}

id
string
title
string
branch
string