Composer Composer for REST API Developers How to get File ID for Composer API Request Current: Salesforce PDF Download PDF Download page Salesforce. Current page All pages Salesforce Using QueryLogin to your Salesforce account.Open Developer Console.Run the following query in the Developer Console to get all files with Ids: SELECT Id, Title FROM ContentDocument CODE --OR--Run the following query to get the ParentFolderId: SELECT Id, Name FROM ContentFolder CODE Using Salesforce UI:Login to your Salesforce account.Navigate to Salesforce Files.Click the dropdown icon () to the right of the file for which you want to get the FileId.Select View File Details.Copy the FileId from the URL (for example, highlighted in Red). ×