Skip to content

Create a Workflow

Terminal window
https://mapi.storyblok.com/v1/spaces/:space_id/workflows

This end point creates a new workflow.

  • :space_id number

    Numeric ID of a space

Example Request

curl "https://mapi.storyblok.com/v1/spaces/606/workflows" \
-X POST \
-H "Authorization: YOUR_OAUTH_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"workflow\":{\"content_types\":[\"page\"],\"name\":\"page\"}}"

You will receive a workflow object as a response.