Copy DCA Bot
POST
/ver1/bots/:bot_id/copy_and_createCopies the bot from or to another linked exchange account connected to 3Commas.
Path Parameter
Body Parameters
A unique code used for copying this bot, retrieved from the url_secret
parameter.
Example Request
POST
/ver1/bots/12345678/copy_and_create{
"name": "Name DCA Bot",
"secret": "..."
}
Response Parameters
Example Responses
- 201 Created
- 400 Bad Request
- 401 Unauthorized
{
"bot_id": 23456789,
"bot_required_amount": 240
}
{
"error": "record_invalid",
"error_description": "Invalid parameters",
"error_attributes": {
"name": [
"is missing"
]
}
}
{
"error": "signature_invalid",
"error_description": "Provided signature is invalid"
}