Skip to content

Create a Tag

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

You can create a tag, and optionally add it to a story.

  • :space_id required number

    Numeric ID of a space

  • name string

    New tag name

  • story_id number

    ID of the story

curl "https://mapi.storyblok.com/v1/spaces/606/tags" \
-X POST \
-H "Authorization: YOUR_OAUTH_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"tag\":{\"name\":\"Editor's Choice\",\"story_id\":202}}"