Chatbot

Preview a (possibly unsaved) chatbot configuration without persisting anything

Changed on
post/v1/chatbots/preview

Request

Request body

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

Response

OK

Changes

    • info

      added the new optional request property (media type: application/json-patch+json)

    • info

      added the new optional request property (media type: application/json)

    • info

      added the new optional request property (media type: text/json)

    • info

      added the new optional request property (media type: application/*+json)

    • info

      added the new optional request property (media type: application/json-patch+json)

    • info

      added the new optional request property (media type: application/json)

    • info

      added the new optional request property (media type: text/json)

    • info

      added the new optional request property (media type: application/*+json)

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status