Didomi icon

Didomi

Use the Didomi API

Actions75

Consent And Preference → Create Token

AI-generated

Overview

This node operation creates a token in the Didomi Consent and Preference API. It is useful for scenarios where you need to generate a token for managing user consents and preferences programmatically, such as integrating consent management into your application or automating consent workflows.

Use Case Examples

  1. Generating an access token to authenticate further API requests related to user consents.
  2. Automating the creation of tokens for consent management in a privacy compliance system.

Properties

Name Meaning
Query Parameters Optional parameters to customize the token creation request, such as filtering or pagination options.
Request Body JSON object representing the body of the token creation request, containing the necessary data to create the token.

Output

JSON

  • json - The JSON response from the Didomi API containing the created token details or relevant data.

Dependencies

  • Didomi API with API Key and API Secret credentials

Troubleshooting

  • Ensure that both API Key and API Secret credentials are provided; missing credentials will cause an error.
  • Verify that the Consent Event ID is not required for this operation, but if any required parameter is missing, the node will throw an error indicating which parameter is missing.
  • Check the API response for errors; the node throws detailed errors if the API call fails, including the error message and stack trace.

Discussion