Method: generatedapks.download
Stay organized with collections
Save and categorize content based on your preferences.
Downloads a single signed APK generated from an app bundle.
HTTP request
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}/downloads/{downloadId}:download
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
packageName |
string
Package name of the app.
|
versionCode |
integer
Version code of the app bundle.
|
downloadId |
string
generatedapks.download ID, which uniquely identifies the APK to download. Can be obtained from the response of generatedapks.list method.
|
Request body
The request body must be empty.
Response body
If successful, the response body is empty.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/androidpublisher
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-21 UTC.
[null,null,["Last updated 2025-05-21 UTC."],[[["\u003cp\u003eDownloads a single signed APK generated from an app bundle using a provided download ID.\u003c/p\u003e\n"],["\u003cp\u003eRequires the package name, version code, and download ID to retrieve the APK.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes an HTTP GET request with an empty request body.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidpublisher\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eUpon successful execution, the response body is empty and the APK is downloaded.\u003c/p\u003e\n"]]],["This outlines how to download a signed APK using a `GET` request to a specific URL: `https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}/downloads/{downloadId}:download`. The request requires three path parameters: `packageName`, `versionCode`, and `downloadId`. The request body must be empty. A successful request results in an empty response body. The `androidpublisher` OAuth scope is required for authorization.\n"],null,["# Method: generatedapks.download\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nDownloads a single signed APK generated from an app bundle.\n\n### HTTP request\n\n`GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}/downloads/{downloadId}:download`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|---------------|------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `packageName` | `string` Package name of the app. |\n| `versionCode` | `integer` Version code of the app bundle. |\n| `downloadId` | `string` generatedapks.download ID, which uniquely identifies the APK to download. Can be obtained from the response of `generatedapks.list` method. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is empty.\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidpublisher`"]]