Set Channel Settings
This endpoint will overwrite the current bot settings for a specific channel. The updated settings can be applied by using the publish endpoint.
Settings calls are throttled at 1 call per bot per channel every 15 minutes. Trying to use this endpoint before the expired time will result in an error.
Request
The following request will publish a chatbot on the currently active channels
the <providerid> value must be one of the available Xenioo channels in full signature value (e.g. Xenioo.Channels.Web) or simple common name (e.g. Web).
The <enabled> parameter is a boolean value that will enable or disable the specified channel. If a channel is disabled it will be set to offline when the publish call is executed.
Please note that channel settings are considered as an external channel configuration and used as a raw string that only the final provider is supposed to parse as a complete model.
Channel that require interactive authorization will still allow API level configuration but won't work as expected once published unless relevant tokens are supplied. These channels are:
Meta Messenger
Meta Instagram
Amazon Alexa
This request requires a specific API Integration flag that might not be enabled by default on your account.
Response
If successful, the request will return an empty 200 HTTP OK response.
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