Logo
Zoom Public API Documentation

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

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status Created

{ "id": "<string>" }



Curl
curl -X POST 'https://api.zoom.us/v2/chat/users/:userId/files' -H 'Content-Type: multipart/form-data' -H 'Accept: application/json' -F '{"name"=>"file", "value"=>"<string>", "datatype"=>"string"}='

ENDPOINTS