---
updatedAt: 2026-09-29T16:58:51.000Z
agentTools:
  projectIndex: https://developer.duda.co/llms.txt
---

# Site Object

```json
{
   "account_name":"owner@example.com",
   "external_uid":"an-external-reference",
   "site_domain":"example.com",
   "google_tracking_id":"string",
   "googletagmanager_container_id":[
      "string"
   ],
   "booking":{
      "is_available":true,
      "status":"ACTIVE"
   },
   "lang":"en",
   "additionalLanguages":[
      "de"
   ],
   "site_business_info":{
      "business_name":"Example Business",
      "address":{
         "street":"1240 Main ST.",
         "city":"San Francisco",
         "state":"CA",
         "country":"United States",
         "zip_code":"94122"
      },
      "phone_number":"(123) 456-7890",
      "email":"business@example.com",
      "opentable_info":[
         
      ]
   },
   "site_alternate_domains":{
      "domains":[
         "example.org",
         "example.net"
      ],
      "is_redirect":true
   },
   "site_seo":{
      "og_image":"https://example.com/link/to/image",
      "title":"Example Title",
      "description":"A description of the website.",
      "no_index":false
   },
   "schemas":{
      "local_business":{
         "enabled":true,
         "status":"MISSING_REQUIRED_FIELDS",
         "missing_required_fields":[
            "Business Name",
            "Geo Coordinates",
            "Physical Address"
         ],
         "missing_recommended_fields":[
            "Phone Number",
            "Image"
         ]
      }
   },
   "site_name":"6c56394c",
   "template_id":1027437,
   "site_default_domain":"example.multiscreensite.com",
   "preview_site_url":"https://example.com/link/to/preview",
   "overview_site_url":"https://example.com/home/dashboard/overview/6c56394c",
   "editor_site_url":"https://example.com/home/site/6c56394c",
   "last_published_date":"2016-11-15T22:55:53",
   "first_published_date":"2016-04-03T04:36:54",
   "force_https":false,
   "last_reset_by":"developer@example.com",
   "certificate_status":"COMPLETE",
   "modification_date":"2016-11-15T22:55:53",
   "creation_date":"2016-04-01T04:36:54",
   "publish_status":"PUBLISHED",
   "thumbnail_url":"https://example.com/link/to/image",
   "canonical_url":"https://www.example.com/",
   "store_status":"ACTIVE",
   "store_type":"NATIVE",
   "editor":"ADVANCED",
   "fav_icon":"https://example.com/path/to/fav.ico",
   "content_collection_form":{
      "url":"https://editor.whitelabel.com/site-form/Q_4jrh8-GO5MmeCUBm09pHpWVHvGDC9xg60UrQ7n",
      "url_expiration_date":"2025-04-12T16:12:56"
   },
   "labels":[
      {
         "name":"QA team"
      },
      {
         "name":"priority client"
      }
   ],
"xframe_options": {
        "return_xframe_headers": true,
        "allowed_domains": null
    }
}
```

