Upload a file
Stores a file the organization can attach to any number of sessions. Send the bytes as the file part of a multipart/form-data body; the part’s filename and Content-Type become the file’s name and media type. The file part may contain at most 30 MiB, and the complete multipart request may use at most 128 KiB more for framing and form fields. Larger files are not supported by this operation. The bytes are served back through GET /managed-agents/v2/files//content to the same organization. A request over the transport limit answers 413 with code payload_too_large. An upload that would carry the organization’s live files past its storage quota answers 413 with code file_quota_exceeded and reports the quota, bytes in use, and incoming size in details. Upload retries are unsafe: after a lost response, scan every source=upload page (following nextCursor) for a unique caller-supplied metadata marker. A scan with no match does not prove the original upload has finished; do not retry automatically.
Authorizations
Headers
Body
Response
Created