Site Content

A list of available Duda Webhook Events.

Content Library

All webhooks related to content library events are listed below.

Content Library Updated

A notification is sent when a field is updated within Business Info, Business Text, or Business Images. Event type: CONTENT_LIB_CHANGED

{
  "data": {
    "location_data": {
      "phones": [
        {
          "phoneNumber": "555-5555",
          "label": "main"
        }
      ],
      "emails": [],
      "social_accounts": {
        "socialAccounts": {}
      },
      "address_geolocation": "1 Main st, Boulder, CO 12345, United States of America",
      "geo": {
        "longitude": "-105.06089",
        "latitude": "39.90951"
      },
      "logo_url": null,
      "business_hours": [],
      "schema": {
        "type": "AnimalShelter"
      },
      "label": null,
      "address": {
        "streetAddress": "1 Main st",
        "postalCode": "12345",
        "region": "CO",
        "city": "Boulder",
        "country": "USA",
        "countryCode": "USA"
      }
    },
    "additional_locations": [],
    "site_texts": {
      "overview": null,
      "services": null,
      "custom": [],
      "about_us": "<p class=\"rteBlock\">This is the about us section of our shelter.</p>"
    },
    "business_data": {
      "name": "Boulder Animal Shelter",
      "logo_url": null,
      "data_controller": null
    },
    "site_images": [
      {
        "label": "Image-01",
        "url": "https://irp.cdn-website.com/md/dmtmpl/554b1d7e-bb97-403d-98ad-81477c37c93a/dms3rep/multi/class_placeholder.jpg",
        "alt": null
      }
    ]
  },
  "source": {
    "type": "EDITOR",
    "account_name": "[email protected]"
  },
  "resource_data": {
    "site_name": "2dbf8579"
  },
  "event_timestamp": 1686862679132,
  "event_type": "CONTENT_LIB_CHANGED"
}
NameTypeDescription
dataobjectThe updated data that exists within the content library of a site.
source.typestringThe location of the source for the publish event. Possible values are EDITOR.
source.account_namestringIf a publish was triggered through the editor, then this contains the account who initiated the publish.

Content Library Published

A notification is sent when the content library is published and applied to a live site. Event type: CONTENT_LIB_PUBLISHED

{
  "data": {
    "location_data": {
      "phones": [
        {
          "phoneNumber": "555-5555",
          "label": "main"
        }
      ],
      "emails": [],
      "social_accounts": {
        "socialAccounts": {}
      },
      "address_geolocation": "1 Main st, Boulder, CO 12345, United States of America",
      "geo": {
        "longitude": "-105.06089",
        "latitude": "39.90951"
      },
      "logo_url": null,
      "business_hours": [],
      "schema": {
        "type": "AnimalShelter"
      },
      "label": null,
      "address": {
        "streetAddress": "1 Main st",
        "postalCode": "12345",
        "region": "CO",
        "city": "Boulder",
        "country": "USA",
        "countryCode": "USA"
      }
    },
    "additional_locations": [],
    "site_texts": {
      "overview": null,
      "services": null,
      "custom": [],
      "about_us": "<p class=\"rteBlock\">This is the about us section of our shelter.</p>"
    },
    "business_data": {
      "name": "Boulder Animal Shelter",
      "logo_url": null,
      "data_controller": null
    },
    "site_images": [
      {
        "label": "Image-01",
        "url": "https://irp.cdn-website.com/md/dmtmpl/554b1d7e-bb97-403d-98ad-81477c37c93a/dms3rep/multi/class_placeholder.jpg",
        "alt": null
      }
    ]
  },
  "source": {
    "type": "EDITOR",
    "account_name": "[email protected]"
  },
  "resource_data": {
    "site_name": "2dbf8579"
  },
  "event_timestamp": 1686862679132,
  "event_type": "CONTENT_LIB_PUBLISHED"
}
NameTypeDescription
dataobjectThe updated data that exists within the content library of a published site.
source.typestringThe location of the source for the publish event. Possible values are EDITOR.
source.account_namestringIf a publish was triggered through the editor, then this contains the account who initiated the publish.