Chatbot Threads

Create Thread

Create an empty thread of the chatbot.

post/v0/chatbots/{chatbotId}/threads

Request

  • Base URL: https://sitegpt.ai/api
  • URL: https://sitegpt.ai/api/v0/chatbots/{chatbotId}/threads
  • Auth: HTTP bearer

Request body

threadIdstring nullable

If you pass the threadId, new thread will be created with this threadId. Otherwise, random threadId will be generated.

mode'AI' | 'AGENT'

Mode of the chat

chatUserEmailstring nullable

Email of the user that is going to chat in the thread.

Response

OK

successboolean

Indicates whether this is success response or error response

messagestring

Overall message regarding the operation performed

Changes

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