Didomi icon

Didomi

Use the Didomi API

Actions75

Widget → Create Consent Notice

AI-generated

Overview

This node operation creates a consent notice within the Didomi platform's widget resource. It is useful for organizations that need to manage user consent notices for compliance with privacy regulations. For example, a company can use this operation to programmatically create a new consent notice that will be displayed to users on their website or app to obtain consent for data processing.

Use Case Examples

  1. Creating a new consent notice with specific configurations to comply with GDPR.
  2. Automating the creation of consent notices for different regions or user groups.

Properties

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

Output

JSON

  • id - The unique identifier of the created consent notice.
  • name - The name of the consent notice.
  • description - Description of the consent notice.
  • status - The status of the consent notice (e.g., active, draft).
  • created_at - Timestamp when the consent notice was created.
  • updated_at - Timestamp when the consent notice was last updated.

Dependencies

  • Didomi API key and secret for authentication

Troubleshooting

  • Ensure that the API key and secret credentials are correctly set and valid, as missing or invalid credentials will cause authentication failures.
  • Verify that the 'Request Body' JSON is correctly formatted and contains all required fields for creating a consent notice.
  • Check that the 'Query Parameters' are valid and appropriate for the API endpoint to avoid request errors.
  • Common error messages include missing required IDs or parameters, which should be resolved by providing the necessary inputs.

Links

Discussion