1. Connected Accounts
  • Getting Started
  • Locations
    • Location Attributes
      MARKDOWN
    • Photo specifications for your business location
      MARKDOWN
    • Star and Unstar Photos
      MARKDOWN
    • Create a new business location
      POST
    • Update business location
      POST
    • List all locations
      GET
    • List particular locations
      GET
    • Search locations
      GET
    • Get locations by store codes
      GET
    • Get Photos by Location IDs
      GET
    • Upload Photos to a Location
      POST
    • Check Bulk Photo Upload Status
      GET
    • Star/Unstar Location Photos
      POST
    • Delete Location Photos
      POST
    • Archive multiple locations
      POST
    • Cancel scheduled location archival
      POST
    • Activate archived locations
      POST
    • List Active Subscriptions
      GET
    • Get a list of supported countries and their states
      GET
    • Get SubCategories and AdditionalCategories
      GET
    • Get Site Details for Your Plan
      GET
    • Location Indexing Rate
      GET
  • Organizing locations
    • Organizing locations
    • Create a new folder
    • List all folders
    • List all folders under an account in hierarchical structure
    • Get details of a folder
    • Rename a folder
    • Add locations to a folder
    • Remove locations from a folder
    • Delete a folder
    • List locations under a folder
    • List all tags
    • List locations by tags
    • Add location to a tag
    • Remove location from a tag
  • User Management
    • User Attributes
    • Create User with Role
    • List Users
    • List Users by ID
    • Add Locations to User
    • Add User and folder
    • List User Roles
    • Add folders to user
    • List User Resources
    • Update a User
    • Remove Folders for User
    • Remove Locations for User
  • Grid Rank
    • Local Rank Grid
    • Create Rank Grid Report
    • Fetch All Grid Reports for Location
    • Fetch Rank Grid Report By ID
  • Review Campaigns
    • Review Campaign Info Attributes
    • Create a review campaign
    • Add customers to a review campaign
    • List review campaigns
    • List review campaign customers
  • Listings
    • Listings
    • Listing Status Webhooks
    • Get premium listings
    • Get voice listings for a location
    • Get duplicate listings for a location
    • Get all duplicate listings for an account
    • Mark listings as duplicates
    • Mark listings as not duplicates
    • Get AI listings
  • Connected Accounts
    • Connected Accounts
      MARKDOWN
    • Connect Google Profile to Account
      POST
    • Connect Facebook Page to Account
      POST
    • List all connected accounts
      GET
    • List folders under a Google account
      GET
    • Create GMB Listing
      POST
    • Disconnect GMB Profile
      POST
    • Disconnect Facebook Account
      POST
    • Fetch Connected Account Details
      GET
    • Trigger New Matches
      POST
    • List Connection Suggestions
      GET
    • Fetch Connected Account Listings
      POST
    • Confirm Connected Account Matches
      POST
    • Connect a location with a listing of a connected account
      POST
    • Disconnect Location from Listing
      POST
    • create location from connected account listing
      POST
  • Rankings
    • Rankings Analytics Attributes
    • Add keywords
    • List Keywords
    • Get keywords performance
    • Archive a keyword
    • Get Rollup Keyword Performance
    • Get Rankings Distribution By Time
  • Profile Analytics
    • Profile Analytics
    • Get Bing Analytics
    • Get Facebook Page Analytics
    • Get Google My Business Analytics
  • Reviews
    • Reviews
    • Review Sources
      • Get a list of interaction sources for location
      • Get a list of interaction sources for account
      • Add / Edit interaction source
    • Fetch all interactions
    • List Interactions by IDs
    • Respond to an Interaction
    • Edit Response for Interaction
    • Archive Response for Interaction
    • Get Interaction Analytics
    • Add Review Widget
    • Edit Review Widget
    • Rollup Review API
  • Automations
    • Temporary Close Location with a reopening date
  • Error Codes
    • ERROR CODES
  • Schemas
    • Sample Schemas
      • Pet
      • Category
    • Schemas
      • FolderSchema
        • Schemas
          • ListFoldersResponse
          • FolderInfo
      • LocationResponseSchema
      • LocationResponseErrorSchema
      • SubCategory
      • SubscriptionsResponse
      • CreateFolderRequest
      • FolderNode
      • ListingsResponse
      • LocationListResponse
      • ConnectGoogleInput
      • ConnectFacebookInput
      • DisconnectGoogleRequest
      • TriggerMatchesRequest
      • FetchListingsRequest
      • ConfirmMatchesRequest
      • ConnectListingRequest
      • DisconnectListingRequest
      • ConnectedAccountDetailsResponse
      • ConnectionSuggestionsResponse
      • Keyword
      • Keyword
      • Keyword
      • UnauthorizedError
      • UnauthorizedError
      • UnauthorizedError
      • UnauthorizedError
      • InsightMetric
      • InsightMetric
      • CreateGridReportInput
      • AllGridReportsResponse
      • GridReportResponse
      • CreateUserInput
      • UsersResponse
      • UsersResponse
      • UsersByIdsResponse
      • AnalyticsOverview
      • Interaction
      • Interaction
      • InteractionsResponse
      • ResponseInteraction
      • AddLocationsInput
      • UserRole
      • UserRole
      • CreateReviewCampaignRequest
      • ReviewCampaignsResponse
      • ReviewCampaignCustomersResponse
      • PremiumListing
      • Subscription
      • CreateFolderResponse
      • Listing
      • ConnectGoogleResponse
      • ConnectFacebookResponse
      • DisconnectGoogleResponse
      • ConnectedAccount
      • TriggerMatchesResponse
      • ConfirmMatchesResponse
      • ConnectListingResponse
      • DisconnectListingResponse
      • Error
      • Error
      • BadRequestError
      • BadRequestError
      • BadRequestError
      • NotFoundError
      • UnauthorizedError
      • UnauthorizedError
      • CreateGridReportResponse
      • GridReport
      • GridReport
      • CreateUserResponse
      • PageInfo
      • PageInfo
      • UserDetail
      • AnalyticsTimeline
      • Response
      • Response
      • PageInfo
      • AddLocationsResponse
      • Pagination
      • Pagination
      • CustomerInput
      • ReviewCampaign
      • ReviewCampaignInfo
      • Tag
      • SearchResponse
      • LocationPhoto
      • CustomAttribute
      • Folder
      • Site
      • ConnectedAccountsResponse
      • LocationListing
      • ListingRecord
      • ConnectionSuggestion
      • NotFoundError
      • NotFoundError
      • RankPoint
      • RankPoint
      • CreatedUser
      • UserEdge
      • UserEdge
      • SiteWiseAnalytics
      • InteractionEdge
      • LocationAddStatus
      • LandingPageTemplate
      • EmailTemplate
      • ReviewCampaignCustomer
      • LocationEdge
      • Error
      • FetchListingsResponse
      • LocationInfo
      • User
      • User
      • MetricWithDelta
      • Interaction
      • EmailTemplate
      • SmsTemplate
      • SuggestedLocationInfo
      • SMSTemplate
      • CampaignStat
      • PageInfo
      • ReviewSite
      • BusinessHours
      • AddCustomersRequest
    • Business hours
    • paymentMethods
    • Contact Support
  1. Connected Accounts

