Skip to content

Continue Chat

Endpoint used to continue an ongoing chat session in Toolzz Bots.

Terminal window
curl --request POST \
--url 'https://bots-viewer.toolzz.ai/api/v1/sessions/{sessionId}/continueChat' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"message": "<string>"
}'
{
"messages": [
{
"id": "<string>",
"type": "<string>",
"content": "<any>"
}
]
}
ParameterTypeDescriptionRequired
AuthorizationStringAccess token (must contain “Bearer” before the token)Yes
ParameterTypeDescriptionRequired
sessionIdstringThe session ID of the bot to continue a chat for.Yes
ParameterTypeDescriptionRequired
messageanyThe message to send.Yes

KeyTypeDescription
messagesobject[]The messages content and information in the bot session.
messages[].idstringUnique identifier for the message of the session.
messages[].typestringThe format of the message sent.
messages[].contentanyThe content of the message sent.

To access this endpoint, it is necessary to send a valid access token through the authorization header (Authorization) of the request.