cURL
curl --request PUT \ --url https://svalync.com/api/agents/update \ --header 'Content-Type: application/json' \ --header 'x-api-key: <x-api-key>' \ --data '{ "name": "<string>", "welcomeMessage": "<string>", "task": "<string>", "voice": "<string>", "language": "<string>", "telephonyProvider": "<string>", "callTermination": 123, "hangupMessage": "<string>" }'
{ "response": [ { "success": true, "data": { "id": "<string>", "name": "<string>", "welcomeMessage": "<string>", "task": "<string>", "voice": "<string>", "language": "<string>", "telephonyProvider": "<string>", "callTermination": 123, "hangupMessage": "<string>", "apiTool": "<any>", "knowledgeBase": "<string>", "workflow": "<string>" } } ] }
Update an existing agent for handling specific tasks and interactions within the system.
Show properties