curl --request POST \
--url https://api.example.com/agents/{agentId}/message \
--header 'Content-Type: <content-type>' \
--data '
{
"text": "<string>",
"userId": "<string>",
"userName": "<string>",
"roomId": "<string>",
"attachments": [
{
"attachments[].url": "<string>",
"attachments[].type": "<string>",
"attachments[].title": "<string>"
}
],
"metadata": {}
}
'