post https://mytenant.cx.onecloud.com/clientweb/api/v2/files
This method uploads a file to the server. The maximum file size is 25 MB. The server will store up to 1000 files. Newly received files will replace the oldest files. This method can be used, for example, to send pictures from the client mobile application to the contact center agents.
Returns
Code | Description |
---|---|
200 | File ID to be used in the chat_session_file message (content type: application/json) |
Errors
Code | Description |
---|---|
400 | Bad Request |
403 | Forbidden |