HumHub icon

HumHub

Consume HumHub API (v.0.1.8)

Actions126

Overview

This node operation fetches unseen notifications from the HumHub API. It is useful for scenarios where you want to retrieve notifications that have not yet been viewed by the user, such as alerting users to new activity or messages. For example, it can be used to build a notification center that displays only new notifications or to trigger workflows based on unseen notifications.

Use Case Examples

  1. Retrieve all unseen notifications for a user to display in a dashboard.
  2. Fetch a limited number of unseen notifications for processing or alerting purposes.

Properties

Name Meaning
Authentication Method of authentication to use for the API request, either Basic Auth or JWT Token.
Return All Determines whether to return all unseen notifications or limit the results.
Query Parameters Additional parameters to control pagination when not returning all results.

Output

JSON

  • id - Unique identifier of the notification.
  • title - Title or summary of the notification.
  • content - Detailed content or message of the notification.
  • seen - Boolean indicating if the notification has been seen.
  • created_at - Timestamp when the notification was created.

Dependencies

  • Requires authentication credentials: either Basic Auth or JWT Token for HumHub API.

Troubleshooting

  • If the node returns an error about authentication, verify that the correct credentials are provided and valid.
  • If no notifications are returned, check that there are unseen notifications available for the authenticated user.
  • Pagination parameters must be within allowed ranges; ensure 'Limit' is between 1 and 50 and 'Page' is at least 1.

Links

Discussion