Clone
Last updated
curl --location --request POST 'https://<NODE>.xenioo.com/bot/clone' \
--header 'Authorization: Bearer <ACCOUNT_AUTH_TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{
"Source":{
"BotAPIKey":"<BOT API KEY>",
"BotSecret":"<BOT API SECRET>"
},
"Destination":{
"BotName":"I am not the clone, you are!",
"Variables":[
{ "Name":"customer_bot_name", "Value":"Awesome Bot" },
{ "Name":"custom_app_api_token", "Value":"..." }
]
}
}'{
"APIKey":"...",
"APISecret":"...."
}