curl --location --request PUT 'https://api.stateset.com/v1/agents' \ --header 'Content-Type: application/json' \ --header 'Authorization: Token <token>' \ --data-raw '{ "id": "em_1NXWPnCo6bFb1KQto6C8OWvE", "agent_name": "Example Name", "agent_type": "string", "description": "Example Description", "activated": true, "created_at": "2021-09-01T00:00 "updated_at": "2021-09-01T00:00", "org_id": "org_1NXWPnCo6bFb1KQto6C8OWvE", "voice_model": "Example Voice Model", "voice_model_id": "vm_1NXWPnCo6bFb1KQto6C8OWvE" }'
{ "agent_name": "<string>", "agent_type": "<string>", "description": "<string>", "activated": "<string>", "created_at": "<string>", "updated_at": "<string>", "org_id": "<string>", "voice_model": "<string>", "voice_model_id": "<string>" }
This endpoint updates an agent