Pgyer Docs
API 2.0

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.

Get App Details

Returns the details for a specific version of an app; the response also includes a history summary.

POSThttps://www.pgyer.com/apiv2/app/view

Request Parameters

ParameterTypeRequiredDescription
_api_keyStringYesAPI Key — see auth
appKeyStringYesSee appKey
buildKeyStringNoSee buildKey

Response

App detail fields:

FieldTypeDescription
buildKeyStringBuild Key, unique index ID for the app
buildTypeIntegerApp type (1: iOS; 2: Android)
buildIsFirstIntegerIs this the first build (1: yes; 2: no)
buildIsLastestIntegerIs this the latest version (1: yes; 2: no)
buildFileSizeIntegerInstaller size
buildNameStringApp name
iconUrlStringApp icon URL
buildVersionStringVersion number, default 1.0
buildVersionNoStringBuild version in the uploaded installer, default 1
buildBuildVersionIntegerPgyer-generated build number used to distinguish historical versions
buildIdentifierStringApp package identifier — BundleId on iOS, package name on Android
buildIconStringApp 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 /
buildDescriptionStringApp description
buildUpdateDescriptionStringRelease notes
buildScreenShotsStringScreenshot key; access URL is https://www.pgyer.com/image/view/app_screenshots/<screenshot_key>
buildScreenshotsUrlArrayScreenshot URLs
buildShortcutUrlStringApp short URL
buildCatesStringApp categories, comma-separated
buildQRCodeURLStringApp QR code URL
buildCreatedStringUpload time
buildUpdatedStringUpdate time
otherAppsArrayHistorical versions; see the inner table below
otherAppsCountIntegerCount of historical versions
todayDownloadCountIntegerToday's total app downloads
todayBuildDownloadCountIntegerToday's total version downloads

Historical-version fields (items inside otherApps):

FieldTypeDescription
buildKeyStringBuild Key, unique index ID for the app
buildNameStringApp name
buildVersionStringVersion number, default 1.0
buildBuildVersionIntegerPgyer-generated build number
buildCreatedStringUpload time
buildUpdatedStringUpdate 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/qrcode/abcd",
    "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
  }
}

Update App Details (All Versions)

Update an app's details. The change applies to every version of the app.

POSThttps://www.pgyer.com/apiv2/app/update

Request Parameters

ParameterTypeRequiredDescription
_api_keyStringYesAPI Key — see auth
appKeyStringYesSee appKey
buildShortcutUrlStringNoApp short URL
buildInstallTypeIntegerYesInstall method (2: password; 3: invite)
buildPasswordStringNoInstall password (used when buildInstallType is 2)
appIsInstallDateIntegerNoWhether to set a validity window (1: yes; 2: no)
appInstallStartDateStringNoStart of the window (used when appIsInstallDate is 1)
appInstallEndDateStringNoEnd of the window (used when appIsInstallDate is 1)
appLangIntegerNoLanguage (1: Chinese; 2: English; 3: auto)
buildVersionTypeIntegerNoBuild number (1: use Pgyer's auto-incrementing build number; 2: use the app's own build number)
appAutoSyncIntegerNoAuto-sync app info (1: yes; 2: no)
appShowPgyerCopyrightIntegerNoShow Pgyer copyright on the install page (1: yes; 2: no)
buildQrcodeShowAppIconIntegerNoShow the app icon in the QR code (1: yes; 2: no)
appFeedbackStatusIntegerNoEnable feedback (1: yes; 2: no)
buildTemplateStringNoTemplate: classic, fashion, gray, green, colorful

Response

FieldTypeDescription
buildKeyStringBuild Key, unique index ID for the app
buildTypeIntegerApp type (1: iOS; 2: Android)
buildIsFirstIntegerIs this the first build (1: yes; 2: no)
buildIsLastestIntegerIs this the latest version (1: yes; 2: no)
buildFileSizeIntegerInstaller size
buildNameStringApp name
buildPasswordStringInstall password
buildVersionStringVersion number, default 1.0
buildVersionNoStringBuild version in the uploaded installer, default 1
buildQrcodeShowAppIconIntegerShow the app icon in the QR code (1: yes; 2: no)
buildVersionTypeIntegerUse the Pgyer build number (1: yes; 2: no)
buildBuildVersionIntegerPgyer-generated build number
buildIdentifierStringApp package identifier — BundleId on iOS, package name on Android
buildIconStringApp 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 /
buildDescriptionStringApp description
buildUpdateDescriptionStringRelease notes
buildScreenShotsStringScreenshot key; access URL is https://www.pgyer.com/image/view/app_screenshots/<screenshot_key>
buildShortcutUrlStringApp short URL
buildIsAcceptFeedbackIntegerFeedback enabled (1: yes; 2: no)
buildTemplateStringTemplate
buildInstallTypeIntegerInstall method (2: password; 3: invite)
buildManuallyBlockedIntegerManually blocked (1: yes; 2: no)
buildIsPlaceholderIntegerIs a placeholder app (1: yes; 2: no)
buildCreatedStringUpload time
buildUpdatedStringUpdate time
buildQRCodeURLStringApp QR code URL
isOwnerIntegerIs your own app (1: yes; 2: no)
isJoinIntegerIs an app you have joined (1: yes; 2: no)
appExpiredDateStringApp expiration date
appExpiredStatusIntegerAbout to expire (1: yes; 2: no)
otherAppsArrayOther versions
otherAppsCountIntegerVersion count
todayDownloadCountIntegerToday's downloads
appKeyStringApp group key
appAutoSyncIntegerSync to app market (1: yes; 2: no)
appShowPgyerCopyrightIntegerShow Pgyer copyright (1: yes; 2: no)
appDownloadPayIntegerAmount or meaning corresponding to appDownloadPay
appDownloadDescriptionStringDownload description
appLangIntegerApp language (1: Chinese; 2: English; 3: auto)
appIsTestFlightIntegerIs a TestFlight app (1: yes; 2: no)
appIsInstallDateIntegerHas an install window (1: yes; 2: no)
appInstallStartDateStringInstall window start
appInstallEndDateStringInstall window end
appFeedbackStatusIntegerFeedback enabled (1: yes; 2: no)
isMergedIntegerMerged (1: yes; 2: no)
mergeAppInfoArrayInfo 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",
    "buildTemplate": "classic",
    "appIsInstallDate": 1,
    "appInstallStartDate": "2025-01-01",
    "appInstallEndDate": "2025-12-31",
    "appLang": 1,
    "appFeedbackStatus": 1,
    "buildQrcodeShowAppIcon": 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.

