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.
POST
https://upload.pgyer.com/apiv1/app/uploadRequest Parameters
| Parameter | Type | Description |
|---|---|---|
| uKey | String | Required. User Key. |
| _api_key | String | Required. API Key. |
| file | File | Required. ipa or apk file. |
| installType | Integer | Optional. Install type: 1 public, 2 password, 3 invite. Defaults to 1. |
| password | String | Optional. App install password. |
| updateDescription | String | Optional. Version update description. |
| channelShortcut | String | Optional. Shortcut of the channel to update. Only one channel can be specified. |
Response Data
Returns app build fields such as appKey, userKey, appType, appName, appVersion, appIdentifier, appShortcutUrl, appQRCodeURL, appCreated, and appUpdated.
cURL Example
curl -F "file=@/tmp/example.ipa" -F "uKey=YOUR_UKEY" -F "_api_key=YOUR_API_KEY" https://upload.pgyer.com/apiv1/app/upload