Skip to content

Retrieve Multiple Tags

GET
https://mapi.storyblok.com/v1/spaces/:space_id/tags

Retrieve a paginated array of tag objects. This endpoint includes parameters that allow filtering the response and retrieving information about the tags assigned to stories.

  • :space_id required number

    Numeric ID of a space.

  • search string

    Search by tag name.

  • all_tags string

    Display all tags in the space. Accepts any arbitrary value.

  • per_page number

    Default: 25. Max: 100. Learn more about pagination.

  • page number

    Default: 1. Learn more about pagination.

  • tags The Tag Object[]

    An array of tag objects.

Example request with the search query parameter

curl "https://mapi.storyblok.com/v1/spaces/288868932106293/tags/\
?search=Featured" \
-H "Authorization: YOUR_OAUTH_TOKEN"

Example request with the all_tags query parameter

curl "https://mapi.storyblok.com/v1/spaces/288868932106293/tags/\
?all_tags=true\
&page=1\
&per_page=5" \
-H "Authorization: YOUR_OAUTH_TOKEN"