Publish

This endpoint will publish the specified chatbot on the currently active channels. This endpoint cannot be used to configure publishing settings: the very first publish should be done on the Xenioo platform.

Request

The following request will publish a chatbot on the currently active channels

curl --location --request PUT 'https://<NODE>.xenioo.com/bots/publish' \
--header 'Authorization: Bearer <BOT_AUTH_TOKEN>' \
--header 'Content-Type: application/json'

Response

If successful, the response will simply have a standard 200 OK code.

Response Codes

This endpoint will reply with the following standard HTTP codes.

Code

Meaning

200

Ok. The request has been successfully fulfilled.

404

Not Found. The specified chatbot has not been found.

Last updated