Difference between revisions of "Latest App Version Details"

From docs
Jump to: navigation, search
(Created page with "== Get App Version == === Base URL === https://apimobile.callproof.com === Endpoint === /api/app-version === Purpose === Retrieves the latest published app version details...")
 
(Get App Version)
Line 1: Line 1:
== Get App Version ==
+
== [[Mobile_API]] »Get App Version ==
  
 
=== Base URL ===
 
=== Base URL ===

Revision as of 15:46, 20 July 2026

Mobile_API »Get App Version

Base URL

https://apimobile.callproof.com

Endpoint

/api/app-version

Purpose

Retrieves the latest published app version details for Android (Play Store), Android Call Log, and iOS, including major/minor/patch/build numbers and whether a force update is required.

HTTP Method

GET

Headers

Header Required Description
Authorization Yes Bearer access token

Security

  • Yes – Requires Bearer Token authentication.

Parameters

Path Parameters

None.

Query Parameters

None.

Request Body

None.

Successful Response (200)

Returns the latest version info for each supported platform.

Field Type Description
clientStatusCode integer Status indicator for the client (for example, 200)
user_id integer Identifier of the authenticated user
company_id integer Identifier of the authenticated user’s company
data object Latest app version payload
uri string Requested resource URI

data.android_play_store / data.android_call_log / data.ios

Field Type Description
major_version integer/string Latest major version number
minor_version integer/string Latest minor version number
patch_version integer/string Latest patch version number
build_version integer/string Latest build version number
is_force_update boolean Whether clients on older versions must force-update

Error Responses

Status Code Meaning
400 Bad Request – latest app version details could not be retrieved
401 Unauthorized – missing, invalid, or expired Bearer token
  • 400 – An error occurred while retrieving version details (for example, "Error while retriving the Lastest App Versions").
  • 401 – Authentication failed or the access token is missing/expired.