Skip to content
NewiPhone Duo, live in your browser. Try it →

VibeView for Platforms Overview Apps in accounts

Apps in accounts

Share an app of your organization with every account of your partner, list and read it in an account, start sessions on it, and what stopping a share ends.

An account starts sessions on apps. An app an account uses is either one your organization shares with your partner (you upload the app to your own organization as usual, share it on the Partner page, and every account of that partner can list it, read it and start a session on it), or one of the account’s own: one you upload for it (see Upload an app), or one you registered for it (see Builds in accounts) and build from a template or from its own source (see Start a build from your own source). A build whose distribution is simulator adds a build a session can run to the app; a production build makes a file for a store, not one a session runs (see What a build makes). A session on an app that has no build it can run ends with end_reason app_unavailable.

Every request on this page acts in one account: send an access token of that account, or your partner key with a VibeView-Account header (see Acting in an account).

Share an app with your accounts

On the Partner page, a partner admin of your organization chooses Share an app and picks one of the organization’s apps. Only iOS, Android, Apple TV and Android TV apps can be shared. From then on:

  • every account of your partner lists the app (GET /api/v1/apps/, access is shared) and can start a session on it (POST /api/v1/sessions/ with app set to its id);
  • the session installs the app’s latest build, as a session your own organization starts, unless you pin one (see Pin a build);
  • the session belongs to the account: it counts against the account’s limits and its streaming minutes, appears in the account’s usage, and the app is checked against the account’s own app rules;
  • the app itself stays your organization’s: its builds, their storage and how long they are kept are your organization’s, and no account can change, upload to or delete it.

An app shared with your test partner and your live partner is shared with each separately, so you can try it with your test accounts first.

Stop sharing an app

On the Partner page, Stop sharing removes the share at once:

  • every session of your partner’s accounts on the app ends at once, started or not, with end_reason app_unavailable and a session.ended event;
  • a session being created at the same moment never starts: it ends when it would start, the same way;
  • the app is no longer listed in the accounts, and a new session on it is refused with 404 app_not_found.

You receive share.deleted for the share. While an app is shared it cannot be deleted from your organization.

List the account’s apps

curl https://vibeview.io/api/v1/apps/ \
  -H "Authorization: Bearer $TOKEN"

Scope apps:read. Any contract that includes sessions, embedding or builds allows it. The apps the account can start a session on, newest first: limit (1 to 100, default 10) and starting_after (an app id from the previous page). With external_app_key, only the account’s own apps registered with that key, one per platform (never an app shared with your partner).

{
  "object": "list",
  "data": [
    {
      "object": "app",
      "id": "Xk3pQ9vB2m",
      "name": "Preview",
      "platform": "android",
      "package_name": "com.example.preview",
      "external_app_key": null,
      "access": "shared",
      "registered": null,
      "livemode": false,
      "created": 1763900000
    }
  ],
  "has_more": false
}
MemberMeaning
idThe app’s id: pass it as app when you create a session.
name, platform, package_nameThe app’s name, its platform (ios, android, tvos, androidtv; new values may appear) and its bundle id or package name (null when not known).
external_app_keyYour key of the account’s own app (see Register an app), or null: for an app without one, and always for an app shared with your partner.
accessshared (shared with your partner by your organization) or own (the account’s own app). New values may appear.
registeredWhen the account’s own app was registered, in unix seconds; null for an app that was never registered, and always for an app shared with your partner.
livemodetrue for your live partner, false for your test partner.
createdWhen the app was added, in unix seconds.

Get an app

curl https://vibeview.io/api/v1/apps/Xk3pQ9vB2m \
  -H "Authorization: Bearer $TOKEN"

Scope apps:read. One app the account can use. An app it cannot use (another organization’s, or one no longer shared) is 404 app_not_found, the same answer as an id that does not exist.

List an app’s builds

curl "https://vibeview.io/api/v1/app-builds?app=Q7mZ2xR4kd" \
  -H "Authorization: Bearer $TOKEN"

Scope apps:read, allowed by the same contracts as the app list. The builds of one of the account’s own apps (app, required: without it 422 invalid_request), in the order they were first added, newest first: the files a session can run on it, each one uploaded (see Upload an app) or made by a simulator build of the account (see What a build makes). limit (1 to 100, default 10) and starting_after (a build id of that app from the previous page; another id is 404 app_build_not_found). An app the account does not own is 404 app_not_found: another account’s, and also an app shared with your partner, whose builds are your organization’s, not the account’s.

