cURL
curl --request POST \ --url https://app.phonely.ai/api/update-agent \ --header 'Content-Type: application/json' \ --header 'X-Authorization: <api-key>' \ --data '{ "uid": "<string>", "agentId": "<string>", "orgId": "<string>", "voiceId": "<string>", "agentName": "<string>", "greetingMessage": "<string>", "humanizeConversation": true, "conversationStyle": "<string>" }'
{ "success": true }
Update the setup for a specific agent
Agent updated successfully
The response is of type object.
object