Skip to main content
Version: v3New

Get Location where app is installed

GET 

/oauth/installed-locations

This API allows you fetch location where app is installed upon

Request

Version stringrequired

API Version

Available optionsv3
pageSize number

Max items per page (1-100). Replaces legacy limit parameter per AIP-158.

Default value:20
pageToken string

Opaque token returned in a previous response to fetch the next page. Replaces legacy skip parameter per AIP-158.

query string

Literal installed-location name search. Leading and trailing whitespace is ignored.

Possible values: <= 100 characters

isInstalled boolean

Filters out location which are installed for specified app under the specified company

restrictToUserLocations boolean

When true, restricts the list to locations the current user has access to (for restricted agency admins and account admins). When false or omitted, no user-based filter is applied for installed list; for backward compatibility, install list (isInstalled=false) is still filtered by user when this param is omitted.

companyId stringrequired

Parameter to search by the companyId

appId stringrequired

Parameter to search by the appId

versionId string

VersionId of the app

onTrial boolean

Filters out locations which are installed for specified app in trial mode

planId string

Filters out location which are installed for specified app under the specified planId

locationId string

locationId

application/json

Successful response

Schema
    itemsobject[]required

    List of locations with their installation status for the requested app

    paginationobjectrequired

    Pagination metadata (AIP-158)

    metadataobject

    Query metadata (filters and sort applied)

    installToFutureLocationsboolean

    Boolean to control if user wants app to be automatically installed to future locations