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

VibeView for Platforms Overview API reference

API reference

Every endpoint a partner key or access token can call, with scope, parameters, response and errors: contract, accounts, usage, tokens, webhooks, apps, sessions.

Every endpoint a partner key or an access token can call. The guides explain how they fit together; this page lists each one with its scope, its parameters and what it returns.

  • Base URL: https://vibeview.io/api/v1
  • Authentication: Authorization: Bearer <partner key or access token>. See Keys, tokens and scopes.
  • Account: endpoints marked in an account need an access token of the account, or a partner key with VibeView-Account: org_….
  • Bodies: JSON, with Content-Type: application/json, except the uploads (a store key, a signing credential, a build variable’s file, an app build), which are multipart/form-data. A member an endpoint does not take is refused with 422 invalid_request naming it. The bodies of presence, control, launch-app, install and agent tools are at most 64 KB.
  • Errors, idempotency, rate limits and pagination: see Errors, idempotency, versioning and rate limits. Every endpoint can also answer 401 unauthenticated and 429 rate_limited, and every endpoint that names a scope can answer 403 insufficient_scope.
  • Machine-readable: GET https://vibeview.io/api/v1/partners/openapi.json (no credential needed) describes these same endpoints as an OpenAPI document.

Your partner

Who am I

GET /api/v1/partners/me

Any key of your partner, whatever its scopes, or any access token. Which partner the credential belongs to: its id (the {ptn} in the paths below), name, environment and livemode (true for a live partner), and account: the access token’s account, or null for a partner key. Nothing else. Call it once at start-up when all you hold is the credential. A key’s answer:

{"object": "partner", "id": "ptn_2a35e7192946864e", "name": "Acme Streaming", "environment": "test", "livemode": false, "account": null}

An access token’s answer names its account:

{"object": "partner", "id": "ptn_2a35e7192946864e", "name": "Acme Streaming", "environment": "test", "livemode": false, "account": "org_bb1240a49a6601f1"}

Contract

Get your contract

GET /api/v1/partners/{ptn}/contract

Any key of your partner, whatever its scopes. Your current terms: environment, api_version, capabilities, account_defaults and account_maxima (the limits a new account gets, and the highest you may set), caps (your accounts together), max_accounts, rate_limits (partner_per_minute, account_per_minute), build_time_limit_s (how long an account’s build may run, in seconds; a production build gets 20 minutes more), build_retention_days (how many days a new account keeps its build files), queue_priority (high or low: how your accounts’ sessions are ordered while they wait for a device) and embed_domains (how many sites your embed keys may list; see Embedding). It also shows prices and usage_thresholds, described below. An answer, with example values:

{
  "object": "contract",
  "partner": "ptn_34e771b2c0472a4d",
  "environment": "test",
  "api_version": "2026-11-09",
  "capabilities": ["sessions"],
  "account_defaults": {"concurrent_sessions": 1, "max_session_minutes": 30, "streaming_minutes_per_month": 600, "build_minutes_per_month": 10, "build_minutes_mac_per_month": 0, "concurrent_builds": 1, "storage_bytes": 1000000, "collab_guests_per_session": 1},
  "account_maxima": {"concurrent_sessions": 2, "max_session_minutes": 60, "streaming_minutes_per_month": 1200, "build_minutes_per_month": 100, "build_minutes_mac_per_month": 0, "concurrent_builds": 1, "storage_bytes": 10000000, "collab_guests_per_session": 3},
  "caps": {"concurrent_sessions": 5, "concurrent_builds": 1, "concurrent_builds_mac": 0},
  "max_accounts": 3,
  "build_retention_days": 30,
  "build_time_limit_s": 1800,
  "queue_priority": "low",
  "embed_domains": 0,
  "rate_limits": {"partner_per_minute": 300, "account_per_minute": 60},
  "prices": {},
  "usage_thresholds": {}
}
MemberMeaning
pricesThe unit price of each billing unit in your agreement, in whole micro-USD (1,000,000 is $1.00). Keys: streaming_minute (a minute of streaming), build_minute (a build minute), build_minute_over_limit (an extra charge for each build minute past an account’s monthly limit and the extra build minutes you gave it for the period, on top of build_minute), build_minute_mac and build_minute_mac_over_limit (the same two for Mac build minutes), storage_gb_month (a GB stored for a month: each day’s peak, averaged over the month; 1 GB is 1,000,000,000 bytes). Only the keys your contract sets appear. A test partner’s prices are zero.
usage_thresholdsThe monthly usage lines agreed in your contract, across all your accounts, in ascending order. Keys: streaming_seconds, build_minutes, build_minutes_over_limit, build_minutes_mac, build_minutes_mac_over_limit. Only the units your contract sets appear.

Both are always present and are empty objects when your contract sets none. New keys may be added to either.

Accounts

See Accounts for the account object, limits and states.

Create an account

POST /api/v1/partners/{ptn}/accounts

Scope accounts:write. Takes Idempotency-Key.

Body
external_refRequired. 1 to 128 of A-Z a-z 0-9 . _ -. Unique among your live accounts. No personal data.
display_nameOptional. 1 to 256 characters. Defaults to external_ref.
limitsOptional. Any account limits; the rest take your contract’s defaults.
period_anchor_dayOptional. 1 to 31: the day of the month the account’s periods start on. Defaults to the day it is created (UTC). See Periods.

Returns 201 with the account. Errors: 409 external_ref_taken, 409 max_accounts_reached, 422 limit_above_contract, 422 unknown_limit, 422 invalid_limit, 422 invalid_request, 409 partner_not_active.

List accounts

GET /api/v1/partners/{ptn}/accounts

Scope accounts:read. Your live accounts, newest first.

Query
limit1 to 100. Default 10.
starting_afterAn account id from the previous page.
external_refOnly the account with this external_ref (exact).

Returns a list of accounts.

Get an account

GET /api/v1/partners/{ptn}/accounts/{org}

Scope accounts:read. The account, with usage for its current period: period (start, end), streaming_seconds, build_minutes, build_minutes_mac and storage_bytes. Errors: 404 account_not_found.

Update an account

PATCH /api/v1/partners/{ptn}/accounts/{org}

Scope accounts:write.

Body
display_nameA new name, or null to go back to external_ref.
limitsOnly the limits you send change. build_time_limit_s: seconds, 60 up to your contract’s build_time_limit_s, or null to go back to it.
period_anchor_day1 to 31. Cuts the current period at the next occurrence of the new day. See Change the anchor day.
extra{"streaming_minutes": N, "build_minutes": N, "build_minutes_mac": N}, each optional (at least one), 0 to 100,000: what is left of the current period’s extra minutes of that kind from now on. See Set what is left.

Returns the account. Errors: 422 limit_above_contract, 422 unknown_limit, 422 invalid_limit, 422 invalid_request, 409 period_change_blocked, 409 extra_not_applicable (streaming minutes only), 404 account_not_found.

Add extra minutes

POST /api/v1/partners/{ptn}/accounts/{org}/extra-minutes

Scope accounts:write. Takes Idempotency-Key (each call adds). See Extra minutes.

Body
streaming_minutesOptional. 1 to 100,000. A period’s total is at most 1,000,000.
build_minutesOptional. 1 to 100,000. A period’s total is at most 1,000,000.
build_minutes_macOptional. 1 to 100,000. A period’s total is at most 1,000,000.
period_startOptional. Unix seconds: the current period’s start (the default), or the previous period’s while a session that started in it is running (streaming_minutes) or a build created in it is still queued or running, its minutes still null (build_minutes; a Mac build for build_minutes_mac); with more than one, while each holds.

Send at least one of streaming_minutes, build_minutes and build_minutes_mac; with more than one, all are added or none is. Returns the account, its extra being what is left in that period. Errors: 422 invalid_request (streaming_minutes, build_minutes, build_minutes_mac or period_start; no field when no member is sent), 409 extra_not_applicable (streaming minutes only), 409 partner_not_active, 404 account_not_found.

Suspend an account

POST /api/v1/partners/{ptn}/accounts/{org}/suspend

Scope accounts:write. Takes Idempotency-Key. Body (optional): reason, your own note, at most 200 characters. Ends the account’s sessions and refuses every request in it until you resume it. Suspending a suspended or deleting account changes nothing. Returns the account.

Resume an account

POST /api/v1/partners/{ptn}/accounts/{org}/resume

Scope accounts:write. Takes Idempotency-Key. Lifts your suspension. The account stays suspended while VibeView also suspends it. Returns the account. Errors: 409 partner_not_active.

Delete an account

DELETE /api/v1/partners/{ptn}/accounts/{org}

Scope accounts:write. Irreversible. Returns 202 with the account ("status": "deleting") and deletion (accepted, scheduled). Its tokens stop at once, its sessions end, and account.deleted follows once it is torn down. A repeat answers the same 202. Works while your partner is being closed. Query: confirm_signing_material_loss (default false). Errors: 409 signing_material_not_exported (the account holds a keystore VibeView generated that signed a build and nobody exported; credentials names it).

Usage

See Usage for what each unit counts, when a record is final, prices and how to work out an amount. Both endpoints answer a list of usage_record objects (id, day, account, unit, quantity, final, price) and current_period (the account’s current period so far, see Periods). A record’s id (urec_…) is an opaque string, the same for that record for ever: do not parse it.

Query (both)
from, toUTC days, YYYY-MM-DD, inclusive. to defaults to today, from to the first day of to’s month. At most 92 days.
unitOnly this unit: streaming_seconds, build_minutes, build_minutes_over_limit, build_minutes_mac, build_minutes_mac_over_limit or storage_bytes.
limit1 to 100. Default 10.
starting_afterA usage record id from the previous page.

A malformed day, from after to, a longer range or an unknown unit is 422 invalid_request naming the parameter. A starting_after that is not one of the records you can read is 404 usage_record_not_found.

List your accounts’ usage

GET /api/v1/partners/{ptn}/usage

Scope partner_usage:read. Every account’s records, ordered by day, then account (in an order that stays the same), then unit. account (org_…) reads one account, deleted ones included, and then adds current_period when to is today or later. Errors: 404 account_not_found.

curl "https://vibeview.io/api/v1/partners/$PTN/usage?account=org_b4cc224dfd904062&limit=2" \
  -H "Authorization: Bearer $VIBEVIEW_KEY"
{
  "object": "list",
  "data": [
    {
      "object": "usage_record",
      "id": "urec_b3JnX2I0Y2MyMjRkZmQ5MDQwNjJ8MjAyNi0xMS0yMnxzdHJlYW1pbmdfc2Vjb25kcw",
      "day": "2026-11-22",
      "account": "org_b4cc224dfd904062",
      "unit": "streaming_seconds",
      "quantity": 754,
      "final": false,
      "price": {"key": "streaming_minute", "unit_amount_micro": 0, "currency": "usd"}
    }
  ],
  "has_more": false,
  "current_period": {
    "period": {"start": 1793491200, "end": 1796083200},
    "streaming_seconds": 754,
    "build_minutes": 0,
    "build_minutes_mac": 0,
    "storage_bytes": 0,
    "as_of": 1795354974
  }
}

List an account’s usage

GET /api/v1/usage

Scope usage:read, in an account. The account’s own records, ordered by day, then unit, with current_period whenever to is today or later. It takes no account parameter: an access token reads its own account, a key the one in VibeView-Account.

curl "https://vibeview.io/api/v1/usage?limit=2" \
  -H "Authorization: Bearer $VIBEVIEW_KEY" \
  -H 'VibeView-Account: org_b4cc224dfd904062'
{
  "object": "list",
  "data": [
    {
      "object": "usage_record",
      "id": "urec_b3JnX2I0Y2MyMjRkZmQ5MDQwNjJ8MjAyNi0xMS0yMnxzdHJlYW1pbmdfc2Vjb25kcw",
      "day": "2026-11-22",
      "account": "org_b4cc224dfd904062",
      "unit": "streaming_seconds",
      "quantity": 754,
      "final": false,
      "price": {"key": "streaming_minute", "unit_amount_micro": 0, "currency": "usd"}
    }
  ],
  "has_more": false,
  "current_period": {
    "period": {"start": 1793491200, "end": 1796083200},
    "streaming_seconds": 754,
    "build_minutes": 0,
    "build_minutes_mac": 0,
    "storage_bytes": 0,
    "as_of": 1795354974
  }
}

Access tokens

Mint an access token

POST /api/v1/partners/{ptn}/accounts/{org}/tokens

