Skip to content

Tag Bulk Association

POST
https://mapi.storyblok.com/v1/spaces/:space-id/tags/bulk_association

Assign one or more tags to multiple stories at once.

  • :space_id required number

    Numeric ID of a space.

  • tags object

    An object that contains a list of stories.

    Show child properties
    • stories array

      An array of stories to update.

      Show child properties
      • story_id required number

        The ID of the tagged story.

      • tag_list required array

        An array of tag names (new or existing).

curl "https://mapi.storyblok.com/v1/spaces/288868932106293/tags/bulk_association" \
-X POST \
-H "Authorization: YOUR_OAUTH_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"tags\":{\"stories\":[{\"story_id\":69934114531566,\"tag_list\":[\"Editor's choice\",\"Featured\"]}]}}"

Was this page helpful?

What went wrong?

This site uses reCAPTCHA and Google's Privacy Policy. Terms of Service apply.