There is an API, /rest/api/save-bot-script-source This API will create or update the script from its source code. For the complete list of APIs see, https://www.botlibre.com/api.jsp See also the code in the Android SDK, https://github.com/BotLibre/BotLibre/blob/master/sdk/android/src/org/botlibre/sdk/SDKConnection.java SDKConnection.saveBotScriptSource(ScriptSourceConfig) https://github.com/BotLibre/BotLibre/blob/master/sdk/android/src/org/botlibre/sdk/config/ScriptSourceConfig.java