curl --request POST \
--url https://api.comm.com/api/v1/voice/agents/{agent}/chat \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"message": "<string>",
"language": "<string>",
"conversation_history": [
{
"role": "user",
"message": "<string>"
}
]
}
'