API - Clone Websites

Hey there, is there any way to clone an existing ‘root’ website via API? I want to clone a website when a new user joins / give each merchant their own website with their own dynamic subdomain. I’m assuming there is a way, or do I have to download my ‘root’ site that I want cloned each time via API and clone its properties into a new website?

That would be the way to go. But unless the site is not connected to a repo, you don’t need to download it.