Menu
Create Component
Create component
POST
/v1/spaces/{space_id}/componentsUse it in a workflow
- Add a step and choose the Storyblok connector.
- Pick the Create Component action (under Components).
- Fill in the fields below, then reference the result from later steps as
{{createComponent.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"component": {
"name": "string",
"display_name": "string",
"schema": {},
"is_root": false,
"is_nestable": false,
"component_group_id": "string"
}
}
Response
Returns 201 with an object. Read it in later steps with {{createComponent.response.data.<field>}}.
{
"component": {}
}
Need more? See the Storyblok guide for connection setup and behaviour shared by every action.
Was this page helpful?