HumHub icon

HumHub

Consume HumHub API (v.0.1.8)

Actions126

Overview

This node operation creates a new post in a specified content container within the HumHub platform. It is useful for automating the posting of messages to different content containers, such as groups or spaces, in HumHub. For example, it can be used to programmatically share updates, announcements, or any textual content to a specific container by providing the container ID and the message text.

Use Case Examples

  1. Automatically post a daily status update to a project group container.
  2. Create a new announcement post in a company-wide content container.

Properties

Name Meaning
Authentication Method of authentication to use for the API request, either Basic Auth or JWT Token.
ID The ID of the content container where the post will be created.
Message The text content of the post to be created.

Output

JSON

  • id - The unique identifier of the created post.
  • message - The text content of the created post.
  • createdAt - Timestamp when the post was created.
  • updatedAt - Timestamp when the post was last updated.
  • containerId - The ID of the content container where the post was created.

Dependencies

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

Troubleshooting

  • Ensure the content container ID is valid and accessible with the provided credentials.
  • Verify that the message text is not empty as it is required.
  • Check that the authentication method selected matches the provided credentials.
  • Common error: 'Unauthorized' indicates invalid or missing authentication credentials.
  • Common error: 'Not Found' indicates the specified content container ID does not exist or is inaccessible.

Discussion