younifyd
Menu

Get Taxonomy Term

Retrieve a Single Taxonomy Term

GET/v2/cdn/taxonomy_terms/{id}

Use it in a workflow

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

Request

Path parameters

idstringrequired

The taxonomy term’s name.

idstringrequired

Taxonomy term identifier

Response

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

taxonomy_termobject

An object that contains a taxonomy.

idstringrequired

The taxonomy’s ID.

display_namestringrequired

The taxonomy’s name.

namestringrequired

The taxonomy’s technical name.

descriptionstringrequired

The taxonomy’s description.

parent_idstringrequired

The top-level term’s ID.

last_authorobjectrequired4 fields

An object that contains the details of user who created the term.

last_author_idstringrequired

The user’s ID.

created_atstring (date-time)required

Creation timestamp. Supports ISO 8601.

updated_atstring (date-time)required

Latest update timestamp. Supports ISO 8601.

childrenarray<object>

An array of sub-terms objects.

terms_countinteger

The number sub-terms (at any depth).

last_activity_atstring (date-time)

Latest update timestamp. Supports ISO 8601.

associated_contentarray<object>5 fields

An array of story objects associated with the taxonomy.

cvinteger

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

json
{
  "taxonomy_term": {
    "id": "200948619034658",
    "display_name": "Electronics",
    "name": "electronics",
    "description": "string",
    "parent_id": "200948619034657",
    "last_author": {
      "id": 123,
      "userid": "info@storyblok.com",
      "friendly_name": "John Doe",
      "avatar": null
    },
    "last_author_id": "200948619034658",
    "created_at": "2025-01-01T00:00:00Z",
    "updated_at": "2025-01-01T00:00:00Z",
    "children": [
      {}
    ],
    "terms_count": 3,
    "last_activity_at": "2025-01-01T00:00:00Z"
  },
  "cv": 1541863983
}

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

Was this page helpful?