can't submit version with App Store Connect Api

I’m currently automating our iOS release pipeline with the App Store Connect API. TestFlight and App Store version creation are mostly working, but I’m stuck at the “submit for review” step.

Below are the endpoint I’m calling, the payload, and the error I receive:

> url: https://api.appstoreconnect.apple.com/v1/appStoreReviewSubmissions
> method: POST
> params: None
> json: {'data': {'type': 'appStoreReviewSubmissions', 'relationships': {'appStoreVersion': {'data': {'type': 'appStoreVersions', 'id': '62db20b9-1bc6-4b1a-9b52-9834a807c377'}}}}}

> response: <Response [404]>
> ASCAPIError(404): The specified resource does not exist: The path provided does not match a defined resource type. | errors=[{'id': '32d2c224-0f1c-4592-a02d-a4f87b13b6b7', 'status': '404', 'code': 'NOT_FOUND', 'title': 'The specified resource does not exist', 'detail': 'The path provided does not match a defined resource type.'}]

The official documentation app-store-version-submissions doesn't mention the endpoint, and I could not find any working example in open-source CLI tools.


Questions:

  1. Does the App Store Connect API actually support submitting an App Store version for review?
  2. If yes, where can I find the exact endpoint & required scope documented?
  3. If no, is there a canonical list of what the API can and cannot do so I can confirm the limitation?

Any pointers to docs or working code samples would be greatly appreciated.

can't submit version with App Store Connect Api
 
 
Q