Import a Story (JSON)
https://mapi.storyblok.com/v1/spaces/:space_id/stories/:story_id/import.jsonImports content onto an existing story from a JSON payload that has been exported from the Export a Story (JSON) endpoint.
Path parameters
Section titled “Path parameters”-
:space_idrequired numberNumeric ID of a space
-
:story_idrequired numberThe numeric ID of the story
Query parameters
Section titled “Query parameters”-
versionstringDefault:
2. Possible values:1,2. -
lang_codestringA language code (required for translation imports)
-
import_langbooleanWhether to import content for the specified
lang_code. Iffalseor omitted, it will fall back to default language values.
Request body properties
Section titled “Request body properties”-
datarequired stringA stringified JSON object exported from Export a Story (JSON).
Response properties
Section titled “Response properties”-
storyThe Story ObjectA single story object
Examples
Section titled “Examples”Was this page helpful?
This site uses reCAPTCHA and Google's Privacy Policy (opens in a new window) . Terms of Service (opens in a new window) apply.
Get in touch with the Storyblok community