Didomi icon

Didomi

Use the Didomi API

Actions75

Consent And Preference → Create Consent Event

AI-generated

Overview

This node operation creates a consent event in the Didomi system. It is useful for managing user consent data by recording specific consent actions or events, which can be essential for compliance with privacy regulations. For example, it can be used to log when a user gives or withdraws consent for data processing.

Use Case Examples

  1. Creating a consent event when a user accepts cookie usage on a website.
  2. Logging a user's consent withdrawal for marketing communications.

Properties

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

Output

JSON

  • json - The JSON response from the Didomi API representing the created consent event details.

Dependencies

  • Requires Didomi API credentials (API Key and API Secret) for authentication.

Troubleshooting

  • Error 'Missing API Key or API Secret': Ensure that the Didomi API credentials are correctly configured.
  • Error 'Failed to retrieve access token': Check the validity of the API Key and Secret and network connectivity.
  • Error 'Consent Event ID is required': This error does not apply to the create operation but may appear if parameters are misconfigured.
  • General API errors: Review the error message and stack trace for details and verify the request body and parameters.

Discussion