Clone the agent

This API will make a clone of agent with same configuration as in given agent id

Code

$http.post("https://api.agenty.com/2.0/agents/{AgentId}/clone?key={ApiKey}")
            .success(function (response) {
               console.log(response)
            }).error(function (response) {
               console.log(response) 
            });