https://docs.mendix.com/apidocs-mxsdk/apidocs/projects-api#createnewapp
It has a parameter TemplateUUID. My asumption was that I can use a exisiting projectID but the result of the call is failed and has the following error without any clue:
Jobstatus error: com.mendix.modules.microflowengine.MicroflowException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.integration.WebserviceException: Unable to create CICD2 app because of an internal error.
at PCP_ProjectsAPI.CreateNewApp (JavaAction : 'ThrowWebserviceException')
Advanced stacktrace:
How can I create a project based on a template(project)?