{
  "object": "list",
  "data": [
    {
      "object": "app_build",
      "id": "k3x9q2abm7tw",
      "app": "Q7mZ2xR4kd",
      "version": "2.4.0",
      "build_number": "240",
      "size_bytes": 48211968,
      "sha256": "9f2c5a0e6b1d4c7a8e3f0b2d5c6a9e1f4b7d0c3a6e9f2b5d8c1a4e7b0d3f6a9c",
      "source": "upload",
      "build": null,
      "expires_on": "2027-01-30",
      "runnable": true,
      "debug": false,
      "livemode": false,
      "created": 1764200000
    }
  ],
  "has_more": false
}
MemberMeaning
idThe build’s id: pass it as build when you create a session to start on this build.
appThe app’s id.
version, build_numberWhat the build declares (build_number is null when it declares none).
size_bytes, sha256The file’s size in bytes and its SHA-256 in hex (null when not known).
sourceupload (uploaded) or build (made by a simulator build of the account). New values may appear.
buildWhen source is build: the oldest of the account’s builds (see Builds in accounts) that succeeded with this file (that build’s app_build names this one), or null while none has. Else null. In app.uploaded, when no build has succeeded with it yet, build is the build that stored the file (still running then). So an app build can show build null here after its app.uploaded named one: the build stored the file and then did not succeed (it was cancelled or ran out of time). The file stays a build of the app either way. A file stored again after its earlier copy expired, and the same file made again by a later build, keep naming the oldest build that succeeded with it; the second stores nothing and sends no event, and its own app_build names this one.
expires_onThe day (YYYY-MM-DD) its file is removed under the account’s build retention unless the build is kept, the same day retention.expiring shows for it. null until such a day is set (it is set at least 14 days ahead, when the removal comes that close, and retention.expiring announces it), and once its file is gone. Using a build does not move the day.
runnabletrue when a session started through this API can run it now; false once its file is gone, or when no device such a session can use runs it.
debugtrue when the build needs a development server to run. A session started without build may prefer a build that needs no development server; name a build as build to run a specific one.
livemodetrue for your live partner, false for your test partner.
createdWhen its file was last stored, in unix seconds. A build whose file was stored again shows that later time, so it can be newer than builds listed before it.

Get an app build

curl https://vibeview.io/api/v1/app-builds/k3x9q2abm7tw \
  -H "Authorization: Bearer $TOKEN"

Scope apps:read. One build of the account’s own apps. Any other id (another account’s, a build of an app shared with your partner, or one that does not exist) is 404 app_build_not_found.

Upload an app

curl -X POST https://vibeview.io/api/v1/apps/upload \
  -H "Authorization: Bearer $TOKEN" \
  -H "Idempotency-Key: shop-42-release-240" \
  -F "file=@app-release.apk" \
  -F "external_app_key=shop-42"

Scope apps:write, allowed by a contract with any of the sessions, embedding or builds capabilities. Stores a build a session can run in the account, sent as multipart/form-data:

  • file (required): an Android or Android TV .apk, or an iOS or Apple TV simulator build (a zipped .app: .zip, .tar.gz or .tgz). At most 500 MB. Device builds (.ipa), TV web packages and Roku channels are not taken: 422 unsupported_platform, whose message names the files that are. Sessions on Roku, Samsung and LG TVs, and cloud builds of their packages for accounts, are coming soon (see Not available yet).
  • external_app_key (optional): your own id of the app, as Register an app takes it. The upload goes to the account’s app of that key on the build’s platform, and makes it when there is none; an app you registered gets its first build this way. A build of another package than that app’s is 409 package_mismatch.
  • name (optional, 1 to 200 characters): the app’s name when the upload makes a new app; otherwise the name the build declares.
  • note (optional, at most 1000 characters): kept with the build.

The build itself decides its app: its package (or bundle id) and platform. Without external_app_key the upload goes to the account’s app of that package on that platform that has no key, and makes it when there is none. Uploads that arrive at once for an app that does not exist yet make one app between them.

The answer is the app build (as Get an app build returns it; its app is the app’s id): 201 for a new file. Uploading the same file again for the same app answers that app build unchanged with 200 and sends nothing. A file whose earlier copy expired under the account’s build retention is stored again under its earlier id (201). Each new file sends app.uploaded (see Events and webhooks), with the app and the new app build.

The file counts toward the account’s storage: an upload that would take the account over its storage limit is 403 storage_limit_reached (delete builds it no longer needs and try again). A file that is of an accepted kind but not a readable build of it is 422 invalid_app_file; a build no device VibeView offers can run is 422 app_build_not_runnable (the message says why); an app the account’s app rules do not allow is 403 app_blocked; a file over 500 MB is 413 file_too_large (see Error codes). The file is never repeated in an error.