Scope tokens:write, keys only. Takes Idempotency-Key (a replay is 409 already_created with the token’s id, never the token).

Body
scopesRequired. 1 to 32 account scopes the key holds.
ttl_seconds60 to 14400. Default 3600.

Returns 201 with id (atok_…), token (vvat_…, shown once), account, scopes and expires_at. Errors: 422 invalid_request (reason not_mintable or exceeds_key, naming the scope), 403 account_suspended_by_partner, 403 account_deleting.

Revoke an access token

DELETE /api/v1/partners/{ptn}/accounts/{org}/tokens/{atok}

Scope tokens:write. The token stops working at once. Returns {"object": "access_token", "id", "account", "revoked": true}. Errors: 404 access_token_not_found.

Webhook endpoints

Endpoints are created, changed and deleted on the Partner page. See Events and webhooks.

List webhook endpoints

GET /api/v1/partners/{ptn}/webhook-endpoints

Scope webhooks:read. Your endpoints, disabled ones included, newest first (limit, starting_after). Never a secret.

Get a webhook endpoint

GET /api/v1/partners/{ptn}/webhook-endpoints/{whe}

Scope webhooks:read. One endpoint: url, description, enabled_events, status (enabled or disabled), disabled_reason (failing, partner or vibeview), previous_secret_expires_at (while an old secret still signs), recovering_since and created. Errors: 404 webhook_endpoint_not_found.

Resend events to an endpoint

POST /api/v1/partners/{ptn}/webhook-endpoints/{whe}/recover

Scope webhooks:write. Takes Idempotency-Key. Body: since, unix seconds, at most 30 days back. Sends the endpoint every event since then again. Returns the endpoint with recovering_since set. Errors: 409 webhook_endpoint_disabled.

Shares

On the Partner page, your organization shares its apps with your partner, and stops sharing them. Only iOS, Android, Apple TV and Android TV apps can be shared. Every account of your partner can list a shared app and start sessions on it; stopping a share ends those sessions (see Apps in accounts). An app cannot be deleted while it is shared.

List shares

GET /api/v1/partners/{ptn}/shares

Scope accounts:read. The apps your organization shares with your partner, newest first (limit, starting_after): each share’s id (shr_…), kind (app), app (the app’s id), app_name, platform, livemode and created. A share removed after you read a page can still be passed as starting_after. Errors: 404 share_not_found (for starting_after).

Embed keys

On the Partner page, a partner admin of your organization creates embed keys on the apps your organization shares with your partner, changes and revokes them, and reads or rotates a key’s visitor secret (each after confirming their identity). Every session a key starts needs a visitor token signed with its visitor secret. A rotated secret keeps working for 24 hours beside the new one, unless it is ended at once. The sites a key allows count toward your contract’s embed domain limit; a domain and its subdomains count as one site, and while your contract limits them every key lists at least one. Removing the share of an app revokes its keys. A test partner’s keys start with ek_test_…, a live partner’s with ek_live_…. Each session a key starts runs in the account its visitor token names (see Embedding a device in your product).

An account’s own apps have embed keys of their own, which your server manages in the account with embed:read and embed:write (the /api/v1/app-embed-keys endpoints below). They are the same embed_key object; a visitor token for one names that account in acc. Their sites count with your shared-app keys against your contract. The Partner page’s list shows the keys on shared apps only.

List embed keys

GET /api/v1/partners/{ptn}/embed-keys

Scope accounts:read. Your partner’s live embed keys, newest first (limit, starting_after): each key’s id (the key itself, public by design), name, app, platform, allowed_domains, device_config, limits (concurrent_sessions, max_session_minutes, sessions_per_visitor; a null limit means the account’s own limit applies), previous_secret_expires_at (while a rotated secret still works), livemode and created. Never a visitor secret. A key revoked after you read a page can still be passed as starting_after. Errors: 404 embed_key_not_found (for starting_after).

List an account’s embed keys

GET /api/v1/app-embed-keys

Scope embed:read, in an account. See Embed one of an account’s own apps. The live embed keys of the account’s own apps, newest first, as in List embed keys. Never a visitor secret. Query: app (an app id: only its keys), limit (1 to 100), starting_after (an embed key id). Errors: 404 app_not_found (for app), 404 embed_key_not_found (for starting_after).

Get an account’s embed key

GET /api/v1/app-embed-keys/{ek}

Scope embed:read, in an account. One live embed key of the account’s own apps, never its visitor secret. Errors: 404 embed_key_not_found (a revoked key, another account’s, or a key on an app shared with your partner).

Create an account’s embed key

POST /api/v1/app-embed-keys

Scope embed:write, in an account. Body: name (required), app (required: one of the account’s own apps), allowed_domains, device_config (show_picker, models, default_model, default_os_version) and limits (concurrent_sessions, max_session_minutes, sessions_per_visitor). Answers 201 with the key and its visitor secret, shown this once (Cache-Control: no-store), and sends embed_key.created. Takes an Idempotency-Key: a repeat is 409 already_created. Errors: 404 app_not_found (an app shared with your partner, or another account’s), 422 limit_above_contract (the sites of your partner’s keys together; max), 422 invalid_request (no site while your contract limits them, or an app no session can run), 403 capability_disabled.

Update an account’s embed key

PATCH /api/v1/app-embed-keys/{ek}

Scope embed:write, in an account. Merges name, allowed_domains, device_config and limits (only the members sent change; none may be null). A change sends embed_key.updated. Errors: 404 embed_key_not_found, 422 limit_above_contract, 422 invalid_request.

Revoke an account’s embed key

DELETE /api/v1/app-embed-keys/{ek}

Scope embed:write, in an account. The key starts no session again and its live sessions end (link_revoked); sends embed_key.revoked. It still works after your contract stops including embedding, so the key’s app can then be deleted. Returns object embed_key, id and deleted: true. Errors: 404 embed_key_not_found (also for a repeat).

Rotate an account’s embed key’s secret

POST /api/v1/app-embed-keys/{ek}/rotate-secret

Scope embed:write, in an account. Body: expire_previous_now (default false). Answers the key with its new secret, shown this once; the replaced secret keeps working for 24 hours unless expire_previous_now. Only one replaced secret is kept: a second rotation within 24 hours ends the oldest at once. Sends embed_key.secret_rotated. Takes an Idempotency-Key: a repeat is 409 already_created. If a rotation’s answer was lost (its retry answers 409 already_created), rotating again replaces the secret you never saw and ends the one before it at once, so pages still signing with that one stop working: deploy the new secret everywhere before relying on the overlap. Errors: 404 embed_key_not_found, 409 secret_rotation_conflict.

Events

List events

GET /api/v1/partners/{ptn}/events

Scope webhooks:read. Your events of the last 30 days, newest first, as your endpoints receive them.

Query
typeOnly events of this type.
accountOnly events about this account.
limit, starting_afterPagination (an event id).

A key never sees partner_key.* events here.

Webhook deliveries

List deliveries

GET /api/v1/partners/{ptn}/webhook-deliveries

Scope webhooks:read. Deliveries of the last 30 days, newest first. Filters: endpoint, event, status (pending, succeeded, failed), and limit, starting_after. Each delivery has event, event_type, endpoint, status, attempt_count, next_attempt_at (while pending), last_attempt_at, last_status_code, last_error and failed_reason. Errors: 404 event_not_found, 404 webhook_endpoint_not_found for a filter that is not yours.

Get a delivery

GET /api/v1/partners/{ptn}/webhook-deliveries/{evd}

Scope webhooks:read. The delivery with its attempts (attempt, trigger scheduled or manual, started, duration_ms, status_code, error). Errors: 404 webhook_delivery_not_found.

Retry a delivery

POST /api/v1/partners/{ptn}/webhook-deliveries/{evd}/retry

Scope webhooks:write. Takes Idempotency-Key. Sends an ended delivery once more, now. Returns the delivery, pending. Errors: 409 not_retryable (reason pending or endpoint_disabled).

Devices

List device offerings

GET /api/v1/devices/pools

Scope sessions:read, in an account. The kinds of device a session can start on: type, category, model, os_version and available. See Device offerings.

Apps

See Apps in accounts for the app object and sharing.

List apps

GET /api/v1/apps/

Scope apps:read (allowed by a contract with sessions, embedding or builds), in an account. The apps the account can start a session on, newest first: its own and those your organization shares with your partner. Query: limit (1 to 100), starting_after (an app id), external_app_key (only the account’s own apps registered with that key, one per platform). Each app’s id, name, platform, package_name, external_app_key (null for a shared app), access (own or shared), registered, livemode and created. Errors: 404 app_not_found (for starting_after).

Get an app

GET /api/v1/apps/{app_id}

Scope apps:read, in an account. One app the account can use. Errors: 404 app_not_found.

List an app’s builds

GET /api/v1/app-builds

Scope apps:read, in an account. See List an app’s builds. The builds of one of the account’s own apps, in the order they were first added, newest first: each app build’s id, app, version, build_number, size_bytes, sha256, source (upload or build), build, expires_on, runnable, debug, livemode and created. Query: app (required, an app id), limit (1 to 100), starting_after (an app build id). Errors: 404 app_not_found (another account’s app, or one shared with your partner), 404 app_build_not_found (for starting_after), 422 invalid_request (no app).

Get an app build

GET /api/v1/app-builds/{public_id}

Scope apps:read, in an account. One build of the account’s own apps. Errors: 404 app_build_not_found.

Upload an app

POST /api/v1/apps/upload

Scope apps:write (a contract with sessions, embedding or builds), in an account. See Upload an app. multipart/form-data: file (required: an Android or Android TV .apk, or an iOS or Apple TV simulator build as .zip, .tar.gz, .tgz or .app; at most 500 MB), external_app_key, name and note (optional). Stores the file as a new app, or a new build of the account’s app the build names (by external_app_key, else by its package on its platform). Answers the app build: 201 for a new file (and sends app.uploaded), 200 when the same file of that app is already stored. Takes an Idempotency-Key. Errors: 422 unsupported_platform, 422 invalid_app_file, 422 app_build_not_runnable, 409 package_mismatch (a build of another package than the key’s app), 403 storage_limit_reached, 403 app_blocked, 413 file_too_large, 422 invalid_request (a member it does not take), 503 busy.

Upload a build of an app

POST /api/v1/apps/{app_id}/builds

Scope apps:write, in an account. See Upload a build of an app. multipart/form-data: file (required, of the app’s platform), version and note (optional). Answers the app build: 201 for a new file (and sends app.uploaded), 200 when the same file and version is already stored. Takes an Idempotency-Key. Errors: 404 app_not_found (another account’s app, or one shared with your partner), 409 package_mismatch, and the errors of Upload an app.

Delete an app

DELETE /api/v1/apps/{app_id}

Scope apps:write, in an account. See Delete an app. Deletes one of the account’s own apps with its app builds and their files, build numbers, build variables set on the app, saved store defaults and signing credentials (its finished cloud builds keep their records and stored output); the account’s live sessions on it end app_unavailable (each sends session.ended). Query: confirm_signing_material_loss (default false). Returns object app, id and deleted: true. Errors: 404 app_not_found, 409 app_in_use (a cloud build of the app in progress, an unfinished submission of one of its builds, an automatic submission not sent yet, or a live embed key), 409 signing_material_not_exported, 503 busy.

Delete an app build

DELETE /api/v1/app-builds/{public_id}

Scope apps:write, in an account. See Delete an app build. Deletes one build of the account’s own apps and its file; the account’s live sessions running it end app_unavailable (each sends session.ended). Returns object app_build, id and deleted: true. Errors: 404 app_build_not_found, 503 busy.

Register an app

PUT /api/v1/apps/by-external-key/{key}/{platform}

Scope apps:write (a contract with sessions, embedding or builds), in an account. See Register an app. Registers the account’s app of your key on platform (android, androidtv, ios or tvos) without a binary, or updates it: body package_name (required: the package name, or on ios and tvos the bundle id; the rules are in Register an app), name (required), initial_build_number (optional, 1 to 2147483647). Answers the app: 201 when it is new (and sends app.registered), 200 for a repeat. Takes an Idempotency-Key. Errors: 409 package_name_locked (the package can change only while the app has no stored binary (an upload or a build’s output), no build in progress and no successful production build), 403 app_blocked, 422 invalid_request (field key, platform or a body member), 503 busy (another request is changing the app; retry after Retry-After).

List an app’s build numbers

GET /api/v1/apps/{app_id}/versions

