HumHub icon

HumHub

Consume HumHub API (v.0.1.8)

Actions126

Notification → Get All

AI-generated

Overview

This node operation retrieves all notifications from the HumHub API. It supports filtering out specific types of notifications and allows pagination or fetching all notifications at once. This is useful for scenarios where you want to monitor or process user notifications in bulk, such as aggregating alerts, managing notification feeds, or integrating notification data into other workflows.

Use Case Examples

  1. Fetch all notifications without any filters to get a complete list of user notifications.
  2. Retrieve notifications excluding certain types like 'Admin' or 'Task Reminder' to focus on relevant alerts.
  3. Use pagination to fetch notifications in batches, limiting the number of results per request.

Properties

Name Meaning
Authentication Method of authentication to use for the API request, either Basic Auth or JWT Token.
Exclude Filters Filters to exclude specific types of notifications from the results, such as Admin, Calendar, Survey, Task, etc.
Return All Determines whether to return all notifications or limit the results to a specified number.
Query Parameters Additional query parameters for pagination when not returning all results, including limit and page number.

Output

JSON

  • results - Array of notification objects returned from the HumHub API.

Dependencies

  • HumHub API

Troubleshooting

  • Common issues include invalid authentication credentials, which will cause API request failures. Ensure the correct authentication method and credentials are configured.
  • If the node returns no notifications, check the exclude filters to ensure they are not filtering out all notifications.
  • Pagination parameters must be within valid ranges; limit must be between 1 and 50, and page must be at least 1.

Links

Discussion