Pgyer Docs
API 1.0 (Archive)

Upload App

Legacy API 1.0 endpoint for uploading apps.

This page documents legacy API 1.0 endpoints. New integrations should use API 2.0 Upload and Publish.

Upload App

Upload an ipa or apk file to Pgyer. Use HTTP POST with multipart/form-data.

POSThttps://upload.pgyer.com/apiv1/app/upload

Request Parameters

ParameterTypeDescription
uKeyStringRequired. User Key.
_api_keyStringRequired. API Key.
fileFileRequired. ipa or apk file.
installTypeIntegerOptional. Install type: 1 public, 2 password, 3 invite. Defaults to 1.
passwordStringOptional. App install password.
updateDescriptionStringOptional. Version update description.
channelShortcutStringOptional. Shortcut of the channel to update. Only one channel can be specified.

Response Data

ParameterTypeDescription
appKeyStringApp Key.
userKeyStringUser Key.
appTypeIntegerApp type: 1 iOS, 2 Android.
appIsFirstIntegerWhether this is the first build: 1 yes, 2 no.
appIsLastestIntegerWhether this is the latest build: 1 yes, 2 no.
appFileSizeIntegerApp file size.
appNameStringApp name.
appVersionStringVersion.
appVersionNoIntegerAndroid version code; always 0 for iOS.
appBuildVersionIntegerBuild number generated by Pgyer to distinguish historical builds.
appIdentifierStringBundle ID on iOS or package name on Android.
appIconStringApp icon key. Retrieve the image from https://www.pgyer.com/image/view/app_icons/{appIcon}.
appDescriptionStringApp description.
appUpdateDescriptionStringRelease notes.
appScreenShotsStringScreenshot keys. Retrieve an image from https://www.pgyer.com/image/view/app_screenshots/{screenshotKey}.
appShortcutUrlStringApp short URL.
appQRCodeURLStringApp QR-code URL.
appCreatedStringUpload time.
appUpdatedStringLast update time.

Upload App Example

Upload an app from Linux with curl:

curl -F "file=@/tmp/example.ipa" -F "uKey=YOUR_UKEY" -F "_api_key=YOUR_API_KEY" https://upload.pgyer.com/apiv1/app/upload

Replace YOUR_UKEY and YOUR_API_KEY with the values for your account.

On this page