v1Resources/Locations/getSuggest location groups

Suggest location groups

Finds locations not in a group that share a phone number, biggest set first, with a suggested name from their common name prefix. A suggestion with `groupId` set shares the number of an existing group (even a single location): add it with POST /api/v1/location-groups/{groupId}/locations instead of creating a group. Suggestions only; nothing is grouped until you create or add.

get/api/v1/location-groups/suggestions
locations:read
Query parameters
clientIdstringoptional
Limit suggestions to one client's locations.
Response
dataobjectoptional
suggestionsarray of objectoptional
phonestringoptional
The shared phone number.
locationIdsarray of stringoptional
Locations sharing it that are not in a group.
locationsarray of objectoptional
idstringoptional
namestringoptional
citystringoptional
locationCountintegeroptional
clientIdsarray of stringoptional
suggestedNamestringoptional
A name from the locations' common name prefix.
groupIdstringoptional
Set when an existing group already uses this number: add the locations to it.
groupNamestringoptional
Errors
400The request is missing a required parameter or is otherwise malformed.
401Missing, invalid, expired, or revoked API key.
403The key lacks the required scope, or isn't authorized for this client/location.
404The resource wasn't found, or doesn't belong to your agency.
429Too many requests. Retry after the number of seconds in the Retry-After header.
get/api/v1/location-groups/suggestions
Your API key
clientId
{}

Guides that use this resource