Skip to content

Retrieve Multiple Assets

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

Returns a paginated array of asset objects.

  • :space_id required number

    Numeric ID of a space

  • in_folder number

    Provide the numeric id of a folder to filter the assets by a specific folder. Use value -1 to retrieve deleted assets.

  • sort_by string

    Possible values: created_at:asc, created_at:desc, updated_at:asc, updated_at:desc, short_filename:asc, short_filename:desc

  • is_private boolean

    If 1 it only displays private assets

  • search string

    Provide a search term to filter a specific file by the filename

  • by_alt string

    Filter by the alt text of an asset

  • by_copyright string

    Filter by the copyright of an asset

  • by_title string

    Filter by the title of an asset

  • with_tags string

    Filter by specific tag(s). Multiple tags can be provided as a comma-separated string (treated like an OR operator). Examples: with_tags=featured, with_tags=featured,editors_choice

curl "https://mapi.storyblok.com/v1/spaces/606/assets/" \
-H "Authorization: YOUR_OAUTH_TOKEN"