curl --request PATCH \
--url https://call.aivoco.on.cloud.vispark.in/agents/{agent_id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"id": "<string>",
"name": "<string>",
"system_message": "<string>",
"voice": "boy",
"functions": {
"functions": [
{
"name": "<string>",
"description": "<string>",
"api_url": "<string>",
"method": "GET",
"parameters": {
"type": "<string>",
"properties": {},
"required": [
"<string>"
]
}
}
]
}
}'