Skip to content

Publish a Story

Terminal window
https://mapi.storyblok.com/v1/spaces/:space_id/stories/:story_id/publish

Publishing a story (besides using the publish property via creation) can be done by sending a GET request for each story you want to publish with story_id using the following endpoint.

Multiple language versions of a story can be published using the lang parameter (Publish translations individually has to be enabled in Settings > Internationalization).

  • :space_id required number

    Numeric ID of a space

  • :story_id required number

    The numeric id of story

  • lang string

    Accept a list of languages codes separated by a comma, e.g.: lang=es,pt-br,[default]

  • release_id number

    Numeric ID of release (Optional)

curl "https://mapi.storyblok.com/v1/spaces/606/stories/2141/publish?lang=de" \
-H "Authorization: YOUR_OAUTH_TOKEN"