Scope builds:read, in an account. See Build numbers. The build numbers of one of the account’s own apps, one per platform, by platform: platform, build_number (the last number given out), updated and livemode. Query: limit (1 to 100), starting_after (a platform). Errors: 404 app_not_found (another account’s app, or a shared one), 404 app_version_not_found (for starting_after).

Set an app’s build number

PUT /api/v1/apps/{app_id}/versions/{platform}

Scope builds:write, in an account. Body build_number (0 to 2147483646): the next automatically numbered build gets one more. platform is the app’s own or the other one of its store. Answers the build number as set. Takes no Idempotency-Key: a repeat sets the value again, even if a build used a number in between. Errors: 404 app_not_found, 422 invalid_request (field platform or build_number).

List build variables

GET /api/v1/build-env/

Scope builds:read, in an account. See Build variables. The account’s build variables, newest first: never a value, never a secret’s hint. Query: app (only that app’s variables), limit (1 to 100), starting_after (a variable id). Errors: 404 app_not_found (for app), 404 variable_not_found (for starting_after).

Set a build variable

POST /api/v1/build-env/

Scope builds:write, in an account. JSON name, visibility, value and optional app and profile; or the same as multipart/form-data with file instead of value. An upsert by name and scope: 201 for a new name, 200 (the same id) for a name the scope already has. Takes an Idempotency-Key. Errors: 404 app_not_found, 409 variable_limit_reached, 413 file_too_large, 403 storage_limit_reached, 422 invalid_request (never repeating what you sent), 503 busy (retry after Retry-After).

Edit a build variable

PATCH /api/v1/build-env/{var_id}

Scope builds:write, in an account. Body value and/or visibility. Answers the variable. Errors: 404 variable_not_found, 422 invalid_request (field value: a secret made readable without a new value, or a file).

Delete a build variable

DELETE /api/v1/build-env/{var_id}

Scope builds:write, in an account. Answers {"object": "build_variable", "id", "deleted": true}. Errors: 404 variable_not_found.

Sessions

See Sessions from your server for the session object, its statuses and end reasons. build is the build the session was created with; installed_build is the build its device runs (see Pin a build and Install a newer build).

Create a session

POST /api/v1/sessions/

Scope sessions:write, in an account. Takes Idempotency-Key.

Body
device_type, device_category, model, os_versionRequired. One offering, exactly as listed.
appRequired. An app the account can use: its id as GET /api/v1/apps/ lists it. Without one: 422 invalid_request, field app.
buildOptional, only with app. One build of the app, by its build id; without it the newest build. Refused with 422 invalid_request, field build (see Pin a build).
launch_paramsOptional, only with app. A flat JSON object.
labelsOptional. Up to 10 pairs; keys and values 1 to 64 letters, digits and . _ : -; a key given twice keeps its last value.
reuseOptional boolean. true returns the account’s live session with the same labels, app, build, confined and offering (needs a label).

Returns 201 with the session, pending, and reused: false; with reuse, 200 with the live session it found and reused: true (see Labels and reuse). Errors: 422 invalid_request, 409 device_unavailable, 409 session_create_in_progress, 404 app_not_found, 403 concurrent_sessions_limit, 403 partner_concurrent_sessions_limit, 403 streaming_minutes_exhausted.

List sessions

GET /api/v1/sessions/

Scope sessions:read, in an account. The account’s sessions, newest first. Query: limit (1 to 100), starting_after (a session id), status (repeatable).

Get a session

GET /api/v1/sessions/{session_id}

Scope sessions:read, in an account. Does not keep the session alive. Errors: 404 session_not_found.

Start a session

POST /api/v1/sessions/{session_id}/start

Scope sessions:write, in an account. Takes Idempotency-Key. No body. Returns the session as it is now: starting, or pending with queue set when it waits for a device. A session already starting, active or waiting is returned as it is. A waiting session that gets no device within 30 minutes ends with queue_timeout. Errors: 409 session_ended, 429 queue_full.

End a session

DELETE /api/v1/sessions/{session_id}

Scope sessions:write, in an account. Ends the session (or takes it out of the queue) and returns it ended. A session that already ended is returned unchanged.

Keep a session alive

POST /api/v1/sessions/{session_id}/presence

Scope sessions:write, in an account. No body. Holds the session for 60 seconds; call it every 15 seconds. Returns session, expires_at and idle_ends_at (null until the session is active). Errors: 409 session_not_active (stopping), 409 session_ended.

Send input

POST /api/v1/sessions/{session_id}/control

Scope sessions:write, in an account. Not idempotent.

Body
actionRequired. tap, swipe, rotate, shake, button, key, touch_start, touch_move or touch_end.
x, y, x2, y20 to 10000, in the device’s screen pixels. x2, y2: a swipe’s end.
durationMilliseconds, 0 to 60000.
rotation0, 90, 180 or 270.
buttoniOS: HOME, LOCK, SIRI.
keycodeAndroid: BACK, HOME, MENU, DPAD_UP and so on.

Returns {"object": "session_control", "session", "action"}. Errors: 409 session_not_active, 409 session_ended, 503 device_unreachable.

Open an app

POST /api/v1/sessions/{session_id}/launch-app

Scope sessions:write, in an account. Not idempotent. Body: package_name (required, 1 to 200 characters: a bundle id or package name), activity_name (Android), launch_params (a flat JSON object). Returns {"object": "app_launch", "session", "package_name"}. Errors: 409 session_not_active, 409 session_ended, 503 device_unreachable.

Install a build into a session

POST /api/v1/sessions/{session_id}/install

Scope sessions:write, in an account. Not idempotent: read the session’s installed_build before a retry. Body: build (required: an app build id), launch_params (a flat JSON object). Installs the build, opens it (the app restarts) and returns the session, its installed_build the build installed last. It can take up to about five and a half minutes. Only a build of the session’s own app, on every session. Only into a session created through this API. Errors: 409 session_not_active, 409 session_ended, 409 session_not_ready (also while another install runs: one at a time per session), 409 app_not_in_session, 404 app_build_not_found, 422 invalid_request (field: build), 403 app_blocked, 422 install_failed, 504 install_timeout (the session ended), 503 device_unreachable. See Install a newer build.

Run an agent tool

POST /api/v1/sessions/{session_id}/agent/tools

