younifyd
Menu

Export Story Xml

Export a story as XML

GET/v1/spaces/{space_id}/stories/{story_id}/export.xml

Use it in a workflow

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

Request

Path parameters

space_idintegerrequired

Numeric ID of the space.

story_idintegerrequired

Numeric ID of the story.

Query parameters

versionstring

Export/import format version, 1 (deprecated) or 2. Default 2.

lang_codestring

Language code for the export or import.

export_langboolean

Export values for lang_code; otherwise default language values.

Response

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

datastring

Exported story as an XML string.

json
{
  "data": "string"
}

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

Was this page helpful?