Send a message to a channel dialog.
Parameter notes: attachment.type must use a standard MIME type: https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/MIME_types
Security
bearerAuth
- Mock serverhttps://threechatai.redocly.app/_mock/apis/3chat-api/api/open/v3/butler/channel/message/send
- 3Chat production serverhttps://app.3chat.ai/api/open/v3/butler/channel/message/send
curl -i -X POST \
https://threechatai.redocly.app/_mock/apis/3chat-api/api/open/v3/butler/channel/message/send \
-H 'Authorization: Bearer <YOUR_Access Token_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"body": {
"dialogId": "string",
"message": "string",
"attachments": [
{
"name": "string",
"type": "string",
"url": "string",
"size": 0
}
],
"emailOptions": {
"topic": "string",
"useAttachmentBuffer": true,
"replyEmailMessageId": "string"
}
}
}'Response
{ "code": 200, "message": "", "data": { "entity": { … } } }