This endpoint will create a full clone of a bot. The full clone can contain tagged text that can be transformed into dynamic text during cloning.

Tagged text can be entered in your source bot in using double square brackets like in the following example:

When the request is executed, any data of the cloned bot will be parsed and every tagged text entry will be updated with the supplied text.


The following request will clone a chatbot and supply some tagged text variables:

curl --location --request POST 'https://<NODE>' \
--header 'Authorization: Bearer <ACCOUNT_AUTH_TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{
		"BotAPIKey":"<BOT API KEY>",
		"BotSecret":"<BOT API SECRET>"
		"BotName":"I am not the clone, you are!",
			{ "Name":"customer_bot_name", "Value":"Awesome Bot" },
			{ "Name":"custom_app_api_token", "Value":"..." }


If successful, the response will contain both the API Token and the API Secret of the newly created chatbot.


Response Codes

This endpoint will reply with the following standard HTTP codes.




Ok. The request has been successfully fulfilled.


Not Found. The specified source chatbot have not been found.

Last updated