Scope sessions:write, in an account. Not idempotent. Body: tool (one of the agent tools) and args (an object). Returns the tool result: tool, ok, result, observation, idle_warning, reason. Only the members of result listed under The result are part of the contract; its other members are informational and may change without notice. Errors: 422 tool_refused, 422 invalid_request, 409 tool_refused, 409 session_not_active, 409 session_ended, 429 rate_limited (limit session_tools), 503 device_unreachable.

Collaboration

Mint a collab credential

PUT /api/v1/sessions/{session_id}/collab

Scope sessions:write, in an account. Takes Idempotency-Key: a repeated mint is 409 already_created naming the session; a repeated {"enabled": false} returns the same answer again.

Body
enabledRequired. true mints a credential; false revokes every credential and disconnects every guest.
roleview or control. Default view. control can leave your app; see Sessions from your server.
ttl_seconds60 to 86400; a value above 3600 is shortened to 3600, above 86400 it is 422 invalid_request. Default 3600.
regeneratetrue revokes earlier credentials first. Default false.

Returns session, token, url, expires_at and role (all four null after enabled: false), with Cache-Control: no-store. Errors: 409 session_ended.

Get collaboration status

GET /api/v1/sessions/{session_id}/collab

Scope sessions:read, in an account. Returns enabled, guest_count (connected now) and max_guests (the account’s collab_guests_per_session). Never a credential.

Store keys

See Store accounts for the store key object and how to make a Google Play key or an App Store Connect key. Google Play and App Store Connect keys today.

List Google Play keys

GET /api/v1/signing-credentials/play-keys

Scope store_keys:metadata, in an account. The account’s Google Play keys, newest first. Query: limit (1 to 100), starting_after (a store key id). Each key’s id, store, kind, name, client_email, last_used_at, created and livemode; never the key file. Errors: 404 store_key_not_found (for starting_after).

Upload a Google Play key

POST /api/v1/signing-credentials/play-keys

Scope store_keys:write, in an account. Takes Idempotency-Key. A multipart/form-data body:

Field
fileRequired. The service account’s JSON key file, at most 256 KB.
name1 to 256 characters. Default play.

An upload under a name the account already has replaces that key’s file and answers 200 with the same id; a new name answers 201. Returns the store key. Errors: 422 store_key_invalid (the file is not a service account’s JSON key, or is too large).

Delete a Google Play key

DELETE /api/v1/signing-credentials/play-keys/{public_id}

Scope store_keys:write, in an account. Returns id and deleted: true. Errors: 404 store_key_not_found.

Check a Google Play key

POST /api/v1/signing-credentials/play-keys/{public_id}/test

Scope store_keys:write, in an account. Signs in to Google Play with the key now and returns store_key, status and message. Safe to repeat; at most 10 store calls a minute per account (key checks and App Store Connect key uploads together). Errors: 404 store_key_not_found, 429 rate_limited (limit store_key_checks).

List App Store Connect keys

GET /api/v1/signing-credentials/asc-keys

Scope store_keys:metadata, in an account. The account’s App Store Connect keys, newest first. Query: limit (1 to 100), starting_after (a store key id). Each key’s id, store (app_store), kind (api_key), name, issuer_id, key_id, last_used_at, created and livemode; never the key file. Errors: 404 store_key_not_found (for starting_after).

Upload an App Store Connect key

POST /api/v1/signing-credentials/asc-keys

Scope store_keys:write, in an account. Takes Idempotency-Key. A multipart/form-data body:

Field
fileRequired. The team key’s .p8 file, at most 256 KB.
issuer_idRequired. The team’s issuer id, a UUID.
key_idRequired. The key’s id, 1 to 20 letters and digits.
name1 to 256 characters. Default team.

The key is checked with Apple before it is saved. An upload under a name the account already has replaces that key and answers 200 with the same id; a new name answers 201. Returns the store key. Errors: 422 invalid_request (field issuer_id or key_id), 422 store_key_invalid (field file: not a .p8 key, or too large; no field: Apple refused the key), 429 rate_limited (limit store_key_checks: 10 store calls a minute per account, with the key checks; a replay or an upload refused before Apple is asked does not count), 503 store_unavailable (Apple gave no usable answer; nothing was saved).

Delete an App Store Connect key

DELETE /api/v1/signing-credentials/asc-keys/{public_id}

Scope store_keys:write, in an account. Returns id and deleted: true. Errors: 404 store_key_not_found.

Check an App Store Connect key

POST /api/v1/signing-credentials/asc-keys/{public_id}/test

Scope store_keys:write, in an account. Uses the key with Apple now and returns store_key, status, message and capabilities: what Apple let the key read (upload the team’s apps, testflight its TestFlight groups, signing its certificates, and agreements), each ok, refused or unknown. Safe to repeat; at most 10 store calls a minute per account (key checks of both stores and App Store Connect key uploads together). Errors: 404 store_key_not_found, 429 rate_limited (limit store_key_checks).

Builds

See Builds for the build object and failure_reason.

Start a build from a template

POST /api/v1/builds/from-template

Scope builds:write, in an account. Takes Idempotency-Key. See Start a build from a template.

Body
appRequired. One of the account’s own apps; its platform picks the revision’s entry.
sourceRequired. template (the template’s id) and revision (the revision’s id).
envOptional. Values by name for names the revision declares: at most 50 names, 10 KB a value, 64 KB together. Never returned.
submitOptional. Send the build to Google Play once it succeeds: the members of POST /api/v1/submissions but build. Also needs submissions:write. See Send it to Google Play when it succeeds.

Returns 201 with the build, queued. Errors: 404 app_not_found, 404 template_not_found, 404 template_revision_not_found, 422 invalid_request (field app, env, env.<NAME> or submit.<member>; also files over 25 MB together), 409 signing_not_ready, 403 build_minutes_exhausted, 403 storage_limit_reached, 403 app_blocked, 403 capability_disabled (field app: an iOS or Apple TV app, and your contract has no Mac builds), 503 build_capacity_offline, 503 build_capacity_unavailable, 503 builds_unavailable, 503 busy. 403 build_minutes_exhausted carries unit (build_minutes or build_minutes_mac). With submit, also: 403 insufficient_scope (field submit, required_scope submissions:write), 403 capability_disabled (field submit), the account’s usability 403s (account_suspended_by_partner, organization_suspended, account_deleting, partner_unavailable), 403 submission_not_allowed_on_test (field submit.track), 404 store_key_not_found (field submit.play_key) and 409 store_key_required.

