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"
}
Name | Type | Description |
---|---|---|
data.name | string | The name of the collection |
data.fields | array | List of collections fields and types |
data.external_details | object | Object 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"
}
Name | Type | Description |
---|---|---|
data.name | string | The name of the collection |
data.fields | array | List of collections fields and types |
data.external_details | object | Object 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"
}
Name | Type | Description |
---|---|---|
data.collection_name | string | The name of the collection that had its data updated |
resource_data.site_name | string | The 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"
}
Name | Type | Description |
---|---|---|
data.collection_name | string | The name of the collection that was deleted |
resource_data.site_name | string | The name of the site that the collection was deleted on |
Updated 2 days ago