Didomi icon

Didomi

Use the Didomi API

Actions75

Widget → Get Custom Theme

AI-generated

Overview

This node operation retrieves a custom theme configuration from the Didomi API's widget resource. It is useful for scenarios where you need to fetch the details of a specific custom theme used in consent and preference widgets, such as for customization, auditing, or integration purposes.

Use Case Examples

  1. Fetching a custom theme by its ID to display or modify the theme settings in a user interface.
  2. Retrieving theme details to synchronize widget appearance across multiple platforms.

Properties

Name Meaning
Custom Theme ID The unique identifier of the custom theme to retrieve.
Query Parameters Optional parameters to filter or modify the API request, such as pagination, filtering by organization user ID, status, or other criteria.

Output

JSON

  • customTheme - The retrieved custom theme object with its configuration details.

Dependencies

  • Didomi API with API Key and Secret credentials

Troubleshooting

  • Missing or invalid Custom Theme ID will cause an error indicating the ID is required.
  • Failure to retrieve an access token from the Didomi API will result in an authentication error.
  • API request errors will be thrown with detailed messages from the Didomi API response.

Links

Discussion