Start a build from your own source

POST /api/v1/builds/from-source

Scope builds:write, in an account. Takes Idempotency-Key. multipart/form-data. See Start a build from your own source.

Form field
sourceRequired. The project as a gzip-compressed tar archive, at most 500 MB.
appRequired. One of the account’s own apps; the build’s platform is the app’s.
commandRequired. The command that builds the app, run at the archive’s top level.
artifact_pathRequired. Where command leaves the file.
distributionRequired. production or simulator.
node, xcode, profile, auto_increment, time_limit_sOptional. As described on the builds page (xcode: iOS and Apple TV apps only).
envOptional. JSON object: values by name, any valid name VibeView does not reserve; at most 50 names, 10 KB a value, 64 KB together. Never returned.
submitOptional. JSON object: send the build to Google Play, or an iOS or Apple TV build to TestFlight, once it succeeds, as from-template’s submit. Also needs submissions:write.

Returns 201 with the build, queued, its source {"type": "upload", "template": null, "revision": null}. Errors: 404 app_not_found, 413 file_too_large (field source), 422 invalid_request (field source, app, a member’s name, env, env.<NAME> or submit.<member>; also files over 25 MB together), 409 signing_not_ready, 403 build_minutes_exhausted, 403 storage_limit_reached, 403 app_blocked, 403 capability_disabled (field app: an iOS or Apple TV app, and your contract has no Mac builds), 503 build_capacity_offline, 503 build_capacity_unavailable, 503 builds_unavailable, 503 busy, and with submit the same errors as from-template’s.

List builds

GET /api/v1/builds/

Scope builds:read, in an account. The account’s builds, newest first. Query: limit (1 to 100), starting_after (a build id), app (an app id of the account’s own), status (queued, running, succeeded, failed or cancelled). Errors: 404 build_not_found (for starting_after), 404 app_not_found (for app).

Get a build

GET /api/v1/builds/{public_id}

Scope builds:read, in an account. Returns the build. Errors: 404 build_not_found.

Read a build’s log

GET /api/v1/builds/{public_id}/logs

Scope builds:read, in an account. Query: offset (characters, default 0). Returns build, content (secrets masked), offset (to send next time), status and livemode. Errors: 404 build_not_found.

Download a build’s artifact

GET /api/v1/builds/{public_id}/artifact

Scope builds:read, in an account. Returns the file (application/octet-stream). Errors: 404 build_not_found, 409 build_not_finished (still queued or running), 410 artifact_unavailable (ended without a file to download).

Cancel a build

POST /api/v1/builds/{public_id}/cancel

Scope builds:write, in an account. No body (or {}). Takes no Idempotency-Key: cancelling a cancelled build returns it unchanged. Returns the build. Errors: 404 build_not_found, 409 build_not_cancellable, 503 busy.

Submissions

See Store submissions for the submission object, its status and failure_reason, and Publishing to stores for a walk-through.

Create a submission

POST /api/v1/submissions

Scope submissions:write, in an account (builds:write alone never publishes). Body: build (a build id of the account), track (internal, alpha, beta or production), and optional play_key (the name of the account’s Google Play key to upload with), release_status (completed, draft or inProgress), rollout (a fraction between 0 and 1, with inProgress only), release_notes (at most 500 characters) and changes_not_sent_for_review. Takes an Idempotency-Key. Returns the submission, queued, 201. Errors: 404 build_not_found, 409 build_not_finished, 409 build_not_submittable, 409 submission_in_progress (submission and status name the one running), 410 artifact_unavailable, 409 store_key_required, 404 store_key_not_found (field: play_key), 403 submission_not_allowed_on_test (a test partner’s account, a track other than internal), 403 capability_disabled, 422 invalid_request.

An iOS or Apple TV build goes to TestFlight instead: store app_store, optional asc_key (the name of the account’s App Store Connect key), beta_groups (group names, at most 50), release_notes (What to Test, at most 4,000 characters) and uses_non_exempt_encryption; Google Play’s members are 422 invalid_request there. Its track reads testflight. Errors also 404 store_key_not_found (field: asc_key), 409 apple_app_not_found, 409 apple_agreement_required, 422 beta_group_not_found, 422 store_key_invalid, 503 store_unavailable, and 403 submission_not_allowed_on_test for an external group of a test partner’s account. See TestFlight.

List submissions

GET /api/v1/submissions

Scope submissions:read, in an account. The account’s store submissions, newest first. Query: limit (1 to 100), starting_after (a submission id), build (a build id of the account), app (an app id of the account’s own). Errors: 404 submission_not_found (for starting_after), 404 build_not_found (for build), 404 app_not_found (for app).

Get a submission

GET /api/v1/submissions/{public_id}

Scope submissions:read, in an account. Returns the submission. Errors: 404 submission_not_found.

Read a submission’s log

GET /api/v1/submissions/{public_id}/log

Scope submissions:read, in an account. Query: offset (characters, default 0). Returns submission, content, offset (to send next time), status and livemode. Errors: 404 submission_not_found.

Check a TestFlight submission again

POST /api/v1/submissions/{public_id}/check

Scope submissions:write, in an account. Optional body: uses_non_exempt_encryption (the app’s export-compliance answer). Returns the submission, 202; App Store Connect is asked by VibeView’s next pass. At most once every 30 seconds per submission. Errors: 404 submission_not_found, 409 submission_state_conflict (with status), 429 rate_limited.

Stop following a TestFlight submission

POST /api/v1/submissions/{public_id}/stop

Scope submissions:write, in an account. Returns the submission, state stopped. Apple is told nothing. On a submission whose upload still waits, it cancels it instead (status cancelled, submission.cancelled). Errors: 404 submission_not_found, 409 submission_state_conflict, 503 busy.

List a TestFlight submission’s groups

GET /api/v1/submissions/{public_id}/testflight/groups

Scope submissions:read, in an account. The app’s TestFlight groups (name, internal, all_builds, added) for a finished distribution. Errors: 404 submission_not_found, 409 submission_state_conflict, 422 store_key_invalid, 409 apple_agreement_required, 503 store_unavailable.

Send a TestFlight build to more groups

POST /api/v1/submissions/{public_id}/testflight/groups

