Publish an Android app update via the Google Play Developer Publishing API using the edits flow

domain: google-play-developer · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Set up a service account in Google Cloud Console, grant it the appropriate role in the Google Play Console (Release Manager or similar), and download the JSON key file for authentication.
  2. Authenticate using the service account key with the https://www.googleapis.com/auth/androidpublisher OAuth2 scope to obtain an access token.
  3. Create an edit by POSTing to https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits; note the returned editId — all subsequent calls in this session require it.
  4. Upload the APK or AAB via POST to https://androidpublisher.googleapis.com/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles (for AAB) or /apks (for APK) with the binary as the request body.
  5. Assign the upload to a track (internal, alpha, beta, or production) by PUTting to https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track} with a releases object specifying versionCodes and status.
  6. Commit the edit by POSTing to https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}:commit; changes are not live until committed.

Known gotchas

Related routes

Process Google Play real-time developer notifications (RTDN) and verify subscription state via the Google Play Developer API
developer.android.com · 6 steps · unrated
Publish or update a menu on Uber Eats Marketplace via the Menu API
developer.uber.com · 6 steps · unrated
Integrate Play Integrity API standard request flow for Android server-side verification
developer.android.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans