younifyd
Menu

Get Space

Retrieve Current Space

GET/v2/cdn/spaces/me

Use it in a workflow

  1. Add a step and choose the Storyblok Delivery connector.
  2. Pick the Get Space action (under Spaces).
  3. Fill in the fields below, then reference the result from later steps as {{getSpace.response.data}}.

Request

Query parameters

versionstring

The content version to retrieve: `draft` or `published`. Default is `published`. Retrieving `draft` requires a preview access token.

One ofdraftpublishedDefault "published"

Response

Returns 200 with an object. Read it in later steps with {{getSpace.response.data.<field>}}.

spaceobject
idintegerrequired

Space ID.

namestringrequired

Space name.

domainstringrequired

Domain associated with the space (configured under **Visual Editor** → **Location**).

versionintegerrequired

Cached version Unix timestamp. Learn more in the [Caching concept](https://www.storyblok.com/docs/concepts/caching).

language_codesarray<string>required

An array of language codes configured in the space.

json
{
  "space": {
    "id": 123,
    "name": "Storyblok",
    "domain": "https://www.storyblok.com/",
    "version": 1544117388,
    "language_codes": [
      "de"
    ]
  }
}

Need more? See the Storyblok Delivery guide for connection setup and behaviour shared by every action.

Was this page helpful?
Get Space — Storyblok Delivery — Documentation