Skip to content

Retrieve a Single Link

Retrieve a single link object by its UUID.

GET
https://api.storyblok.com/v2/cdn/links/:id
  • :id required string

    The link’s ID.

  • cv integer

    Cached version Unix timestamp. Learn more in the Caching concept.

  • include_dates string

    Include or exclude the created_at, updated_at and published_at fields. To include these date fields in the response, set to 1. To exclude them, set to 0 or omit the parameter.

  • token required string

    A preview or public access token configured in a space.

  • link Link
    Show child properties
    • id integer
      Story or folder id.
    • uuid string
      Story or folder uuid.
    • slug string
      Story or folder full slug.
    • path string | null
      Real path defined in the story’s entry configuration. Learn more in the Visual Editor concept).
    • real_path string | null
      Either the full slug of the story or folder with a leading /, or the value of the real path defined in the story’s entry configuration with a leading /.
    • name string
      Story or folder name.
    • published boolean
      Returns true if the story is currently published.
    • parent_id integer
      Parent folder ID.
    • is_folder boolean
      Returns true if the item is a folder.
    • is_startpage boolean
      Returns true if the story is the folder’s root.
    • position integer
      Numeric representation of the story’s position in the folder. Users can change this property in the Content tab.
    • published_at string | null
      Latest publication timestamp. Supports ISO 8601.
    • created_at string | null
      Creation timestamp. Supports ISO 8601.
    • updated_at string | null
      Latest update timestamp. Supports ISO 8601.
    • alternates array<Alternate>

      An array that contains objects correlating to the language versions defined using field-level translation.

      The alternates parameter is different from the story alternates defined in the Dimensions app when using folder-level translation.

      Show child properties
      • path string
        Translated story slug (learn more about the Translatable Slugs app).
      • name string
        Translated story name (learn more about the Translatable Slugs app).
      • lang string
        The story’s language code.
      • published boolean
        Returns true if story language version is currently published.
      • translated_slug string
        Translated story slug (learn more about the Translatable Slugs app).
curl "https://api.storyblok.com/v2/cdn/links/:id\
?version=published\
&starts_with=articles\
&token=YOUR_ACCESS_TOKEN"
Response
{
"link": {
"id": 371891025,
"uuid": "a78b2116-c26d-4d23-9cbe-fec477847b0e",
"slug": "home",
"path": null,
"real_path": "/home",
"name": "Home",
"published": true,
"parent_id": 0,
"is_folder": false,
"is_startpage": true,
"position": 0,
"published_at": "2025-01-15T09:32:10.000Z",
"created_at": "2025-01-15T09:30:00.000Z",
"updated_at": "2025-06-02T14:12:05.000Z",
"alternates": []
}
}

Was this page helpful?

What went wrong?

This site uses reCAPTCHA and Google's Privacy Policy (opens in a new window).Terms of Service (opens in a new window) apply.