Methods

Available API features

Note

All examples shown are set in a Production environment.

If you are using the adapters, you can access the API client through the Chatbot instance used as an entry parameter of the function:

function(bot) {
    var ChatbotAPI = bot.api //Apiclient methods can be accessed using the ChatbotAPI
}

To create an API client instance, invoice the apiClient method.

API Client methods

Once you start the API Client, it exposes the following methods: