Deploy to an app store
POST /api/v1/deploys
Submit a completed build to Google Play, the App Store, or TestFlight.
The build referenced by
buildId must have a status of "success" before you can deploy it. Attempting to deploy a build that is still queued, building, or failed will return a 400 error.Request body
The ID of a successful build to deploy. Returned by
POST /api/v1/builds and visible in GET /api/v1/builds/:id.Target deployment platform. Accepted values:
"android"— submits to Google Play Store"ios"— submits to the Apple App Store"testflight"— submits to TestFlight for beta distribution
Platform-specific store credentials and metadata. The required fields differ by platform:
- Android: provide
serviceAccountKey(your Play Store service account JSON as a string) andtrack(e.g."production","beta", or"internal"). - iOS / TestFlight: provide
apiKey(your App Store Connect API private key),issuerId(your issuer ID from App Store Connect), andkeyId(your key ID from App Store Connect).
Example request (Android)
Response
Unique deploy identifier.
Current deploy status.
"submitted" means Capwrapper has handed the build off to the store API. Final review and processing times are determined by Google or Apple.ID of the build that was deployed.
The platform this deploy targets:
android, ios, or testflight.ISO 8601 timestamp of when the deploy was created.
