Upload files and return UUIDs for each
Changed onThis endpoint accepts a multipart form with one or more files and returns UUIDs for each. If chat_id is provided, files are associated with that chat. If not provided, files are created as standalone uploads that can be linked to assistants later. An optional outlook_provenance text part carries version 1 OutlookFileProvenance JSON (maximum 64 KiB). It must occur exactly once before any files and applies to every file in the request. Upload files with different origins in separate requests. The original EWS ID query parameter remains independent; a containing email's ID never replaces it.
Request
- The document declares no server URL.
- Authnone declared
Query parameters
Optional chat ID to associate the file with. If not provided, creates standalone files.
Optional external EWS ID to persist on each file in this request. Upload files with different IDs in separate requests.
Request body multipart/form-data
Optional version 1 OutlookFileProvenance JSON text (maximum 64 KiB). Send exactly once, before all file parts; applies to every file in this request. Files with different origins must be uploaded in separate requests.
Response
Response for file upload
The list of uploaded files with their IDs and filenames
Filenames skipped by the configured operation policy.
Changes
- info
added the optional property
files/items/audio_synthesisto the response with the status
- info
- warning
removed the optional property
files/items/audio_synthesisfrom the response with the status
- warning