Skip to content

Create a Task

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

This endpoint creates a new task.

  • :space_id required number

    Numeric ID of a space

curl "https://mapi.storyblok.com/v1/spaces/606/tasks/" \
-X POST \
-H "Authorization: YOUR_OAUTH_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"task\":{\"name\":\"My Task Name\",\"task_type\":\"webhook\",\"webhook_url\":\"https://www.storyblok.com\"}}"