site | string or SelectItem | No | - | SharePoint site the document library belongs to, or ‘me’ for the user’s own OneDrive. |
drive | string or SelectItem | No | - | Document library (drive) to upload into. Not needed when folder_path is a full SharePoint link. |
folder_path | string | No | - | Destination folder: a path inside the library, e.g. ‘Creative Ads/Q4’, or a full SharePoint folder link. Leave empty to upload to the library root. |
upload_type | string | Yes | - | Type of upload: single or multiple |
file_url | string | No | - | Single file URL for single upload |
file_name | string | No | - | Custom filename for single upload |
file_urls | array (also accepts a comma-separated string) | No | - | List of file URLs for multiple upload |