Menu
Create Space
Create a space
POST
/spacesUse it in a workflow
- Add a step and choose the Contentful connector.
- Pick the Create Space action (under Contentful Content Management API).
- Fill in the fields below, then reference the result from later steps as
{{createSpace.response.data}}.
Request
Headers
Request body
Enter the body as JSON in the step's Body field.
{
"name": "string",
"defaultLocale": "en-US"
}
Response
Returns 201 with an object. Read it in later steps with {{createSpace.response.data.<field>}}.
{
"name": "string",
"sys": {},
"defaultLocale": "string"
}
Need more? See the Contentful guide for connection setup and behaviour shared by every action.
Was this page helpful?