Send an Idempotency-Key: a repeat of the same upload (the same members and the same file) answers the first answer again. A refusal that can change (storage_limit_reached, 503 busy) is not kept, so the same key can try again; another file or member with the same key is 422 idempotency_key_reused. A retry with the same key while the first upload is still being processed, or within 10 minutes of an upload that was cut off before it finished, answers 409 idempotency_in_progress: retry later with the same key.

Upload a build of an app

curl -X POST https://vibeview.io/api/v1/apps/Q7mZ2xR4kd/builds \
  -H "Authorization: Bearer $TOKEN" \
  -H "Idempotency-Key: shop-42-release-241" \
  -F "file=@app-release.apk" \
  -F "version=2.4.1"

Scope apps:write. Stores a new build of one of the account’s own apps: file (required, of the app’s platform, as above), version (optional, 1 to 64 characters: the build’s version, instead of the one the build declares) and note (optional). The build’s package must be the app’s (409 package_mismatch). An app the account does not own (another account’s, or one shared with your partner) is 404 app_not_found. The answers, the refusals, the event and the Idempotency-Key work as for Upload an app: the same file and version already stored answers 200.

Delete an app

curl -X DELETE https://vibeview.io/api/v1/apps/Q7mZ2xR4kd \
  -H "Authorization: Bearer $TOKEN"

Scope apps:write. Deletes one of the account’s own apps, and with it:

  • its app builds and their files;
  • its build numbers;
  • its build variables set on the app (their values and files);
  • its saved store submission defaults;
  • its signing credentials (see Signing keys below).

An app registered with external_app_key frees the key: registering or uploading with it again makes a new app. The answer:

{ "object": "app", "id": "Q7mZ2xR4kd", "deleted": true }
  • Sessions. Every live session of the account on the app (waiting, starting or active, on any of its builds) ends in the same request with end_reason app_unavailable, and each sends session.ended.
  • Storage. The app builds’ files stop counting toward the account’s storage at once. The app’s finished cloud builds are not deleted: each keeps its record (its app reads null from then on) and its stored output, which keeps counting toward the account’s storage until it expires under the account’s build retention.
  • Cloud builds and submissions. While a cloud build of the app is queued or running, a store submission of one of its builds has not finished, or a build’s automatic submission has not been sent yet, the delete is 409 app_in_use and the app stays as it is. Wait for it to finish, or cancel the build, then delete again.
  • Embed keys. An app with a live embed key cannot be deleted (409 app_in_use): revoke the key first (see Embed one of an account’s own apps), then delete the app.
  • Signing keys. A keystore VibeView generated for the app that signed a build and was never exported is 409 signing_material_not_exported (credentials names it): export it first, or send confirm_signing_material_loss=true to delete it with the app, for good.
  • An app the account does not own (another account’s, or one shared with your partner) is 404 app_not_found, as is an app already deleted: deleting twice answers 404 the second time. While another request changes the app, 503 busy (retry after Retry-After).

No event is sent for the deletion itself: your server made the call. It takes no Idempotency-Key.

Delete an app build

curl -X DELETE https://vibeview.io/api/v1/app-builds/k3x9q2abm7tw \
  -H "Authorization: Bearer $TOKEN"

Scope apps:write. Deletes one build of the account’s own apps and its file; the app and its other builds stay. The answer:

{ "object": "app_build", "id": "k3x9q2abm7tw", "deleted": true }

Every live session of the account running that build (started with it as build, or whose installed_build it is) ends in the same request with end_reason app_unavailable, and each sends session.ended; sessions on the app’s other builds go on. A session created afterwards without build runs the app’s newest remaining build. The file stops counting toward the account’s storage at once. A cloud build that made this app build keeps its record, and its app_build reads null from then on. Any other id (another account’s, a build of an app shared with your partner, or a build already deleted) is 404 app_build_not_found. No event is sent for the deletion itself, and it takes no Idempotency-Key.

Start a session on an app

curl https://vibeview.io/api/v1/sessions/ \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"device_type": "android", "device_category": "phone", "model": "Pixel 8", "os_version": "Android 15 (API 35)", "app": "Xk3pQ9vB2m"}'

The app must be of the offering’s platform and form factor (a TV app on a TV, a phone or tablet app on a phone or tablet), else 422 invalid_request naming app. An app the account’s app rules do not allow is 403 app_blocked. See Sessions from your server for starting, holding and ending the session.

Last updated 2 Dec 2026 Something wrong on this page? Tell us

Search the docs