Collections

A list of available Duda Webhook Events.

Collections

All webhooks related to collection events are listed below.

Collection Created

A notification is sent when a collection is created. A collection can be created inside the Duda editor or via the create collection API endpoint. Event type: COLLECTION_CREATED

{
  "data": {
    "name": "new_collection",
    "fields": [
      {
        "name": "new field",
        "type": "text"
      }
    ],
    "static_page_bindable": false,
    "external_details": {
      "enabled": false
    }
  },
  "source": null,
  "resource_data": {
    "site_name": "db30fe2f"
  },
  "event_timestamp": 1732221902551,
  "event_type": "COLLECTION_CREATED"
}
NameTypeDescription
data.namestringThe name of the collection
data.fieldsarrayList of collections fields and types
data.external_detailsobjectObject detailing whether the collection is internal or external

Collection Updated

A notification is sent when a collection is updated. An update can be triggered inside the Duda editor or via the update collection API endpoint. Event type: COLLECTION_UPDATED

{
  "data": {
    "name": "updated_collection",
    "fields": [
      {
        "name": "new field",
        "type": "text"
      }
    ],
    "static_page_bindable": false,
    "external_details": {
      "enabled": false
    }
  },
  "source": null,
  "resource_data": {
    "site_name": "db30fe2f"
  },
  "event_timestamp": 1732222655860,
  "event_type": "COLLECTION_UPDATED"
}
NameTypeDescription
data.namestringThe name of the collection
data.fieldsarrayList of collections fields and types
data.external_detailsobjectObject detailing whether the collection is internal or external

Collection Data Changed

A notification is sent when a collection's data is updated. A collection data update can be triggered inside the Duda editor or via the update collection row API endpoint. Event type: COLLECTION_DATA_CHANGED

{
  "data": {
    "collection_name": "updated_collection"
  },
  "source": null,
  "resource_data": {
    "site_name": "db30fe2f"
  },
  "event_timestamp": 1732222971476,
  "event_type": "COLLECTION_DATA_CHANGED"
}
NameTypeDescription
data.collection_namestringThe name of the collection that had its data updated
resource_data.site_namestringThe name of the site that the collection had its data updated on

Collection Deleted

A notification is sent when a collection is deleted. A collection deletion can be triggered inside the Duda editor or via the delete collection API endpoint. Event type: COLLECTION_DELETED


  "data": {
    "name": "updated_collection"
  },
  "source": null,
  "resource_data": {
    "site_name": "db30fe2f"
  },
  "event_timestamp": 1732223181957,
  "event_type": "COLLECTION_DELETED"
}
NameTypeDescription
data.collection_namestringThe name of the collection that was deleted
resource_data.site_namestringThe name of the site that the collection was deleted on