Skip to content
SynupAPI
Get an API key
GETapi.synup.com/api/v4/locations/{locationId}/keywords

List Keywords

This API retrieves all keywords associated with a specific location.

Behavior:

  • Returns a complete list of keywords linked to the location.
  • Includes unique keyword IDs and names.
Requires an API key. Send it as Authorization: API <your-key> — see Getting started.

Parameters

Path

NameTypeRequiredDescription
locationIdstringrequiredBase64 encoded ID of the location to fetch keywords for

Request

Request
curl -X GET 'https://api.synup.com/api/v4/locations/:locationId/keywords' \
  -H 'Authorization: API YOUR_API_KEY' \
  -H 'Content-Type: application/json'

Responses

StatusDescription
200Successfully retrieved keywords
400Invalid location ID
401Unauthorized access
Example response (generated from the schema)
{
  "data": {
    "keywordsByLocationId": [
      {
        "id": "S2V5d29yZDoxOTM2ODAx",
        "name": "road paving"
      }
    ]
  }
}

Response body

NameTypeRequiredDescription
dataobjectoptional
data.keywordsByLocationIdarray of objectoptionalList of keywords associated with the location. Returns empty array if no keywords exist.
data.keywordsByLocationId[].idstringrequiredThe unique ID attached to the keyword
data.keywordsByLocationId[].namestringrequiredThe text value of the keyword