Scope submissions:write, in an account. Body: beta_groups (names) and or release_notes. Takes an Idempotency-Key. Returns the submission. Errors: 404 submission_not_found, 409 submission_state_conflict, 422 beta_group_not_found, 403 submission_not_allowed_on_test, 422 invalid_request, and the Apple errors of the list above.

Answer export compliance for an app

PUT /api/v1/apps/{app_id}/export-compliance

Scope submissions:write, in an account. Body: uses_non_exempt_encryption. Returns app, uses_non_exempt_encryption and resumed_submissions. Errors: 404 app_not_found, 422 unsupported_platform.

Get an app’s TestFlight details

GET /api/v1/apps/{app_id}/testflight

Scope submissions:read, in an account. Query: asc_key. Returns test_information (per language), review_contact (never the sign-in password), groups and whether each part is complete. Errors: 404 app_not_found, 422 unsupported_platform, 404 store_key_not_found, 409 store_key_required, 409 apple_app_not_found, 409 apple_agreement_required, 422 store_key_invalid, 503 store_unavailable.

Set an app’s TestFlight test information

PUT /api/v1/apps/{app_id}/testflight/test-info

Scope submissions:write, in an account. Body: locale, and any of description, feedback_email, marketing_url, privacy_policy_url, tvos_privacy_policy, asc_key. Returns that language’s test information. Errors: as the details, and 422 invalid_request.

Set an app’s Beta App Review contact

PUT /api/v1/apps/{app_id}/testflight/review-contact

Scope submissions:write, in an account. Body: any of first_name, last_name, phone, email, notes, demo_account_required, demo_account_name, demo_account_password (write-only), asc_key. Returns the contact. Errors: as the details, and 422 invalid_request.

Create a TestFlight group

POST /api/v1/apps/{app_id}/testflight/groups

Scope submissions:write, in an account. Body: name, internal, optional asc_key. Takes an Idempotency-Key. Returns the group, 201. Errors: as the details, 409 beta_group_exists (its group is the existing group), 403 submission_not_allowed_on_test (an external group on a test partner’s account).

Signing credentials

See Signing for the signing credential object: an Android keystore, or an Apple distribution certificate with its App Store profile for an iOS or tvOS app. A file or its passwords are never returned.

List signing credentials

GET /api/v1/signing-credentials/

Scope signing:metadata, in an account. The account’s signing credentials, newest first. Query: limit (1 to 100), starting_after (a signing credential id). Each credential’s id, app, platform, kind, name, fingerprint, generated, exported, created and livemode; an Apple certificate (kind ios_distribution) also certificate_expires, profile_expires and expires (unix seconds). Errors: 404 signing_credential_not_found (for starting_after).

Upload a keystore

POST /api/v1/signing-credentials/

Scope signing:write, in an account. Takes Idempotency-Key. A multipart/form-data body:

Field
nameRequired. 1 to 256 characters.
appThe id of one of the account’s own apps: Android or Android TV for a keystore (without it, every app of the account), iOS or tvOS for an Apple certificate (required).
kindOptional. android_keystore or ios_distribution; it must fit the app’s platform, which decides it when left out.
fileRequired. The keystore file, or the Apple certificate’s .p12 with its private key; at most 256 KB.
store_passwordKeystore: required. At least 8 characters, no line break.
key_passwordKeystore: required. For a PKCS#12 keystore, the same value as store_password.
key_aliasKeystore: required. The key’s alias in the keystore.
p12_passwordApple certificate: required. At least 8 characters, no line break.
profileApple certificate: required. The app’s App Store profile (.mobileprovision), at most 256 KB.

Query: confirm_signing_material_loss (default false). An upload under a name the scope already has replaces that credential (of the same kind) and answers 200 with the same id; a new name answers 201. An Apple certificate must open with p12_password, be an unexpired Apple distribution certificate, and come with an unexpired App Store profile of the app’s platform that includes it and is for exactly the app’s bundle id. The keystore must be PKCS#12 (JKS and JCEKS are refused: convert them with keytool -importkeystore … -deststoretype PKCS12), open with its passwords and alias and have a certificate valid until at least 22 October 2033. Returns the signing credential. Errors: 422 signing_credential_invalid (field names the member at fault), 422 invalid_request (a password under 8 characters, a member of the other kind, or field app for an app of a platform the kind does not sign), 404 app_not_found, 409 signing_credential_exists (the name holds another kind of credential), 409 signing_material_not_exported, 503 busy.

Generate a keystore

POST /api/v1/signing-credentials/generate

Scope signing:write, in an account. Takes Idempotency-Key: send one. Body: name (required, 1 to 256 characters), app (as for an upload), kind (optional, as for an upload) and asc_key (an Apple certificate only: the name of the account’s App Store Connect key; left out, its only key). An iOS or tvOS app also needs store_keys:write (the account’s App Store Connect key is used). For an iOS or tvOS app VibeView makes an Apple distribution certificate and App Store profile in the customer’s Apple team (see iOS and Apple TV); this takes one of the account’s store calls. Returns 201 with the signing credential (generated true), never the files or passwords. Errors: 409 signing_credential_exists (the name is taken in that scope), 409 signing_credential_busy (another request is creating that name; retry after Retry-After), 422 signing_credential_invalid (the scope holds 50 credentials; for Apple, a bundle id or profile Apple refused), 422 invalid_request (field app for an app of a platform the kind does not sign), 404 app_not_found. Apple: 404 store_key_not_found (field asc_key), 409 store_key_required, 422 store_key_invalid, 409 apple_certificate_limit, 429 rate_limited (limit store_key_checks), 503 store_unavailable.

Delete a signing credential

DELETE /api/v1/signing-credentials/{cred_id}

Scope signing:write, in an account. cred_id is a signing credential id (sgc_…); any other id is 404 signing_credential_not_found. Query: confirm_signing_material_loss (default false). Returns id and deleted: true. Deleting an Apple certificate revokes nothing at Apple, unless revoke_certificate=true (default false; it also needs store_keys:write): then VibeView first revokes the certificate it generated in the customer’s Apple team (one store call), for a generated Apple certificate never exported that no other credential holds, in this account or another of yours (else 422 invalid_request, field revoke_certificate; while a build may sign with it 503 busy); errors then also 409 store_key_required, 422 store_key_invalid and 503 store_unavailable (nothing deleted). Errors: 404 signing_credential_not_found, 409 signing_material_not_exported, 503 busy.

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

Search the docs