curl --request POST \
--url https://api.example.com/agents/{agentId}/channels \
--header 'Content-Type: <content-type>' \
--data '
{
"name": "<string>",
"type": "<string>",
"config": {
"config.platformId": "<string>",
"config.webhookUrl": "<string>",
"config.token": "<string>",
"config.autoReply": true
},
"metadata": {},
"enabled": true
}
'