Set Channel Settings
Last updated
Was this helpful?
Last updated
Was this helpful?
This endpoint will overwrite the current bot settings for a specific channel. The updated settings can be applied by using the 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.
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.
This request requires a specific API Integration flag that might not be enabled by default on your account.
If successful, the request will return an empty 200 HTTP OK response.
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.