App Info
Endpoints for fetching and updating Pgyer app details, listing your uploads, and looking up an app by short URL.
Endpoints for app detail data: fetch details, update details, list your uploads, and look up an app by its short URL.
For installation options, download status, or version-history visibility, use the App Settings API to update only the fields you specify. Existing app information endpoints remain compatible.
Get App Details
Returns the details for a specific version of an app; the response also includes a history summary.
https://www.pgyer.com/apiv2/app/viewRequest Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| _api_key | String | Yes | API Key — see auth |
| appKey | String | Yes | See appKey |
| buildKey | String | No | See buildKey |
Response
App detail fields:
| Field | Type | Description |
|---|---|---|
| buildKey | String | Build Key, unique index ID for the app |
| buildType | Integer | App type (1: iOS; 2: Android) |
| buildIsFirst | Integer | Is this the first build (1: yes; 2: no) |
| buildIsLastest | Integer | Is this the latest version (1: yes; 2: no) |
| buildFileSize | Integer | Installer size |
| buildName | String | App name |
| iconUrl | String | App icon URL |
| buildVersion | String | Version number, default 1.0 |
| buildVersionNo | String | Build version in the uploaded installer, default 1 |
| buildBuildVersion | Integer | Pgyer-generated build number used to distinguish historical versions |
| buildIdentifier | String | App package identifier — BundleId on iOS, package name on Android |
| buildIcon | String | App icon key. Access URL is https://cdn-app-icon2.pgyer.com/<buildIconPath>/<buildIcon>?x-oss-process=image/resize,m_lfit,h_120,w_120/format,jpg; buildIconPath is the first 5 chars of buildIcon joined by / |
| buildDescription | String | App description |
| buildUpdateDescription | String | Release notes |
| buildScreenShots | String | Screenshot key; access URL is https://www.pgyer.com/image/view/app_screenshots/<screenshot_key> |
| buildScreenshotsUrl | Array | Screenshot URLs |
| buildShortcutUrl | String | App short URL |
| buildCates | String | App categories, comma-separated |
| buildQRCodeURL | String | App QR code URL |
| buildCreated | String | Upload time |
| buildUpdated | String | Update time |
| otherApps | Array | Historical versions; see the inner table below |
| otherAppsCount | Integer | Count of historical versions |
| todayDownloadCount | Integer | Today's total app downloads |
| todayBuildDownloadCount | Integer | Today's total version downloads |
Historical-version fields (items inside otherApps):
| Field | Type | Description |
|---|---|---|
| buildKey | String | Build Key, unique index ID for the app |
| buildName | String | App name |
| buildVersion | String | Version number, default 1.0 |
| buildBuildVersion | Integer | Pgyer-generated build number |
| buildCreated | String | Upload time |
| buildUpdated | String | Update time |
{
"code": 0,
"message": "",
"data": {
"buildKey": "a1b2c3d4e5f6",
"buildType": 2,
"buildIsFirst": 2,
"buildIsLastest": 1,
"buildFileSize": 12345678,
"buildName": "Sample App",
"iconUrl": "https://cdn-app-icon2.pgyer.com/1/2/3/a/b/123abcdefaaa",
"buildVersion": "1.1",
"buildVersionNo": "28",
"buildBuildVersion": 5,
"buildIdentifier": "com.example.app",
"buildIcon": "123abcdefaaa",
"buildDescription": "Sample description",
"buildUpdateDescription": "Various bug fixes",
"buildScreenShots": "",
"buildScreenshotsUrl": [],
"buildShortcutUrl": "abcd",
"buildCates": "Tools,Productivity",
"buildQRCodeURL": "https://www.pgyer.com/app/qrcodeHistory/<qr-parameter>",
"buildCreated": "2025-01-01 10:00:00",
"buildUpdated": "2025-01-01 10:05:00",
"otherApps": [
{
"buildKey": "a1b2c3d4e5f5",
"buildName": "Sample App",
"buildVersion": "1.0",
"buildBuildVersion": 4,
"buildCreated": "2024-12-01 10:00:00",
"buildUpdated": "2024-12-01 10:05:00"
}
],
"otherAppsCount": 4,
"todayDownloadCount": 12,
"todayBuildDownloadCount": 8
}
}Build QR Codes and Installation Pages
buildQRCodeURL is the URL of a QR code image. Pass the target appKey and buildKey to the detail endpoint to get that build's QR code. Without buildKey, the response uses the latest build selected for that query. The returned /app/qrcodeHistory/ QR code stays tied to that build; later uploads do not change its target. An app's short link follows its current-build settings instead.
- Use the complete returned URL unchanged.
qr2identifies the QR parameter format; a date-like marker in the following parameters is neither an upload date nor an expiry date. Do not parse or modify the parameters, or treat the end of the image URL as abuildKey. - Current
qr2history QR parameters have no automatic time-based expiry and can be saved in build notifications. A different image URL returned for the same build does not itself expire the earlier URL. - To pin a build notification, save that response's
buildKeyandbuildQRCodeURL. For a text installation-page link, choose Copy Installation Link from the target build row's … menu; see Version Management.
A QR image URL is different from a temporary download URL returned by the update check. No automatic expiry does not guarantee perpetual downloads: access and installation still depend on app status, installation settings, and the availability of the build and its file. Regenerating a QR code does not bypass those restrictions. File cleanup alone does not prove that the build record has disappeared.
Update App Details (All Versions)
Update an app's details. The change applies to every version of the app.
https://www.pgyer.com/apiv2/app/updateRequest Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| _api_key | String | Yes | API Key — see auth |
| appKey | String | Yes | See appKey |
| buildShortcutUrl | String | No | App short URL |
| buildInstallType | Integer | Yes | Install method (2: password; 3: invite) |
| buildPassword | String | No | Install password (used when buildInstallType is 2) |
| appIsInstallDate | Integer | No | Whether to set a validity window (1: yes; 2: no) |
| appInstallStartDate | String | No | Start of the window (used when appIsInstallDate is 1) |
| appInstallEndDate | String | No | End of the window (used when appIsInstallDate is 1) |
| appLang | String / Integer | No | Download page language. Prefer a language code: auto, zh-CN, en, ru, fr, de, it, ja, pl, es, th, or zh-TW. Codes are case-insensitive, and _ is equivalent to -. Legacy numeric values 1–12 remain supported for backwards compatibility |
| buildVersionType | Integer | No | Build number (1: use Pgyer's auto-incrementing build number; 2: use the app's own build number) |
| appAutoSync | Integer | No | Auto-sync app info (1: yes; 2: no) |
| appShowPgyerCopyright | Integer | No | Show Pgyer copyright on the install page (1: yes; 2: no) |
| buildQrcodeShowAppIcon | Integer | No | Deprecated. QR codes no longer support displaying the app icon |
| appFeedbackStatus | Integer | No | Enable feedback (1: yes; 2: no) |
| buildTemplate | String | No | Deprecated. Templates are no longer supported |
Response
| Field | Type | Description |
|---|---|---|
| buildKey | String | Build Key, unique index ID for the app |
| buildType | Integer | App type (1: iOS; 2: Android) |
| buildIsFirst | Integer | Is this the first build (1: yes; 2: no) |
| buildIsLastest | Integer | Is this the latest version (1: yes; 2: no) |
| buildFileSize | Integer | Installer size |
| buildName | String | App name |
| buildPassword | String | Install password |
| buildVersion | String | Version number, default 1.0 |
| buildVersionNo | String | Build version in the uploaded installer, default 1 |
| buildQrcodeShowAppIcon | Integer | Deprecated. QR codes no longer support displaying the app icon |
| buildVersionType | Integer | Use the Pgyer build number (1: yes; 2: no) |
| buildBuildVersion | Integer | Pgyer-generated build number |
| buildIdentifier | String | App package identifier — BundleId on iOS, package name on Android |
| buildIcon | String | App icon key. Access URL is https://cdn-app-icon2.pgyer.com/<buildIconPath>/<buildIcon>?x-oss-process=image/resize,m_lfit,h_120,w_120/format,jpg; buildIconPath is the first 5 chars of buildIcon joined by / |
| buildDescription | String | App description |
| buildUpdateDescription | String | Release notes |
| buildScreenShots | String | Screenshot key; access URL is https://www.pgyer.com/image/view/app_screenshots/<screenshot_key> |
| buildShortcutUrl | String | App short URL |
| buildIsAcceptFeedback | Integer | Feedback enabled (1: yes; 2: no) |
| buildTemplate | String | Deprecated. Templates are no longer supported |
| buildInstallType | Integer | Install method (2: password; 3: invite) |
| buildManuallyBlocked | Integer | Manually blocked (1: yes; 2: no) |
| buildIsPlaceholder | Integer | Is a placeholder app (1: yes; 2: no) |
| buildCreated | String | Upload time |
| buildUpdated | String | Update time |
| buildQRCodeURL | String | App QR code URL |
| isOwner | Integer | Is your own app (1: yes; 2: no) |
| isJoin | Integer | Is an app you have joined (1: yes; 2: no) |
| appExpiredDate | String | Compatibility field: always 永久 (no legacy platform expiration); not a promise to retain all historical builds |
| appExpiredStatus | Integer | Compatibility field: always 2 (not expired) |
| otherApps | Array | Other versions |
| otherAppsCount | Integer | Version count |
| todayDownloadCount | Integer | Today's downloads |
| appKey | String | App group key |
| appAutoSync | Integer | Sync to app market (1: yes; 2: no) |
| appShowPgyerCopyright | Integer | Show Pgyer copyright (1: yes; 2: no) |
| appDownloadPay | Integer | Amount or meaning corresponding to appDownloadPay |
| appDownloadDescription | String | Download description |
| appLang | Integer | Download page language. Responses continue to use the compatible numeric value (1: Simplified Chinese; 2: English; 3: auto; 4: Russian; 5: French; 6: German; 7: Italian; 8: Japanese; 9: Polish; 10: Spanish; 11: Thai; 12: Traditional Chinese) |
| appIsTestFlight | Integer | Is a TestFlight app (1: yes; 2: no) |
| appIsInstallDate | Integer | Has an install window (1: yes; 2: no) |
| appInstallStartDate | String | Install window start |
| appInstallEndDate | String | Install window end |
| appFeedbackStatus | Integer | Feedback enabled (1: yes; 2: no) |
| isMerged | Integer | Merged (1: yes; 2: no) |
| mergeAppInfo | Array | Info about the merged app |
{
"code": 0,
"message": "",
"data": {
"appKey": "x1y2z3",
"buildKey": "a1b2c3d4e5f6",
"buildType": 2,
"buildName": "Sample App",
"buildVersion": "1.1",
"buildVersionNo": "28",
"buildBuildVersion": 5,
"buildIdentifier": "com.example.app",
"buildInstallType": 2,
"buildPassword": "123456",
"buildShortcutUrl": "abcd",
"appIsInstallDate": 1,
"appInstallStartDate": "2025-01-01",
"appInstallEndDate": "2025-12-31",
"appLang": 1,
"appFeedbackStatus": 1,
"buildCreated": "2025-01-01 10:00:00",
"buildUpdated": "2025-01-01 10:05:00"
}
}The example above shows the most common fields only — see the Fields tab for the full list.
Update App Details (Specific Version)
Update the details of a specific app version.
https://www.pgyer.com/apiv2/app/updateAppRequest Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| _api_key | String | Yes | API Key — see auth |
| userKey | String | Yes | User Key — identifies the current user. Find it on the API info page |
| buildKey | String | No | See buildKey |
| screenshot | File | No | App screenshot |
| buildShortcutUrl | String | No | App short URL |
| buildUpdateDescription | String | No | Release notes. Empty string clears the field |
| buildDescription | String | No | App description. Empty string clears the field |
| buildPassword | String | No | Install password. Empty string clears the field |
| buildVersion | String | No | Version number, default 1.0 |
| buildInstallType | Integer | No | Install method |
Response
| Field | Type | Description |
|---|---|---|
| buildKey | String | Build Key, unique index ID for the app |
| buildType | Integer | App type (1: iOS; 2: Android) |
| buildIsFirst | Integer | Is this the first build (1: yes; 2: no) |
| buildIsLastest | Integer | Is this the latest version (1: yes; 2: no) |
| buildFileSize | Integer | Installer size |
| buildName | String | App name |
| buildVersion | String | Version number, default 1.0 |
| buildVersionNo | String | Build version in the uploaded installer, default 1 |
| buildBuildVersion | Integer | Pgyer-generated build number |
| buildIdentifier | String | App package identifier — BundleId on iOS, package name on Android |
| buildIcon | String | App icon key. Access URL is https://cdn-app-icon2.pgyer.com/<buildIconPath>/<buildIcon>?x-oss-process=image/resize,m_lfit,h_120,w_120/format,jpg; buildIconPath is the first 5 chars of buildIcon joined by / |
| buildDescription | String | App description |
| buildUpdateDescription | String | Release notes |
| buildScreenShots | String | Screenshot key; access URL is https://www.pgyer.com/image/view/app_screenshots/<screenshot_key> |
| buildShortcutUrl | String | App short URL |
| buildCreated | String | Upload time |
| buildUpdated | String | Update time |
{
"code": 0,
"message": "",
"data": {
"buildKey": "a1b2c3d4e5f6",
"buildType": 2,
"buildIsFirst": 2,
"buildIsLastest": 1,
"buildFileSize": 12345678,
"buildName": "Sample App",
"buildVersion": "1.1",
"buildVersionNo": "28",
"buildBuildVersion": 5,
"buildIdentifier": "com.example.app",
"buildIcon": "123abcdefaaa",
"buildDescription": "Sample description",
"buildUpdateDescription": "Various bug fixes",
"buildScreenShots": "",
"buildShortcutUrl": "abcd",
"buildCreated": "2025-01-01 10:00:00",
"buildUpdated": "2025-01-01 10:05:00"
}
}Get App Info by Short URL
Look up basic info for an app by its short URL.
https://www.pgyer.com/apiv2/app/getByShortcutRequest Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| _api_key | String | Yes | API Key — see auth |
| buildShortcutUrl | String | Yes | App short URL. For pgyer.com/PgY8, pass just PgY8 |
Response
| Field | Type | Description |
|---|---|---|
| buildKey | String | Build Key, unique index ID for the app |
| buildIsFirst | Integer | Is this the first build (1: yes; 2: no) |
| buildIsLastest | Integer | Is this the latest version (1: yes; 2: no) |
| buildType | Integer | App type (1: iOS; 2: Android) |
| buildFileName | String | Uploaded filename |
| buildFileSize | Integer | Installer size |
| buildName | String | App name |
| buildVersion | String | Version number, default 1.0 |
| buildVersionNo | String | Build version in the uploaded installer, default 1 |
| buildBuildVersion | Integer | Pgyer-generated build number |
| buildIdentifier | String | App package identifier — BundleId on iOS, package name on Android |
| buildCreated | String | Upload time |
| buildDescription | String | App description |
| buildUpdateDescription | String | Release notes |
| buildShortcutUrl | String | App short URL |
| buildScreenShots | String | Screenshot key; access URL is https://www.pgyer.com/image/view/app_screenshots/<screenshot_key> |
{
"code": 0,
"message": "",
"data": {
"buildKey": "a1b2c3d4e5f6",
"buildIsFirst": 2,
"buildIsLastest": 1,
"buildType": 2,
"buildFileName": "app-release.apk",
"buildFileSize": 12345678,
"buildName": "Sample App",
"buildVersion": "1.1",
"buildVersionNo": "28",
"buildBuildVersion": 5,
"buildIdentifier": "com.example.app",
"buildCreated": "2025-01-01 10:00:00",
"buildDescription": "Sample description",
"buildUpdateDescription": "Various bug fixes",
"buildShortcutUrl": "PgY8",
"buildScreenShots": ""
}
}List Your Uploaded Apps
Fetch a paginated list of apps uploaded under the current account.
https://www.pgyer.com/apiv2/app/listMyRequest Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| _api_key | String | Yes | API Key — see auth |
| page | Integer | No | Page number |
Response
| Field | Type | Description |
|---|---|---|
| buildKey | String | Build Key, unique index ID for the app |
| buildType | Integer | App type (1: iOS; 2: Android) |
| buildFileSize | Integer | Installer size |
| buildName | String | App name |
| buildVersion | String | Version number, default 1.0 |
| buildVersionNo | String | Build version in the uploaded installer, default 1 |
| buildBuildVersion | Integer | Pgyer-generated build number |
| buildIdentifier | String | App package identifier — BundleId on iOS, package name on Android |
| buildIcon | String | App icon key. Access URL is https://cdn-app-icon2.pgyer.com/<buildIconPath>/<buildIcon>?x-oss-process=image/resize,m_lfit,h_120,w_120/format,jpg; buildIconPath is the first 5 chars of buildIcon joined by / |
| buildCreated | String | Upload time |
| appKey | String | Unique key for the app group |
{
"code": 0,
"message": "",
"data": [
{
"buildKey": "a1b2c3d4e5f6",
"buildType": 2,
"buildFileSize": 12345678,
"buildName": "Sample App",
"buildVersion": "1.1",
"buildVersionNo": "28",
"buildBuildVersion": 5,
"buildIdentifier": "com.example.app",
"buildIcon": "123abcdefaaa",
"buildCreated": "2025-01-01 10:00:00",
"appKey": "x1y2z3"
}
]
}Install
Trigger app install on Pgyer from your own systems: the generic install endpoint and iOS in-app install.
App Settings
Read and partially update persistent app settings, including installation options, download availability, version-history visibility and compatibility for retired cleanup fields.