Webflow API and Documentation · Example Payload

Webflow Site Example

CMSContent ManagementEcommerceNo-CodePublishingWeb Development

Webflow Site Example is an example object payload from Webflow API and Documentation, with 13 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

idworkspaceIddisplayNameshortNamepreviewUrltimeZonecreatedOnlastUpdatedlastPublishedcustomDomainslocalesdataCollectionEnableddataCollectionType

Example Payload

Raw ↑
{
  "id": "site_abc123def456",
  "workspaceId": "site_abc123def456",
  "displayName": "My Webflow Site",
  "shortName": "My Webflow Site",
  "previewUrl": "https://api.webflow.com/v2/sites/site_abc123",
  "timeZone": "2025-03-15T14:30:00Z",
  "createdOn": "2025-03-15T14:30:00Z",
  "lastUpdated": "2025-03-15T14:30:00Z",
  "lastPublished": "2025-03-15T14:30:00Z",
  "customDomains": [
    {
      "id": "site_abc123def456",
      "url": "https://mysite.webflow.io"
    }
  ],
  "locales": {
    "primary": {
      "id": "site_abc123def456",
      "cmsLocaleId": "site_abc123def456",
      "enabled": true,
      "displayName": "My Webflow Site",
      "redirect": true,
      "subdirectory": "sample-subdirectory",
      "tag": "sample-tag"
    },
    "secondary": [
      {
        "id": "site_abc123def456",
        "cmsLocaleId": "site_abc123def456",
        "enabled": true,
        "displayName": "My Webflow Site",
        "subdirectory": "sample-subdirectory",
        "tag": "sample-tag"
      }
    ]
  },
  "dataCollectionEnabled": true,
  "dataCollectionType": "always"
}