post
https://api.dexatel.com/v1/messages
400Bad Request:
| Code | Message | Description |
|---|---|---|
| 1503 | Message sender is missing | |
| 1504 | Invalid message sender | |
| 1505 | Invalid message sender | |
| 1505 | Message sender is not found | |
| 1506 | Message recipients are missing | |
| 1507 | Message recipients are too many | |
| 1508 | 'data.text' is required | |
| 1510 | Message text is too long | |
| 1512 | Invalid template id | |
| 1515 | Invalid channel | |
| 1526 | Variable value is too long | |
| 1532 | 'data.url' is required when 'data.type' either IMAGE or VIDEO | |
| 1533 | 'data.url' and 'data.filename' are required when 'data.type' is DOCUMENT | |
| 1534 | 'data.type' is required | |
| 1625 | 'data.from' is blocked | |
| 1705 | Invalid payload | |
| * | Url should start with with 'https://' and have maximum length of 1000 characters | |
| * | File name is invalid | |
| * | Document type can not have text or button | |
| * | Image extension can be only: .bmp, .gif, .jpg, .jpeg, .png, .svg, .webp maximum size 24 MB | Viber |
| * | Video extension can be only: .3gpp, .m4v, .mov, .mp4 maximum size 200 MB | Viber |
| * | File extension can be only: .txt, .doc, .docx, .dot, .dotx, .rtf, .odt, .odf, .fodt, .info, .pdf, .xps, .pdax, .eps.xls, .xlsx, .xltx, .xlsm, .csv, .ods, .fods. maximum size 200 MB | Viber |
| * | The image can be Max 5 MB, format JPG, PNG | |
| * | The video can be Max 16 MB, format MP4 | |
| * | The document can be Max 100 MB, format PDF | |
| * | 'data.media_id' is invalid |