Skip to content
SynupAPI
Get an API key
POSTapi.synup.com/api/v4/connected-accounts/connected-account-listings

Fetch Connected Account Listings

This API retrieves all listings accessible to a specific Google My Business or Facebook Page account.

Features:

  • Pagination support – Up to 500 records per page.
  • Filtering options – Search by:
  • Street address
  • Postal code
  • City
  • Phone number
  • Business name
Requires an API key. Send it as Authorization: API <your-key> — see Getting started.

Parameters

Headers

NameTypeRequiredDescription
Content-Typestringrequired

Body

NameTypeRequiredDescription
connectedAccountIdstringrequiredID of the connected account to fetch listings for
locationInfostringoptional

Optional filter string to search across location fields:

  • Street address
  • Postal code
  • City
  • Phone number
  • Business name
pageintegeroptionalPage number for pagination
perPageintegeroptionalNumber of records per page (maximum 500)

Request

Request
curl -X POST 'https://api.synup.com/api/v4/connected-accounts/connected-account-listings' \
  -H 'Authorization: API YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "connectedAccountId": "3db66afa-151d-4212-a8b7-949f9fe9aaf9"
}'

Responses

StatusDescription
200Successfully retrieved listings
400Invalid request parameters
401Unauthorized - Invalid or missing API key
403Forbidden - Insufficient permissions
Example response (generated from the schema)
{
  "data": {
    "connectedAccountListings": {
      "pageInfo": {
        "hasNextPage": true,
        "hasPreviousPage": true,
        "totalPages": 0,
        "totalRecords": 0
      },
      "records": [
        {
          "accountTypeName": "Google",
          "address": "string",
          "id": "string",
          "liveLink": "string",
          "locationName": "string",
          "phone": "string",
          "type": "string",
          "ownerRole": "string"
        }
      ]
    }
  }
}

Response body

NameTypeRequiredDescription
dataobjectoptional
data.connectedAccountListingsobjectoptional
data.connectedAccountListings.pageInfoobjectoptional
data.connectedAccountListings.pageInfo.hasNextPagebooleanoptionalIndicates if there are more pages available
data.connectedAccountListings.pageInfo.hasPreviousPagebooleanoptionalIndicates if there are previous pages available
data.connectedAccountListings.pageInfo.totalPagesintegeroptionalTotal number of pages available
data.connectedAccountListings.pageInfo.totalRecordsintegeroptionalTotal number of records across all pages
data.connectedAccountListings.recordsarray of objectoptional
data.connectedAccountListings.records[].accountTypeNamestringoptionalPublisher type of the listing
GoogleFacebook
data.connectedAccountListings.records[].addressstringoptionalFull address of the location
data.connectedAccountListings.records[].idstringoptionalReference Listing ID that can be used to connect a location
data.connectedAccountListings.records[].liveLinkstringoptionalLive link provided by Google/Facebook if available
data.connectedAccountListings.records[].locationNamestringoptionalName of the location
data.connectedAccountListings.records[].phonestringoptionalPhone number of the location
data.connectedAccountListings.records[].typestringoptionalType of the listing if specified
data.connectedAccountListings.records[].ownerRolestringoptionalGBP role of the connecting/importing user on this listing (e.g. PRIMARY_OWNER, OWNER, MANAGER, SITE_MANAGER). Google (GMB) only; null when Google exposes no matching admin or for non-Google listings.