younifyd
Menu

Create Space

Create a space

POST/v1/spaces

Use it in a workflow

  1. Add a step and choose the Storyblok connector.
  2. Pick the Create Space action (under Spaces).
  3. Fill in the fields below, then reference the result from later steps as {{createSpace.response.data}}.

Request

Request body

Enter the body as JSON in the step's Body field.

spaceobjectrequired
namestring

Space name.

domainstring

Preview domain.

json
{
  "space": {
    "name": "string",
    "domain": "string"
  }
}

Response

Returns 201 with an object. Read it in later steps with {{createSpace.response.data.<field>}}.

spaceobject
json
{
  "space": {}
}

Need more? See the Storyblok guide for connection setup and behaviour shared by every action.

Was this page helpful?
Create Space — Storyblok — Documentation