Didomi icon

Didomi

Use the Didomi API

Actions75

Consent And Preference → Create Secret

AI-generated

Overview

This node operation creates a secret in the Didomi Consent and Preference API. It is useful for managing user consent data securely by generating secrets that can be used for authentication or encryption purposes within consent management workflows.

Use Case Examples

  1. Creating a secret to securely store user consent tokens.
  2. Generating a secret for use in consent event processing.

Properties

Name Meaning
Query Parameters Optional parameters to customize the API request, such as filtering or pagination options.

Output

JSON

  • id - The unique identifier of the created secret.
  • secret - The secret value created by the API.
  • created_at - Timestamp when the secret was created.

Dependencies

  • Didomi API with API Key and Secret credentials

Troubleshooting

  • Ensure that both API Key and API Secret credentials are provided; missing credentials will cause authentication failure.
  • Verify that the request body JSON is correctly formatted; invalid JSON will cause request errors.
  • Check that the API endpoint URL is correct and that required parameters are provided; missing required IDs will cause errors.
  • Handle API errors gracefully by inspecting error messages returned from the Didomi API for troubleshooting.

Discussion