younifyd
Menu

Create Asset Folder

Create asset folder

POST/v1/spaces/{space_id}/asset_folders

Use it in a workflow

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

Request

Path parameters

space_idintegerrequired

Numeric ID of the space.

Request body

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

asset_folderobjectrequired
namestring

Folder name.

parent_idinteger

Parent folder ID.

json
{
  "asset_folder": {
    "name": "string",
    "parent_id": 0
  }
}

Response

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

asset_folderobject
json
{
  "asset_folder": {}
}

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