Create a duplicate of an existing agent for the specified user
curl --request POST \ --url https://app.phonely.ai/api/duplicate-agent \ --header 'Content-Type: application/json' \ --header 'X-Authorization: <api-key>' \ --data '{ "uid": "<string>", "agentId": "<string>" }'
{ "uid": "<string>", "agentId": "<string>", "name": "<string>" }
User ID
Agent ID to be duplicated
New duplicated Agent ID
New duplicated Agent name