Didomi icon

Didomi

Use the Didomi API

Actions75

Widget → List Custom Themes

AI-generated

Overview

This node operation lists all custom themes available in the Didomi widget configuration. It is useful for retrieving the collection of custom themes that can be applied or managed within the Didomi consent and preference widgets. For example, a user can use this operation to fetch all custom themes to display them in a UI for selection or further customization.

Use Case Examples

  1. Fetch all custom themes to display in a theme selector UI.
  2. Retrieve custom themes to audit or manage widget appearance settings.

Properties

Name Meaning
Query Parameters Optional filters and pagination parameters to refine the list of custom themes returned. Includes options like limit, cursor, status, and other filters relevant to the themes.

Output

JSON

  • id - Unique identifier of the custom theme.
  • name - Name of the custom theme.
  • description - Description of the custom theme.
  • created_at - Timestamp when the custom theme was created.
  • updated_at - Timestamp when the custom theme was last updated.
  • status - Current status of the custom theme.

Dependencies

  • Didomi API credentials (API Key and API Secret)

Troubleshooting

  • Ensure that the API Key and API Secret credentials are correctly configured and valid, as missing or invalid credentials will cause authentication failures.
  • Verify that the Custom Theme ID is not required for this operation; if it is mistakenly provided or missing, it may cause errors.
  • Check network connectivity and API endpoint availability to avoid request failures.
  • Handle API rate limits and errors gracefully, as the Didomi API may return errors if limits are exceeded or parameters are invalid.

Links

Discussion