Skip to content
Salesforce HubSpot Developers Release notes
Go to website
REST API
Basics
⌁Authentication
Links
⌁Create Link
Folders
⌁Create Folder⌁Rename Folder⌁Get Folder Children⌁Get Folder⌁Delete Folder
Attachments
⌁Create Attachment⌁List Attachments
Files
⌁Rename File⌁Get File⌁Get Upload Sessions⌁Upload and Commit File⌁Download File⌁Upload CloudFiles File⌁Commit CloudFiles File⌁Delete File⌁Move File
Datarooms
⌁Get Dataroom
Search
⌁Get Search Results
Apex (Salesforce)
Client methods
{ }Add To Dataroom{ }Assign User Licenses{ }Create Attachments{ }Create Content Version Batch{ }Create Datarooms{ }Create File Connect Files{ }Create File Requests{ }Create Folders{ }Create Folders Async{ }Create Links{ }Create Microsoft Team{ }Create Salesforce File{ }Create SharePoint Drive{ }Create SharePoint Site{ }Copy Resources{ }Copy Salesforce Files{ }Delay{ }Delete Attachment{ }Delete Resource{ }Generate Document{ }Generate Document (Batch){ }Generate Document (Sync){ }Get Attachments{ }Get Connected Folder{ }Get Event Details{ }Get Files Connect Resource Id{ }Get Folder Contents{ }Get Preview URL{ }Get Resource Details{ }Get Salesforce Files{ }Merge Documents (Sync){ }Move Resources{ }Process Document using AI{ }Query Document{ }Remove from Community{ }Search by Resource Metadata{ }Set Resource Property{ }Share With Community User{ }Split Document{ }Unassign User Licenses{ }Update Link Settings{ }Update Permissions{ }Update Resources
Types
{ }Attachment{ }CloudFilesVariable{ }ContentVersionCreated{ }ContentVersionCreatedBatch{ }CreateContentVersionFlowInput{ }Dataroom{ }DatasetCreated{ }DatasetCreatedError{ }DocGenParams{ }DocumentGenerated{ }DocumentGeneratedError{ }DocumentMapperRun{ }DocumentMapperRunError{ }DocumentProcessed{ }DocumentProcessedError{ }DocumentSigned{ }DocumentSplit{ }Drive{ }DriveColumn{ }ErrorEvent{ }Event{ }FileReceived{ }FileReplace{ }FileRequest{ }FileUpload{ }FileViewed{ }FolderCreated{ }GeneratedDocument{ }Link{ }PreviewParams{ }Resource{ }ResourceAttached{ }ResourceCloned{ }ResourceDeleted{ }ResourceDetached{ }ResourceMoved{ }ResourceMovedError{ }ResourceUpdated{ }ResourceUpdateError{ }ResourceList{ }SalesforceFilesAttached{ }SalesforceFileCopied{ }SalesforceFileCopiedError{ }SalesforceFile{ }SharePointSite{ }SiteGroupMembersUpdatedError{ }UpdateLicensesFlowOutput
Input & Output Types
{ }Types.UpdateLicensesInput{ }Types.CreateDriveInput{ }Types.MergeDocumentsRequestInput{ }Types.SplitDocumentPayload{ }Types.UpdateLinkSettingsInput{ }Types.UnshareResourceInput{ }Types.ShareResourceInput{ }Types.UpdateResourceInput{ }Types.CreateContentVersionPayload{ }Types.CreateMicrosoftTeamInput{ }Types.CreateSharePointSiteInput{ }Types.SearchByPropertyInput{ }Types.DeleteResourcesInput{ }Types.CreateFileRequestInput{ }Types.DataroomChild{ }Types.AddDataroomChildrenInput{ }Types.CreateDataroomInput{ }Types.PermissionInput{ }Types.QueryDocumentPayload{ }Types.ProcessDocumentPayload{ }Types.DocGenRequestInput{ }Types.CreateContentVersionBatchPayload{ }Types.DeleteAttachmentInput{ }Types.UploadSalesforceFilePayload{ }Types.CreateFolderInput{ }Types.CreateAttachmentInput{ }Types.CreateLinkInput{ }Types.MoveResourceInput{ }Types.CopyResourceInput
Platform events
Platform events Apex handler
How to get test coverage of code that uses Client methods
🧭About ClientFactory🧭Sample Use case🧭Default Mock Values
Help/Developers/Input & Output Types

Input & Output Types

Updated 2026-07-01

The request and payload types you pass into the CloudFiles Apex client methods.


  • Types.UpdateLicensesInput – Input type describing the users and product for a license assignment or unassignment.
  • Types.CreateDriveInput – Input type describing the SharePoint drive to create.
  • Types.MergeDocumentsRequestInput – Input describing the documents to merge, the output file name, and the destination.
  • Types.SplitDocumentPayload – Input type describing a file to split and where the resulting parts land.
  • Types.UpdateLinkSettingsInput – Input type describing the settings to apply when updating a CloudFiles Link.
  • Types.UnshareResourceInput – Input describing a file or folder to unshare from a Salesforce record.
  • Types.ShareResourceInput – Input describing a file or folder to share and its recipient.
  • Types.UpdateResourceInput – Input describing a SharePoint resource and the column values to update on it.
  • Types.CreateContentVersionPayload – Describes one external-storage file to materialize as a Salesforce File.
  • Types.CreateMicrosoftTeamInput – Input type describing the Microsoft Team to create.
  • Types.CreateSharePointSiteInput – Input describing a SharePoint site to provision from Apex.
  • Types.SearchByPropertyInput – Input describing a metadata property and value to search external storage against.
  • Types.DeleteResourcesInput – Input type describing a resource (file or folder) to delete.
  • Types.CreateFileRequestInput – Input type describing a file request to create.
  • Types.DataroomChild – One child (file or folder) to attach to a dataroom.
  • Types.AddDataroomChildrenInput – Input describing a dataroom and the child resources to add to it.
  • Types.CreateDataroomInput – Input describing a dataroom to create.
  • Types.PermissionInput – Input describing a grant or revoke of read/write access on a file or folder.
  • Types.QueryDocumentPayload – Input payload describing a single document query.
  • Types.ProcessDocumentPayload – Input payload describing a single document to process with AI.
  • Types.DocGenRequestInput – Input describing a document-generation request: template, merge variables, destination, and output type.
  • Types.CreateContentVersionBatchPayload – Input payload for creating content versions when files are imported into Salesforce.
  • Types.DeleteAttachmentInput – Input for detaching a file or folder from a Salesforce record.
  • Types.UploadSalesforceFilePayload – Input describing a Salesforce file to copy into external storage.
  • Types.CreateFolderInput – Input describing a single folder to create.
  • Types.CreateAttachmentInput – Input describing a single attachment to create from an external storage resource.
  • Types.CreateLinkInput – Input describing a CloudFiles link to create for a file, folder, or dataroom.
  • Types.MoveResourceInput – Input describing a single file or folder to move to a destination folder.
  • Types.CopyResourceInput – Input describing one file or folder to copy to a destination folder.