create location from connected account listing

POST
https://api.synup.com/api/v4/connected-accounts/create-location-from-listing
This API creates a new location in the system from an existing connected account listing (Google My Business or Facebook page) that has been previously fetched and stored in the bulk data lake.
What This API Does:
Takes a listing from your connected account's bulk data (Google or Facebook)
Fetches the latest information from the platform (Google/Facebook API)
Creates a new location in Synup with all the business details
Automatically links the location to the connected account
Important Prerequisites:
You must already have a connected account (Google or Facebook) with valid credentials
The account must have completed the bulk listing fetch process
The listing must be available in the bulk data lake (not yet connected to a location)
The listing must belong to the specified connected account
Request Parameters:
connectedAccountId (required): UUID of your connected Google/Facebook account
connectedAccountListingId (required): Encoded ID of the listing from bulk data (format: GmbBulkDataLake:xxx or FbBulkDataLake:xxx)
tenure (optional): Billing tenure for the location (e.g., "Monthly", "Yearly")
API Behavior:
For Google My Business: Fetches latest location data including name, address, hours, categories, phone, photos, and attributes
For Facebook: Fetches latest page data including name, location, hours, categories, description, and contact info
Validates that credentials are still valid before proceeding
Checks if the listing is already connected to prevent duplicates
Creates location with proper state mapping (uses reverse geocoding for Facebook if needed)
Response:
On success: Returns success: true with the new location_id (database ID)
On failure: Returns success: false with error code and message
Common Error Codes:
SY81019: User not found (authentication issue)
SY81066: Connected account not found or archived
SY81067: Invalid listing ID format
SY81068: Listing already connected to another location
SY81069: Connected account credentials are invalid (need to reconnect)
SY81070: Listing doesn't belong to the specified connected account
SY81071: Unexpected error during location creation
Post-Creation:
Location is automatically linked to the connected account
Background worker processes additional tasks (connection records, etc.)
Location becomes available for management and submission

Request

Header Params

Body Params application/json

Example
{
  "input": {
    "connectedAccountId": "e9c587ea-ae1c-416f-8824-ef4185cd2c99",
    "connectedAccountListingId":"R21iQnVsa0RhdGFMYWtlOjU3NzU5MzRiLTUwOTgtNGQwYS04YjQ0LTNjY2ZlZmZkZmUzNw==",
    "tenure": "Monthly"
  }
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.synup.com/api/v4/connected-accounts/create-location-from-listing' \
--header 'Authorization: API T9V35W3xxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
  "input": {
    "connectedAccountId": "e9c587ea-ae1c-416f-8824-ef4185cd2c99",
    "connectedAccountListingId":"R21iQnVsa0RhdGFMYWtlOjU3NzU5MzRiLTUwOTgtNGQwYS04YjQ0LTNjY2ZlZmZkZmUzNw==",
    "tenure": "Monthly"
  }
}'

Responses

🟢200OK
application/json
Successfully generated connection URL
Body

Example
{
    "data": {
        "createLocationFromConnectedAccountListing": {
            "success": true,
            "locationId": 88277,
            "errors": null
        }
    }
}
🟠400Bad Request
Modified at 2025-12-03 18:01:56
Previous
Disconnect Location from Listing
Next
Rankings Analytics Attributes
Built with