POSThttps://www.pgyer.com/apiv2/app/updateApp

Request Parameters

ParameterTypeRequiredDescription
_api_keyStringYesAPI Key — see auth
userKeyStringYesUser Key — identifies the current user. Find it on the API info page
buildKeyStringNoSee buildKey
screenshotFileNoApp screenshot
buildShortcutUrlStringNoApp short URL
buildUpdateDescriptionStringNoRelease notes. Empty string clears the field
buildDescriptionStringNoApp description. Empty string clears the field
buildPasswordStringNoInstall password. Empty string clears the field
buildVersionStringNoVersion number, default 1.0
buildInstallTypeIntegerNoInstall method

Response

FieldTypeDescription
buildKeyStringBuild Key, unique index ID for the app
buildTypeIntegerApp type (1: iOS; 2: Android)
buildIsFirstIntegerIs this the first build (1: yes; 2: no)
buildIsLastestIntegerIs this the latest version (1: yes; 2: no)
buildFileSizeIntegerInstaller size
buildNameStringApp name
buildVersionStringVersion number, default 1.0
buildVersionNoStringBuild version in the uploaded installer, default 1
buildBuildVersionIntegerPgyer-generated build number
buildIdentifierStringApp package identifier — BundleId on iOS, package name on Android
buildIconStringApp 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 /
buildDescriptionStringApp description
buildUpdateDescriptionStringRelease notes
buildScreenShotsStringScreenshot key; access URL is https://www.pgyer.com/image/view/app_screenshots/<screenshot_key>
buildShortcutUrlStringApp short URL
buildCreatedStringUpload time
buildUpdatedStringUpdate 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.

POSThttps://www.pgyer.com/apiv2/app/getByShortcut

Request Parameters

ParameterTypeRequiredDescription
_api_keyStringYesAPI Key — see auth
buildShortcutUrlStringYesApp short URL. For pgyer.com/PgY8, pass just PgY8

Response

FieldTypeDescription
buildKeyStringBuild Key, unique index ID for the app
buildIsFirstIntegerIs this the first build (1: yes; 2: no)
buildIsLastestIntegerIs this the latest version (1: yes; 2: no)
buildTypeIntegerApp type (1: iOS; 2: Android)
buildFileNameStringUploaded filename
buildFileSizeIntegerInstaller size
buildNameStringApp name
buildVersionStringVersion number, default 1.0
buildVersionNoStringBuild version in the uploaded installer, default 1
buildBuildVersionIntegerPgyer-generated build number
buildIdentifierStringApp package identifier — BundleId on iOS, package name on Android
buildCreatedStringUpload time
buildDescriptionStringApp description
buildUpdateDescriptionStringRelease notes
buildShortcutUrlStringApp short URL
buildScreenShotsStringScreenshot 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.

POSThttps://www.pgyer.com/apiv2/app/listMy

Request Parameters

ParameterTypeRequiredDescription
_api_keyStringYesAPI Key — see auth
pageIntegerNoPage number

Response

FieldTypeDescription
buildKeyStringBuild Key, unique index ID for the app
buildTypeIntegerApp type (1: iOS; 2: Android)
buildFileSizeIntegerInstaller size
buildNameStringApp name
buildVersionStringVersion number, default 1.0
buildVersionNoStringBuild version in the uploaded installer, default 1
buildBuildVersionIntegerPgyer-generated build number
buildIdentifierStringApp package identifier — BundleId on iOS, package name on Android
buildIconStringApp 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 /
buildCreatedStringUpload time
appKeyStringUnique 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"
    }
  ]
}

On this page