Developer API

Use the API to upload APK/IPA files and get share links. Authenticate with an App Password (token header) or with a browser session.

Base URL
https://tools.whitecodel.com/app-share
Authentication

Upload endpoints accept either:

How to get and use an App Password (full steps):

  1. Log in at tools.whitecodel.com.
  2. Go to Account (your account page).
  3. In the App Passwords section, click Create App Password.
  4. Copy the generated password immediately — it is shown only once. You can have up to 5 App Passwords per account.
  5. Use this value in the token header for all API requests (see examples below).

Header for API requests:

token: YOUR_APP_PASSWORD

Your account must have an active App Share subscription. If the token is missing or invalid, you get 401 (or a login prompt when using the web UI).

POST /uploadFile

Upload an APK or IPA file using multipart/form-data.

Headers:

Form fields – Required:

Form fields – Optional:

Example (curl):

curl --location 'https://tools.whitecodel.com/app-share/uploadFile' \
  --header 'token: YOUR_APP_PASSWORD' \
  --form 'file=@"/path/to/your/app.apk"' \
  --form 'comment="Version 1.2 fixes"' \
  --form 'expiresInDays="14"'
POST /uploadFromUrl

Upload an APK or IPA from a remote URL. Send a JSON body (not form-data).

Headers:

Body (JSON):

Example (curl):

curl --location 'https://tools.whitecodel.com/app-share/uploadFromUrl' \
  --header 'token: YOUR_APP_PASSWORD' \
  --header 'Content-Type: application/json' \
  --data '{
    "fileUrl": "https://example.com/build.apk",
    "comment": "CI build",
    "expiresInDays": 14
  }'
Response (upload endpoints)

200 OK returns { appMetaDoc: { ... } } with:

Errors: 400 (validation), 401 (invalid token / not logged in), 402 (subscription required), 500 (server error).

Public endpoints (no auth)
Account – edit app details

When logged in via session:

Back to Upload