Unfortunately, the ability to create projects from a template is only available in the Autotask user-interface, not the API.
To replicate this in the API, you would need to query the API for all tasks, phases, and notes, and then re-create those yourself. It is possible to do this in the API, but it is not simple, and I wouldn’t recommend trying it within MSPintegrations (it’s a bit too complex).