Chatbot

Take the chatbot off the air: it goes back to draft and widgets stop offering it. Unlike archiving, the bot stays in the working list; the published version history is kept.

post/v1/chatbots/{id}/unpublish

Path parameters

idinteger required

Chatbot 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>
publishedVersionIdinteger
channelCountinteger
workingHourTypeinteger
createdDatestring date-time nullable
updatedDatestring date-time nullable
autoCloseConfigstring nullable

Auto-close configuration as JSON string

Changes

No recorded changes to this endpoint across all 1 revision of this API.