Create Thread

Create a new thread with the following title logic:

  1. If title is provided in the request, use that
  2. If no title but initialization message exists, use that as a prompt to generate title
  3. Otherwise default to “New Thread”

Path parameters

group_idintegerRequired

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
titlestringOptional<=64 characters
The title of the thread
extramap from strings to optional anyOptional
Extra metadata for the thread
initialization_messagestringOptional

Response

Successful Response
idinteger
group_idinteger
titlestring or null<=64 characters
The title of the thread
extramap from strings to optional any or null
Extra metadata for the thread
created_atdatetime or null
updated_atdatetime or null
is_archivedboolean or null

Errors