If you want your service to send messages from to Creatio using Beesender, you need to enable message sending in JSON-format for your service.
...
Text message sample sent to Creatio
Code Block | ||
---|---|---|
| ||
{ "sender": { "id": 4, "name": "Alex Wilson", "avatar": "https://media.fox9.com/media.fox9.com/photo/2018/03/02/5%20P%20MISSING%20DOG%20FOUND%20DEAD_00.00.06.04_1520042792006.png_5029487_ver1.0_640116.png_360.jpg" }, "message": { "type": "text", "text": "Test text" } } If the request was successful, then 200 OK is returned with the body, for example, { "ok": true } If there are errors, then the text of the error will be indicated in the response body, for example, { "ok": false, "error": "hook.message.attachment.image can't be empty" } |
...