WibiClick icon

WibiClick

Interact with WibiClick API

Actions92

Overview

This node integrates with the WibiClick API to manage various resources related to websites and their associated data. Specifically, for the Website resource with the Get Websites operation, it retrieves a list of websites accessible to the authenticated user or for a specified user. This is useful in scenarios where you want to programmatically fetch website records for reporting, synchronization, or further processing within an automation workflow.

Practical examples include:

  • Fetching all websites linked to a user account to display or process them.
  • Paginating through large sets of websites by specifying limits and offsets.
  • Integrating website data into dashboards or other systems via n8n workflows.

Properties

Name Meaning
Limit Maximum number of website results to return.
Offset Number of website records to skip before starting to collect the result set (pagination).

These properties control how many website entries are retrieved and from which position in the list, enabling efficient handling of large datasets.

Output

The output JSON contains the response from the WibiClick API endpoint that returns website data. Typically, this will be an array or object representing one or more websites with their details such as IDs, URLs, names, and other metadata managed by the WibiClick system.

The exact structure depends on the API but generally includes fields like:

  • Website ID
  • URL
  • Associated user information (if applicable)
  • Other website-specific attributes

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the WibiClick API using an API key credential.
  • The node expects the API base URL and API key to be configured in the credentials.
  • Network access to the WibiClick API endpoints is necessary.

Troubleshooting

  • Empty or no results: Check if the API key has sufficient permissions and if the user ID (for "Get Websites for User") is correct.
  • Invalid pagination parameters: Ensure Limit is at least 1 and Offset is zero or positive.
  • API errors: If the API returns errors, verify the API key validity and network connectivity.
  • Unexpected response format: Confirm that the WibiClick API version matches the node's expectations.

Links and References


Summary of Relevant Code Logic for Website - Get Websites Operation

  • Retrieves limit and offset parameters from input.
  • Constructs the API request URL for either:
    • /get-websites?id=null&limit=...&offset=... (all websites for authenticated user), or
    • /get-websites-for-user?id={userId}&limit=...&offset=... (websites for specific user).
  • Sends a GET request with authorization header containing the API key.
  • Pushes the JSON response to the output.

This logic ensures flexible retrieval of website data with pagination support.

Discussion