Skip to content

Get app version information
Stable

Request

Retrieves full details for a single application version by its UUID. Returns the AppVersion object including version code, build number, release name, release track, approval status, enabled/default state, SDK version constraints, and install count. Use when you need complete metadata on a specific version identified by version_id.

About Get App Version

AppVersion records in Esper represent individual APK builds associated with an application. Each version has its own version_id UUID and carries release lifecycle metadata — including its release_track (Alpha, Beta, or Production), approval_status, and is_enabled flag — that governs whether it is eligible for deployment. This endpoint also includes a request_id query parameter that, when matched in cache, triggers deletion of the cached application and entry, useful for invalidating stale state during upload Workflows.

Key Fields / Query Parameters

application_id - The UUID of the application

version_id — path parameter UUID identifying this specific version

version_code — the version identifier from the APK manifest

build_number — build-level identifier for the release

is_enabled — whether this version is available for deployment

is_default — whether this version is the designated default for the application

Common Use Cases

Confirm the approval status and release track of a version before scheduling a device install Retrieve SDK version constraints (min_sdk_version, target_sdk_version) to verify device compatibility Look up a version's installed_count to understand deployment breadth before deprecating or replacing it

Best Practices

Verify is_enabled=true before using a version_id in an install command Use this endpoint rather than the version list when you already have the version_id and need authoritative metadata fast

Workflow

Obtain the version_id from a prior version list call or stored reference Call this endpoint to retrieve full version metadata Confirm release track and approval status, then proceed with install or deployment commands

Security
esper_cloud_api_apiKey
Path
version_idstring, (uuid)required

A UUID string identifying this app version.

application_idstring, (uuid)required

A UUID string identifying this application.

enterprise_idstringrequired

A UUID string identifying enterprise.

Query
request_idstring

If this value exists in cache, delete the application and cache entry.

cURL
curl -i -X GET \
  'https://api.esper.io/_mock/openapi/enterprise/{enterprise_id}/application/{application_id}/version/{version_id}/?request_id=string' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

successful operation

Bodyapplication/json
idstring, (uuid)(Id)read-only
installed_countinteger(Installed count)read-only
permissionsArray of objects(esper_cloud_api_AppPermission)required
app_filestring, (url)(App file)read-only
app_iconstring or null, (url)(App icon)read-only
version_codestring, [ 1 .. 50 ] characters(Version code)required
build_numberstring or null, [ 1 .. 100 ] characters(Build number)
size_in_mbnumber(Size in mb)
hash_stringstring(Hash string)
release_namestring or null, [ 1 .. 255 ] characters(Release name)
release_commentsstring or null, non-empty(Release comments)
release_trackstring or null(Release track)
Enum:"Alpha""Beta""Production"
created_onstring, (date-time)(Created on)read-only
updated_onstring, (date-time)(Updated on)read-only
min_sdk_versionstring or null, [ 1 .. 10 ] characters(Min sdk version)
target_sdk_versionstring or null, [ 1 .. 10 ] characters(Target sdk version)
is_enabledboolean(Is enabled)
is_defaultboolean(Is Default)
enterprisestring, (url)(Enterprise)required
applicationstring, (url)(Application)
approval_statusstring(Application status)
Enum:"AVAILABLE""ACCEPTED""APPROVED""REJECTED"
Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "installed_count": 0, "permissions": [ {} ], "app_file": "string", "app_icon": "string", "version_code": "string", "build_number": "string", "size_in_mb": 0, "hash_string": "string", "release_name": "string", "release_comments": "string", "release_track": "Alpha", "created_on": "2019-08-24T14:15:22Z", "updated_on": "2019-08-24T14:15:22Z", "min_sdk_version": "string", "target_sdk_version": "string", "is_enabled": true, "is_default": true, "enterprise": "string", "application": "string", "approval_status": "AVAILABLE" }