Skip to main content
POST
Create a chat folder

Authorizations

X-API-Key
string
header
required

API key (sk_xxx) from Developer Settings. No X-Account-ID needed.

Headers

x-account-id
string | null

Body

application/json
name
string
required
Maximum string length: 255
account_id
string<uuid> | null

Account ID (null for personal folders)

color
string | null
Maximum string length: 50

Response

Successful Response

id
string<uuid>
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
name
string
required
Maximum string length: 255
account_id
string<uuid> | null
required
created_by
string<uuid>
required
color
string | null
Maximum string length: 50