You can use the Anaplan Integrations API to work with private and shared imports.
The API enables you to upload a private source file and use it to run an import. You can also download files to access shared source files saved in the model.
Private and shared file access in the API
Workspace administrators create imports within the model. If they choose to share the import, other users can access the source that was uploaded in the model.
If the workspace administrator who created the import sets it to private, only they can access the file and run the import.
If the import is shared with everyone, users who aren't workspace administrators can upload a private source when they run the action with the API. This private source is saved with the shared import data source, so it can be run by the same action.
When you download the source file for a shared import, and you've uploaded a private source for the import, you receive the private source.
Private source files expire if unused for 48 hours. If a private file that was saved to a shared import data source expires, you receive the shared source file when you download files.
If you're not a workspace administrator and you try to download a shared source file that's for administrators only, you receive an empty file.