activities
latest
false
UiPath logo, featuring letters U and I in white

Integration Service Activities

Last updated Feb 19, 2026

Upload File

Project compatibility

Windows | Cross-platform

Overview

DescriptionAPI MethodAPI Path
Upload a file to Box storage.POST/upload_file

Input

ParameterDescriptionData Type
File resourceThe binary content of the file being uploaded to Box.file
Parent folderThe folder into which the new file will be uploaded.data list
AttributesAdditional metadata describing the file, including its name and parent folder. Supplied as part of the multipart request body in JSON object format. Note: Attributes must appear before the file content in the multipart body. Example: {"name": "Contract.pdf", "parent": {"id": "11446498"}} string
New file nameOptional custom name for the uploaded file. If provided, be sure to include the correct file extension. string
Content created atThe original creation timestamp of the file, which may precede its upload to Box. date time
Content modified atThe timestamp indicating when the file was last modified.date time
Elements-vendor-headersOptional header containing the SHA1 hash of the file to ensure integrity during upload. Note: The value passed under this header will be mapped to the vendor’s content-md5 header. string
FieldsA comma-separated list of additional attributes to include in the API response. Useful for requesting non-default response fields. string

Output

ParameterDescriptionData Type
Upload FileThe main response object containing metadata for the uploaded file. object
IDThe unique identifier of the uploaded file.string
Path collection entries IDThe IDs of each folder in the path hierarchy where the file resides. string
Created by IDThe ID of the user who created the file.string
File version IDThe version ID assigned to the newly uploaded file.string
Parent IDThe ID of the folder that contains the uploaded file.string
Modified by IDThe ID of the user who last modified the file.string
Owned by IDThe ID of the user who owns the uploaded file.string
  • In API workflows, a single response object is returned as the output. Any required fields can be extracted directly from this object.
  • In RPA workflows, some output parameters may differ, but the necessary values can still be retrieved from the response object even if they are not explicitly exposed.
  • Project compatibility
  • Overview
  • Input
  • Output

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2026 UiPath. All rights reserved.