Upload a chat file
POST {{baseUrl}}/chat/users/:userId/files
Uploads a file to chat.
Note:
* The base URL for this API's is https://file.zoom.us/v2/.
* The rate limit of this API is 20 requests per second per API or 2000 requests per second per IP address.
* The caller must support HTTP 30x redirects.
* All files are sent as common files except png,jpg,jpeg and gif
* Zoom Cloud Storage will store the files sent through this API. If you do not use Zoom Cloud Storage, Zoom Cloud will temporarily store these files for 7 days.
* The caller must retain the authorization header when redirected to a different hostname.
For an account-level OAuth app, this API can only be used on behalf of a user who is assigned with a role that has the Edit permission for Chat Messages.
Scopes: chat_message:write, chat_message:write:admin
Request Body
[{"name"=>"file", "value"=>"<string>", "datatype"=>"string"}]
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"id":"\u003cstring\u003e"}