younifyd
Menu

Get Content Item

Get a content item

GET/{environment_id}/items/{codename}

Use it in a workflow

  1. Add a step and choose the Kontent.ai Delivery connector.
  2. Pick the Get Content Item action (under Content Items).
  3. Fill in the fields below, then reference the result from later steps as {{getContentItem.response.data}}.

Request

Path parameters

environment_idstringrequired

Environment (project) ID.

codenamestringrequired

Content item codename.

Query parameters

languagestring

Language codename to return.

depthinteger

Depth of linked items to resolve.

elementsstring

Comma-separated element codenames to include.

excludeElementsstring

Comma-separated element codenames to exclude.

Response

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

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

Was this page helpful?