Actions126
- User Actions
- Group Actions
- Content Actions
- Post Actions
- Comment Actions
- Like Actions
- Activity Actions
- Notification Actions
- Space Actions
- Calendar Actions
- CFile Directory Actions
- CFile Actions
- CFile Item Management Actions
- Survey Actions
- Task Actions
- Task List Actions
- Wiki Page Actions
- Mail Conversation Actions
- Mail Entry Actions
- Mail Recipient Actions
- Session Actions
- File Actions
- Space Membership Actions
- Topic Actions
- Survey Answer Actions
- Survey Answers Actions
- Wiki Page Revision Actions
- Mail Tag Actions
Overview
This node operation creates a new space in the HumHub platform. It allows users to specify the space's name, description, visibility (public or private), and join policy (invite only, invite and request, or open to everyone). This operation is useful for organizing groups or communities within HumHub, enabling collaboration and content sharing among members.
Use Case Examples
- Creating a private space for a project team where only invited members can join.
- Setting up a public space for company-wide announcements accessible to all members.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method of authentication to use for the API request (Basic Auth or JWT Token). |
| Name | The name of the space to be created. |
| Description | A description of the space. |
| Is Visible | Determines if the space is public (visible to members) or private (invisible). |
| Join Policy | Defines how users can join the space: by invite only, by invite and request, or open to everyone. |
Output
JSON
id- Unique identifier of the created space.name- Name of the created space.description- Description of the created space.visibility- Visibility status of the space (public or private).join_policy- Join policy setting of the space.
Dependencies
- Requires authentication credentials for HumHub API (either Basic Auth or JWT Token).
Troubleshooting
- Ensure that the 'Name' property is provided and is not empty, as it is required to create a space.
- The 'Visibility' property must be a boolean; if an invalid value is provided, the API request may fail.
- The 'Join Policy' must be one of the specified options (1, 2, or 3); invalid values will cause errors.
- Authentication errors may occur if the provided credentials are invalid or expired; verify the credentials used.
Links
- HumHub API Space Create - Official HumHub API documentation for creating a space.
