Threads

Create thread

Creates a thread, optionally with an initial text message. Omit text to upload attachments before sending the first message. Returns 409 on conflict.

post/threads

Request

  • Base URL: https://api.korey.ai/api/v1
  • URL: https://api.korey.ai/api/v1/threads
  • Auth: HTTP bearer

Request body

textstring

Initial message text. Omit to create an empty thread, upload files, and then send the first message.

namestring nullable

Optional display name for the thread.

is_privateboolean

When true the thread is only visible to its owner. Defaults to false.

Response

Created

thread_idstring required

ID of the newly created thread.

message_idstring nullable required

ID of the initial message, or null when no initial text was supplied.

Changes

No recorded changes to this operation across all 1 revision of this API.