Confluence Cloud icon

Confluence Cloud

Access to the Confluence Cloud REST API - Auto-generated from OpenAPI

Overview

The "Create Space" operation in the Confluence Cloud node allows users to create a new space within their Confluence instance. Spaces in Confluence are containers for pages and other content, often used to organize information by team, project, or topic.

This operation is beneficial when automating the setup of new projects or teams, enabling programmatic creation of spaces without manual intervention. For example, an organization could automate the creation of a dedicated space for each new client or project, including predefined settings or templates.

Properties

Name Meaning
Request Body The JSON data representing the details of the space to be created. This should include all necessary fields as per the Confluence API specification for creating a space.

Output

The output of this operation is the JSON response from the Confluence API after creating the space. It typically includes details about the newly created space such as its ID, key, name, description, and other metadata.

No binary data is involved in this operation.

Dependencies

  • Requires access to a Confluence Cloud instance.
  • Requires an API authentication token (API key credential) with the "Create Space(s)" global permission.
  • The node must be configured with credentials that provide the domain URL and authentication headers for the Confluence Cloud REST API.

Troubleshooting

  • Permission Errors: If the user lacks the "Create Space(s)" global permission, the API will reject the request. Ensure the API token has sufficient permissions.
  • Invalid JSON in Request Body: The request body must be valid JSON. Malformed JSON will cause the request to fail. Validate the JSON before sending.
  • API Endpoint Issues: The node uses the /wiki/rest/api/space endpoint for creation. If the base URL or domain is incorrect, requests will fail. Verify the domain configuration.
  • Missing Required Fields: The API may require certain fields in the request body (e.g., space key, name). Omitting these will result in errors. Consult the Confluence API documentation for required fields.

Links and References

Discussion