Skip to content

Retrieve Component Versions

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

Retrieve a paginated array of component versions.

  • :space_id required number

    Numeric ID of a space

  • per_page number

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

  • page number

    Default: 1. Learn more about Pagination.

  • model string

    Model name: components

  • model_id number

    Numeric ID of a component

  • versions object[]

    Array of component versions

curl "https://mapi.storyblok.com/v1/spaces/656/versions?model=components&model_id=6826721" \
-H "Authorization: YOUR_OAUTH_TOKEN"
Example Object
{
"versions": [
{
"id": 279820276,
"event": "update",
"created_at": "2025-03-17T09:24:10.926Z",
"author_id": "133876",
"author": "Marve Priscy",
"item_id": 6826721,
"is_draft": true
}
]
}