Currently the JIRA REST API does not support creating projects using a Shared Configuration. The only way to do this is through the JIRA Project Creation UI.
Allow creating projects with Shared Configuration through REST API.
- Refer to Create new Project via REST based on existing Project
- JIRA CLI Plugin can also create projects via scripting, but with more flexibility of setting the schemes: https://bobswift.atlassian.net/wiki/display/JCLI/Reference#Reference-createProject
- Use /rest/api/2/project and manually specify the scheme IDs and/or projectTemplateKey (untested)