Endpoint used to continue an ongoing chat session in Toolzz Bots.
--url 'https://bots-viewer.toolzz.ai/api/v1/sessions/{sessionId}/continueChat' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
| Parameter | Type | Description | Required |
|---|
Authorization | String | Access token (must contain “Bearer” before the token) | Yes |
| Parameter | Type | Description | Required |
|---|
sessionId | string | The session ID of the bot to continue a chat for. | Yes |
| Parameter | Type | Description | Required |
|---|
message | any | The message to send. | Yes |
| Key | Type | Description |
|---|
messages | object[] | The messages content and information in the bot session. |
messages[].id | string | Unique identifier for the message of the session. |
messages[].type | string | The format of the message sent. |
messages[].content | any | The 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.