API Endpoint: POST /chat/users/{userId}/messages/files
Link to endpoint documentation: https://developers.zoom.us/docs/api/rest/reference/chat/methods/#operation/sendChatFile
Description
Details on your question, workflow or the problem you’re trying to solve.
When trying to send a chat file, I’m receiving the following response:
Error code: 300
message: “Invalid Parameter: files”
I’m using Postman to make send the request.
For the request body, I’m using the “files” and “to_contact” properties. I believe I’m misunderstanding how to properly format the “files” property.
I converted the file to a Byte array in Java and then converted it to Base64 encoded string and put that value in the “files” property.
How To Reproduce
Steps to reproduce the behavior:
- POST https://file.zoom.us/v2/chat/users/[user ID]/messages/files