Didomi icon

Didomi

Use the Didomi API

Actions75

Widget → Create Widget

AI-generated

Overview

This node operation creates a new widget configuration in the Didomi platform. It is useful for users who want to programmatically add new consent and preference widgets to their Didomi account, enabling customization and management of user consent interfaces. For example, a user can automate the creation of widgets for different websites or applications to manage privacy notices and consent preferences consistently.

Use Case Examples

  1. Creating a new consent widget for a website to manage user privacy preferences.
  2. Automating the deployment of multiple widgets across different platforms with specific configurations.

Properties

Name Meaning
Query Parameters Optional parameters to customize the API request, such as filtering or pagination options.
Request Body JSON object containing the widget configuration details to be created.

Output

JSON

  • id - The unique identifier of the created widget.
  • name - The name of the created widget.
  • status - The status of the widget creation operation.
  • createdAt - Timestamp when the widget was created.
  • updatedAt - Timestamp when the widget was last updated.

Dependencies

  • Didomi API key and secret for authentication

Troubleshooting

  • Missing API Key or API Secret error: Ensure that the Didomi API credentials are correctly configured in the node credentials.
  • Consent Event ID, Widget ID, or other required IDs missing: Provide all required IDs for the selected operation to avoid errors.
  • API request failures: Check network connectivity and API endpoint availability.
  • Invalid JSON in Request Body: Ensure the JSON is correctly formatted.

Discussion