external-platform

Get Google Analytics Status

Get Google Analytics connection status with optional live health check.

get/api/external-platform/google-analytics/status

Request

  • Base URL: https://api.usepomo.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.usepomo.ai/api/external-platform/google-analytics/status
  • Auth: HTTP bearer

Query parameters

check_healthboolean

Perform live health check

Response

Successful Response

connectedboolean required

Whether the platform is connected

healthyboolean

Whether the token is healthy (passed API check)

health_messagestring nullable

Health check result message

account_idstring nullable

Platform-specific account identifier

account_namestring nullable

Display name for the account

token_expires_soonboolean

Whether token expires within buffer period

last_health_checkstring nullable

ISO timestamp of last health check

selected_property_idstring nullable

Selected GA4 property ID

selected_property_namestring nullable

Selected GA4 property name

selected_property_resource_namestring nullable

Selected GA4 property resource name

selected_property_time_zonestring nullable

Selected GA4 property's reporting timezone

selected_property_currency_codestring nullable

Selected GA4 property's reporting currency

property_countinteger

Number of accessible GA4 properties

property_selection_requiredboolean

Whether the user must select a GA4 property

granted_scopesstring[]

Granted Google OAuth scopes

missing_scopesstring[]

Configured scopes not granted by Google

refresh_token_expires_atstring nullable

Refresh token expiry if Google returned time-bound access

reconnect_requiredboolean

Whether the user must reconnect Google Analytics

Example response

{
  "account_id": "shop_12345",
  "account_name": "My Store",
  "connected": true,
  "health_message": "Token is valid",
  "healthy": true,
  "last_health_check": "2024-01-15T10:30:00Z",
  "token_expires_soon": false
}

Changes

No recorded changes to this operation across all 1 revision of this API.