POST {{baseUrl}}/chat/users/:userId/files
Uploads a file to chat. Note:
* The base URL for this API's is 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: 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. chat_message:write
, chat_message:write:admin
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string | ||
Accept
|
string |
RESPONSES
status Created
{
"id": "<string>"
} |
ENDPOINTS