Webhooks in Acquia DAM provide real-time notifications for asset lifecycle events. Developers and DAM administrators can use this feature to automate workflows and receive immediate updates on asset changes, without the need for constant polling. Webhooks can be created using the DAM V2 API to notify your integration when asset changes occur.
Benefits¶
Webhooks offer the following features to enhance the functionality and efficiency of your DAM:
- Provides immediate real-time updates on asset changes.
- Reduces network traffic by eliminating the need for continuous polling.
- Provides integration of asset events into workflows across different applications.
- Enables the definition of specific events that trigger notifications and tailoring responses in target applications.
Setting up webhooks¶
To start using webhooks in Acquia DAM, enable webhooks and set the appropriate permissions.
Enabling webhooks¶
The following are the steps to enable webhooks:¶
- Open the Admin app.
- Click Global Settings > Features.
- Navigate to the Integrate section.
- Enable the Webhooks feature.
Granting permissions¶
The following are the steps to set the appropriate permissions:
- Open the Admin app.
- Click Permissions Setting > Role.
- Locate the role that you want to modify.
- Click the pencil icon under the Customize field.
- In the Customize Application Permissions section, select the Administrate Webhooks checkbox to assign the permission.
Supported event types¶
Webhooks can be configured to notify you of various asset-related events, including:
-
Asset creation
-
Asset deletion
-
Asset updates
For more information, visit webhooks in the Developer Portal.