Skip to content
SynupAPI
Get an API key
GETapi.synup.com/api/v4/location-connections

List location connections

This API returns a paginated list of your locations paired with each publisher (source), along with whether that location is connected, not connected, or has a connection issue for that publisher. It is the direct API equivalent of the Location Connections page.

Features:

  • Pagination support – retrieve results in batches for efficient processing.
  • Filtering options – filter location connections by:
  • Source / publisher (source)
  • Location id (locationId)
  • Location name / address / phone (locationName)
  • Connection status (status)
  • Sorting – order by location info, publisher account email, or publisher type.
Requires an API key. Send it as Authorization: API <your-key> — see Getting started.

Parameters

Query

NameTypeRequiredDescription
sourcestringoptional

Publisher (source) to filter by. Accepted values

  • GoogleAccount
  • FacebookAccount
  • AppleAccount
  • YelpAccount
  • TripadvisorAccount
locationIdstringoptionalFilter by one or more location ids. Accepts a raw numeric location id (e.g. 279169) or a comma-separated list (e.g. 279169,279170). Base64-encoded ids (Location:<id>) are also accepted.
locationNamestringoptionalFree-text search across the location name, address, and phone number.
statusstringoptional

Connection status to filter by.

  • Connected - location is connected to the source
  • NotConnected - location is not connected to the source
  • ConnectionIssue - location has a connection issue for the source
sortFieldstringoptional

Field to sort the results by.

  • location_info
  • account_mail
  • account_type
sortOrderstringoptional

Sort order. Only applied when sortField is provided.

  • Ascending
  • Descending
pageintegeroptionalPage number for pagination
perPageintegeroptionalNumber of records per page

Request

Request
curl -X GET 'https://api.synup.com/api/v4/location-connections?source=&locationId=&locationName=&status=&sortField=&sortOrder=&page=&perPage=' \
  -H 'Authorization: API YOUR_API_KEY' \
  -H 'Content-Type: application/json'

Responses

StatusDescription
200Successfully retrieved location connections
401Unauthorized - Invalid or missing API key
403Forbidden - Insufficient permissions
Example response (generated from the schema)
{
  "data": {
    "locationsConnectInfo": {
      "pageInfo": {
        "hasNextPage": true,
        "hasPreviousPage": true,
        "totalPages": 0,
        "totalRecords": 0
      },
      "records": [
        {
          "locationId": "string",
          "accountId": "string",
          "clientName": "string",
          "accountType": "GoogleAccount",
          "status": "string",
          "connectedAccountId": "string",
          "providerId": "string",
          "accountMail": "string",
          "publisherAccountName": "string",
          "publisherAccountId": "string",
          "listingSiteId": 0,
          "locationInfo": {
            "approved": true,
            "name": "string",
            "street": "string",
            "street1": "string",
            "city": "string",
            "postalCode": "string",
            "countryIso": "string",
            "storeCode": "string",
            "liveLink": "string"
          },
          "connectedListingInfo": {
            "name": "string",
            "addressLines": [
              null
            ],
            "administrativeArea": "string",
            "locality": "string",
            "regionCode": "string",
            "postalCode": "string",
            "phone": "string",
            "storeCode": "string",
            "gmbAccountNumber": "string",
            "gmbGroup": "string",
            "suspended": true,
            "liveLink": "string"
          }
        }
      ]
    }
  }
}

Response body

