# Sync A Portfolio File Endpoint allows you to sync a portfolio file with your portfolio. Sync action will delete all companies in your specified portfolio, and then add the companies from the file into the portfolio. Endpoint: POST /monitoring/portfolios/{portfolioId}/sync Version: 1.10.9 Security: bearerToken ## Path parameters: - `portfolioId` (number, required) The unique identifier of the portfolio, obtained from . ## Request fields (multipart/form-data): - `importcsv` (string) The import file ideally needs to be a .csv file. - `email` (string) Option field. Provide an email and get a notification when the import has been completed with the details about the import. Example: "john.smith@creditsafe.com" ## Response 200 fields (application/json): - `correlationId` (string) A unique ID assigned to this request. Example: "23921650-c073-11ea-860f-06bc8182190e" - `status` (string) A message about the status of this request. Example: "Accepted for processing. Import Id 339523" ## Response 400 fields (application/json): - `correlationId` (string) A unique ID assigned to this request. - `message` (string) - `details` (string) Provides further information on why the request was rejected ## Response 401 fields (application/json): - `error` (string) ## Response 403 fields (application/json): - `message` (string) Example: "Access forbidden" ## Response 404 fields (application/json): - `correlationId` (string) A unique ID assigned to this request. - `message` (string) - `details` (string) Provides further information on why the request was rejected