cURL
curl --request POST \ --url https://bots-viewer.toolzz.ai/api/v1/typebots/{sessionId}/preview/startChat \ --header 'Authorization: Bearer <token>'
{ "sessionId": "<string>", "typebot": { "id": "<string>", "theme": "<any>", "settings": "<any>" }, "messages": [ { "id": "<string>", "type": "<string>", "content": "<any>" } ], "input": { "id": "<string>", "outgoingEdgeId": "<string>", "type": "<string>", "options": "<string>" } }
Endpoint to start a preview chat
Show typebot properties
Show messages properties
Show input properties
Show options properties