Applying a transition when creating an issue via REST API

Hi, in the REST API documentation it says that you can provide a transition when creating an issue, but I don’t understand how to get the id of the transition when I haven’t created the issue yet.

Normally I use the “Get Transtions” endpoint (https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-rest-api-3-issue-issueIdOrKey-transitions-get) but that requires a “issueIdOrKey”, so how do I get the available transitions when creating a new issue?