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

List locations under a folder

This API retrieves all locations within a specified folder and its subfolders.

Response Includes:

  • Business details (name, category, address)
  • Contact information (phone, email, website)
  • Metadata (tags, attributes, custom fields)
Requires an API key. Send it as Authorization: API <your-key> — see Getting started.

Parameters

Query

NameTypeRequiredDescription
folderNamestringoptionalName of the folder to fetch locations from
folderIdstringoptionalUnique identifier of the folder

Request

Request
curl -X GET 'https://api.synup.com/api/v4/folder-locations?folderName=&folderId=' \
  -H 'Authorization: API YOUR_API_KEY' \
  -H 'Content-Type: application/json'

Responses

StatusDescription
200Successfully retrieved locations
400Bad request - Invalid parameters
403Unauthorized - insufficient permissions to access folder
404Folder not found
Example response (generated from the schema)
{
  "data": {
    "getLocationsForFolder": [
      {}
    ]
  }
}

Response body

NameTypeRequiredDescription
dataobjectoptional
data.getLocationsForFolderarray of objectoptional