Chatbot

Roll the chatbot back to a previously published version

Changed on
post/v1/chatbots/{id}/versions/{versionId}/rollback

Request

Path parameters

idinteger required

Chatbot identifier.

versionIdinteger required

Target chatbot version identifier.

Response

OK

idinteger
departmentIdinteger
namestring required
avatarstring nullable
firstMessagestring nullable
topicsstring nullable

json object

objectIdsstring nullable
seeninteger
status0 | 1 | 2
<p>Enum values:</p><ul><li><i>0 = Draft</i></li><li><i>1 = Published</i></li><li><i>2 = Archived</i></li></ul>
mode0 | 1
<p>Enum values:</p><ul><li><i>0 = Flow</i></li><li><i>1 = Creative</i></li></ul>
aiConfigstring nullable

Creative-mode configuration as JSON; null for flow bots.

publishedVersionIdinteger
channelCountinteger
workingHourTypeinteger
createdDatestring date-time nullable
updatedDatestring date-time nullable
autoCloseConfigstring nullable

Auto-close configuration as JSON string

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status