POST /spaces

Creates a space and returns the created space. Requires the spaces:write scope.

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
name String Yes
options Object No
options.create_admin_user Boolean No

Create an admin user in the new space for the creator instead of just sending out an invite.

options.users_to_copy_as_admins[] Array No

List of emails of users from the admin space that need to be added to the new space as admins.

options.copy_sso_settings Boolean No

Copy SSO settings from the admin space.

options.copy_branding_and_themes_settings Boolean No

Copy Branding and Themes settings from the admin space.

domain String Yes

The domain of the space. On Retool Cloud, specify subdomain of the space instead.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.