Get data for a specific location.

get/site/{site_name}/content/location/{location_id}

Request

  • Base URL
    https://api-sandbox.duda.co/api/integrationhub/application
  • URL
    https://api-sandbox.duda.co/api/integrationhub/application/site/{site_name}/content/location/{location_id}
  • Auth
    none required

Path parameters

site_namestring required

A valid site name of an existing website

location_idstring required

The id of the location

Headers

authorizationstring

Your App Account's username and password, based64'd.

x-duda-access-tokenstring

The specific access token to access this site API.

Response

200

address_geolocationstring
labelstring
logo_urlstring
uuidstring

Example response

{
  "address": {
    "city": "Louisville",
    "country": "US",
    "postalCode": "80027",
    "streetAddress": "197 S 104th St C"
  },
  "address_geolocation": "197 S 104th St C Louisville 80027 US",
  "business_hours": [
    {
      "close": "18:00",
      "days": [
        "MON"
      ],
      "open": "09:00"
    }
  ],
  "emails": [
    {
      "emailAddress": "colorado@duda.co",
      "label": "Colorado Office Email"
    }
  ],
  "label": "Duda Colorado - Goosetail Labs",
  "logo_url": "https://www.duda.co/developers/REST-API-Reference/images/duda.svg",
  "phones": [
    {
      "label": "Main Phone",
      "phoneNumber": "123-123-4321"
    }
  ],
  "social_accounts": {
    "facebook": "duda",
    "twitter": "dudamobile"
  },
  "uuid": "367163873"
}

Changes