| Field                                                       | Description                                                                                                                                                                                                                         |
| :---------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **google\_tracking\_id**<br />*string*                      | *Deprecated.* The Google Tag ID set for this site. This field is obsolete; we recommend using `googletagmanager_container_id` for all tag ID updates going forward. This value is empty by default, until set in the UI or via API. |
| **googletagmanager\_container\_id**<br />*array of strings* | An array of Google IDs set for this site. Supports all types of Google IDs (such as `G-####`, `GTM-####`, `AW-####`, etc.) with a maximum of 10 IDs. Recommended for all tag ID updates going forward.                              |
| **site\_domain**<br />*string*                              | The primary domain currently assigned to the Site.                                                                                                                                                                                  |
| **site\_name**<br />*string*                                | Duda's unique identifier for the Site.                                                                                                                                                                                              |
| **canonical\_url**<br />*string*                            | The URL Duda generates as the canonical and where SEO/Search traffic gets directed to. This handles all the different logic of https vs. http vs [www](http://www). or no-www for the website.                                      |
| **account\_name**<br />*string*                             | The name, usually an email, of the account that owns the Site.                                                                                                                                                                      |
| **preview\_site\_url**<br />*string*                        | A direct URL to the white-labeled multi-device preview.                                                                                                                                                                             |
| **overview\_site\_url**<br />*string*                       | A URL of the overview page of the site.                                                                                                                                                                                             |
| **editor\_site\_url**<br />*string*                         | A direct URL to the site editor.                                                                                                                                                                                                    |
| **force\_https**<br />*boolean*                             | Defaults to true. If set to true, the site will be available for both secure and insecure connections.                                                                                                                              |
| **last\_published\_date**<br />*datetime*                   | The most recent publication date for the Site.                                                                                                                                                                                      |
| **first\_published\_date**<br />*datetime*                  | The first publication date for the Site.                                                                                                                                                                                            |
| **publish\_status**<br />*string*                           | The current status of the Site: **"PUBLISHED", "UNPUBLISHED", "NOT\_PUBLISHED\_YET"**.                                                                                                                                              |
| **site\_business\_info**<br />*object*                      | [See the section below for details](#site_business_info).                                                                                                                                                                           |
| **booking**<br />*object*                                   | [See the section below for details](#booking).                                                                                                                                                                                      |
| **site\_seo**<br />*object*                                 | [See the section below for details](#site_seo).                                                                                                                                                                                     |
| **external\_uid**<br />*string*                             | A unique identifier from an external system such as a database, limit 255 characters. Optional.                                                                                                                                     |
| **last\_reset\_by**<br />*string*                           | The account that last reset the Site.                                                                                                                                                                                               |
| **certificate\_status**<br />*string*                       | The status of SSL for the Site: **"COMPLETE", "IN\_PROGRESS", "FAILED"**.                                                                                                                                                           |
| **modification\_date**<br />*datetime*                      | The date of the most recent change to the website, including API calls.                                                                                                                                                             |
| **creation\_date**<br />*datetime*                          | The created date for the Site.                                                                                                                                                                                                      |
| **thumbnail\_url**<br />*string*                            | A direct URL to view the Site's thumbnail image which Duda generates for the site.                                                                                                                                                  |
| **store\_status**<br />*enum*                               | The current state of the store for the site: **"NONE", "ACTIVE", "SUSPENDED"**.                                                                                                                                                     |
| **store\_type**<br />*enum*                                 | The type of store installed on the site: **"NATIVE", "THIRDPARTY"**                                                                                                                                                                 |
| **editor**<br />*enum*                                      | The type of editor used to create the site: **"SIMPLE", "ADVANCED", "ADVANCED-2.0", "VIBE"**                                                                                                                                        |
| **site\_alternative\_domains**<br />*object*                | [See the section below for details](#site_alternate_domains).                                                                                                                                                                       |
| **fav\_icon**<br />*string*                                 | A direct URL to download the Site's favicon. Supports: gif, jpg, jpeg, png, ico, png, and bmp.                                                                                                                                      |
| **lang**<br />*string*                                      | The primary language set on the website, as a two character string in ([ISO\_3166-1\_alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))format.                                                                             |
| **content\_collection\_form**<br />*object*                 | [See the section below for details](#content_collection_form)                                                                                                                                                                       |
| **labels**<br />*object*                                    | [See the section below for details](#labels).                                                                                                                                                                                       |

## site\_business\_info

Provides structured data about a website or business. Duda will use this information to help populate the website with this data and fill the [content library](https://help.duda.co/hc/en-us/articles/229790908-Manage-Content-Library) with data. All data fields are optional.

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th>
        Field
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        **business_name**
        _string_
      </td>

      <td>
        The name of the business that owns the Site.
      </td>
    </tr>

    <tr>
      <td>
        **phone_number**<br />_string_
      </td>

      <td>
        The phone number of the business.
      </td>
    </tr>

    <tr>
      <td>
        **address**<br />_object_
      </td>

      <td>
        [See the section below for details](#address).
      </td>
    </tr>

    <tr>
      <td>
        **opentable_info**<br />_object_
      </td>

      <td>
        An object containing arrays of possible Open Table IDs.
      </td>
    </tr>
  </tbody>
</Table>

## booking

Contains information about the native booking feature availability and organization installation status.

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th>
        Field
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        **is_available**
        _boolean_
      </td>

      <td>
        Indicates whether native booking is available for the site based on plan features.
      </td>
    </tr>

    <tr>
      <td>
        **status**<br />_string_
      </td>

      <td>
        Current installation status of the booking organization associated with the site.

        Can be either 'ACTIVE', 'SOFT_DELETED', or 'NOT_INSTALLED'
      </td>
    </tr>
  </tbody>
</Table>

## address

Providing an address helps the site creation process by giving Duda more information about the location of the business. For example, if you provide an address, we will automatically populate a maps element and potentially find other resources online to assist in site creation.

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th>
        Field
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        **street**
        _string_
      </td>

      <td>
        The street name of the business.
      </td>
    </tr>

    <tr>
      <td>
        **state**<br />_string_
      </td>

      <td>
        The state where the business is located.
      </td>
    </tr>

    <tr>
      <td>
        **country**<br />_string_
      </td>

      <td>
        The country where the business is located.
      </td>
    </tr>

    <tr>
      <td>
        **zip_code**<br />_string_
      </td>

      <td>
        The zip code or postal code of the business.
      </td>
    </tr>
  </tbody>
</Table>

## site\_alternate\_domains

Allows you to define alternate or secondary domains associated with this site. By default, these domains will be 301 redirected to the primary domain. If you change the is\_redirect value to false, the alternate domains will resolve the website instead of performing the redirect. Each alternate domain will need to have its DNS settings configured the same way as the primary domain, read here for how to set these up.

<Callout icon="📘" theme="info">
  ### You are allowed a maximum of 10 alternative domains per site.
</Callout>

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th>
        Field
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        **domains**
        _string\[]_
      </td>

      <td>
        An array of fully qualified domain names for the Site.
      </td>
    </tr>

    <tr>
      <td>
        **is_redirect**<br />_boolean_
      </td>

      <td>
        Defaults to true. If set as true, all alternate domains will be set to 301 redirects to the primary domain.
      </td>
    </tr>
  </tbody>
</Table>

## site\_seo

Set the default site SEO settings for all pages of this website. Any SEO settings on a page level will override the global setting on the site.

[Please follow see best practices for Open Graph Images](https://developers.facebook.com/docs/sharing/best-practices/#images).

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th>
        Field
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        **og_image**
        _string_
      </td>

      <td>
        The image displayed in URL previews such as social media posts or SMS texts.
      </td>
    </tr>

    <tr>
      <td>
        **title**<br />_string_
      </td>

      <td>
        The default title for the Site that's displayed in tabs. (\<60 characters)
      </td>
    </tr>

    <tr>
      <td>
        **description**<br />_string_
      </td>

      <td>
        The meta description of the site. (\<155 characters)
      </td>
    </tr>

    <tr>
      <td>
        **no_index**<br />_boolean_
      </td>

      <td>
        Defaults to false. If set as true, the entire site will be set to not index.
      </td>
    </tr>
  </tbody>
</Table>

## schemas

The schema's object allows you to enable schema for the website for specific schema objects that exist at the site level. Today, the only schema object supported is LocalBusiness schema.

[Read our guide on implementing Local Business Schema.](https://developer.duda.co/docs/local-business-schema)

The location grabbed from the content library is only from the first/primary location in the content library. We do not support multiple locations, yet.

LocalBusiness schema takes core business information from the [content library](https://support.duda.co/hc/en-us/articles/360042436074-Manage-and-Import-Content) and translates that into the required LocalBusiness schema. This API exists as a validation engine to verify that the data added to the content library passes the minimum data requirement for Local Business.

The schemas object includes a **local\_business** field with the following possible values:

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th>
        Field
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        **enabled**
        _boolean_
      </td>

      <td>
        Whether or not a specific local business schema is enabled.
      </td>
    </tr>

    <tr>
      <td>
        **status**<br />_string_
      </td>

      <td>
        The most recent status returned after attempting to enable a specific local business schema.
      </td>
    </tr>

    <tr>
      <td>
        **missing_required_fields**<br />_string\[]_
      </td>

      <td>
        An array of required fields that have no value.

        - \*"Address", "Business Name", "Geo Coordinates", "Image"\*\*.
      </td>
    </tr>

    <tr>
      <td>
        **missing_recommended_fields**<br />_string\[]_
      </td>

      <td>
        An array of recommended fields that have no value.

        - \*"Phone Number", "Email", "Hours of Operation", "Social", "Description", "Logo"\*\*.
      </td>
    </tr>
  </tbody>
</Table>

## labels

Allows you to define site labels for a site. These labels will appear in the sites dashboard.

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th>
        Field
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        **name**
        _string_
      </td>

      <td>
        The value of labels applied to your site either through the dashboard or API.
      </td>
    </tr>
  </tbody>
</Table>

## content\_collection\_form

The URL and expiration date for the content collection form published for the site. Allows clients to provide information to be used as content on the website.

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th>
        Field
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        **url**
        _string_
      </td>

      <td>
        The public facing URL to the content collection form
      </td>
    </tr>

    <tr>
      <td>
        **url_expiration_date**<br />_date_
      </td>

      <td>
        The date when the URL will expire. A new URL will be generated after this date for security reasons.
      </td>
    </tr>
  </tbody>
</Table>

### xframe\_options

Site iframe options management api

| Field                                      | Description                                                                                        |
| :----------------------------------------- | :------------------------------------------------------------------------------------------------- |
| **return\_xframe\_headers**<br />*boolean* | When true, the site sends X-Frame-Options / frame-ancestors style restrictions.                    |
| **allowed\_domains**<br />*string\[]*      | Allowlisted parent origins when return\_xframe\_headers is true (typically insertion-ordered set). |

<br />

<br />