Skip to content

Create a Component Folder

Terminal window
https://mapi.storyblok.com/v1/spaces/:space_id/component_groups/

Create a new component folder to group one or more components together.

  • :space_id required number

    Numeric ID of a space

  • component_group The Component Folder Object

    The component folder object

    Show child properties
    • name required string

      Name of the group

    • parent_id number

      Numeric ID of the parent group

curl "https://mapi.storyblok.com/v1/spaces/656/component_groups/" \
-X POST \
-H "Authorization: YOUR_OAUTH_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"component_group\":{\"name\":\"Teasers\",\"parent_id\":\"123123\"}}"