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
    • 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
  • 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
  • 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
  • Automations
    • Temporary Close Location with a reopening date
  • Error Codes
    • ERROR CODES
  1. Connected Accounts

Connect Google Profile to Account

POST
https://api.synup.com/api/v4/connected-accounts/connect-google
This API initiates the process of connecting a new Google My Business (GMB) account to the system. The response provides a URL for the user to complete Google's OAuth authentication flow.
Important Notes:
The response includes a URL that the user must visit to authenticate and connect their GMB account.
The provided URL is valid for 24 hours.
When the user accesses the URL, they are redirected to Google’s OAuth authentication flow.
During OAuth, the user must:
Review and accept Google’s terms and conditions.
Grant necessary permissions for integration.
After OAuth authentication:
If successful, the user is redirected to the successUrl provided in the request.
If permissions are declined or the process fails, the user is redirected to the errorUrl.

Request

Header Params

Body Params application/json

Example
{
    "input": {
        "errorUrl": "http://www.errorurl.com",
        "successUrl": "http://www.successurl.com"
    }
}

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/connect-google' \
--header 'Authorization: API T9V35W3xxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
    "input": {
        "errorUrl": "http://www.errorurl.com",
        "successUrl": "http://www.successurl.com"
    }
}'

Responses

🟢200OK
application/json
Successfully generated connection URL
Body

Example
{
    "data": {
        "bulkConnectLinkForGoogle": {
            "clientMutationId": null,
            "errors": null,
            "success": true,
            "url": "https://claim.verifymybiz.com/locations/redirect_oauth_bulk/google_oauth2?onboarding=false&platform=local&token=47cc832a-31ce-4de5-8768-c541a8331800"
        }
    }
}
🟠400Bad Request
Modified at 2025-07-16 11:19:52
Previous
Connected Accounts
Next
Connect Facebook Page to Account
Built with