{
"account_name": "[email protected]",
"external_uid": "an-external-reference",
"site_domain": "example.com",
"lang": "en",
"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": "[email protected]",
"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."
},
"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://exmaple.com/link/to/preview",
"last_published_date": "2016-11-15T22:55:53",
"first_published_date": "2016-04-03T04:36:54",
"force_https": false,
"last_reset_by": "[email protected]",
"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",
"store_status": "NONE"
}
Field | Description |
---|---|
template_id | The current template in use for the Site. |
site_domain | The primary domain currently assigned to the Site. |
site_default_domain | The default Duda domain assigned to the Site. |
site_name | Duda's unique identifier for the Site. |
account_name | The name, usually an email, of the account that owns the Site. |
preview_site_url | A direct URL to the white labeled multi-device preview. |
force_https | Defaults to true. If set to true, the site will be available for both secure and insecure connections. |
last_published_date | The most recent publication date for the Site. |
first_published_date | The first publication date for the Site. |
publish_status | The current status of the Site: "PUBLISHED", "UNPUBLISHED", "NOT_PUBLISHED_YET". |
site_business_info | |
site_seo | |
external_uid | A unique identifier from an external system such as a database. Optional. |
last_reset_by | The account that last reset the Site. |
certificate_status | The status of SSL for the Site: "COMPLETE", "IN PROGRESS", "FAILED". |
modification_date | The date of the most recent change to the website, including API calls. |
creation_date | The created date for the Site. |
thumbnail_url | A direct URL to download the Site's thumbnail. |
store_status | The current state of the store for the Site: "NONE", "ACTIVE", "SUSPENDED". |
site_alternative_domains | |
fav_icon | A direct URL to download the Site's favicon. Supports: gif, jpg, jpeg, png, ico, png, and bmp. |
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 with data. All data fields are optional.
Field | Description |
---|---|
business_name | The name of the business that owns the Site. |
phone_number | The phone number of the business. |
address | |
opentable_info | An object containing arrays of possible Open Table IDs. |
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.
Field | Description |
---|---|
street | The street name of the business. |
state | The state where the business is located. |
country | The country where the business is located. |
zip_code | The zip code or postal code of the business. |
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.
Field | Description |
---|---|
domains | An array of fully qualified domain names for the Site. |
is_redirect | Defaults to true. If set as true, all alternate domains will be set to 301 redirects to the primary domain. |
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.
Field | Description |
---|---|
og_image | The image displayed in URL previews such as social media posts or SMS texts. |
title | The default title for the Site that's displayed in tabs. (<60 characters) |
description | The meta description of the site. (<155 characters) |
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.
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 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:
Field | Description |
---|---|
enabled | Whether or not a specific local business schema is enabled. |
status | The most recent status returned after attempting to enable a specific local business schema. |
missing_required_fields | An array of required fields that have no value. |
missing_recommended_fields | An array of recommended fields that have no value. |