v1Resources/Connections/getGet a connected-accounts summary

Get a connected-accounts summary

How many of this client's (or the whole agency's) locations have Google/Facebook connected vs. not. Scope to a subset with tags.

get/api/v1/connections/summary
connections:read
Query parameters
clientIdstringoptional
Limit to one client's locations.
tagsstringoptional
Comma-separated location tag names — only locations carrying at least one of these are counted.
Response
dataobjectoptional
totalnumberoptional
Total locations in scope.
googleobjectoptional
connectednumberoptional
Locations with this publisher connected.
notConnectednumberoptional
Locations without this publisher connected.
facebookobjectoptional
connectednumberoptional
Locations with this publisher connected.
notConnectednumberoptional
Locations without this publisher connected.
Errors
401Missing, invalid, expired, or revoked API key.
403The key lacks the required scope, or isn't authorized for this client/location.
429Too many requests. Retry after the number of seconds in the Retry-After header.
get/api/v1/connections/summary
Your API key
clientId
tags
{
  "data": {
    "total": 5,
    "google": {
      "connected": 3,
      "notConnected": 2
    },
    "facebook": {
      "connected": 1,
      "notConnected": 4
    }
  }
}