younifyd
Menu

Duplicate Story

Duplicate a story

PUT/v1/spaces/{space_id}/stories/{story_id}/duplicate

Use it in a workflow

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

Request

Path parameters

space_idintegerrequired

Numeric ID of the space.

story_idintegerrequired

Numeric ID of the story.

Request body

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

storyobject
target_dimensioninteger

ID of the target folder.

same_pathboolean

Reuse the current story path for the copy.

json
{
  "story": {},
  "target_dimension": 0,
  "same_path": false
}

Response

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

storyobject
json
{
  "story": {}
}

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

Was this page helpful?
Duplicate Story — Storyblok — Documentation