Create a new issue via API using issuable_template

I’m trying to create a new issue using an ‘issue description template’, according the documentation this should be possible, however if I run the command the issue is created but there is nothing in the description, the template I have created and stored in the ‘.gitlab/issue_templates’ folder is not selected. What am I missing here?

Following the documentation here … Create an issue | GitLab

Invoke-RestMethod -Method Post -Headers @{ ‘PRIVATE-TOKEN’ = $token } uri “$pathtoproject/issues?title=$issuetitle&issuable_template=template”