NameTypeRequiredDescription
dataobjectoptional
data.locationsConnectInfoobjectoptional
data.locationsConnectInfo.pageInfoobjectoptional
data.locationsConnectInfo.pageInfo.hasNextPagebooleanoptionalIndicates if there are more pages available
data.locationsConnectInfo.pageInfo.hasPreviousPagebooleanoptionalIndicates if there are previous pages available
data.locationsConnectInfo.pageInfo.totalPagesintegeroptionalTotal number of pages available
data.locationsConnectInfo.pageInfo.totalRecordsintegeroptionalTotal number of records across all pages
data.locationsConnectInfo.recordsarray of objectoptional
data.locationsConnectInfo.records[].locationIdstringoptionalBase64-encoded location id (Location:<id>)
data.locationsConnectInfo.records[].accountIdstringoptionalAccount id the location belongs to
data.locationsConnectInfo.records[].clientNamestringoptionalClient / sub-account name
data.locationsConnectInfo.records[].accountTypestringoptionalSource / publisher this record represents
GoogleAccountFacebookAccountAppleAccountYelpAccountTripadvisorAccount
data.locationsConnectInfo.records[].statusstringoptionalRaw connection status of the location for this source. Values include CONNECTED, NOT_CONNECTED, CONNECTION_ISSUE, EXPIRED, RENEW, MISSING, SUSPENDED, etc.
data.locationsConnectInfo.records[].connectedAccountIdstringoptionalId of the connected account, when connected
data.locationsConnectInfo.records[].providerIdstringoptionalProvider-side id of the connected listing, when connected
data.locationsConnectInfo.records[].accountMailstringoptionalEmail of the connected (publisher) account, when connected
data.locationsConnectInfo.records[].publisherAccountNamestringoptionalDisplay name of the connected publisher account
data.locationsConnectInfo.records[].publisherAccountIdstringoptionalId of the connected publisher account
data.locationsConnectInfo.records[].listingSiteIdintegeroptionalSite id of the connected listing
data.locationsConnectInfo.records[].locationInfoobjectoptional
data.locationsConnectInfo.records[].locationInfo.approvedbooleanoptionalWhether the location is approved
data.locationsConnectInfo.records[].locationInfo.namestringoptionalLocation name
data.locationsConnectInfo.records[].locationInfo.streetstringoptionalStreet address line 1
data.locationsConnectInfo.records[].locationInfo.street1stringoptionalStreet address line 2
data.locationsConnectInfo.records[].locationInfo.citystringoptionalCity
data.locationsConnectInfo.records[].locationInfo.postalCodestringoptionalPostal / ZIP code
data.locationsConnectInfo.records[].locationInfo.countryIsostringoptionalISO country code (e.g. IN, US)
data.locationsConnectInfo.records[].locationInfo.storeCodestringoptionalStore code of the location, if set
data.locationsConnectInfo.records[].locationInfo.liveLinkstringoptionalPublic live link of the location's listing on the source
data.locationsConnectInfo.records[].connectedListingInfoone ofoptionalDetails of the connected listing on the source. null when the location is not connected. When present, its shape depends on the source.
data.locationsConnectInfo.records[].connectedListingInfo.namestringoptional
data.locationsConnectInfo.records[].connectedListingInfo.addressLinesarray of stringoptional
data.locationsConnectInfo.records[].connectedListingInfo.administrativeAreastringoptional
data.locationsConnectInfo.records[].connectedListingInfo.localitystringoptional
data.locationsConnectInfo.records[].connectedListingInfo.regionCodestringoptional
data.locationsConnectInfo.records[].connectedListingInfo.postalCodestringoptional
data.locationsConnectInfo.records[].connectedListingInfo.phonestringoptional
data.locationsConnectInfo.records[].connectedListingInfo.storeCodestringoptional
data.locationsConnectInfo.records[].connectedListingInfo.gmbAccountNumberstringoptional
data.locationsConnectInfo.records[].connectedListingInfo.gmbGroupstringoptional
data.locationsConnectInfo.records[].connectedListingInfo.suspendedbooleanoptional
data.locationsConnectInfo.records[].connectedListingInfo.liveLinkstringoptional
data.locationsConnectInfo.records[].connectedListingInfo.streetstringoptional
data.locationsConnectInfo.records[].connectedListingInfo.citystringoptional
data.locationsConnectInfo.records[].connectedListingInfo.statestringoptional
data.locationsConnectInfo.records[].connectedListingInfo.zipstringoptional
data.locationsConnectInfo.records[].connectedListingInfo.countrystringoptional
data.locationsConnectInfo.records[].connectedListingInfo.parentPageNamestringoptional