POST
/
api
/
v1
/
typebots
/
{publicId}
/
startChat
Start Chat
curl --request POST \
  --url https://bots-viewer.toolzz.ai/api/v1/typebots/{publicId}/startChat
{
  "sessionId": "<string>",
  "resultId": "<string>",
  "typebot": [
    "<any>"
  ],
  "messages": [
    {
      "id": "<string>",
      "type": "<string>",
      "content": "<any>"
    }
  ],
  "input": {
    "id": "<string>",
    "outgoingEdgeId": "<string>",
    "type": "<string>",
    "options": "<string>"
  }
}

Parameters

publicId
string
publicId: The public ID of the bot to start a chat for.

Response Description

Below you will see the description of the function start chat.
sessionId
string
required
Unique identifier of the created session.
resultId
string
required
Unique identifier assigned to each individual response.
typebot
any[]
required
Information of the bot it self.
messages
object[]
required
The messages content and information in the bot session.
input
object{}
required
The bot input informations.