Get Location where app is installed
GET/oauth/installed-locations
This API allows you fetch location where app is installed upon
Request
API Version
v3Max items per page (1-100). Replaces legacy limit parameter per AIP-158.
20Opaque token returned in a previous response to fetch the next page. Replaces legacy skip parameter per AIP-158.
Literal installed-location name search. Leading and trailing whitespace is ignored.
Possible values: <= 100 characters
Filters out location which are installed for specified app under the specified company
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.
Parameter to search by the companyId
Parameter to search by the appId
VersionId of the app
Filters out locations which are installed for specified app in trial mode
Filters out location which are installed for specified app under the specified planId
locationId
Successful response
- application/json
- Schema
- Example (auto)
Schema
List of locations with their installation status for the requested app
Pagination metadata (AIP-158)
Query metadata (filters and sort applied)
Boolean to control if user wants app to be automatically installed to future locations
{
"items": [
{
"_id": "0IHuJvc2ofPAAA8GzTRi",
"name": "John Deo",
"address": "47 W 13th St, New York, NY 10011, USA",
"isInstalled": true
}
],
"pagination": {
"totalRecords": 1231,
"hasNextPage": true,
"hasPrevPage": false,
"nextPageToken": "eyJvZmZzZXQiOjIwfQ",
"prevPageToken": "eyJvZmZzZXQiOjB9",
"currentPageSize": 20,
"estimatedTotalRecords": 1231
},
"metadata": {
"filterApplied": {
"companyId": "tDtDnQdgm2LXpyiqYvZ6",
"isInstalled": true
},
"sortApplied": {
"installedAt": "desc"
}
},
"installToFutureLocations": true
}